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

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

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

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|  1.41k|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|  1.41k|                      forwardCompatible, messages, &sourceEntryPointName),
   71|  1.41k|    annotationNestingLevel(0),
   72|  1.41k|    inputPatch(nullptr),
   73|  1.41k|    nextInLocation(0), nextOutLocation(0),
   74|  1.41k|    entryPointFunction(nullptr),
   75|  1.41k|    entryPointFunctionBody(nullptr),
   76|  1.41k|    gsStreamOutput(nullptr),
   77|  1.41k|    clipDistanceOutput(nullptr),
   78|  1.41k|    cullDistanceOutput(nullptr),
   79|  1.41k|    clipDistanceInput(nullptr),
   80|  1.41k|    cullDistanceInput(nullptr),
   81|  1.41k|    parsingEntrypointParameters(false)
   82|  1.41k|{
   83|  1.41k|    globalUniformDefaults.clear();
   84|  1.41k|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|  1.41k|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|  1.41k|    globalBufferDefaults.clear();
   88|  1.41k|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|  1.41k|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|  1.41k|    globalInputDefaults.clear();
   92|  1.41k|    globalOutputDefaults.clear();
   93|       |
   94|  1.41k|    clipSemanticNSizeIn.fill(0);
   95|  1.41k|    cullSemanticNSizeIn.fill(0);
   96|  1.41k|    clipSemanticNSizeOut.fill(0);
   97|  1.41k|    cullSemanticNSizeOut.fill(0);
   98|       |
   99|       |    // "Shaders in the transform
  100|       |    // feedback capturing mode have an initial global default of
  101|       |    //     layout(xfb_buffer = 0) out;"
  102|  1.41k|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 332, False: 1.07k]
  ------------------
  103|  1.07k|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 83, False: 996]
  ------------------
  104|    996|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 83, False: 913]
  ------------------
  105|    913|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 83, False: 830]
  ------------------
  106|    581|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|  1.41k|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 83, False: 1.32k]
  ------------------
  109|     83|        globalOutputDefaults.layoutStream = 0;
  110|  1.41k|}
_ZN7glslang16HlslParseContextD2Ev:
  113|  1.41k|{
  114|  1.41k|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|     83|{
  118|     83|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|     83|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|     83|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|     83|{
  126|     83|    resources = r;
  127|     83|    intermediate.setLimits(resources);
  128|     83|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|    166|{
  137|    166|    currentScanner = &input;
  138|    166|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|    166|    HlslScanContext scanContext(*this, ppContext);
  141|    166|    HlslGrammar grammar(scanContext, *this);
  142|    166|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 6, False: 160]
  ------------------
  143|       |        // Print a message formated such that if you click on the message it will take you right to
  144|       |        // the line through most UIs.
  145|      6|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|      6|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|      6|                      << ", HLSL parsing failed.\n";
  148|      6|        ++numErrors;
  149|      6|        return false;
  150|      6|    }
  151|       |
  152|    160|    finish();
  153|       |
  154|    160|    return numErrors == 0;
  155|    166|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  4.73k|{
  197|  4.73k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 4.73k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  4.73k|    const int components = txType.getVectorSize();
  204|  4.73k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  4.73k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  4.73k|        if (intermediate.getNoStorageFormat())
  208|  4.73k|            return ElfNone;
  209|       |
  210|  4.73k|        return components == 1 ? v1 :
  211|  4.73k|               components == 2 ? v2 : v4;
  212|  4.73k|    };
  213|       |
  214|  4.73k|    switch (txBasicType) {
  215|  1.57k|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 1.57k, False: 3.15k]
  ------------------
  216|  1.57k|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 1.57k, False: 3.15k]
  ------------------
  217|  1.57k|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 1.57k, False: 3.15k]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 4.73k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  4.73k|    }
  222|  4.73k|}
_ZN7glslang16HlslParseContext14handleVariableERKNS_10TSourceLocEPKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  658|     40|{
  659|     40|    int thisDepth;
  660|     40|    TSymbol* symbol = symbolTable.find(*string, thisDepth);
  661|     40|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (661:9): [True: 0, False: 40]
  |  Branch (661:19): [True: 0, False: 0]
  |  Branch (661:46): [True: 0, False: 0]
  ------------------
  662|      0|        error(loc, "expected symbol, not user-defined type", string->c_str(), "");
  663|      0|        return nullptr;
  664|      0|    }
  665|       |
  666|     40|    const TVariable* variable = nullptr;
  667|     40|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (667:31): [True: 0, False: 40]
  ------------------
  668|     40|    TIntermTyped* node = nullptr;
  669|     40|    if (anon) {
  ------------------
  |  Branch (669:9): [True: 0, False: 40]
  ------------------
  670|       |        // It was a member of an anonymous container, which could be a 'this' structure.
  671|       |
  672|       |        // Create a subtree for its dereference.
  673|      0|        if (thisDepth > 0) {
  ------------------
  |  Branch (673:13): [True: 0, False: 0]
  ------------------
  674|      0|            variable = getImplicitThis(thisDepth);
  675|      0|            if (variable == nullptr)
  ------------------
  |  Branch (675:17): [True: 0, False: 0]
  ------------------
  676|      0|                error(loc, "cannot access member variables (static member function?)", "this", "");
  677|      0|        }
  678|      0|        if (variable == nullptr)
  ------------------
  |  Branch (678:13): [True: 0, False: 0]
  ------------------
  679|      0|            variable = anon->getAnonContainer().getAsVariable();
  680|       |
  681|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  682|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  683|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  684|       |
  685|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  686|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (686:13): [True: 0, False: 0]
  ------------------
  687|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  688|     40|    } else {
  689|       |        // Not a member of an anonymous container.
  690|       |
  691|       |        // The symbol table search was done in the lexical phase.
  692|       |        // See if it was a variable.
  693|     40|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (693:20): [True: 0, False: 40]
  ------------------
  694|     40|        if (variable) {
  ------------------
  |  Branch (694:13): [True: 0, False: 40]
  ------------------
  695|      0|            if ((variable->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (695:18): [True: 0, False: 0]
  ------------------
  696|      0|                variable->getType().getBasicType() == EbtStruct) && variable->getType().getStruct() == nullptr) {
  ------------------
  |  Branch (696:17): [True: 0, False: 0]
  |  Branch (696:69): [True: 0, False: 0]
  ------------------
  697|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  698|      0|                variable = nullptr;
  699|      0|            }
  700|     40|        } else {
  701|     40|            if (symbol)
  ------------------
  |  Branch (701:17): [True: 0, False: 40]
  ------------------
  702|      0|                error(loc, "variable name expected", string->c_str(), "");
  703|     40|        }
  704|       |
  705|       |        // Recovery, if it wasn't found or was not a variable.
  706|     40|        if (variable == nullptr) {
  ------------------
  |  Branch (706:13): [True: 40, False: 0]
  ------------------
  707|     40|            error(loc, "unknown variable", string->c_str(), "");
  708|     40|            variable = new TVariable(string, TType(EbtVoid));
  709|     40|        }
  710|       |
  711|     40|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (711:13): [True: 0, False: 40]
  ------------------
  712|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  713|     40|        else
  714|     40|            node = intermediate.addSymbol(*variable, loc);
  715|     40|    }
  716|       |
  717|     40|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (717:9): [True: 0, False: 40]
  ------------------
  718|      0|        intermediate.addIoAccessed(*string);
  719|       |
  720|     40|    return node;
  721|     40|}
_ZN7glslang16HlslParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  943|      1|{
  944|      1|    variableCheck(base);
  945|       |
  946|      1|    if (base->isArray()) {
  ------------------
  |  Branch (946:9): [True: 0, False: 1]
  ------------------
  947|      0|        error(loc, "cannot apply to an array:", ".", "%s", field.c_str());
  948|      0|        return base;
  949|      0|    }
  950|       |
  951|      1|    TIntermTyped* result = base;
  952|       |
  953|      1|    if (base->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (953:9): [True: 0, False: 1]
  ------------------
  954|       |        // Handle .mips[mipid][pos] operation on textures
  955|      0|        const TSampler& sampler = base->getType().getSampler();
  956|      0|        if (sampler.isTexture() && field == "mips") {
  ------------------
  |  Branch (956:13): [True: 0, False: 0]
  |  Branch (956:36): [True: 0, False: 0]
  ------------------
  957|       |            // Push a null to signify that we expect a mip level under operator[] next.
  958|      0|            mipsOperatorMipArg.push_back(tMipsOperatorData(loc, nullptr));
  959|       |            // Keep 'result' pointing to 'base', since we expect an operator[] to go by next.
  960|      0|        } else {
  961|      0|            if (field == "mips")
  ------------------
  |  Branch (961:17): [True: 0, False: 0]
  ------------------
  962|      0|                error(loc, "unexpected texture type for .mips[][] operator:",
  963|      0|                      base->getType().getCompleteString().c_str(), "");
  964|      0|            else
  965|      0|                error(loc, "unexpected operator on texture type:", field.c_str(),
  966|      0|                      "%s", base->getType().getCompleteString().c_str());
  967|      0|        }
  968|      1|    } else if (base->isVector() || base->isScalar()) {
  ------------------
  |  Branch (968:16): [True: 0, False: 1]
  |  Branch (968:36): [True: 1, False: 0]
  ------------------
  969|      1|        TSwizzleSelectors<TVectorSelector> selectors;
  970|      1|        parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
  971|       |
  972|      1|        if (base->isScalar()) {
  ------------------
  |  Branch (972:13): [True: 1, False: 0]
  ------------------
  973|      1|            if (selectors.size() == 1)
  ------------------
  |  Branch (973:17): [True: 0, False: 1]
  ------------------
  974|      0|                return result;
  975|      1|            else {
  976|      1|                TType type(base->getBasicType(), EvqTemporary, selectors.size());
  977|      1|                return addConstructor(loc, base, type);
  978|      1|            }
  979|      1|        }
  980|       |        // Use EOpIndexDirect (below) with vec1.x so that it remains l-value (Test/hlsl.swizzle.vec1.comp)
  981|      0|        if (base->getVectorSize() == 1 && selectors.size() > 1) {
  ------------------
  |  Branch (981:13): [True: 0, False: 0]
  |  Branch (981:43): [True: 0, False: 0]
  ------------------
  982|      0|            TType scalarType(base->getBasicType(), EvqTemporary, 1);
  983|      0|            TType vectorType(base->getBasicType(), EvqTemporary, selectors.size());
  984|      0|            return addConstructor(loc, addConstructor(loc, base, scalarType), vectorType);
  985|      0|        }
  986|       |
  987|      0|        if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (987:13): [True: 0, False: 0]
  ------------------
  988|      0|            result = intermediate.foldSwizzle(base, selectors, loc);
  989|      0|        else {
  990|      0|            if (selectors.size() == 1) {
  ------------------
  |  Branch (990:17): [True: 0, False: 0]
  ------------------
  991|      0|                TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
  992|      0|                result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
  993|      0|                result->setType(TType(base->getBasicType(), EvqTemporary));
  994|      0|            } else {
  995|      0|                TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
  996|      0|                result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
  997|      0|                result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision,
  998|      0|                                selectors.size()));
  999|      0|            }
 1000|      0|        }
 1001|      0|    } else if (base->isMatrix()) {
  ------------------
  |  Branch (1001:16): [True: 0, False: 0]
  ------------------
 1002|      0|        TSwizzleSelectors<TMatrixSelector> selectors;
 1003|      0|        if (! parseMatrixSwizzleSelector(loc, field, base->getMatrixCols(), base->getMatrixRows(), selectors))
  ------------------
  |  Branch (1003:13): [True: 0, False: 0]
  ------------------
 1004|      0|            return result;
 1005|       |
 1006|      0|        if (selectors.size() == 1) {
  ------------------
  |  Branch (1006:13): [True: 0, False: 0]
  ------------------
 1007|       |            // Representable by m[c][r]
 1008|      0|            if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1008:17): [True: 0, False: 0]
  ------------------
 1009|      0|                result = intermediate.foldDereference(base, selectors[0].coord1, loc);
 1010|      0|                result = intermediate.foldDereference(result, selectors[0].coord2, loc);
 1011|      0|            } else {
 1012|      0|                result = intermediate.addIndex(EOpIndexDirect, base,
 1013|      0|                                               intermediate.addConstantUnion(selectors[0].coord1, loc),
 1014|      0|                                               loc);
 1015|      0|                TType dereferencedCol(base->getType(), 0);
 1016|      0|                result->setType(dereferencedCol);
 1017|      0|                result = intermediate.addIndex(EOpIndexDirect, result,
 1018|      0|                                               intermediate.addConstantUnion(selectors[0].coord2, loc),
 1019|      0|                                               loc);
 1020|      0|                TType dereferenced(dereferencedCol, 0);
 1021|      0|                result->setType(dereferenced);
 1022|      0|            }
 1023|      0|        } else {
 1024|      0|            int column = getMatrixComponentsColumn(base->getMatrixRows(), selectors);
 1025|      0|            if (column >= 0) {
  ------------------
  |  Branch (1025:17): [True: 0, False: 0]
  ------------------
 1026|       |                // Representable by m[c]
 1027|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1027:21): [True: 0, False: 0]
  ------------------
 1028|      0|                    result = intermediate.foldDereference(base, column, loc);
 1029|      0|                else {
 1030|      0|                    result = intermediate.addIndex(EOpIndexDirect, base, intermediate.addConstantUnion(column, loc),
 1031|      0|                                                   loc);
 1032|      0|                    TType dereferenced(base->getType(), 0);
 1033|      0|                    result->setType(dereferenced);
 1034|      0|                }
 1035|      0|            } else {
 1036|       |                // general case, not a column, not a single component
 1037|      0|                TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1038|      0|                result = intermediate.addIndex(EOpMatrixSwizzle, base, index, loc);
 1039|      0|                result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision,
 1040|      0|                                      selectors.size()));
 1041|      0|           }
 1042|      0|        }
 1043|      0|    } else if (base->getBasicType() == EbtStruct || base->getBasicType() == EbtBlock) {
  ------------------
  |  Branch (1043:16): [True: 0, False: 0]
  |  Branch (1043:53): [True: 0, False: 0]
  ------------------
 1044|      0|        const TTypeList* fields = base->getType().getStruct();
 1045|      0|        bool fieldFound = false;
 1046|      0|        int member;
 1047|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                fieldFound = true;
 1050|      0|                break;
 1051|      0|            }
 1052|      0|        }
 1053|      0|        if (fieldFound) {
  ------------------
  |  Branch (1053:13): [True: 0, False: 0]
  ------------------
 1054|      0|            if (base->getAsSymbolNode() && wasFlattened(base)) {
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  |  Branch (1054:44): [True: 0, False: 0]
  ------------------
 1055|      0|                result = flattenAccess(base, member);
 1056|      0|            } else {
 1057|      0|                if (base->getType().getQualifier().storage == EvqConst)
  ------------------
  |  Branch (1057:21): [True: 0, False: 0]
  ------------------
 1058|      0|                    result = intermediate.foldDereference(base, member, loc);
 1059|      0|                else {
 1060|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1061|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1062|      0|                    result->setType(*(*fields)[member].type);
 1063|      0|                }
 1064|      0|            }
 1065|      0|        } else
 1066|      0|            error(loc, "no such field in structure", field.c_str(), "");
 1067|      0|    } else
 1068|      0|        error(loc, "does not apply to this type:", field.c_str(), "%s", base->getType().getCompleteString().c_str());
 1069|       |
 1070|      0|    return result;
 1071|      1|}
_ZNK7glslang16HlslParseContext13shouldFlattenERKNS_5TTypeENS_17TStorageQualifierEb:
 1170|      2|{
 1171|      2|    switch (qualifier) {
 1172|      0|    case EvqVaryingIn:
  ------------------
  |  Branch (1172:5): [True: 0, False: 2]
  ------------------
 1173|      0|    case EvqVaryingOut:
  ------------------
  |  Branch (1173:5): [True: 0, False: 2]
  ------------------
 1174|      0|        return type.isStruct() || type.isArray();
  ------------------
  |  Branch (1174:16): [True: 0, False: 0]
  |  Branch (1174:35): [True: 0, False: 0]
  ------------------
 1175|      2|    case EvqUniform:
  ------------------
  |  Branch (1175:5): [True: 2, False: 0]
  ------------------
 1176|      2|        return (type.isArray() && intermediate.getFlattenUniformArrays() && topLevel) ||
  ------------------
  |  Branch (1176:17): [True: 0, False: 2]
  |  Branch (1176:35): [True: 0, False: 0]
  |  Branch (1176:77): [True: 0, False: 0]
  ------------------
 1177|      2|               (type.isStruct() && type.containsOpaque());
  ------------------
  |  Branch (1177:17): [True: 0, False: 2]
  |  Branch (1177:36): [True: 0, False: 0]
  ------------------
 1178|      0|    default:
  ------------------
  |  Branch (1178:5): [True: 0, False: 2]
  ------------------
 1179|      0|        return false;
 1180|      2|    };
 1181|      0|}
_ZN7glslang16HlslParseContext12trackLinkageERNS_7TSymbolE:
 1473|      2|{
 1474|      2|    TBuiltInVariable biType = symbol.getType().getQualifier().builtIn;
 1475|       |
 1476|      2|    if (biType != EbvNone)
  ------------------
  |  Branch (1476:9): [True: 0, False: 2]
  ------------------
 1477|      0|        builtInTessLinkageSymbols[biType] = symbol.clone();
 1478|       |
 1479|      2|    TParseContextBase::trackLinkage(symbol);
 1480|      2|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|   332k|{
 1606|       |    //
 1607|       |    // Multiple declarations of the same function name are allowed.
 1608|       |    //
 1609|       |    // If this is a definition, the definition production code will check for redefinitions
 1610|       |    // (we don't know at this point if it's a definition or not).
 1611|       |    //
 1612|   332k|    bool builtIn;
 1613|   332k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|   332k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 1.99k, False: 330k]
  ------------------
 1615|       |
 1616|   332k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 332k, False: 1]
  ------------------
 1617|       |        // All built-in functions are defined, even though they don't have a body.
 1618|       |        // Count their prototype as a definition instead.
 1619|   332k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 332k, False: 0]
  ------------------
 1620|   332k|            function.setDefined();
 1621|      0|        else {
 1622|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1622:17): [True: 0, False: 0]
  |  Branch (1622:28): [True: 0, False: 0]
  ------------------
 1623|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1624|      0|            function.setPrototyped();
 1625|      0|        }
 1626|   332k|    }
 1627|       |
 1628|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1629|       |    // other forms of name collisions.
 1630|   332k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 332k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|   332k|}
_ZN7glslang16HlslParseContext24handleFunctionDefinitionERKNS_10TSourceLocERNS_9TFunctionERKNS_5TListINS_14TAttributeArgsEEERP11TIntermNode:
 1666|      1|{
 1667|      1|    currentCaller = function.getMangledName();
 1668|      1|    TSymbol* symbol = symbolTable.find(function.getMangledName());
 1669|      1|    TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1669:26): [True: 1, False: 0]
  ------------------
 1670|       |
 1671|      1|    if (prevDec == nullptr)
  ------------------
  |  Branch (1671:9): [True: 0, False: 1]
  ------------------
 1672|      0|        error(loc, "can't find function", function.getName().c_str(), "");
 1673|       |    // Note:  'prevDec' could be 'function' if this is the first time we've seen function
 1674|       |    // as it would have just been put in the symbol table.  Otherwise, we're looking up
 1675|       |    // an earlier occurrence.
 1676|       |
 1677|      1|    if (prevDec && prevDec->isDefined()) {
  ------------------
  |  Branch (1677:9): [True: 1, False: 0]
  |  Branch (1677:20): [True: 0, False: 1]
  ------------------
 1678|       |        // Then this function already has a body.
 1679|      0|        error(loc, "function already has a body", function.getName().c_str(), "");
 1680|      0|    }
 1681|      1|    if (prevDec && ! prevDec->isDefined()) {
  ------------------
  |  Branch (1681:9): [True: 1, False: 0]
  |  Branch (1681:20): [True: 1, False: 0]
  ------------------
 1682|      1|        prevDec->setDefined();
 1683|       |
 1684|       |        // Remember the return type for later checking for RETURN statements.
 1685|      1|        currentFunctionType = &(prevDec->getType());
 1686|      1|    } else
 1687|      0|        currentFunctionType = new TType(EbtVoid);
 1688|      1|    functionReturnsValue = false;
 1689|       |
 1690|       |    // Entry points need different I/O and other handling, transform it so the
 1691|       |    // rest of this function doesn't care.
 1692|      1|    entryPointTree = transformEntryPoint(loc, function, attributes);
 1693|       |
 1694|       |    //
 1695|       |    // New symbol table scope for body of function plus its arguments
 1696|       |    //
 1697|      1|    pushScope();
 1698|       |
 1699|       |    //
 1700|       |    // Insert parameters into the symbol table.
 1701|       |    // If the parameter has no name, it's not an error, just don't insert it
 1702|       |    // (could be used for unused args).
 1703|       |    //
 1704|       |    // Also, accumulate the list of parameters into the AST, so lower level code
 1705|       |    // knows where to find parameters.
 1706|       |    //
 1707|      1|    TIntermAggregate* paramNodes = new TIntermAggregate;
 1708|      1|    for (int i = 0; i < function.getParamCount(); i++) {
  ------------------
  |  Branch (1708:21): [True: 0, False: 1]
  ------------------
 1709|      0|        TParameter& param = function[i];
 1710|      0|        if (param.name != nullptr) {
  ------------------
  |  Branch (1710:13): [True: 0, False: 0]
  ------------------
 1711|      0|            TVariable *variable = new TVariable(param.name, *param.type);
 1712|       |
 1713|      0|            if (i == 0 && function.hasImplicitThis()) {
  ------------------
  |  Branch (1713:17): [True: 0, False: 0]
  |  Branch (1713:27): [True: 0, False: 0]
  ------------------
 1714|       |                // Anonymous 'this' members are already in a symbol-table level,
 1715|       |                // and we need to know what function parameter to map them to.
 1716|      0|                symbolTable.makeInternalVariable(*variable);
 1717|      0|                pushImplicitThis(variable);
 1718|      0|            }
 1719|       |
 1720|       |            // Insert the parameters with name in the symbol table.
 1721|      0|            if (! symbolTable.insert(*variable))
  ------------------
  |  Branch (1721:17): [True: 0, False: 0]
  ------------------
 1722|      0|                error(loc, "redefinition", variable->getName().c_str(), "");
 1723|       |
 1724|       |            // Add parameters to the AST list.
 1725|      0|            if (shouldFlatten(variable->getType(), variable->getType().getQualifier().storage, true)) {
  ------------------
  |  Branch (1725:17): [True: 0, False: 0]
  ------------------
 1726|       |                // Expand the AST parameter nodes (but not the name mangling or symbol table view)
 1727|       |                // for structures that need to be flattened.
 1728|      0|                flatten(*variable, false);
 1729|      0|                const TTypeList* structure = variable->getType().getStruct();
 1730|      0|                for (int mem = 0; mem < (int)structure->size(); ++mem) {
  ------------------
  |  Branch (1730:35): [True: 0, False: 0]
  ------------------
 1731|      0|                    paramNodes = intermediate.growAggregate(paramNodes,
 1732|      0|                                                            flattenAccess(variable->getUniqueId(), mem,
 1733|      0|                                                                          variable->getType().getQualifier().storage,
 1734|      0|                                                                          *(*structure)[mem].type),
 1735|      0|                                                            loc);
 1736|      0|                }
 1737|      0|            } else {
 1738|       |                // Add the parameter to the AST
 1739|      0|                paramNodes = intermediate.growAggregate(paramNodes,
 1740|      0|                                                        intermediate.addSymbol(*variable, loc),
 1741|      0|                                                        loc);
 1742|      0|            }
 1743|       |
 1744|       |            // Add hidden AST parameter for struct buffer counters, if needed.
 1745|      0|            addStructBufferHiddenCounterParam(loc, param, paramNodes);
 1746|      0|        } else
 1747|      0|            paramNodes = intermediate.growAggregate(paramNodes, intermediate.addSymbol(*param.type, loc), loc);
 1748|      0|    }
 1749|      1|    if (function.hasIllegalImplicitThis())
  ------------------
  |  Branch (1749:9): [True: 0, False: 1]
  ------------------
 1750|      0|        pushImplicitThis(nullptr);
 1751|       |
 1752|      1|    intermediate.setAggregateOperator(paramNodes, EOpParameters, TType(EbtVoid), loc);
 1753|      1|    loopNestingLevel = 0;
 1754|      1|    controlFlowNestingLevel = 0;
 1755|      1|    postEntryPointReturn = false;
 1756|       |
 1757|      1|    return paramNodes;
 1758|      1|}
_ZN7glslang16HlslParseContext22transferTypeAttributesERKNS_10TSourceLocERKNS_5TListINS_14TAttributeArgsEEERNS_5TTypeEb:
 1939|  1.07M|{
 1940|  1.07M|    if (attributes.size() == 0)
  ------------------
  |  Branch (1940:9): [True: 1.07M, False: 0]
  ------------------
 1941|  1.07M|        return;
 1942|       |
 1943|      0|    int value;
 1944|      0|    TString builtInString;
 1945|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1945:40): [True: 0, False: 0]
  ------------------
 1946|      0|        switch (it->name) {
 1947|      0|        case EatLocation:
  ------------------
  |  Branch (1947:9): [True: 0, False: 0]
  ------------------
 1948|       |            // location
 1949|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1949:17): [True: 0, False: 0]
  ------------------
 1950|      0|                type.getQualifier().layoutLocation = value;
 1951|      0|            else
 1952|      0|                error(loc, "needs a literal integer", "location", "");
 1953|      0|            break;
 1954|      0|        case EatBinding:
  ------------------
  |  Branch (1954:9): [True: 0, False: 0]
  ------------------
 1955|       |            // binding
 1956|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                type.getQualifier().layoutBinding = value;
 1958|      0|                type.getQualifier().layoutSet = 0;
 1959|      0|            } else
 1960|      0|                error(loc, "needs a literal integer", "binding", "");
 1961|       |            // set
 1962|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                type.getQualifier().layoutSet = value;
 1964|      0|            break;
 1965|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1965:9): [True: 0, False: 0]
  ------------------
 1966|       |            // global cbuffer binding
 1967|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1967:17): [True: 0, False: 0]
  ------------------
 1968|      0|                globalUniformBinding = value;
 1969|      0|            else
 1970|      0|                error(loc, "needs a literal integer", "global binding", "");
 1971|       |            // global cbuffer set
 1972|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1972:17): [True: 0, False: 0]
  ------------------
 1973|      0|                globalUniformSet = value;
 1974|      0|            break;
 1975|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1975:9): [True: 0, False: 0]
  ------------------
 1976|       |            // input attachment
 1977|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1977:17): [True: 0, False: 0]
  ------------------
 1978|      0|                type.getQualifier().layoutAttachment = value;
 1979|      0|            else
 1980|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1981|      0|            break;
 1982|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1982:9): [True: 0, False: 0]
  ------------------
 1983|       |            // PointSize built-in
 1984|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1985:21): [True: 0, False: 0]
  ------------------
 1986|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1987|      0|            }
 1988|      0|            break;
 1989|      0|        case EatPushConstant:
  ------------------
  |  Branch (1989:9): [True: 0, False: 0]
  ------------------
 1990|       |            // push_constant
 1991|      0|            type.getQualifier().layoutPushConstant = true;
 1992|      0|            break;
 1993|      0|        case EatConstantId:
  ------------------
  |  Branch (1993:9): [True: 0, False: 0]
  ------------------
 1994|       |            // specialization constant
 1995|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1995:17): [True: 0, False: 0]
  ------------------
 1996|      0|                error(loc, "needs a const type", "constant_id", "");
 1997|      0|                break;
 1998|      0|            }
 1999|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                TSourceLoc loc;
 2001|      0|                loc.init();
 2002|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 2003|      0|            }
 2004|      0|            break;
 2005|       |
 2006|       |        // image formats
 2007|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2025:9): [True: 0, False: 0]
  ------------------
 2026|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2028:9): [True: 0, False: 0]
  ------------------
 2029|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2031:9): [True: 0, False: 0]
  ------------------
 2032|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2032:9): [True: 0, False: 0]
  ------------------
 2033|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2033:9): [True: 0, False: 0]
  ------------------
 2034|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2034:9): [True: 0, False: 0]
  ------------------
 2035|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2035:9): [True: 0, False: 0]
  ------------------
 2036|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2036:9): [True: 0, False: 0]
  ------------------
 2037|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2038:9): [True: 0, False: 0]
  ------------------
 2039|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2040:9): [True: 0, False: 0]
  ------------------
 2041|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2041:9): [True: 0, False: 0]
  ------------------
 2042|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2042:9): [True: 0, False: 0]
  ------------------
 2043|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2043:9): [True: 0, False: 0]
  ------------------
 2044|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2044:9): [True: 0, False: 0]
  ------------------
 2045|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2045:9): [True: 0, False: 0]
  ------------------
 2046|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2046:9): [True: 0, False: 0]
  ------------------
 2047|       |
 2048|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2048:9): [True: 0, False: 0]
  ------------------
 2049|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2049:9): [True: 0, False: 0]
  ------------------
 2050|       |
 2051|      0|        default:
  ------------------
  |  Branch (2051:9): [True: 0, False: 0]
  ------------------
 2052|      0|            if (! allowEntry)
  ------------------
  |  Branch (2052:17): [True: 0, False: 0]
  ------------------
 2053|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2054|      0|            break;
 2055|      0|        }
 2056|      0|    }
 2057|      0|}
_ZN7glslang16HlslParseContext19transformEntryPointERKNS_10TSourceLocERNS_9TFunctionERKNS_5TListINS_14TAttributeArgsEEE:
 2093|      1|{
 2094|       |    // Return true if this is a tessellation patch constant function input to a domain shader.
 2095|      1|    const auto isDsPcfInput = [this](const TType& type) {
 2096|      1|        return language == EShLangTessEvaluation &&
 2097|      1|        type.contains([](const TType* t) {
 2098|      1|                return t->getQualifier().builtIn == EbvTessLevelOuter ||
 2099|      1|                       t->getQualifier().builtIn == EbvTessLevelInner;
 2100|      1|            });
 2101|      1|    };
 2102|       |
 2103|       |    // if we aren't in the entry point, fix the IO as such and exit
 2104|      1|    if (! isEntrypointName(userFunction.getName())) {
  ------------------
  |  Branch (2104:9): [True: 1, False: 0]
  ------------------
 2105|      1|        remapNonEntryPointIO(userFunction);
 2106|      1|        return nullptr;
 2107|      1|    }
 2108|       |
 2109|      0|    entryPointFunction = &userFunction; // needed in finish()
 2110|       |
 2111|       |    // Handle entry point attributes
 2112|      0|    handleEntryPointAttributes(loc, attributes);
 2113|       |
 2114|       |    // entry point logic...
 2115|       |
 2116|       |    // Move parameters and return value to shader in/out
 2117|      0|    TVariable* entryPointOutput; // gets created in remapEntryPointIO
 2118|      0|    TVector<TVariable*> inputs;
 2119|      0|    TVector<TVariable*> outputs;
 2120|      0|    remapEntryPointIO(userFunction, entryPointOutput, inputs, outputs);
 2121|       |
 2122|       |    // Further this return/in/out transform by flattening, splitting, and assigning locations
 2123|      0|    const auto makeVariableInOut = [&](TVariable& variable) {
 2124|      0|        if (variable.getType().isStruct()) {
 2125|      0|            bool arrayed = variable.getType().getQualifier().isArrayedIo(language);
 2126|      0|            flatten(variable, false /* don't track linkage here, it will be tracked in assignToInterface() */, arrayed);
 2127|      0|        }
 2128|       |        // TODO: flatten arrays too
 2129|       |        // TODO: flatten everything in I/O
 2130|       |        // TODO: replace all split with flatten, make all paths can create flattened I/O, then split code can be removed
 2131|       |
 2132|       |        // For clip and cull distance, multiple output variables potentially get merged
 2133|       |        // into one in assignClipCullDistance.  That code in assignClipCullDistance
 2134|       |        // handles the interface logic, so we avoid it here in that case.
 2135|      0|        if (!isClipOrCullDistance(variable.getType()))
 2136|      0|            assignToInterface(variable);
 2137|      0|    };
 2138|      0|    if (entryPointOutput != nullptr)
  ------------------
  |  Branch (2138:9): [True: 0, False: 0]
  ------------------
 2139|      0|        makeVariableInOut(*entryPointOutput);
 2140|      0|    for (auto it = inputs.begin(); it != inputs.end(); ++it)
  ------------------
  |  Branch (2140:36): [True: 0, False: 0]
  ------------------
 2141|      0|        if (!isDsPcfInput((*it)->getType()))  // wait until the end for PCF input (see comment below)
  ------------------
  |  Branch (2141:13): [True: 0, False: 0]
  ------------------
 2142|      0|            makeVariableInOut(*(*it));
 2143|      0|    for (auto it = outputs.begin(); it != outputs.end(); ++it)
  ------------------
  |  Branch (2143:37): [True: 0, False: 0]
  ------------------
 2144|      0|        makeVariableInOut(*(*it));
 2145|       |
 2146|       |    // In the domain shader, PCF input must be at the end of the linkage.  That's because in the
 2147|       |    // hull shader there is no ordering: the output comes from the separate PCF, which does not
 2148|       |    // participate in the argument list.  That is always put at the end of the HS linkage, so the
 2149|       |    // input side of the DS must match.  The argument may be in any position in the DS argument list
 2150|       |    // however, so this ensures the linkage is built in the correct order regardless of argument order.
 2151|      0|    if (language == EShLangTessEvaluation) {
  ------------------
  |  Branch (2151:9): [True: 0, False: 0]
  ------------------
 2152|      0|        for (auto it = inputs.begin(); it != inputs.end(); ++it)
  ------------------
  |  Branch (2152:40): [True: 0, False: 0]
  ------------------
 2153|      0|            if (isDsPcfInput((*it)->getType()))
  ------------------
  |  Branch (2153:17): [True: 0, False: 0]
  ------------------
 2154|      0|                makeVariableInOut(*(*it));
 2155|      0|    }
 2156|       |
 2157|       |    // Add uniform parameters to the $Global uniform block.
 2158|      0|    TVector<TVariable*> opaque_uniforms;
 2159|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2159:21): [True: 0, False: 0]
  ------------------
 2160|      0|        TType& paramType = *userFunction[i].type;
 2161|      0|        TString& paramName = *userFunction[i].name;
 2162|      0|        if (paramType.getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (2162:13): [True: 0, False: 0]
  ------------------
 2163|      0|            if (!paramType.containsOpaque()) {
  ------------------
  |  Branch (2163:17): [True: 0, False: 0]
  ------------------
 2164|       |                // Add it to the global uniform block.
 2165|      0|                growGlobalUniformBlock(loc, paramType, paramName);
 2166|      0|            } else {
 2167|       |                // Declare it as a separate variable.
 2168|      0|                TVariable *var = makeInternalVariable(paramName.c_str(), paramType);
 2169|      0|                opaque_uniforms.push_back(var);
 2170|      0|            }
 2171|      0|        }
 2172|      0|    }
 2173|       |
 2174|       |    // Synthesize the call
 2175|       |
 2176|      0|    pushScope(); // matches the one in handleFunctionBody()
 2177|       |
 2178|       |    // new signature
 2179|      0|    TType voidType(EbtVoid);
 2180|      0|    TFunction synthEntryPoint(&userFunction.getName(), voidType);
 2181|      0|    TIntermAggregate* synthParams = new TIntermAggregate();
 2182|      0|    intermediate.setAggregateOperator(synthParams, EOpParameters, voidType, loc);
 2183|      0|    intermediate.setEntryPointMangledName(synthEntryPoint.getMangledName().c_str());
 2184|      0|    intermediate.incrementEntryPointCount();
 2185|      0|    TFunction callee(&userFunction.getName(), voidType); // call based on old name, which is still in the symbol table
 2186|       |
 2187|       |    // change original name
 2188|      0|    userFunction.addPrefix("@");                         // change the name in the function, but not in the symbol table
 2189|       |
 2190|       |    // Copy inputs (shader-in -> calling arg), while building up the call node
 2191|      0|    TVector<TVariable*> argVars;
 2192|      0|    TIntermAggregate* synthBody = new TIntermAggregate();
 2193|      0|    auto inputIt = inputs.begin();
 2194|      0|    auto opaqueUniformIt = opaque_uniforms.begin();
 2195|      0|    TIntermTyped* callingArgs = nullptr;
 2196|       |
 2197|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2197:21): [True: 0, False: 0]
  ------------------
 2198|      0|        TParameter& param = userFunction[i];
 2199|      0|        argVars.push_back(makeInternalVariable(*param.name, *param.type));
 2200|      0|        argVars.back()->getWritableType().getQualifier().makeTemporary();
 2201|       |
 2202|       |        // Track the input patch, which is the only non-builtin supported by hull shader PCF.
 2203|      0|        if (param.getDeclaredBuiltIn() == EbvInputPatch)
  ------------------
  |  Branch (2203:13): [True: 0, False: 0]
  ------------------
 2204|      0|            inputPatch = argVars.back();
 2205|       |
 2206|      0|        TIntermSymbol* arg = intermediate.addSymbol(*argVars.back());
 2207|      0|        handleFunctionArgument(&callee, callingArgs, arg);
 2208|      0|        if (param.type->getQualifier().isParamInput()) {
  ------------------
  |  Branch (2208:13): [True: 0, False: 0]
  ------------------
 2209|      0|            TIntermTyped* input = intermediate.addSymbol(**inputIt);
 2210|      0|            if (input->getType().getQualifier().builtIn == EbvFragCoord && intermediate.getDxPositionW()) {
  ------------------
  |  Branch (2210:17): [True: 0, False: 0]
  |  Branch (2210:76): [True: 0, False: 0]
  ------------------
 2211|       |                // Replace FragCoord W with reciprocal
 2212|      0|                auto pos_xyz = handleDotDereference(loc, input, "xyz");
 2213|      0|                auto pos_w   = handleDotDereference(loc, input, "w");
 2214|      0|                auto one     = intermediate.addConstantUnion(1.0, EbtFloat, loc);
 2215|      0|                auto recip_w = intermediate.addBinaryMath(EOpDiv, one, pos_w, loc);
 2216|      0|                TIntermAggregate* dst = new TIntermAggregate(EOpConstructVec4);
 2217|      0|                dst->getSequence().push_back(pos_xyz);
 2218|      0|                dst->getSequence().push_back(recip_w);
 2219|      0|                dst->setType(TType(EbtFloat, EvqTemporary, 4));
 2220|      0|                dst->setLoc(loc);
 2221|      0|                input = dst;
 2222|      0|            }
 2223|      0|            intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg, input));
 2224|      0|            inputIt++;
 2225|      0|        }
 2226|      0|        if (param.type->getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (2226:13): [True: 0, False: 0]
  ------------------
 2227|      0|            if (!param.type->containsOpaque()) {
  ------------------
  |  Branch (2227:17): [True: 0, False: 0]
  ------------------
 2228|       |                // Look it up in the $Global uniform block.
 2229|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg,
 2230|      0|                                                                   handleVariable(loc, param.name)));
 2231|      0|            } else {
 2232|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg,
 2233|      0|                                                                   intermediate.addSymbol(**opaqueUniformIt)));
 2234|      0|                ++opaqueUniformIt;
 2235|      0|            }
 2236|      0|        }
 2237|      0|    }
 2238|       |
 2239|       |    // Call
 2240|      0|    currentCaller = synthEntryPoint.getMangledName();
 2241|      0|    TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
 2242|      0|    currentCaller = userFunction.getMangledName();
 2243|       |
 2244|       |    // Return value
 2245|      0|    if (entryPointOutput) {
  ------------------
  |  Branch (2245:9): [True: 0, False: 0]
  ------------------
 2246|      0|        TIntermTyped* returnAssign;
 2247|       |
 2248|       |        // For hull shaders, the wrapped entry point return value is written to
 2249|       |        // an array element as indexed by invocation ID, which we might have to make up.
 2250|       |        // This is required to match SPIR-V semantics.
 2251|      0|        if (language == EShLangTessControl) {
  ------------------
  |  Branch (2251:13): [True: 0, False: 0]
  ------------------
 2252|      0|            TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
 2253|       |
 2254|       |            // If there is no user declared invocation ID, we must make one.
 2255|      0|            if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (2255:17): [True: 0, False: 0]
  ------------------
 2256|      0|                TType invocationIdType(EbtUint, EvqIn, 1);
 2257|      0|                TString* invocationIdName = NewPoolTString("InvocationId");
 2258|      0|                invocationIdType.getQualifier().builtIn = EbvInvocationId;
 2259|       |
 2260|      0|                TVariable* variable = makeInternalVariable(*invocationIdName, invocationIdType);
 2261|       |
 2262|      0|                globalQualifierFix(loc, variable->getWritableType().getQualifier());
 2263|      0|                trackLinkage(*variable);
 2264|       |
 2265|      0|                invocationIdSym = intermediate.addSymbol(*variable);
 2266|      0|            }
 2267|       |
 2268|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexIndirect, intermediate.addSymbol(*entryPointOutput),
 2269|      0|                                                          invocationIdSym, loc);
 2270|       |
 2271|       |            // Set the type of the array element being dereferenced
 2272|      0|            const TType derefElementType(entryPointOutput->getType(), 0);
 2273|      0|            element->setType(derefElementType);
 2274|       |
 2275|      0|            returnAssign = handleAssign(loc, EOpAssign, element, callReturn);
 2276|      0|        } else {
 2277|      0|            returnAssign = handleAssign(loc, EOpAssign, intermediate.addSymbol(*entryPointOutput), callReturn);
 2278|      0|        }
 2279|      0|        intermediate.growAggregate(synthBody, returnAssign);
 2280|      0|    } else
 2281|      0|        intermediate.growAggregate(synthBody, callReturn);
 2282|       |
 2283|       |    // Output copies
 2284|      0|    auto outputIt = outputs.begin();
 2285|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2285:21): [True: 0, False: 0]
  ------------------
 2286|      0|        TParameter& param = userFunction[i];
 2287|       |
 2288|       |        // GS outputs are via emit, so we do not copy them here.
 2289|      0|        if (param.type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (2289:13): [True: 0, False: 0]
  ------------------
 2290|      0|            if (param.getDeclaredBuiltIn() == EbvGsOutputStream) {
  ------------------
  |  Branch (2290:17): [True: 0, False: 0]
  ------------------
 2291|       |                // GS output stream does not assign outputs here: it's the Append() method
 2292|       |                // which writes to the output, probably multiple times separated by Emit.
 2293|       |                // We merely remember the output to use, here.
 2294|      0|                gsStreamOutput = *outputIt;
 2295|      0|            } else {
 2296|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign,
 2297|      0|                                                                   intermediate.addSymbol(**outputIt),
 2298|      0|                                                                   intermediate.addSymbol(*argVars[i])));
 2299|      0|            }
 2300|       |
 2301|      0|            outputIt++;
 2302|      0|        }
 2303|      0|    }
 2304|       |
 2305|       |    // Put the pieces together to form a full function subtree
 2306|       |    // for the synthesized entry point.
 2307|      0|    synthBody->setOperator(EOpSequence);
 2308|      0|    TIntermNode* synthFunctionDef = synthParams;
 2309|      0|    handleFunctionBody(loc, synthEntryPoint, synthBody, synthFunctionDef);
 2310|       |
 2311|      0|    entryPointFunctionBody = synthBody;
 2312|       |
 2313|      0|    return synthFunctionDef;
 2314|      1|}
_ZN7glslang16HlslParseContext20remapNonEntryPointIOERNS_9TFunctionE:
 2460|      1|{
 2461|       |    // return value
 2462|      1|    if (function.getType().getBasicType() != EbtVoid)
  ------------------
  |  Branch (2462:9): [True: 0, False: 1]
  ------------------
 2463|      0|        clearUniformInputOutput(function.getWritableType().getQualifier());
 2464|       |
 2465|       |    // parameters.
 2466|       |    // References to structuredbuffer types are left unmodified
 2467|      1|    for (int i = 0; i < function.getParamCount(); i++)
  ------------------
  |  Branch (2467:21): [True: 0, False: 1]
  ------------------
 2468|      0|        if (!isReference(*function[i].type))
  ------------------
  |  Branch (2468:13): [True: 0, False: 0]
  ------------------
 2469|      0|            clearUniformInputOutput(function[i].type->getQualifier());
 2470|      1|}
_ZN7glslang16HlslParseContext22handleFunctionArgumentEPNS_9TFunctionERPNS_12TIntermTypedES4_:
 2501|      3|{
 2502|      3|    TParameter param = { nullptr, new TType, nullptr };
 2503|      3|    param.type->shallowCopy(newArg->getType());
 2504|       |
 2505|      3|    function->addParameter(param);
 2506|      3|    if (arguments)
  ------------------
  |  Branch (2506:9): [True: 0, False: 3]
  ------------------
 2507|      0|        arguments = intermediate.growAggregate(arguments, newArg);
 2508|      3|    else
 2509|      3|        arguments = newArg;
 2510|      3|}
_ZN7glslang16HlslParseContext28decomposeStructBufferMethodsERKNS_10TSourceLocERPNS_12TIntermTypedEP11TIntermNode:
 3497|      2|{
 3498|      2|    if (node == nullptr || node->getAsOperator() == nullptr || arguments == nullptr)
  ------------------
  |  Branch (3498:9): [True: 0, False: 2]
  |  Branch (3498:28): [True: 0, False: 2]
  |  Branch (3498:64): [True: 2, False: 0]
  ------------------
 3499|      2|        return;
 3500|       |
 3501|      0|    const TOperator op  = node->getAsOperator()->getOp();
 3502|      0|    TIntermAggregate* argAggregate = arguments->getAsAggregate();
 3503|       |
 3504|       |    // Buffer is the object upon which method is called, so always arg 0
 3505|      0|    TIntermTyped* bufferObj = nullptr;
 3506|       |
 3507|       |    // The parameters can be an aggregate, or just a the object as a symbol if there are no fn params.
 3508|      0|    if (argAggregate) {
  ------------------
  |  Branch (3508:9): [True: 0, False: 0]
  ------------------
 3509|      0|        if (argAggregate->getSequence().empty())
  ------------------
  |  Branch (3509:13): [True: 0, False: 0]
  ------------------
 3510|      0|            return;
 3511|      0|        if (argAggregate->getSequence()[0])
  ------------------
  |  Branch (3511:13): [True: 0, False: 0]
  ------------------
 3512|      0|            bufferObj = argAggregate->getSequence()[0]->getAsTyped();
 3513|      0|    } else {
 3514|      0|        bufferObj = arguments->getAsSymbolNode();
 3515|      0|    }
 3516|       |
 3517|      0|    if (bufferObj == nullptr || bufferObj->getAsSymbolNode() == nullptr)
  ------------------
  |  Branch (3517:9): [True: 0, False: 0]
  |  Branch (3517:33): [True: 0, False: 0]
  ------------------
 3518|      0|        return;
 3519|       |
 3520|       |    // Some methods require a hidden internal counter, obtained via getStructBufferCounter().
 3521|       |    // This lambda adds something to it and returns the old value.
 3522|      0|    const auto incDecCounter = [&](int incval) -> TIntermTyped* {
 3523|      0|        TIntermTyped* incrementValue = intermediate.addConstantUnion(static_cast<unsigned int>(incval), loc, true);
 3524|      0|        TIntermTyped* counter = getStructBufferCounter(loc, bufferObj); // obtain the counter member
 3525|       |
 3526|      0|        if (counter == nullptr)
 3527|      0|            return nullptr;
 3528|       |
 3529|      0|        TIntermAggregate* counterIncrement = new TIntermAggregate(EOpAtomicAdd);
 3530|      0|        counterIncrement->setType(TType(EbtUint, EvqTemporary));
 3531|      0|        counterIncrement->setLoc(loc);
 3532|      0|        counterIncrement->getSequence().push_back(counter);
 3533|      0|        counterIncrement->getSequence().push_back(incrementValue);
 3534|       |
 3535|      0|        return counterIncrement;
 3536|      0|    };
 3537|       |
 3538|       |    // Index to obtain the runtime sized array out of the buffer.
 3539|      0|    TIntermTyped* argArray = indexStructBufferContent(loc, bufferObj);
 3540|      0|    if (argArray == nullptr)
  ------------------
  |  Branch (3540:9): [True: 0, False: 0]
  ------------------
 3541|      0|        return;  // It might not be a struct buffer method.
 3542|       |
 3543|       |    // These builtins resolve by name against a zero-parameter prototype, so normal
 3544|       |    // overload resolution never checks the argument count. Validate it here before
 3545|       |    // indexing the argument sequence, otherwise a call with too few arguments reads
 3546|       |    // past the end of the aggregate (or dereferences a null aggregate for a bare
 3547|       |    // buffer object with no arguments).
 3548|      0|    const int argCount = argAggregate ? (int)argAggregate->getSequence().size() : 1;
  ------------------
  |  Branch (3548:26): [True: 0, False: 0]
  ------------------
 3549|      0|    int minArgCount = 1; // the buffer object at index 0
 3550|      0|    switch (op) {
 3551|      0|    case EOpMethodLoad:
  ------------------
  |  Branch (3551:5): [True: 0, False: 0]
  ------------------
 3552|      0|    case EOpMethodLoad2:
  ------------------
  |  Branch (3552:5): [True: 0, False: 0]
  ------------------
 3553|      0|    case EOpMethodLoad3:
  ------------------
  |  Branch (3553:5): [True: 0, False: 0]
  ------------------
 3554|      0|    case EOpMethodLoad4:
  ------------------
  |  Branch (3554:5): [True: 0, False: 0]
  ------------------
 3555|      0|    case EOpMethodGetDimensions:
  ------------------
  |  Branch (3555:5): [True: 0, False: 0]
  ------------------
 3556|      0|    case EOpMethodAppend:
  ------------------
  |  Branch (3556:5): [True: 0, False: 0]
  ------------------
 3557|      0|    case EOpInterlockedAdd:
  ------------------
  |  Branch (3557:5): [True: 0, False: 0]
  ------------------
 3558|      0|    case EOpInterlockedAnd:
  ------------------
  |  Branch (3558:5): [True: 0, False: 0]
  ------------------
 3559|      0|    case EOpInterlockedExchange:
  ------------------
  |  Branch (3559:5): [True: 0, False: 0]
  ------------------
 3560|      0|    case EOpInterlockedMax:
  ------------------
  |  Branch (3560:5): [True: 0, False: 0]
  ------------------
 3561|      0|    case EOpInterlockedMin:
  ------------------
  |  Branch (3561:5): [True: 0, False: 0]
  ------------------
 3562|      0|    case EOpInterlockedOr:
  ------------------
  |  Branch (3562:5): [True: 0, False: 0]
  ------------------
 3563|      0|    case EOpInterlockedXor:
  ------------------
  |  Branch (3563:5): [True: 0, False: 0]
  ------------------
 3564|      0|    case EOpInterlockedCompareExchange:
  ------------------
  |  Branch (3564:5): [True: 0, False: 0]
  ------------------
 3565|      0|    case EOpInterlockedCompareStore:
  ------------------
  |  Branch (3565:5): [True: 0, False: 0]
  ------------------
 3566|      0|        minArgCount = 2;
 3567|      0|        break;
 3568|      0|    case EOpMethodStore:
  ------------------
  |  Branch (3568:5): [True: 0, False: 0]
  ------------------
 3569|      0|    case EOpMethodStore2:
  ------------------
  |  Branch (3569:5): [True: 0, False: 0]
  ------------------
 3570|      0|    case EOpMethodStore3:
  ------------------
  |  Branch (3570:5): [True: 0, False: 0]
  ------------------
 3571|      0|    case EOpMethodStore4:
  ------------------
  |  Branch (3571:5): [True: 0, False: 0]
  ------------------
 3572|      0|        minArgCount = 3;
 3573|      0|        break;
 3574|      0|    default:
  ------------------
  |  Branch (3574:5): [True: 0, False: 0]
  ------------------
 3575|      0|        break;
 3576|      0|    }
 3577|      0|    if (argCount < minArgCount) {
  ------------------
  |  Branch (3577:9): [True: 0, False: 0]
  ------------------
 3578|      0|        error(loc, "too few arguments to buffer method", "", "");
 3579|      0|        return;
 3580|      0|    }
 3581|       |
 3582|      0|    switch (op) {
 3583|      0|    case EOpMethodLoad:
  ------------------
  |  Branch (3583:5): [True: 0, False: 0]
  ------------------
 3584|      0|        {
 3585|      0|            TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped());  // index
 3586|      0|            if (argIndex == nullptr) {
  ------------------
  |  Branch (3586:17): [True: 0, False: 0]
  ------------------
 3587|      0|                error(loc, "invalid index for Load", "", "");
 3588|      0|                return;
 3589|      0|            }
 3590|       |
 3591|      0|            const TType& bufferType = bufferObj->getType();
 3592|       |
 3593|      0|            const TBuiltInVariable builtInType = bufferType.getQualifier().declaredBuiltIn;
 3594|       |
 3595|       |            // Byte address buffers index in bytes (only multiples of 4 permitted... not so much a byte address
 3596|       |            // buffer then, but that's what it calls itself.
 3597|      0|            const bool isByteAddressBuffer = (builtInType == EbvByteAddressBuffer   ||
  ------------------
  |  Branch (3597:47): [True: 0, False: 0]
  ------------------
 3598|      0|                                              builtInType == EbvRWByteAddressBuffer);
  ------------------
  |  Branch (3598:47): [True: 0, False: 0]
  ------------------
 3599|       |
 3600|       |
 3601|      0|            if (isByteAddressBuffer)
  ------------------
  |  Branch (3601:17): [True: 0, False: 0]
  ------------------
 3602|      0|                argIndex = intermediate.addBinaryNode(EOpRightShift, argIndex,
 3603|      0|                                                      intermediate.addConstantUnion(2, loc, true),
 3604|      0|                                                      loc, TType(EbtInt));
 3605|       |
 3606|       |            // Index into the array to find the item being loaded.
 3607|      0|            const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
  ------------------
  |  Branch (3607:37): [True: 0, False: 0]
  ------------------
 3608|       |
 3609|      0|            node = intermediate.addIndex(idxOp, argArray, argIndex, loc);
 3610|       |
 3611|      0|            const TType derefType(argArray->getType(), 0);
 3612|      0|            node->setType(derefType);
 3613|      0|        }
 3614|       |
 3615|      0|        break;
 3616|       |
 3617|      0|    case EOpMethodLoad2:
  ------------------
  |  Branch (3617:5): [True: 0, False: 0]
  ------------------
 3618|      0|    case EOpMethodLoad3:
  ------------------
  |  Branch (3618:5): [True: 0, False: 0]
  ------------------
 3619|      0|    case EOpMethodLoad4:
  ------------------
  |  Branch (3619:5): [True: 0, False: 0]
  ------------------
 3620|      0|        {
 3621|      0|            TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped());  // index
 3622|      0|            if (argIndex == nullptr) {
  ------------------
  |  Branch (3622:17): [True: 0, False: 0]
  ------------------
 3623|      0|                error(loc, "invalid index for vector Load", "", "");
 3624|      0|                return;
 3625|      0|            }
 3626|       |
 3627|      0|            TOperator constructOp = EOpNull;
 3628|      0|            int size = 0;
 3629|       |
 3630|      0|            switch (op) {
 3631|      0|            case EOpMethodLoad2: size = 2; constructOp = EOpConstructVec2; break;
  ------------------
  |  Branch (3631:13): [True: 0, False: 0]
  ------------------
 3632|      0|            case EOpMethodLoad3: size = 3; constructOp = EOpConstructVec3; break;
  ------------------
  |  Branch (3632:13): [True: 0, False: 0]
  ------------------
 3633|      0|            case EOpMethodLoad4: size = 4; constructOp = EOpConstructVec4; break;
  ------------------
  |  Branch (3633:13): [True: 0, False: 0]
  ------------------
 3634|      0|            default: assert(0);
  ------------------
  |  Branch (3634:13): [True: 0, False: 0]
  ------------------
 3635|      0|            }
 3636|       |
 3637|      0|            TIntermTyped* body = nullptr;
 3638|       |
 3639|       |            // First, we'll store the address in a variable to avoid multiple shifts
 3640|       |            // (we must convert the byte address to an item address)
 3641|      0|            TIntermTyped* byteAddrIdx = intermediate.addBinaryNode(EOpRightShift, argIndex,
 3642|      0|                                                                   intermediate.addConstantUnion(2, loc, true),
 3643|      0|                                                                   loc, TType(EbtInt));
 3644|       |
 3645|      0|            TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary));
 3646|      0|            TIntermTyped* byteAddrIdxVar = intermediate.addSymbol(*byteAddrSym, loc);
 3647|       |
 3648|      0|            body = intermediate.growAggregate(body, intermediate.addAssign(EOpAssign, byteAddrIdxVar, byteAddrIdx, loc));
 3649|       |
 3650|      0|            TIntermTyped* vec = nullptr;
 3651|       |
 3652|       |            // These are only valid on (rw)byteaddressbuffers, so we can always perform the >>2
 3653|       |            // address conversion.
 3654|      0|            for (int idx=0; idx<size; ++idx) {
  ------------------
  |  Branch (3654:29): [True: 0, False: 0]
  ------------------
 3655|      0|                TIntermTyped* offsetIdx = byteAddrIdxVar;
 3656|       |
 3657|       |                // add index offset
 3658|      0|                if (idx != 0)
  ------------------
  |  Branch (3658:21): [True: 0, False: 0]
  ------------------
 3659|      0|                    offsetIdx = intermediate.addBinaryNode(EOpAdd, offsetIdx,
 3660|      0|                                                           intermediate.addConstantUnion(idx, loc, true),
 3661|      0|                                                           loc, TType(EbtInt));
 3662|       |
 3663|      0|                const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect
  ------------------
  |  Branch (3663:41): [True: 0, False: 0]
  ------------------
 3664|      0|                                                                                        : EOpIndexIndirect;
 3665|       |
 3666|      0|                TIntermTyped* indexVal = intermediate.addIndex(idxOp, argArray, offsetIdx, loc);
 3667|       |
 3668|      0|                TType derefType(argArray->getType(), 0);
 3669|      0|                derefType.getQualifier().makeTemporary();
 3670|      0|                indexVal->setType(derefType);
 3671|       |
 3672|      0|                vec = intermediate.growAggregate(vec, indexVal);
 3673|      0|            }
 3674|       |
 3675|      0|            vec->setType(TType(argArray->getBasicType(), EvqTemporary, size));
 3676|      0|            vec->getAsAggregate()->setOperator(constructOp);
 3677|       |
 3678|      0|            body = intermediate.growAggregate(body, vec);
 3679|      0|            body->setType(vec->getType());
 3680|      0|            body->getAsAggregate()->setOperator(EOpSequence);
 3681|       |
 3682|      0|            node = body;
 3683|      0|        }
 3684|       |
 3685|      0|        break;
 3686|       |
 3687|      0|    case EOpMethodStore:
  ------------------
  |  Branch (3687:5): [True: 0, False: 0]
  ------------------
 3688|      0|    case EOpMethodStore2:
  ------------------
  |  Branch (3688:5): [True: 0, False: 0]
  ------------------
 3689|      0|    case EOpMethodStore3:
  ------------------
  |  Branch (3689:5): [True: 0, False: 0]
  ------------------
 3690|      0|    case EOpMethodStore4:
  ------------------
  |  Branch (3690:5): [True: 0, False: 0]
  ------------------
 3691|      0|        {
 3692|      0|            TIntermTyped* argIndex = makeIntegerIndex(argAggregate->getSequence()[1]->getAsTyped());  // index
 3693|      0|            if (argIndex == nullptr) {
  ------------------
  |  Branch (3693:17): [True: 0, False: 0]
  ------------------
 3694|      0|                error(loc, "invalid index for Store", "", "");
 3695|      0|                return;
 3696|      0|            }
 3697|      0|            TIntermTyped* argValue = argAggregate->getSequence()[2]->getAsTyped();  // value
 3698|       |
 3699|       |            // Index into the array to find the item being loaded.
 3700|       |            // Byte address buffers index in bytes (only multiples of 4 permitted... not so much a byte address
 3701|       |            // buffer then, but that's what it calls itself).
 3702|       |
 3703|      0|            int size = 0;
 3704|       |
 3705|      0|            switch (op) {
 3706|      0|            case EOpMethodStore:  size = 1; break;
  ------------------
  |  Branch (3706:13): [True: 0, False: 0]
  ------------------
 3707|      0|            case EOpMethodStore2: size = 2; break;
  ------------------
  |  Branch (3707:13): [True: 0, False: 0]
  ------------------
 3708|      0|            case EOpMethodStore3: size = 3; break;
  ------------------
  |  Branch (3708:13): [True: 0, False: 0]
  ------------------
 3709|      0|            case EOpMethodStore4: size = 4; break;
  ------------------
  |  Branch (3709:13): [True: 0, False: 0]
  ------------------
 3710|      0|            default: assert(0);
  ------------------
  |  Branch (3710:13): [True: 0, False: 0]
  ------------------
 3711|      0|            }
 3712|       |
 3713|      0|            TIntermAggregate* body = nullptr;
 3714|       |
 3715|       |            // First, we'll store the address in a variable to avoid multiple shifts
 3716|       |            // (we must convert the byte address to an item address)
 3717|      0|            TIntermTyped* byteAddrIdx = intermediate.addBinaryNode(EOpRightShift, argIndex,
 3718|      0|                                                                   intermediate.addConstantUnion(2, loc, true), loc, TType(EbtInt));
 3719|       |
 3720|      0|            TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary));
 3721|      0|            TIntermTyped* byteAddrIdxVar = intermediate.addSymbol(*byteAddrSym, loc);
 3722|       |
 3723|      0|            body = intermediate.growAggregate(body, intermediate.addAssign(EOpAssign, byteAddrIdxVar, byteAddrIdx, loc));
 3724|       |
 3725|      0|            for (int idx=0; idx<size; ++idx) {
  ------------------
  |  Branch (3725:29): [True: 0, False: 0]
  ------------------
 3726|      0|                TIntermTyped* offsetIdx = byteAddrIdxVar;
 3727|      0|                TIntermTyped* idxConst = intermediate.addConstantUnion(idx, loc, true);
 3728|       |
 3729|       |                // add index offset
 3730|      0|                if (idx != 0)
  ------------------
  |  Branch (3730:21): [True: 0, False: 0]
  ------------------
 3731|      0|                    offsetIdx = intermediate.addBinaryNode(EOpAdd, offsetIdx, idxConst, loc, TType(EbtInt));
 3732|       |
 3733|      0|                const TOperator idxOp = (offsetIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect
  ------------------
  |  Branch (3733:41): [True: 0, False: 0]
  ------------------
 3734|      0|                                                                                        : EOpIndexIndirect;
 3735|       |
 3736|      0|                TIntermTyped* lValue = intermediate.addIndex(idxOp, argArray, offsetIdx, loc);
 3737|      0|                const TType derefType(argArray->getType(), 0);
 3738|      0|                lValue->setType(derefType);
 3739|       |
 3740|      0|                TIntermTyped* rValue;
 3741|      0|                if (size == 1) {
  ------------------
  |  Branch (3741:21): [True: 0, False: 0]
  ------------------
 3742|      0|                    rValue = argValue;
 3743|      0|                } else {
 3744|      0|                    rValue = intermediate.addIndex(EOpIndexDirect, argValue, idxConst, loc);
 3745|      0|                    const TType indexType(argValue->getType(), 0);
 3746|      0|                    rValue->setType(indexType);
 3747|      0|                }
 3748|       |
 3749|      0|                TIntermTyped* assign = intermediate.addAssign(EOpAssign, lValue, rValue, loc);
 3750|       |
 3751|      0|                body = intermediate.growAggregate(body, assign);
 3752|      0|            }
 3753|       |
 3754|      0|            body->setOperator(EOpSequence);
 3755|      0|            node = body;
 3756|      0|        }
 3757|       |
 3758|      0|        break;
 3759|       |
 3760|      0|    case EOpMethodGetDimensions:
  ------------------
  |  Branch (3760:5): [True: 0, False: 0]
  ------------------
 3761|      0|        {
 3762|      0|            const int numArgs = (int)argAggregate->getSequence().size();
 3763|      0|            TIntermTyped* argNumItems = argAggregate->getSequence()[1]->getAsTyped();  // out num items
 3764|      0|            TIntermTyped* argStride   = numArgs > 2 ? argAggregate->getSequence()[2]->getAsTyped() : nullptr;  // out stride
  ------------------
  |  Branch (3764:41): [True: 0, False: 0]
  ------------------
 3765|       |
 3766|      0|            TIntermAggregate* body = nullptr;
 3767|       |
 3768|       |            // Length output:
 3769|      0|            if (argArray->getType().isSizedArray()) {
  ------------------
  |  Branch (3769:17): [True: 0, False: 0]
  ------------------
 3770|      0|                const int length = argArray->getType().getOuterArraySize();
 3771|      0|                TIntermTyped* assign = intermediate.addAssign(EOpAssign, argNumItems,
 3772|      0|                                                              intermediate.addConstantUnion(length, loc, true), loc);
 3773|      0|                body = intermediate.growAggregate(body, assign, loc);
 3774|      0|            } else {
 3775|      0|                TIntermTyped* lengthCall = intermediate.addBuiltInFunctionCall(loc, EOpArrayLength, true, argArray,
 3776|      0|                                                                               argNumItems->getType());
 3777|      0|                TIntermTyped* assign = intermediate.addAssign(EOpAssign, argNumItems, lengthCall, loc);
 3778|      0|                body = intermediate.growAggregate(body, assign, loc);
 3779|      0|            }
 3780|       |
 3781|       |            // Stride output:
 3782|      0|            if (argStride != nullptr) {
  ------------------
  |  Branch (3782:17): [True: 0, False: 0]
  ------------------
 3783|      0|                int size;
 3784|      0|                int stride;
 3785|      0|                intermediate.getMemberAlignment(argArray->getType(), size, stride, argArray->getType().getQualifier().layoutPacking,
 3786|      0|                                                argArray->getType().getQualifier().layoutMatrix == ElmRowMajor);
 3787|       |
 3788|      0|                TIntermTyped* assign = intermediate.addAssign(EOpAssign, argStride,
 3789|      0|                                                              intermediate.addConstantUnion(stride, loc, true), loc);
 3790|       |
 3791|      0|                body = intermediate.growAggregate(body, assign);
 3792|      0|            }
 3793|       |
 3794|      0|            body->setOperator(EOpSequence);
 3795|      0|            node = body;
 3796|      0|        }
 3797|       |
 3798|      0|        break;
 3799|       |
 3800|      0|    case EOpInterlockedAdd:
  ------------------
  |  Branch (3800:5): [True: 0, False: 0]
  ------------------
 3801|      0|    case EOpInterlockedAnd:
  ------------------
  |  Branch (3801:5): [True: 0, False: 0]
  ------------------
 3802|      0|    case EOpInterlockedExchange:
  ------------------
  |  Branch (3802:5): [True: 0, False: 0]
  ------------------
 3803|      0|    case EOpInterlockedMax:
  ------------------
  |  Branch (3803:5): [True: 0, False: 0]
  ------------------
 3804|      0|    case EOpInterlockedMin:
  ------------------
  |  Branch (3804:5): [True: 0, False: 0]
  ------------------
 3805|      0|    case EOpInterlockedOr:
  ------------------
  |  Branch (3805:5): [True: 0, False: 0]
  ------------------
 3806|      0|    case EOpInterlockedXor:
  ------------------
  |  Branch (3806:5): [True: 0, False: 0]
  ------------------
 3807|      0|    case EOpInterlockedCompareExchange:
  ------------------
  |  Branch (3807:5): [True: 0, False: 0]
  ------------------
 3808|      0|    case EOpInterlockedCompareStore:
  ------------------
  |  Branch (3808:5): [True: 0, False: 0]
  ------------------
 3809|      0|        {
 3810|       |            // We'll replace the first argument with the block dereference, and let
 3811|       |            // downstream decomposition handle the rest.
 3812|       |
 3813|      0|            TIntermSequence& sequence = argAggregate->getSequence();
 3814|       |
 3815|      0|            TIntermTyped* argIndex     = makeIntegerIndex(sequence[1]->getAsTyped());  // index
 3816|      0|            if (argIndex == nullptr) {
  ------------------
  |  Branch (3816:17): [True: 0, False: 0]
  ------------------
 3817|      0|                error(loc, "invalid destination address for interlocked operation", "", "");
 3818|      0|                return;
 3819|      0|            }
 3820|      0|            argIndex = intermediate.addBinaryNode(EOpRightShift, argIndex, intermediate.addConstantUnion(2, loc, true),
 3821|      0|                                                  loc, TType(EbtInt));
 3822|       |
 3823|      0|            const TOperator idxOp = (argIndex->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
  ------------------
  |  Branch (3823:37): [True: 0, False: 0]
  ------------------
 3824|      0|            TIntermTyped* element = intermediate.addIndex(idxOp, argArray, argIndex, loc);
 3825|       |
 3826|      0|            const TType derefType(argArray->getType(), 0);
 3827|      0|            element->setType(derefType);
 3828|       |
 3829|       |            // Replace the numeric byte offset parameter with array reference.
 3830|      0|            sequence[1] = element;
 3831|      0|            sequence.erase(sequence.begin(), sequence.begin()+1);
 3832|      0|        }
 3833|      0|        break;
 3834|       |
 3835|      0|    case EOpMethodIncrementCounter:
  ------------------
  |  Branch (3835:5): [True: 0, False: 0]
  ------------------
 3836|      0|        {
 3837|      0|            node = incDecCounter(1);
 3838|      0|            break;
 3839|      0|        }
 3840|       |
 3841|      0|    case EOpMethodDecrementCounter:
  ------------------
  |  Branch (3841:5): [True: 0, False: 0]
  ------------------
 3842|      0|        {
 3843|      0|            TIntermTyped* preIncValue = incDecCounter(-1); // result is original value
 3844|      0|            node = intermediate.addBinaryNode(EOpAdd, preIncValue, intermediate.addConstantUnion(-1, loc, true), loc,
 3845|      0|                                              preIncValue->getType());
 3846|      0|            break;
 3847|      0|        }
 3848|       |
 3849|      0|    case EOpMethodAppend:
  ------------------
  |  Branch (3849:5): [True: 0, False: 0]
  ------------------
 3850|      0|        {
 3851|      0|            TIntermTyped* oldCounter = incDecCounter(1);
 3852|       |
 3853|      0|            TIntermTyped* lValue = intermediate.addIndex(EOpIndexIndirect, argArray, oldCounter, loc);
 3854|      0|            TIntermTyped* rValue = argAggregate->getSequence()[1]->getAsTyped();
 3855|       |
 3856|      0|            const TType derefType(argArray->getType(), 0);
 3857|      0|            lValue->setType(derefType);
 3858|       |
 3859|      0|            node = intermediate.addAssign(EOpAssign, lValue, rValue, loc);
 3860|       |
 3861|      0|            break;
 3862|      0|        }
 3863|       |
 3864|      0|    case EOpMethodConsume:
  ------------------
  |  Branch (3864:5): [True: 0, False: 0]
  ------------------
 3865|      0|        {
 3866|      0|            TIntermTyped* oldCounter = incDecCounter(-1);
 3867|       |
 3868|      0|            TIntermTyped* newCounter = intermediate.addBinaryNode(EOpAdd, oldCounter,
 3869|      0|                                                                  intermediate.addConstantUnion(-1, loc, true), loc,
 3870|      0|                                                                  oldCounter->getType());
 3871|       |
 3872|      0|            node = intermediate.addIndex(EOpIndexIndirect, argArray, newCounter, loc);
 3873|       |
 3874|      0|            const TType derefType(argArray->getType(), 0);
 3875|      0|            node->setType(derefType);
 3876|       |
 3877|      0|            break;
 3878|      0|        }
 3879|       |
 3880|      0|    default:
  ------------------
  |  Branch (3880:5): [True: 0, False: 0]
  ------------------
 3881|      0|        break; // most pass through unchanged
 3882|      0|    }
 3883|      0|}
_ZN7glslang16HlslParseContext22decomposeSampleMethodsERKNS_10TSourceLocERPNS_12TIntermTypedEP11TIntermNode:
 3955|      2|{
 3956|      2|    if (node == nullptr || !node->getAsOperator())
  ------------------
  |  Branch (3956:9): [True: 0, False: 2]
  |  Branch (3956:28): [True: 0, False: 2]
  ------------------
 3957|      0|        return;
 3958|       |
 3959|       |    // Sampler return must always be a vec4, but we can construct a shorter vector or a structure from it.
 3960|      2|    const auto convertReturn = [&loc, &node, this](TIntermTyped* result, const TSampler& sampler) -> TIntermTyped* {
 3961|      2|        result->setType(TType(node->getType().getBasicType(), EvqTemporary, node->getVectorSize()));
 3962|       |
 3963|      2|        TIntermTyped* convertedResult = nullptr;
 3964|       |
 3965|      2|        TType retType;
 3966|      2|        getTextureReturnType(sampler, retType);
 3967|       |
 3968|      2|        if (retType.isStruct()) {
 3969|       |            // For type convenience, conversionAggregate points to the convertedResult (we know it's an aggregate here)
 3970|      2|            TIntermAggregate* conversionAggregate = new TIntermAggregate;
 3971|      2|            convertedResult = conversionAggregate;
 3972|       |
 3973|       |            // Convert vector output to return structure.  We will need a temp symbol to copy the results to.
 3974|      2|            TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType);
 3975|       |
 3976|       |            // We also need a temp symbol to hold the result of the texture.  We don't want to re-fetch the
 3977|       |            // sample each time we'll index into the result, so we'll copy to this, and index into the copy.
 3978|      2|            TVariable* sampleShadow = makeInternalVariable("@sampleResultShadow", result->getType());
 3979|       |
 3980|       |            // Initial copy from texture to our sample result shadow.
 3981|      2|            TIntermTyped* shadowCopy = intermediate.addAssign(EOpAssign, intermediate.addSymbol(*sampleShadow, loc),
 3982|      2|                                                              result, loc);
 3983|       |
 3984|      2|            conversionAggregate->getSequence().push_back(shadowCopy);
 3985|       |
 3986|      2|            unsigned vec4Pos = 0;
 3987|       |
 3988|      2|            for (unsigned m = 0; m < unsigned(retType.getStruct()->size()); ++m) {
 3989|      2|                const TType memberType(retType, m); // dereferenced type of the member we're about to assign.
 3990|       |
 3991|       |                // Check for bad struct members.  This should have been caught upstream.  Complain, because
 3992|       |                // wwe don't know what to do with it.  This algorithm could be generalized to handle
 3993|       |                // other things, e.g, sub-structures, but HLSL doesn't allow them.
 3994|      2|                if (!memberType.isVector() && !memberType.isScalar()) {
 3995|      2|                    error(loc, "expected: scalar or vector type in texture structure", "", "");
 3996|      2|                    return nullptr;
 3997|      2|                }
 3998|       |
 3999|       |                // Index into the struct variable to find the member to assign.
 4000|      2|                TIntermTyped* structMember = intermediate.addIndex(EOpIndexDirectStruct,
 4001|      2|                                                                   intermediate.addSymbol(*structVar, loc),
 4002|      2|                                                                   intermediate.addConstantUnion(m, loc), loc);
 4003|       |
 4004|      2|                structMember->setType(memberType);
 4005|       |
 4006|       |                // Assign each component of (possible) vector in struct member.
 4007|      2|                for (int component = 0; component < memberType.getVectorSize(); ++component) {
 4008|      2|                    TIntermTyped* vec4Member = intermediate.addIndex(EOpIndexDirect,
 4009|      2|                                                                     intermediate.addSymbol(*sampleShadow, loc),
 4010|      2|                                                                     intermediate.addConstantUnion(vec4Pos++, loc), loc);
 4011|      2|                    vec4Member->setType(TType(memberType.getBasicType(), EvqTemporary, 1));
 4012|       |
 4013|      2|                    TIntermTyped* memberAssign = nullptr;
 4014|       |
 4015|      2|                    if (memberType.isVector()) {
 4016|       |                        // Vector member: we need to create an access chain to the vector component.
 4017|       |
 4018|      2|                        TIntermTyped* structVecComponent = intermediate.addIndex(EOpIndexDirect, structMember,
 4019|      2|                                                                                 intermediate.addConstantUnion(component, loc), loc);
 4020|       |
 4021|      2|                        memberAssign = intermediate.addAssign(EOpAssign, structVecComponent, vec4Member, loc);
 4022|      2|                    } else {
 4023|       |                        // Scalar member: we can assign to it directly.
 4024|      2|                        memberAssign = intermediate.addAssign(EOpAssign, structMember, vec4Member, loc);
 4025|      2|                    }
 4026|       |
 4027|       |
 4028|      2|                    conversionAggregate->getSequence().push_back(memberAssign);
 4029|      2|                }
 4030|      2|            }
 4031|       |
 4032|       |            // Add completed variable so the expression results in the whole struct value we just built.
 4033|      2|            conversionAggregate->getSequence().push_back(intermediate.addSymbol(*structVar, loc));
 4034|       |
 4035|       |            // Make it a sequence.
 4036|      2|            intermediate.setAggregateOperator(conversionAggregate, EOpSequence, retType, loc);
 4037|      2|        } else {
 4038|       |            // vector clamp the output if template vector type is smaller than sample result.
 4039|      2|            if (retType.getVectorSize() < node->getVectorSize()) {
 4040|       |                // Too many components.  Construct shorter vector from it.
 4041|      2|                const TOperator op = intermediate.mapTypeToConstructorOp(retType);
 4042|       |
 4043|      2|                convertedResult = constructBuiltIn(retType, op, result, loc, false);
 4044|      2|            } else {
 4045|       |                // Enough components.  Use directly.
 4046|      2|                convertedResult = result;
 4047|      2|            }
 4048|      2|        }
 4049|       |
 4050|      2|        convertedResult->setLoc(loc);
 4051|      2|        return convertedResult;
 4052|      2|    };
 4053|       |
 4054|      2|    const TOperator op  = node->getAsOperator()->getOp();
 4055|      2|    const TIntermAggregate* argAggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (4055:44): [True: 0, False: 2]
  ------------------
 4056|       |
 4057|       |    // Bail out if not a sampler method.
 4058|       |    // Note though this is odd to do before checking the op, because the op
 4059|       |    // could be something that takes the arguments, and the function in question
 4060|       |    // takes the result of the op.  So, this is not the final word.
 4061|      2|    if (arguments != nullptr) {
  ------------------
  |  Branch (4061:9): [True: 0, False: 2]
  ------------------
 4062|      0|        if (argAggregate == nullptr) {
  ------------------
  |  Branch (4062:13): [True: 0, False: 0]
  ------------------
 4063|      0|            if (arguments->getAsTyped()->getBasicType() != EbtSampler)
  ------------------
  |  Branch (4063:17): [True: 0, False: 0]
  ------------------
 4064|      0|                return;
 4065|      0|        } else {
 4066|      0|            if (argAggregate->getSequence().size() == 0 ||
  ------------------
  |  Branch (4066:17): [True: 0, False: 0]
  ------------------
 4067|      0|                argAggregate->getSequence()[0] == nullptr ||
  ------------------
  |  Branch (4067:17): [True: 0, False: 0]
  ------------------
 4068|      0|                argAggregate->getSequence()[0]->getAsTyped()->getBasicType() != EbtSampler)
  ------------------
  |  Branch (4068:17): [True: 0, False: 0]
  ------------------
 4069|      0|                return;
 4070|      0|        }
 4071|      0|    }
 4072|       |
 4073|      2|    switch (op) {
 4074|       |    // **** DX9 intrinsics: ****
 4075|      0|    case EOpTexture:
  ------------------
  |  Branch (4075:5): [True: 0, False: 2]
  ------------------
 4076|      0|        {
 4077|       |            // Texture with ddx & ddy is really gradient form in HLSL
 4078|      0|            if (argAggregate->getSequence().size() == 4)
  ------------------
  |  Branch (4078:17): [True: 0, False: 0]
  ------------------
 4079|      0|                node->getAsAggregate()->setOperator(EOpTextureGrad);
 4080|       |
 4081|      0|            break;
 4082|      0|        }
 4083|      0|    case EOpTextureLod: //is almost EOpTextureBias (only args & operations are different)
  ------------------
  |  Branch (4083:5): [True: 0, False: 2]
  ------------------
 4084|      0|        {
 4085|      0|            TIntermTyped *argSamp = argAggregate->getSequence()[0]->getAsTyped();   // sampler
 4086|      0|            TIntermTyped *argCoord = argAggregate->getSequence()[1]->getAsTyped();  // coord
 4087|       |
 4088|      0|            assert(argCoord->getVectorSize() == 4);
 4089|      0|            TIntermTyped *w = intermediate.addConstantUnion(3, loc, true);
 4090|      0|            TIntermTyped *argLod = intermediate.addIndex(EOpIndexDirect, argCoord, w, loc);
 4091|       |
 4092|      0|            TOperator constructOp = EOpNull;
 4093|      0|            const TSampler &sampler = argSamp->getType().getSampler();
 4094|      0|            int coordSize = 0;
 4095|       |
 4096|      0|            switch (sampler.dim)
 4097|      0|            {
 4098|      0|            case Esd1D:   constructOp = EOpConstructFloat; coordSize = 1; break; // 1D
  ------------------
  |  Branch (4098:13): [True: 0, False: 0]
  ------------------
 4099|      0|            case Esd2D:   constructOp = EOpConstructVec2;  coordSize = 2; break; // 2D
  ------------------
  |  Branch (4099:13): [True: 0, False: 0]
  ------------------
 4100|      0|            case Esd3D:   constructOp = EOpConstructVec3;  coordSize = 3; break; // 3D
  ------------------
  |  Branch (4100:13): [True: 0, False: 0]
  ------------------
 4101|      0|            case EsdCube: constructOp = EOpConstructVec3;  coordSize = 3; break; // also 3D
  ------------------
  |  Branch (4101:13): [True: 0, False: 0]
  ------------------
 4102|      0|            default:
  ------------------
  |  Branch (4102:13): [True: 0, False: 0]
  ------------------
 4103|      0|                error(loc, "unhandled DX9 texture LoD dimension", "", "");
 4104|      0|                break;
 4105|      0|            }
 4106|       |
 4107|      0|            TIntermAggregate *constructCoord = new TIntermAggregate(constructOp);
 4108|      0|            constructCoord->getSequence().push_back(argCoord);
 4109|      0|            constructCoord->setLoc(loc);
 4110|      0|            constructCoord->setType(TType(argCoord->getBasicType(), EvqTemporary, coordSize));
 4111|       |
 4112|      0|            TIntermAggregate *tex = new TIntermAggregate(EOpTextureLod);
 4113|      0|            tex->getSequence().push_back(argSamp);        // sampler
 4114|      0|            tex->getSequence().push_back(constructCoord); // coordinate
 4115|      0|            tex->getSequence().push_back(argLod);         // lod
 4116|       |
 4117|      0|            node = convertReturn(tex, sampler);
 4118|       |
 4119|      0|            break;
 4120|      0|        }
 4121|       |
 4122|      0|    case EOpTextureBias:
  ------------------
  |  Branch (4122:5): [True: 0, False: 2]
  ------------------
 4123|      0|        {
 4124|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();  // sampler
 4125|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();  // coord
 4126|       |
 4127|       |            // HLSL puts bias in W component of coordinate.  We extract it and add it to
 4128|       |            // the argument list, instead
 4129|      0|            TIntermTyped* w = intermediate.addConstantUnion(3, loc, true);
 4130|      0|            TIntermTyped* bias = intermediate.addIndex(EOpIndexDirect, arg1, w, loc);
 4131|       |
 4132|      0|            TOperator constructOp = EOpNull;
 4133|      0|            const TSampler& sampler = arg0->getType().getSampler();
 4134|       |
 4135|      0|            switch (sampler.dim) {
 4136|      0|            case Esd1D:   constructOp = EOpConstructFloat; break; // 1D
  ------------------
  |  Branch (4136:13): [True: 0, False: 0]
  ------------------
 4137|      0|            case Esd2D:   constructOp = EOpConstructVec2;  break; // 2D
  ------------------
  |  Branch (4137:13): [True: 0, False: 0]
  ------------------
 4138|      0|            case Esd3D:   constructOp = EOpConstructVec3;  break; // 3D
  ------------------
  |  Branch (4138:13): [True: 0, False: 0]
  ------------------
 4139|      0|            case EsdCube: constructOp = EOpConstructVec3;  break; // also 3D
  ------------------
  |  Branch (4139:13): [True: 0, False: 0]
  ------------------
 4140|      0|            default:
  ------------------
  |  Branch (4140:13): [True: 0, False: 0]
  ------------------
 4141|      0|                error(loc, "unhandled DX9 texture bias dimension", "", "");
 4142|      0|                break;
 4143|      0|            }
 4144|       |
 4145|      0|            TIntermAggregate* constructCoord = new TIntermAggregate(constructOp);
 4146|      0|            constructCoord->getSequence().push_back(arg1);
 4147|      0|            constructCoord->setLoc(loc);
 4148|       |
 4149|       |            // The input vector should never be less than 2, since there's always a bias.
 4150|       |            // The max is for safety, and should be a no-op.
 4151|      0|            constructCoord->setType(TType(arg1->getBasicType(), EvqTemporary, std::max(arg1->getVectorSize() - 1, 0)));
 4152|       |
 4153|      0|            TIntermAggregate* tex = new TIntermAggregate(EOpTexture);
 4154|      0|            tex->getSequence().push_back(arg0);           // sampler
 4155|      0|            tex->getSequence().push_back(constructCoord); // coordinate
 4156|      0|            tex->getSequence().push_back(bias);           // bias
 4157|       |
 4158|      0|            node = convertReturn(tex, sampler);
 4159|       |
 4160|      0|            break;
 4161|      0|        }
 4162|       |
 4163|       |    // **** DX10 methods: ****
 4164|      0|    case EOpMethodSample:     // fall through
  ------------------
  |  Branch (4164:5): [True: 0, False: 2]
  ------------------
 4165|      0|    case EOpMethodSampleBias: // ...
  ------------------
  |  Branch (4165:5): [True: 0, False: 2]
  ------------------
 4166|      0|        {
 4167|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4168|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4169|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4170|      0|            TIntermTyped* argBias   = nullptr;
 4171|      0|            TIntermTyped* argOffset = nullptr;
 4172|      0|            const TSampler& sampler = argTex->getType().getSampler();
 4173|       |
 4174|      0|            int nextArg = 3;
 4175|       |
 4176|      0|            if (op == EOpMethodSampleBias)  // SampleBias has a bias arg
  ------------------
  |  Branch (4176:17): [True: 0, False: 0]
  ------------------
 4177|      0|                argBias = argAggregate->getSequence()[nextArg++]->getAsTyped();
 4178|       |
 4179|      0|            TOperator textureOp = EOpTexture;
 4180|       |
 4181|      0|            if ((int)argAggregate->getSequence().size() == (nextArg+1)) { // last parameter is offset form
  ------------------
  |  Branch (4181:17): [True: 0, False: 0]
  ------------------
 4182|      0|                textureOp = EOpTextureOffset;
 4183|      0|                argOffset = argAggregate->getSequence()[nextArg++]->getAsTyped();
 4184|      0|            }
 4185|       |
 4186|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4187|       |
 4188|      0|            TIntermAggregate* txsample = new TIntermAggregate(textureOp);
 4189|      0|            txsample->getSequence().push_back(txcombine);
 4190|      0|            txsample->getSequence().push_back(argCoord);
 4191|       |
 4192|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4192:17): [True: 0, False: 0]
  ------------------
 4193|      0|                txsample->getSequence().push_back(argOffset);
 4194|       |
 4195|      0|            if (argBias != nullptr)
  ------------------
  |  Branch (4195:17): [True: 0, False: 0]
  ------------------
 4196|      0|              txsample->getSequence().push_back(argBias);
 4197|       |
 4198|      0|            node = convertReturn(txsample, sampler);
 4199|       |
 4200|      0|            break;
 4201|      0|        }
 4202|       |
 4203|      0|    case EOpMethodSampleGrad: // ...
  ------------------
  |  Branch (4203:5): [True: 0, False: 2]
  ------------------
 4204|      0|        {
 4205|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4206|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4207|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4208|      0|            TIntermTyped* argDDX    = argAggregate->getSequence()[3]->getAsTyped();
 4209|      0|            TIntermTyped* argDDY    = argAggregate->getSequence()[4]->getAsTyped();
 4210|      0|            TIntermTyped* argOffset = nullptr;
 4211|      0|            const TSampler& sampler = argTex->getType().getSampler();
 4212|       |
 4213|      0|            TOperator textureOp = EOpTextureGrad;
 4214|       |
 4215|      0|            if (argAggregate->getSequence().size() == 6) { // last parameter is offset form
  ------------------
  |  Branch (4215:17): [True: 0, False: 0]
  ------------------
 4216|      0|                textureOp = EOpTextureGradOffset;
 4217|      0|                argOffset = argAggregate->getSequence()[5]->getAsTyped();
 4218|      0|            }
 4219|       |
 4220|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4221|       |
 4222|      0|            TIntermAggregate* txsample = new TIntermAggregate(textureOp);
 4223|      0|            txsample->getSequence().push_back(txcombine);
 4224|      0|            txsample->getSequence().push_back(argCoord);
 4225|      0|            txsample->getSequence().push_back(argDDX);
 4226|      0|            txsample->getSequence().push_back(argDDY);
 4227|       |
 4228|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4228:17): [True: 0, False: 0]
  ------------------
 4229|      0|                txsample->getSequence().push_back(argOffset);
 4230|       |
 4231|      0|            node = convertReturn(txsample, sampler);
 4232|       |
 4233|      0|            break;
 4234|      0|        }
 4235|       |
 4236|      0|    case EOpMethodGetDimensions:
  ------------------
  |  Branch (4236:5): [True: 0, False: 2]
  ------------------
 4237|      0|        {
 4238|       |            // AST returns a vector of results, which we break apart component-wise into
 4239|       |            // separate values to assign to the HLSL method's outputs, ala:
 4240|       |            //  tx . GetDimensions(width, height);
 4241|       |            //      float2 sizeQueryTemp = EOpTextureQuerySize
 4242|       |            //      width = sizeQueryTemp.X;
 4243|       |            //      height = sizeQueryTemp.Y;
 4244|       |
 4245|      0|            TIntermTyped* argTex = argAggregate->getSequence()[0]->getAsTyped();
 4246|      0|            const TType& texType = argTex->getType();
 4247|       |
 4248|      0|            assert(texType.getBasicType() == EbtSampler);
 4249|       |
 4250|      0|            const TSampler& sampler = texType.getSampler();
 4251|      0|            const TSamplerDim dim = sampler.dim;
 4252|      0|            const bool isImage = sampler.isImage();
 4253|      0|            const bool isMs = sampler.isMultiSample();
 4254|      0|            const int numArgs = (int)argAggregate->getSequence().size();
 4255|       |
 4256|      0|            int numDims = 0;
 4257|       |
 4258|      0|            switch (dim) {
 4259|      0|            case Esd1D:     numDims = 1; break; // W
  ------------------
  |  Branch (4259:13): [True: 0, False: 0]
  ------------------
 4260|      0|            case Esd2D:     numDims = 2; break; // W, H
  ------------------
  |  Branch (4260:13): [True: 0, False: 0]
  ------------------
 4261|      0|            case Esd3D:     numDims = 3; break; // W, H, D
  ------------------
  |  Branch (4261:13): [True: 0, False: 0]
  ------------------
 4262|      0|            case EsdCube:   numDims = 2; break; // W, H (cube)
  ------------------
  |  Branch (4262:13): [True: 0, False: 0]
  ------------------
 4263|      0|            case EsdBuffer: numDims = 1; break; // W (buffers)
  ------------------
  |  Branch (4263:13): [True: 0, False: 0]
  ------------------
 4264|      0|            case EsdRect:   numDims = 2; break; // W, H (rect)
  ------------------
  |  Branch (4264:13): [True: 0, False: 0]
  ------------------
 4265|      0|            default:
  ------------------
  |  Branch (4265:13): [True: 0, False: 0]
  ------------------
 4266|      0|                error(loc, "unhandled DX10 MethodGet dimension", "", "");
 4267|      0|                break;
 4268|      0|            }
 4269|       |
 4270|       |            // Arrayed adds another dimension for the number of array elements
 4271|      0|            if (sampler.isArrayed())
  ------------------
  |  Branch (4271:17): [True: 0, False: 0]
  ------------------
 4272|      0|                ++numDims;
 4273|       |
 4274|       |            // Establish whether the method itself is querying mip levels.  This can be false even
 4275|       |            // if the underlying query requires a MIP level, due to the available HLSL method overloads.
 4276|      0|            const bool mipQuery = (numArgs > (numDims + 1 + (isMs ? 1 : 0)));
  ------------------
  |  Branch (4276:62): [True: 0, False: 0]
  ------------------
 4277|       |
 4278|       |            // Establish whether we must use the LOD form of query (even if the method did not supply a mip level to query).
 4279|       |            // True if:
 4280|       |            //   1. 1D/2D/3D/Cube AND multisample==0 AND NOT image (those can be sent to the non-LOD query)
 4281|       |            // or,
 4282|       |            //   2. There is a LOD (because the non-LOD query cannot be used in that case, per spec)
 4283|      0|            const bool mipRequired =
 4284|      0|                ((dim == Esd1D || dim == Esd2D || dim == Esd3D || dim == EsdCube) && !isMs && !isImage) || // 1...
  ------------------
  |  Branch (4284:19): [True: 0, False: 0]
  |  Branch (4284:35): [True: 0, False: 0]
  |  Branch (4284:51): [True: 0, False: 0]
  |  Branch (4284:67): [True: 0, False: 0]
  |  Branch (4284:86): [True: 0, False: 0]
  |  Branch (4284:95): [True: 0, False: 0]
  ------------------
 4285|      0|                mipQuery; // 2...
  ------------------
  |  Branch (4285:17): [True: 0, False: 0]
  ------------------
 4286|       |
 4287|       |            // AST assumes integer return.  Will be converted to float if required.
 4288|      0|            TIntermAggregate* sizeQuery = new TIntermAggregate(isImage ? EOpImageQuerySize : EOpTextureQuerySize);
  ------------------
  |  Branch (4288:64): [True: 0, False: 0]
  ------------------
 4289|      0|            sizeQuery->getSequence().push_back(argTex);
 4290|       |
 4291|       |            // If we're building an LOD query, add the LOD.
 4292|      0|            if (mipRequired) {
  ------------------
  |  Branch (4292:17): [True: 0, False: 0]
  ------------------
 4293|       |                // If the base HLSL query had no MIP level given, use level 0.
 4294|      0|                TIntermTyped* queryLod = mipQuery ? argAggregate->getSequence()[1]->getAsTyped() :
  ------------------
  |  Branch (4294:42): [True: 0, False: 0]
  ------------------
 4295|      0|                    intermediate.addConstantUnion(0, loc, true);
 4296|      0|                sizeQuery->getSequence().push_back(queryLod);
 4297|      0|            }
 4298|       |
 4299|      0|            sizeQuery->setType(TType(EbtUint, EvqTemporary, numDims));
 4300|      0|            sizeQuery->setLoc(loc);
 4301|       |
 4302|       |            // Return value from size query
 4303|      0|            TVariable* tempArg = makeInternalVariable("sizeQueryTemp", sizeQuery->getType());
 4304|      0|            tempArg->getWritableType().getQualifier().makeTemporary();
 4305|      0|            TIntermTyped* sizeQueryAssign = intermediate.addAssign(EOpAssign,
 4306|      0|                                                                   intermediate.addSymbol(*tempArg, loc),
 4307|      0|                                                                   sizeQuery, loc);
 4308|       |
 4309|       |            // Compound statement for assigning outputs
 4310|      0|            TIntermAggregate* compoundStatement = intermediate.makeAggregate(sizeQueryAssign, loc);
 4311|       |            // Index of first output parameter
 4312|      0|            const int outParamBase = mipQuery ? 2 : 1;
  ------------------
  |  Branch (4312:38): [True: 0, False: 0]
  ------------------
 4313|       |
 4314|      0|            for (int compNum = 0; compNum < numDims; ++compNum) {
  ------------------
  |  Branch (4314:35): [True: 0, False: 0]
  ------------------
 4315|      0|                TIntermTyped* indexedOut = nullptr;
 4316|      0|                TIntermSymbol* sizeQueryReturn = intermediate.addSymbol(*tempArg, loc);
 4317|       |
 4318|      0|                if (numDims > 1) {
  ------------------
  |  Branch (4318:21): [True: 0, False: 0]
  ------------------
 4319|      0|                    TIntermTyped* component = intermediate.addConstantUnion(compNum, loc, true);
 4320|      0|                    indexedOut = intermediate.addIndex(EOpIndexDirect, sizeQueryReturn, component, loc);
 4321|      0|                    indexedOut->setType(TType(EbtUint, EvqTemporary, 1));
 4322|      0|                    indexedOut->setLoc(loc);
 4323|      0|                } else {
 4324|      0|                    indexedOut = sizeQueryReturn;
 4325|      0|                }
 4326|       |
 4327|      0|                TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + compNum]->getAsTyped();
 4328|      0|                TIntermTyped* compAssign = intermediate.addAssign(EOpAssign, outParam, indexedOut, loc);
 4329|       |
 4330|      0|                compoundStatement = intermediate.growAggregate(compoundStatement, compAssign);
 4331|      0|            }
 4332|       |
 4333|       |            // handle mip level parameter
 4334|      0|            if (mipQuery) {
  ------------------
  |  Branch (4334:17): [True: 0, False: 0]
  ------------------
 4335|      0|                TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + numDims]->getAsTyped();
 4336|       |
 4337|      0|                TIntermAggregate* levelsQuery = new TIntermAggregate(EOpTextureQueryLevels);
 4338|      0|                levelsQuery->getSequence().push_back(argTex);
 4339|      0|                levelsQuery->setType(TType(EbtUint, EvqTemporary, 1));
 4340|      0|                levelsQuery->setLoc(loc);
 4341|       |
 4342|      0|                TIntermTyped* compAssign = intermediate.addAssign(EOpAssign, outParam, levelsQuery, loc);
 4343|      0|                compoundStatement = intermediate.growAggregate(compoundStatement, compAssign);
 4344|      0|            }
 4345|       |
 4346|       |            // 2DMS formats query # samples, which needs a different query op
 4347|      0|            if (sampler.isMultiSample()) {
  ------------------
  |  Branch (4347:17): [True: 0, False: 0]
  ------------------
 4348|      0|                TIntermTyped* outParam = argAggregate->getSequence()[outParamBase + numDims]->getAsTyped();
 4349|       |
 4350|      0|                TIntermAggregate* samplesQuery = new TIntermAggregate(EOpImageQuerySamples);
 4351|      0|                samplesQuery->getSequence().push_back(argTex);
 4352|      0|                samplesQuery->setType(TType(EbtUint, EvqTemporary, 1));
 4353|      0|                samplesQuery->setLoc(loc);
 4354|       |
 4355|      0|                TIntermTyped* compAssign = intermediate.addAssign(EOpAssign, outParam, samplesQuery, loc);
 4356|      0|                compoundStatement = intermediate.growAggregate(compoundStatement, compAssign);
 4357|      0|            }
 4358|       |
 4359|      0|            compoundStatement->setOperator(EOpSequence);
 4360|      0|            compoundStatement->setLoc(loc);
 4361|      0|            compoundStatement->setType(TType(EbtVoid));
 4362|       |
 4363|      0|            node = compoundStatement;
 4364|       |
 4365|      0|            break;
 4366|      0|        }
 4367|       |
 4368|      0|    case EOpMethodSampleCmp:  // fall through...
  ------------------
  |  Branch (4368:5): [True: 0, False: 2]
  ------------------
 4369|      0|    case EOpMethodSampleCmpLevelZero:
  ------------------
  |  Branch (4369:5): [True: 0, False: 2]
  ------------------
 4370|      0|        {
 4371|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4372|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4373|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4374|      0|            TIntermTyped* argCmpVal = argAggregate->getSequence()[3]->getAsTyped();
 4375|      0|            TIntermTyped* argOffset = nullptr;
 4376|       |
 4377|       |            // Sampler argument should be a sampler.
 4378|      0|            if (argSamp->getType().getBasicType() != EbtSampler) {
  ------------------
  |  Branch (4378:17): [True: 0, False: 0]
  ------------------
 4379|      0|                error(loc, "expected: sampler type", "", "");
 4380|      0|                return;
 4381|      0|            }
 4382|       |
 4383|       |            // Sampler should be a SamplerComparisonState
 4384|      0|            if (! argSamp->getType().getSampler().isShadow()) {
  ------------------
  |  Branch (4384:17): [True: 0, False: 0]
  ------------------
 4385|      0|                error(loc, "expected: SamplerComparisonState", "", "");
 4386|      0|                return;
 4387|      0|            }
 4388|       |
 4389|       |            // optional offset value
 4390|      0|            if (argAggregate->getSequence().size() > 4)
  ------------------
  |  Branch (4390:17): [True: 0, False: 0]
  ------------------
 4391|      0|                argOffset = argAggregate->getSequence()[4]->getAsTyped();
 4392|       |
 4393|      0|            const int coordDimWithCmpVal = argCoord->getType().getVectorSize() + 1; // +1 for cmp
 4394|       |
 4395|       |            // AST wants comparison value as one of the texture coordinates
 4396|      0|            TOperator constructOp = EOpNull;
 4397|      0|            switch (coordDimWithCmpVal) {
 4398|       |            // 1D can't happen: there's always at least 1 coordinate dimension + 1 cmp val
 4399|      0|            case 2: constructOp = EOpConstructVec2;  break;
  ------------------
  |  Branch (4399:13): [True: 0, False: 0]
  ------------------
 4400|      0|            case 3: constructOp = EOpConstructVec3;  break;
  ------------------
  |  Branch (4400:13): [True: 0, False: 0]
  ------------------
 4401|      0|            case 4: constructOp = EOpConstructVec4;  break;
  ------------------
  |  Branch (4401:13): [True: 0, False: 0]
  ------------------
 4402|      0|            case 5: constructOp = EOpConstructVec4;  break; // cubeArrayShadow, cmp value is separate arg.
  ------------------
  |  Branch (4402:13): [True: 0, False: 0]
  ------------------
 4403|      0|            default:
  ------------------
  |  Branch (4403:13): [True: 0, False: 0]
  ------------------
 4404|      0|                error(loc, "unhandled DX10 MethodSample dimension", "", "");
 4405|      0|                break;
 4406|      0|            }
 4407|       |
 4408|      0|            TIntermAggregate* coordWithCmp = new TIntermAggregate(constructOp);
 4409|      0|            coordWithCmp->getSequence().push_back(argCoord);
 4410|      0|            if (coordDimWithCmpVal != 5) // cube array shadow is special.
  ------------------
  |  Branch (4410:17): [True: 0, False: 0]
  ------------------
 4411|      0|                coordWithCmp->getSequence().push_back(argCmpVal);
 4412|      0|            coordWithCmp->setLoc(loc);
 4413|      0|            coordWithCmp->setType(TType(argCoord->getBasicType(), EvqTemporary, std::min(coordDimWithCmpVal, 4)));
 4414|       |
 4415|      0|            TOperator textureOp = (op == EOpMethodSampleCmpLevelZero ? EOpTextureLod : EOpTexture);
  ------------------
  |  Branch (4415:36): [True: 0, False: 0]
  ------------------
 4416|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4416:17): [True: 0, False: 0]
  ------------------
 4417|      0|                textureOp = (op == EOpMethodSampleCmpLevelZero ? EOpTextureLodOffset : EOpTextureOffset);
  ------------------
  |  Branch (4417:30): [True: 0, False: 0]
  ------------------
 4418|       |
 4419|       |            // Create combined sampler & texture op
 4420|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4421|      0|            TIntermAggregate* txsample = new TIntermAggregate(textureOp);
 4422|      0|            txsample->getSequence().push_back(txcombine);
 4423|      0|            txsample->getSequence().push_back(coordWithCmp);
 4424|       |
 4425|      0|            if (coordDimWithCmpVal == 5) // cube array shadow is special: cmp val follows coord.
  ------------------
  |  Branch (4425:17): [True: 0, False: 0]
  ------------------
 4426|      0|                txsample->getSequence().push_back(argCmpVal);
 4427|       |
 4428|       |            // the LevelZero form uses 0 as an explicit LOD
 4429|      0|            if (op == EOpMethodSampleCmpLevelZero)
  ------------------
  |  Branch (4429:17): [True: 0, False: 0]
  ------------------
 4430|      0|                txsample->getSequence().push_back(intermediate.addConstantUnion(0.0, EbtFloat, loc, true));
 4431|       |
 4432|       |            // Add offset if present
 4433|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4433:17): [True: 0, False: 0]
  ------------------
 4434|      0|                txsample->getSequence().push_back(argOffset);
 4435|       |
 4436|      0|            txsample->setType(node->getType());
 4437|      0|            txsample->setLoc(loc);
 4438|      0|            node = txsample;
 4439|       |
 4440|      0|            break;
 4441|      0|        }
 4442|       |
 4443|      0|    case EOpMethodLoad:
  ------------------
  |  Branch (4443:5): [True: 0, False: 2]
  ------------------
 4444|      0|        {
 4445|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4446|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[1]->getAsTyped();
 4447|      0|            TIntermTyped* argOffset = nullptr;
 4448|      0|            TIntermTyped* lodComponent = nullptr;
 4449|      0|            TIntermTyped* coordSwizzle = nullptr;
 4450|       |
 4451|      0|            const TSampler& sampler = argTex->getType().getSampler();
 4452|      0|            const bool isMS = sampler.isMultiSample();
 4453|      0|            const bool isBuffer = sampler.dim == EsdBuffer;
 4454|      0|            const bool isImage = sampler.isImage();
 4455|      0|            const TBasicType coordBaseType = argCoord->getType().getBasicType();
 4456|       |
 4457|       |            // Last component of coordinate is the mip level, for non-MS.  we separate them here:
 4458|      0|            if (isMS || isBuffer || isImage) {
  ------------------
  |  Branch (4458:17): [True: 0, False: 0]
  |  Branch (4458:25): [True: 0, False: 0]
  |  Branch (4458:37): [True: 0, False: 0]
  ------------------
 4459|       |                // MS, Buffer, and Image have no LOD
 4460|      0|                coordSwizzle = argCoord;
 4461|      0|            } else {
 4462|       |                // Extract coordinate
 4463|      0|                int swizzleSize = argCoord->getType().getVectorSize() - (isMS ? 0 : 1);
  ------------------
  |  Branch (4463:74): [True: 0, False: 0]
  ------------------
 4464|      0|                TSwizzleSelectors<TVectorSelector> coordFields;
 4465|      0|                for (int i = 0; i < swizzleSize; ++i)
  ------------------
  |  Branch (4465:33): [True: 0, False: 0]
  ------------------
 4466|      0|                    coordFields.push_back(i);
 4467|      0|                TIntermTyped* coordIdx = intermediate.addSwizzle(coordFields, loc);
 4468|      0|                coordSwizzle = intermediate.addIndex(EOpVectorSwizzle, argCoord, coordIdx, loc);
 4469|      0|                coordSwizzle->setType(TType(coordBaseType, EvqTemporary, coordFields.size()));
 4470|       |
 4471|       |                // Extract LOD
 4472|      0|                TIntermTyped* lodIdx = intermediate.addConstantUnion(coordFields.size(), loc, true);
 4473|      0|                lodComponent = intermediate.addIndex(EOpIndexDirect, argCoord, lodIdx, loc);
 4474|      0|                lodComponent->setType(TType(coordBaseType, EvqTemporary, 1));
 4475|      0|            }
 4476|       |
 4477|      0|            const int numArgs    = (int)argAggregate->getSequence().size();
 4478|      0|            const bool hasOffset = ((!isMS && numArgs == 3) || (isMS && numArgs == 4));
  ------------------
  |  Branch (4478:38): [True: 0, False: 0]
  |  Branch (4478:47): [True: 0, False: 0]
  |  Branch (4478:65): [True: 0, False: 0]
  |  Branch (4478:73): [True: 0, False: 0]
  ------------------
 4479|       |
 4480|       |            // Create texel fetch
 4481|      0|            const TOperator fetchOp = (isImage   ? EOpImageLoad :
  ------------------
  |  Branch (4481:40): [True: 0, False: 0]
  ------------------
 4482|      0|                                       hasOffset ? EOpTextureFetchOffset :
  ------------------
  |  Branch (4482:40): [True: 0, False: 0]
  ------------------
 4483|      0|                                       EOpTextureFetch);
 4484|      0|            TIntermAggregate* txfetch = new TIntermAggregate(fetchOp);
 4485|       |
 4486|       |            // Build up the fetch
 4487|      0|            txfetch->getSequence().push_back(argTex);
 4488|      0|            txfetch->getSequence().push_back(coordSwizzle);
 4489|       |
 4490|      0|            if (isMS) {
  ------------------
  |  Branch (4490:17): [True: 0, False: 0]
  ------------------
 4491|       |                // add 2DMS sample index
 4492|      0|                TIntermTyped* argSampleIdx  = argAggregate->getSequence()[2]->getAsTyped();
 4493|      0|                txfetch->getSequence().push_back(argSampleIdx);
 4494|      0|            } else if (isBuffer) {
  ------------------
  |  Branch (4494:24): [True: 0, False: 0]
  ------------------
 4495|       |                // Nothing else to do for buffers.
 4496|      0|            } else if (isImage) {
  ------------------
  |  Branch (4496:24): [True: 0, False: 0]
  ------------------
 4497|       |                // Nothing else to do for images.
 4498|      0|            } else {
 4499|       |                // 2DMS and buffer have no LOD, but everything else does.
 4500|      0|                txfetch->getSequence().push_back(lodComponent);
 4501|      0|            }
 4502|       |
 4503|       |            // Obtain offset arg, if there is one.
 4504|      0|            if (hasOffset) {
  ------------------
  |  Branch (4504:17): [True: 0, False: 0]
  ------------------
 4505|      0|                const int offsetPos  = (isMS ? 3 : 2);
  ------------------
  |  Branch (4505:41): [True: 0, False: 0]
  ------------------
 4506|      0|                argOffset = argAggregate->getSequence()[offsetPos]->getAsTyped();
 4507|      0|                txfetch->getSequence().push_back(argOffset);
 4508|      0|            }
 4509|       |
 4510|      0|            node = convertReturn(txfetch, sampler);
 4511|       |
 4512|      0|            break;
 4513|      0|        }
 4514|       |
 4515|      0|    case EOpMethodSampleLevel:
  ------------------
  |  Branch (4515:5): [True: 0, False: 2]
  ------------------
 4516|      0|        {
 4517|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4518|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4519|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4520|      0|            TIntermTyped* argLod    = argAggregate->getSequence()[3]->getAsTyped();
 4521|      0|            TIntermTyped* argOffset = nullptr;
 4522|      0|            const TSampler& sampler = argTex->getType().getSampler();
 4523|       |
 4524|      0|            const int  numArgs = (int)argAggregate->getSequence().size();
 4525|       |
 4526|      0|            if (numArgs == 5) // offset, if present
  ------------------
  |  Branch (4526:17): [True: 0, False: 0]
  ------------------
 4527|      0|                argOffset = argAggregate->getSequence()[4]->getAsTyped();
 4528|       |
 4529|      0|            const TOperator textureOp = (argOffset == nullptr ? EOpTextureLod : EOpTextureLodOffset);
  ------------------
  |  Branch (4529:42): [True: 0, False: 0]
  ------------------
 4530|      0|            TIntermAggregate* txsample = new TIntermAggregate(textureOp);
 4531|       |
 4532|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4533|       |
 4534|      0|            txsample->getSequence().push_back(txcombine);
 4535|      0|            txsample->getSequence().push_back(argCoord);
 4536|      0|            txsample->getSequence().push_back(argLod);
 4537|       |
 4538|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4538:17): [True: 0, False: 0]
  ------------------
 4539|      0|                txsample->getSequence().push_back(argOffset);
 4540|       |
 4541|      0|            node = convertReturn(txsample, sampler);
 4542|       |
 4543|      0|            break;
 4544|      0|        }
 4545|       |
 4546|      0|    case EOpMethodGather:
  ------------------
  |  Branch (4546:5): [True: 0, False: 2]
  ------------------
 4547|      0|        {
 4548|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4549|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4550|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4551|      0|            TIntermTyped* argOffset = nullptr;
 4552|       |
 4553|       |            // Offset is optional
 4554|      0|            if (argAggregate->getSequence().size() > 3)
  ------------------
  |  Branch (4554:17): [True: 0, False: 0]
  ------------------
 4555|      0|                argOffset = argAggregate->getSequence()[3]->getAsTyped();
 4556|       |
 4557|      0|            const TOperator textureOp = (argOffset == nullptr ? EOpTextureGather : EOpTextureGatherOffset);
  ------------------
  |  Branch (4557:42): [True: 0, False: 0]
  ------------------
 4558|      0|            TIntermAggregate* txgather = new TIntermAggregate(textureOp);
 4559|       |
 4560|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4561|       |
 4562|      0|            txgather->getSequence().push_back(txcombine);
 4563|      0|            txgather->getSequence().push_back(argCoord);
 4564|       |            // Offset if not given is implicitly channel 0 (red)
 4565|       |
 4566|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4566:17): [True: 0, False: 0]
  ------------------
 4567|      0|                txgather->getSequence().push_back(argOffset);
 4568|       |
 4569|      0|            txgather->setType(node->getType());
 4570|      0|            txgather->setLoc(loc);
 4571|      0|            node = txgather;
 4572|       |
 4573|      0|            break;
 4574|      0|        }
 4575|       |
 4576|      0|    case EOpMethodGatherRed:      // fall through...
  ------------------
  |  Branch (4576:5): [True: 0, False: 2]
  ------------------
 4577|      0|    case EOpMethodGatherGreen:    // ...
  ------------------
  |  Branch (4577:5): [True: 0, False: 2]
  ------------------
 4578|      0|    case EOpMethodGatherBlue:     // ...
  ------------------
  |  Branch (4578:5): [True: 0, False: 2]
  ------------------
 4579|      0|    case EOpMethodGatherAlpha:    // ...
  ------------------
  |  Branch (4579:5): [True: 0, False: 2]
  ------------------
 4580|      0|    case EOpMethodGatherCmpRed:   // ...
  ------------------
  |  Branch (4580:5): [True: 0, False: 2]
  ------------------
 4581|      0|    case EOpMethodGatherCmpGreen: // ...
  ------------------
  |  Branch (4581:5): [True: 0, False: 2]
  ------------------
 4582|      0|    case EOpMethodGatherCmpBlue:  // ...
  ------------------
  |  Branch (4582:5): [True: 0, False: 2]
  ------------------
 4583|      0|    case EOpMethodGatherCmpAlpha: // ...
  ------------------
  |  Branch (4583:5): [True: 0, False: 2]
  ------------------
 4584|      0|        {
 4585|      0|            int channel = 0;    // the channel we are gathering
 4586|      0|            int cmpValues = 0;  // 1 if there is a compare value (handier than a bool below)
 4587|       |
 4588|      0|            switch (op) {
 4589|      0|            case EOpMethodGatherCmpRed:   cmpValues = 1;  [[fallthrough]];
  ------------------
  |  Branch (4589:13): [True: 0, False: 0]
  ------------------
 4590|      0|            case EOpMethodGatherRed:      channel = 0; break;
  ------------------
  |  Branch (4590:13): [True: 0, False: 0]
  ------------------
 4591|      0|            case EOpMethodGatherCmpGreen: cmpValues = 1;  [[fallthrough]];
  ------------------
  |  Branch (4591:13): [True: 0, False: 0]
  ------------------
 4592|      0|            case EOpMethodGatherGreen:    channel = 1; break;
  ------------------
  |  Branch (4592:13): [True: 0, False: 0]
  ------------------
 4593|      0|            case EOpMethodGatherCmpBlue:  cmpValues = 1;  [[fallthrough]];
  ------------------
  |  Branch (4593:13): [True: 0, False: 0]
  ------------------
 4594|      0|            case EOpMethodGatherBlue:     channel = 2; break;
  ------------------
  |  Branch (4594:13): [True: 0, False: 0]
  ------------------
 4595|      0|            case EOpMethodGatherCmpAlpha: cmpValues = 1;  [[fallthrough]];
  ------------------
  |  Branch (4595:13): [True: 0, False: 0]
  ------------------
 4596|      0|            case EOpMethodGatherAlpha:    channel = 3; break;
  ------------------
  |  Branch (4596:13): [True: 0, False: 0]
  ------------------
 4597|      0|            default:                      assert(0);   break;
  ------------------
  |  Branch (4597:13): [True: 0, False: 0]
  ------------------
 4598|      0|            }
 4599|       |
 4600|       |            // For now, we have nothing to map the component-wise comparison forms
 4601|       |            // to, because neither GLSL nor SPIR-V has such an opcode.  Issue an
 4602|       |            // unimplemented error instead.  Most of the machinery is here if that
 4603|       |            // should ever become available.  However, red can be passed through
 4604|       |            // to OpImageDrefGather.  G/B/A cannot, because that opcode does not
 4605|       |            // accept a component.
 4606|      0|            if (cmpValues != 0 && op != EOpMethodGatherCmpRed) {
  ------------------
  |  Branch (4606:17): [True: 0, False: 0]
  |  Branch (4606:35): [True: 0, False: 0]
  ------------------
 4607|      0|                error(loc, "unimplemented: component-level gather compare", "", "");
 4608|      0|                return;
 4609|      0|            }
 4610|       |
 4611|      0|            int arg = 0;
 4612|       |
 4613|      0|            TIntermTyped* argTex        = argAggregate->getSequence()[arg++]->getAsTyped();
 4614|      0|            TIntermTyped* argSamp       = argAggregate->getSequence()[arg++]->getAsTyped();
 4615|      0|            TIntermTyped* argCoord      = argAggregate->getSequence()[arg++]->getAsTyped();
 4616|      0|            TIntermTyped* argOffset     = nullptr;
 4617|      0|            TIntermTyped* argOffsets[4] = { nullptr, nullptr, nullptr, nullptr };
 4618|       |            // TIntermTyped* argStatus     = nullptr; // TODO: residency
 4619|      0|            TIntermTyped* argCmp        = nullptr;
 4620|       |
 4621|      0|            const TSamplerDim dim = argTex->getType().getSampler().dim;
 4622|       |
 4623|      0|            const int  argSize = (int)argAggregate->getSequence().size();
 4624|      0|            bool hasStatus     = (argSize == (5+cmpValues) || argSize == (8+cmpValues));
  ------------------
  |  Branch (4624:35): [True: 0, False: 0]
  |  Branch (4624:63): [True: 0, False: 0]
  ------------------
 4625|      0|            bool hasOffset1    = false;
 4626|      0|            bool hasOffset4    = false;
 4627|       |
 4628|       |            // Sampler argument should be a sampler.
 4629|      0|            if (argSamp->getType().getBasicType() != EbtSampler) {
  ------------------
  |  Branch (4629:17): [True: 0, False: 0]
  ------------------
 4630|      0|                error(loc, "expected: sampler type", "", "");
 4631|      0|                return;
 4632|      0|            }
 4633|       |
 4634|       |            // Cmp forms require SamplerComparisonState
 4635|      0|            if (cmpValues > 0 && ! argSamp->getType().getSampler().isShadow()) {
  ------------------
  |  Branch (4635:17): [True: 0, False: 0]
  |  Branch (4635:34): [True: 0, False: 0]
  ------------------
 4636|      0|                error(loc, "expected: SamplerComparisonState", "", "");
 4637|      0|                return;
 4638|      0|            }
 4639|       |
 4640|       |            // Only 2D forms can have offsets.  Discover if we have 0, 1 or 4 offsets.
 4641|      0|            if (dim == Esd2D) {
  ------------------
  |  Branch (4641:17): [True: 0, False: 0]
  ------------------
 4642|      0|                hasOffset1 = (argSize == (4+cmpValues) || argSize == (5+cmpValues));
  ------------------
  |  Branch (4642:31): [True: 0, False: 0]
  |  Branch (4642:59): [True: 0, False: 0]
  ------------------
 4643|      0|                hasOffset4 = (argSize == (7+cmpValues) || argSize == (8+cmpValues));
  ------------------
  |  Branch (4643:31): [True: 0, False: 0]
  |  Branch (4643:59): [True: 0, False: 0]
  ------------------
 4644|      0|            }
 4645|       |
 4646|      0|            assert(!(hasOffset1 && hasOffset4));
 4647|       |
 4648|      0|            TOperator textureOp = EOpTextureGather;
 4649|       |
 4650|       |            // Compare forms have compare value
 4651|      0|            if (cmpValues != 0)
  ------------------
  |  Branch (4651:17): [True: 0, False: 0]
  ------------------
 4652|      0|                argCmp = argOffset = argAggregate->getSequence()[arg++]->getAsTyped();
 4653|       |
 4654|       |            // Some forms have single offset
 4655|      0|            if (hasOffset1) {
  ------------------
  |  Branch (4655:17): [True: 0, False: 0]
  ------------------
 4656|      0|                textureOp = EOpTextureGatherOffset;   // single offset form
 4657|      0|                argOffset = argAggregate->getSequence()[arg++]->getAsTyped();
 4658|      0|            }
 4659|       |
 4660|       |            // Some forms have 4 gather offsets
 4661|      0|            if (hasOffset4) {
  ------------------
  |  Branch (4661:17): [True: 0, False: 0]
  ------------------
 4662|      0|                textureOp = EOpTextureGatherOffsets;  // note plural, for 4 offset form
 4663|      0|                for (int offsetNum = 0; offsetNum < 4; ++offsetNum)
  ------------------
  |  Branch (4663:41): [True: 0, False: 0]
  ------------------
 4664|      0|                    argOffsets[offsetNum] = argAggregate->getSequence()[arg++]->getAsTyped();
 4665|      0|            }
 4666|       |
 4667|       |            // Residency status
 4668|      0|            if (hasStatus) {
  ------------------
  |  Branch (4668:17): [True: 0, False: 0]
  ------------------
 4669|       |                // argStatus = argAggregate->getSequence()[arg++]->getAsTyped();
 4670|      0|                error(loc, "unimplemented: residency status", "", "");
 4671|      0|                return;
 4672|      0|            }
 4673|       |
 4674|      0|            TIntermAggregate* txgather = new TIntermAggregate(textureOp);
 4675|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4676|       |
 4677|      0|            TIntermTyped* argChannel = intermediate.addConstantUnion(channel, loc, true);
 4678|       |
 4679|      0|            txgather->getSequence().push_back(txcombine);
 4680|      0|            txgather->getSequence().push_back(argCoord);
 4681|       |
 4682|       |            // AST wants an array of 4 offsets, where HLSL has separate args.  Here
 4683|       |            // we construct an array from the separate args.
 4684|      0|            if (hasOffset4) {
  ------------------
  |  Branch (4684:17): [True: 0, False: 0]
  ------------------
 4685|      0|                TType arrayType(EbtInt, EvqTemporary, 2);
 4686|      0|                TArraySizes* arraySizes = new TArraySizes;
 4687|      0|                arraySizes->addInnerSize(4);
 4688|      0|                arrayType.transferArraySizes(arraySizes);
 4689|       |
 4690|      0|                TIntermAggregate* initList = new TIntermAggregate(EOpNull);
 4691|       |
 4692|      0|                for (int offsetNum = 0; offsetNum < 4; ++offsetNum)
  ------------------
  |  Branch (4692:41): [True: 0, False: 0]
  ------------------
 4693|      0|                    initList->getSequence().push_back(argOffsets[offsetNum]);
 4694|       |
 4695|      0|                argOffset = addConstructor(loc, initList, arrayType);
 4696|      0|            }
 4697|       |
 4698|       |            // Add comparison value if we have one
 4699|      0|            if (argCmp != nullptr)
  ------------------
  |  Branch (4699:17): [True: 0, False: 0]
  ------------------
 4700|      0|                txgather->getSequence().push_back(argCmp);
 4701|       |
 4702|       |            // Add offset (either 1, or an array of 4) if we have one
 4703|      0|            if (argOffset != nullptr)
  ------------------
  |  Branch (4703:17): [True: 0, False: 0]
  ------------------
 4704|      0|                txgather->getSequence().push_back(argOffset);
 4705|       |
 4706|       |            // Add channel value if the sampler is not shadow
 4707|      0|            if (! argSamp->getType().getSampler().isShadow())
  ------------------
  |  Branch (4707:17): [True: 0, False: 0]
  ------------------
 4708|      0|                txgather->getSequence().push_back(argChannel);
 4709|       |
 4710|      0|            txgather->setType(node->getType());
 4711|      0|            txgather->setLoc(loc);
 4712|      0|            node = txgather;
 4713|       |
 4714|      0|            break;
 4715|      0|        }
 4716|       |
 4717|      0|    case EOpMethodCalculateLevelOfDetail:
  ------------------
  |  Branch (4717:5): [True: 0, False: 2]
  ------------------
 4718|      0|    case EOpMethodCalculateLevelOfDetailUnclamped:
  ------------------
  |  Branch (4718:5): [True: 0, False: 2]
  ------------------
 4719|      0|        {
 4720|      0|            TIntermTyped* argTex    = argAggregate->getSequence()[0]->getAsTyped();
 4721|      0|            TIntermTyped* argSamp   = argAggregate->getSequence()[1]->getAsTyped();
 4722|      0|            TIntermTyped* argCoord  = argAggregate->getSequence()[2]->getAsTyped();
 4723|       |
 4724|      0|            TIntermAggregate* txquerylod = new TIntermAggregate(EOpTextureQueryLod);
 4725|       |
 4726|      0|            TIntermAggregate* txcombine = handleSamplerTextureCombine(loc, argTex, argSamp);
 4727|      0|            txquerylod->getSequence().push_back(txcombine);
 4728|      0|            txquerylod->getSequence().push_back(argCoord);
 4729|       |
 4730|      0|            TIntermTyped* lodComponent = intermediate.addConstantUnion(
 4731|      0|                op == EOpMethodCalculateLevelOfDetail ? 0 : 1,
  ------------------
  |  Branch (4731:17): [True: 0, False: 0]
  ------------------
 4732|      0|                loc, true);
 4733|      0|            TIntermTyped* lodComponentIdx = intermediate.addIndex(EOpIndexDirect, txquerylod, lodComponent, loc);
 4734|      0|            lodComponentIdx->setType(TType(EbtFloat, EvqTemporary, 1));
 4735|      0|            node = lodComponentIdx;
 4736|       |
 4737|      0|            break;
 4738|      0|        }
 4739|       |
 4740|      0|    case EOpMethodGetSamplePosition:
  ------------------
  |  Branch (4740:5): [True: 0, False: 2]
  ------------------
 4741|      0|        {
 4742|       |            // TODO: this entire decomposition exists because there is not yet a way to query
 4743|       |            // the sample position directly through SPIR-V.  Instead, we return fixed sample
 4744|       |            // positions for common cases.  *** If the sample positions are set differently,
 4745|       |            // this will be wrong. ***
 4746|       |
 4747|      0|            TIntermTyped* argTex     = argAggregate->getSequence()[0]->getAsTyped();
 4748|      0|            TIntermTyped* argSampIdx = argAggregate->getSequence()[1]->getAsTyped();
 4749|       |
 4750|      0|            TIntermAggregate* samplesQuery = new TIntermAggregate(EOpImageQuerySamples);
 4751|      0|            samplesQuery->getSequence().push_back(argTex);
 4752|      0|            samplesQuery->setType(TType(EbtUint, EvqTemporary, 1));
 4753|      0|            samplesQuery->setLoc(loc);
 4754|       |
 4755|      0|            TIntermAggregate* compoundStatement = nullptr;
 4756|       |
 4757|      0|            TVariable* outSampleCount = makeInternalVariable("@sampleCount", TType(EbtUint));
 4758|      0|            outSampleCount->getWritableType().getQualifier().makeTemporary();
 4759|      0|            TIntermTyped* compAssign = intermediate.addAssign(EOpAssign, intermediate.addSymbol(*outSampleCount, loc),
 4760|      0|                                                              samplesQuery, loc);
 4761|      0|            compoundStatement = intermediate.growAggregate(compoundStatement, compAssign);
 4762|       |
 4763|      0|            TIntermTyped* idxtest[4];
 4764|       |
 4765|       |            // Create tests against 2, 4, 8, and 16 sample values
 4766|      0|            int count = 0;
 4767|      0|            for (int val = 2; val <= 16; val *= 2)
  ------------------
  |  Branch (4767:31): [True: 0, False: 0]
  ------------------
 4768|      0|                idxtest[count++] =
 4769|      0|                    intermediate.addBinaryNode(EOpEqual,
 4770|      0|                                               intermediate.addSymbol(*outSampleCount, loc),
 4771|      0|                                               intermediate.addConstantUnion(val, loc),
 4772|      0|                                               loc, TType(EbtBool));
 4773|       |
 4774|      0|            const TOperator idxOp = (argSampIdx->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
  ------------------
  |  Branch (4774:37): [True: 0, False: 0]
  ------------------
 4775|       |
 4776|       |            // Create index ops into position arrays given sample index.
 4777|       |            // TODO: should it be clamped?
 4778|      0|            TIntermTyped* index[4];
 4779|      0|            count = 0;
 4780|      0|            for (int val = 2; val <= 16; val *= 2) {
  ------------------
  |  Branch (4780:31): [True: 0, False: 0]
  ------------------
 4781|      0|                index[count] = intermediate.addIndex(idxOp, getSamplePosArray(val), argSampIdx, loc);
 4782|      0|                index[count++]->setType(TType(EbtFloat, EvqTemporary, 2));
 4783|      0|            }
 4784|       |
 4785|       |            // Create expression as:
 4786|       |            // (sampleCount == 2)  ? pos2[idx] :
 4787|       |            // (sampleCount == 4)  ? pos4[idx] :
 4788|       |            // (sampleCount == 8)  ? pos8[idx] :
 4789|       |            // (sampleCount == 16) ? pos16[idx] : float2(0,0);
 4790|      0|            TIntermTyped* test =
 4791|      0|                intermediate.addSelection(idxtest[0], index[0],
 4792|      0|                    intermediate.addSelection(idxtest[1], index[1],
 4793|      0|                        intermediate.addSelection(idxtest[2], index[2],
 4794|      0|                            intermediate.addSelection(idxtest[3], index[3],
 4795|      0|                                                      getSamplePosArray(1), loc), loc), loc), loc);
 4796|       |
 4797|      0|            compoundStatement = intermediate.growAggregate(compoundStatement, test);
 4798|      0|            compoundStatement->setOperator(EOpSequence);
 4799|      0|            compoundStatement->setLoc(loc);
 4800|      0|            compoundStatement->setType(TType(EbtFloat, EvqTemporary, 2));
 4801|       |
 4802|      0|            node = compoundStatement;
 4803|       |
 4804|      0|            break;
 4805|      0|        }
 4806|       |
 4807|      0|    case EOpSubpassLoad:
  ------------------
  |  Branch (4807:5): [True: 0, False: 2]
  ------------------
 4808|      0|        {
 4809|      0|            const TIntermTyped* argSubpass =
 4810|      0|                argAggregate ? argAggregate->getSequence()[0]->getAsTyped() :
  ------------------
  |  Branch (4810:17): [True: 0, False: 0]
  ------------------
 4811|      0|                arguments->getAsTyped();
 4812|       |
 4813|      0|            const TSampler& sampler = argSubpass->getType().getSampler();
 4814|       |
 4815|       |            // subpass load: the multisample form is overloaded.  Here, we convert that to
 4816|       |            // the EOpSubpassLoadMS opcode.
 4817|      0|            if (argAggregate != nullptr && argAggregate->getSequence().size() > 1)
  ------------------
  |  Branch (4817:17): [True: 0, False: 0]
  |  Branch (4817:44): [True: 0, False: 0]
  ------------------
 4818|      0|                node->getAsOperator()->setOp(EOpSubpassLoadMS);
 4819|       |
 4820|      0|            node = convertReturn(node, sampler);
 4821|       |
 4822|      0|            break;
 4823|      0|        }
 4824|       |
 4825|       |
 4826|      2|    default:
  ------------------
  |  Branch (4826:5): [True: 2, False: 0]
  ------------------
 4827|      2|        break; // most pass through unchanged
 4828|      2|    }
 4829|      2|}
_ZN7glslang16HlslParseContext24decomposeGeometryMethodsERKNS_10TSourceLocERPNS_12TIntermTypedEP11TIntermNode:
 4835|      2|{
 4836|      2|    if (node == nullptr || !node->getAsOperator())
  ------------------
  |  Branch (4836:9): [True: 0, False: 2]
  |  Branch (4836:28): [True: 0, False: 2]
  ------------------
 4837|      0|        return;
 4838|       |
 4839|      2|    const TOperator op  = node->getAsOperator()->getOp();
 4840|      2|    const TIntermAggregate* argAggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (4840:44): [True: 0, False: 2]
  ------------------
 4841|       |
 4842|      2|    switch (op) {
 4843|      0|    case EOpMethodAppend:
  ------------------
  |  Branch (4843:5): [True: 0, False: 2]
  ------------------
 4844|      0|        if (argAggregate) {
  ------------------
  |  Branch (4844:13): [True: 0, False: 0]
  ------------------
 4845|       |            // Don't emit these for non-GS stage, since we won't have the gsStreamOutput symbol.
 4846|      0|            if (language != EShLangGeometry) {
  ------------------
  |  Branch (4846:17): [True: 0, False: 0]
  ------------------
 4847|      0|                node = nullptr;
 4848|      0|                return;
 4849|      0|            }
 4850|       |
 4851|      0|            TIntermAggregate* sequence = nullptr;
 4852|      0|            TIntermAggregate* emit = new TIntermAggregate(EOpEmitVertex);
 4853|       |
 4854|      0|            emit->setLoc(loc);
 4855|      0|            emit->setType(TType(EbtVoid));
 4856|       |
 4857|      0|            TIntermTyped* data = argAggregate->getSequence()[1]->getAsTyped();
 4858|       |
 4859|       |            // This will be patched in finalization during finalizeAppendMethods()
 4860|      0|            sequence = intermediate.growAggregate(sequence, data, loc);
 4861|      0|            sequence = intermediate.growAggregate(sequence, emit);
 4862|       |
 4863|      0|            sequence->setOperator(EOpSequence);
 4864|      0|            sequence->setLoc(loc);
 4865|      0|            sequence->setType(TType(EbtVoid));
 4866|       |
 4867|      0|            gsAppends.push_back({sequence, loc});
 4868|       |
 4869|      0|            node = sequence;
 4870|      0|        }
 4871|      0|        break;
 4872|       |
 4873|      0|    case EOpMethodRestartStrip:
  ------------------
  |  Branch (4873:5): [True: 0, False: 2]
  ------------------
 4874|      0|        {
 4875|       |            // Don't emit these for non-GS stage, since we won't have the gsStreamOutput symbol.
 4876|      0|            if (language != EShLangGeometry) {
  ------------------
  |  Branch (4876:17): [True: 0, False: 0]
  ------------------
 4877|      0|                node = nullptr;
 4878|      0|                return;
 4879|      0|            }
 4880|       |
 4881|      0|            TIntermAggregate* cut = new TIntermAggregate(EOpEndPrimitive);
 4882|      0|            cut->setLoc(loc);
 4883|      0|            cut->setType(TType(EbtVoid));
 4884|      0|            node = cut;
 4885|      0|        }
 4886|      0|        break;
 4887|       |
 4888|      2|    default:
  ------------------
  |  Branch (4888:5): [True: 2, False: 0]
  ------------------
 4889|      2|        break; // most pass through unchanged
 4890|      2|    }
 4891|      2|}
_ZN7glslang16HlslParseContext18decomposeIntrinsicERKNS_10TSourceLocERPNS_12TIntermTypedEP11TIntermNode:
 4897|      2|{
 4898|       |    // Helper to find image data for image atomics:
 4899|       |    // OpImageLoad(image[idx])
 4900|       |    // We take the image load apart and add its params to the atomic op aggregate node
 4901|      2|    const auto imageAtomicParams = [this, &loc, &node](TIntermAggregate* atomic, TIntermTyped* load) {
 4902|      2|        TIntermAggregate* loadOp = load->getAsAggregate();
 4903|      2|        if (loadOp == nullptr) {
 4904|      2|            error(loc, "unknown image type in atomic operation", "", "");
 4905|      2|            node = nullptr;
 4906|      2|            return;
 4907|      2|        }
 4908|       |
 4909|      2|        atomic->getSequence().push_back(loadOp->getSequence()[0]);
 4910|      2|        atomic->getSequence().push_back(loadOp->getSequence()[1]);
 4911|      2|    };
 4912|       |
 4913|       |    // Return true if this is an imageLoad, which we will change to an image atomic.
 4914|      2|    const auto isImageParam = [](TIntermTyped* image) -> bool {
 4915|      2|        TIntermAggregate* imageAggregate = image->getAsAggregate();
 4916|      2|        return imageAggregate != nullptr && imageAggregate->getOp() == EOpImageLoad;
 4917|      2|    };
 4918|       |
 4919|      2|    const auto lookupBuiltinVariable = [&](const char* name, TBuiltInVariable builtin, TType& type) -> TIntermTyped* {
 4920|      2|        TSymbol* symbol = symbolTable.find(name);
 4921|      2|        if (nullptr == symbol) {
 4922|      2|            type.getQualifier().builtIn = builtin;
 4923|       |
 4924|      2|            TVariable* variable = new TVariable(NewPoolTString(name), type);
 4925|       |
 4926|      2|            symbolTable.insert(*variable);
 4927|       |
 4928|      2|            symbol = symbolTable.find(name);
 4929|      2|            assert(symbol && "Inserted symbol could not be found!");
 4930|      2|        }
 4931|       |
 4932|      2|        return intermediate.addSymbol(*(symbol->getAsVariable()), loc);
 4933|      2|    };
 4934|       |
 4935|       |    // HLSL intrinsics can be pass through to native AST opcodes, or decomposed here to existing AST
 4936|       |    // opcodes for compatibility with existing software stacks.
 4937|      2|    static const bool decomposeHlslIntrinsics = true;
 4938|       |
 4939|      2|    if (!decomposeHlslIntrinsics || !node || !node->getAsOperator())
  ------------------
  |  Branch (4939:9): [Folded, False: 2]
  |  Branch (4939:37): [True: 0, False: 2]
  |  Branch (4939:46): [True: 0, False: 2]
  ------------------
 4940|      0|        return;
 4941|       |
 4942|      2|    const TIntermAggregate* argAggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (4942:44): [True: 0, False: 2]
  ------------------
 4943|      2|    TIntermUnary* fnUnary = node->getAsUnaryNode();
 4944|      2|    const TOperator op  = node->getAsOperator()->getOp();
 4945|       |
 4946|      2|    switch (op) {
 4947|      0|    case EOpGenMul:
  ------------------
  |  Branch (4947:5): [True: 0, False: 2]
  ------------------
 4948|      0|        {
 4949|       |            // mul(a,b) -> MatrixTimesMatrix, MatrixTimesVector, MatrixTimesScalar, VectorTimesScalar, Dot, Mul
 4950|       |            // Since we are treating HLSL rows like GLSL columns (the first matrix indirection),
 4951|       |            // we must reverse the operand order here.  Hence, arg0 gets sequence[1], etc.
 4952|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[1]->getAsTyped();
 4953|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[0]->getAsTyped();
 4954|       |
 4955|      0|            if (arg0->isVector() && arg1->isVector()) {  // vec * vec
  ------------------
  |  Branch (4955:17): [True: 0, False: 0]
  |  Branch (4955:37): [True: 0, False: 0]
  ------------------
 4956|      0|                node->getAsAggregate()->setOperator(EOpDot);
 4957|      0|            } else {
 4958|      0|                node = handleBinaryMath(loc, "mul", EOpMul, arg0, arg1);
 4959|      0|            }
 4960|       |
 4961|      0|            break;
 4962|      0|        }
 4963|       |
 4964|      0|    case EOpRcp:
  ------------------
  |  Branch (4964:5): [True: 0, False: 2]
  ------------------
 4965|      0|        {
 4966|       |            // rcp(a) -> 1 / a
 4967|      0|            TIntermTyped* arg0 = fnUnary->getOperand();
 4968|      0|            TBasicType   type0 = arg0->getBasicType();
 4969|      0|            TIntermTyped* one  = intermediate.addConstantUnion(1, type0, loc, true);
 4970|      0|            node  = handleBinaryMath(loc, "rcp", EOpDiv, one, arg0);
 4971|       |
 4972|      0|            break;
 4973|      0|        }
 4974|       |
 4975|      0|    case EOpAny: // fall through
  ------------------
  |  Branch (4975:5): [True: 0, False: 2]
  ------------------
 4976|      0|    case EOpAll:
  ------------------
  |  Branch (4976:5): [True: 0, False: 2]
  ------------------
 4977|      0|        {
 4978|      0|            TIntermTyped* typedArg = arguments->getAsTyped();
 4979|       |
 4980|       |            // HLSL allows float/etc types here, and the SPIR-V opcode requires a bool.
 4981|       |            // We'll convert here.  Note that for efficiency, we could add a smarter
 4982|       |            // decomposition for some type cases, e.g, maybe by decomposing a dot product.
 4983|      0|            if (typedArg->getType().getBasicType() != EbtBool) {
  ------------------
  |  Branch (4983:17): [True: 0, False: 0]
  ------------------
 4984|      0|                const TType boolType(EbtBool, EvqTemporary,
 4985|      0|                                     typedArg->getVectorSize(),
 4986|      0|                                     typedArg->getMatrixCols(),
 4987|      0|                                     typedArg->getMatrixRows(),
 4988|      0|                                     typedArg->isVector());
 4989|       |
 4990|      0|                typedArg = intermediate.addConversion(EOpConstructBool, boolType, typedArg);
 4991|      0|                node->getAsUnaryNode()->setOperand(typedArg);
 4992|      0|            }
 4993|       |
 4994|      0|            break;
 4995|      0|        }
 4996|       |
 4997|      0|    case EOpSaturate:
  ------------------
  |  Branch (4997:5): [True: 0, False: 2]
  ------------------
 4998|      0|        {
 4999|       |            // saturate(a) -> clamp(a,0,1)
 5000|      0|            TIntermTyped* arg0 = fnUnary->getOperand();
 5001|      0|            TBasicType   type0 = arg0->getBasicType();
 5002|      0|            TIntermAggregate* clamp = new TIntermAggregate(EOpClamp);
 5003|       |
 5004|      0|            clamp->getSequence().push_back(arg0);
 5005|      0|            clamp->getSequence().push_back(intermediate.addConstantUnion(0, type0, loc, true));
 5006|      0|            clamp->getSequence().push_back(intermediate.addConstantUnion(1, type0, loc, true));
 5007|      0|            clamp->setLoc(loc);
 5008|      0|            clamp->setType(node->getType());
 5009|      0|            clamp->getWritableType().getQualifier().makeTemporary();
 5010|      0|            node = clamp;
 5011|       |
 5012|      0|            break;
 5013|      0|        }
 5014|       |
 5015|      0|    case EOpSinCos:
  ------------------
  |  Branch (5015:5): [True: 0, False: 2]
  ------------------
 5016|      0|        {
 5017|       |            // sincos(a,b,c) -> b = sin(a), c = cos(a)
 5018|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
 5019|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
 5020|      0|            TIntermTyped* arg2 = argAggregate->getSequence()[2]->getAsTyped();
 5021|       |
 5022|      0|            TIntermTyped* sinStatement = handleUnaryMath(loc, "sin", EOpSin, arg0);
 5023|      0|            TIntermTyped* cosStatement = handleUnaryMath(loc, "cos", EOpCos, arg0);
 5024|      0|            TIntermTyped* sinAssign    = intermediate.addAssign(EOpAssign, arg1, sinStatement, loc);
 5025|      0|            TIntermTyped* cosAssign    = intermediate.addAssign(EOpAssign, arg2, cosStatement, loc);
 5026|       |
 5027|      0|            TIntermAggregate* compoundStatement = intermediate.makeAggregate(sinAssign, loc);
 5028|      0|            compoundStatement = intermediate.growAggregate(compoundStatement, cosAssign);
 5029|      0|            compoundStatement->setOperator(EOpSequence);
 5030|      0|            compoundStatement->setLoc(loc);
 5031|      0|            compoundStatement->setType(TType(EbtVoid));
 5032|       |
 5033|      0|            node = compoundStatement;
 5034|       |
 5035|      0|            break;
 5036|      0|        }
 5037|       |
 5038|      0|    case EOpClip:
  ------------------
  |  Branch (5038:5): [True: 0, False: 2]
  ------------------
 5039|      0|        {
 5040|       |            // clip(a) -> if (any(a<0)) discard;
 5041|      0|            TIntermTyped*  arg0 = fnUnary->getOperand();
 5042|      0|            TBasicType     type0 = arg0->getBasicType();
 5043|      0|            TIntermTyped*  compareNode = nullptr;
 5044|       |
 5045|       |            // For non-scalars: per experiment with FXC compiler, discard if any component < 0.
 5046|      0|            if (!arg0->isScalar()) {
  ------------------
  |  Branch (5046:17): [True: 0, False: 0]
  ------------------
 5047|       |                // component-wise compare: a < 0
 5048|      0|                TIntermAggregate* less = new TIntermAggregate(EOpLessThan);
 5049|      0|                less->getSequence().push_back(arg0);
 5050|      0|                less->setLoc(loc);
 5051|       |
 5052|       |                // make vec or mat of bool matching dimensions of input
 5053|      0|                less->setType(TType(EbtBool, EvqTemporary,
 5054|      0|                                    arg0->getType().getVectorSize(),
 5055|      0|                                    arg0->getType().getMatrixCols(),
 5056|      0|                                    arg0->getType().getMatrixRows(),
 5057|      0|                                    arg0->getType().isVector()));
 5058|       |
 5059|       |                // calculate # of components for comparison const
 5060|      0|                const int constComponentCount =
 5061|      0|                    std::max(arg0->getType().getVectorSize(), 1) *
 5062|      0|                    std::max(arg0->getType().getMatrixCols(), 1) *
 5063|      0|                    std::max(arg0->getType().getMatrixRows(), 1);
 5064|       |
 5065|      0|                TConstUnion zero;
 5066|      0|                if (arg0->getType().isIntegerDomain())
  ------------------
  |  Branch (5066:21): [True: 0, False: 0]
  ------------------
 5067|      0|                    zero.setDConst(0);
 5068|      0|                else
 5069|      0|                    zero.setDConst(0.0);
 5070|      0|                TConstUnionArray zeros(constComponentCount, zero);
 5071|       |
 5072|      0|                less->getSequence().push_back(intermediate.addConstantUnion(zeros, arg0->getType(), loc, true));
 5073|       |
 5074|      0|                compareNode = intermediate.addBuiltInFunctionCall(loc, EOpAny, true, less, TType(EbtBool));
 5075|      0|            } else {
 5076|      0|                TIntermTyped* zero;
 5077|      0|                if (arg0->getType().isIntegerDomain())
  ------------------
  |  Branch (5077:21): [True: 0, False: 0]
  ------------------
 5078|      0|                    zero = intermediate.addConstantUnion(0, loc, true);
 5079|      0|                else
 5080|      0|                    zero = intermediate.addConstantUnion(0.0, type0, loc, true);
 5081|      0|                compareNode = handleBinaryMath(loc, "clip", EOpLessThan, arg0, zero);
 5082|      0|            }
 5083|       |
 5084|      0|            TIntermBranch* killNode = intermediate.addBranch(EOpKill, loc);
 5085|       |
 5086|      0|            node = new TIntermSelection(compareNode, killNode, nullptr);
 5087|      0|            node->setLoc(loc);
 5088|       |
 5089|      0|            break;
 5090|      0|        }
 5091|       |
 5092|      0|    case EOpLog10:
  ------------------
  |  Branch (5092:5): [True: 0, False: 2]
  ------------------
 5093|      0|        {
 5094|       |            // log10(a) -> log2(a) * 0.301029995663981  (== 1/log2(10))
 5095|      0|            TIntermTyped* arg0 = fnUnary->getOperand();
 5096|      0|            TIntermTyped* log2 = handleUnaryMath(loc, "log2", EOpLog2, arg0);
 5097|      0|            TIntermTyped* base = intermediate.addConstantUnion(0.301029995663981f, EbtFloat, loc, true);
 5098|       |
 5099|      0|            node  = handleBinaryMath(loc, "mul", EOpMul, log2, base);
 5100|       |
 5101|      0|            break;
 5102|      0|        }
 5103|       |
 5104|      0|    case EOpDst:
  ------------------
  |  Branch (5104:5): [True: 0, False: 2]
  ------------------
 5105|      0|        {
 5106|       |            // dest.x = 1;
 5107|       |            // dest.y = src0.y * src1.y;
 5108|       |            // dest.z = src0.z;
 5109|       |            // dest.w = src1.w;
 5110|       |
 5111|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
 5112|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
 5113|       |
 5114|      0|            TIntermTyped* y = intermediate.addConstantUnion(1, loc, true);
 5115|      0|            TIntermTyped* z = intermediate.addConstantUnion(2, loc, true);
 5116|      0|            TIntermTyped* w = intermediate.addConstantUnion(3, loc, true);
 5117|       |
 5118|      0|            TIntermTyped* src0y = intermediate.addIndex(EOpIndexDirect, arg0, y, loc);
 5119|      0|            TIntermTyped* src1y = intermediate.addIndex(EOpIndexDirect, arg1, y, loc);
 5120|      0|            TIntermTyped* src0z = intermediate.addIndex(EOpIndexDirect, arg0, z, loc);
 5121|      0|            TIntermTyped* src1w = intermediate.addIndex(EOpIndexDirect, arg1, w, loc);
 5122|       |
 5123|      0|            TIntermAggregate* dst = new TIntermAggregate(EOpConstructVec4);
 5124|       |
 5125|      0|            dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
 5126|      0|            dst->getSequence().push_back(handleBinaryMath(loc, "mul", EOpMul, src0y, src1y));
 5127|      0|            dst->getSequence().push_back(src0z);
 5128|      0|            dst->getSequence().push_back(src1w);
 5129|      0|            dst->setType(TType(EbtFloat, EvqTemporary, 4));
 5130|      0|            dst->setLoc(loc);
 5131|      0|            node = dst;
 5132|       |
 5133|      0|            break;
 5134|      0|        }
 5135|       |
 5136|      0|    case EOpInterlockedAdd: // optional last argument (if present) is assigned from return value
  ------------------
  |  Branch (5136:5): [True: 0, False: 2]
  ------------------
 5137|      0|    case EOpInterlockedMin: // ...
  ------------------
  |  Branch (5137:5): [True: 0, False: 2]
  ------------------
 5138|      0|    case EOpInterlockedMax: // ...
  ------------------
  |  Branch (5138:5): [True: 0, False: 2]
  ------------------
 5139|      0|    case EOpInterlockedAnd: // ...
  ------------------
  |  Branch (5139:5): [True: 0, False: 2]
  ------------------
 5140|      0|    case EOpInterlockedOr:  // ...
  ------------------
  |  Branch (5140:5): [True: 0, False: 2]
  ------------------
 5141|      0|    case EOpInterlockedXor: // ...
  ------------------
  |  Branch (5141:5): [True: 0, False: 2]
  ------------------
 5142|      0|    case EOpInterlockedExchange: // always has output arg
  ------------------
  |  Branch (5142:5): [True: 0, False: 2]
  ------------------
 5143|      0|        {
 5144|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();  // dest
 5145|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();  // value
 5146|      0|            TIntermTyped* arg2 = nullptr;
 5147|       |
 5148|      0|            if (argAggregate->getSequence().size() > 2)
  ------------------
  |  Branch (5148:17): [True: 0, False: 0]
  ------------------
 5149|      0|                arg2 = argAggregate->getSequence()[2]->getAsTyped();
 5150|       |
 5151|      0|            const bool isImage = isImageParam(arg0);
 5152|      0|            const TOperator atomicOp = mapAtomicOp(loc, op, isImage);
 5153|      0|            TIntermAggregate* atomic = new TIntermAggregate(atomicOp);
 5154|      0|            atomic->setType(arg0->getType());
 5155|      0|            atomic->getWritableType().getQualifier().makeTemporary();
 5156|      0|            atomic->setLoc(loc);
 5157|       |
 5158|      0|            if (isImage) {
  ------------------
  |  Branch (5158:17): [True: 0, False: 0]
  ------------------
 5159|       |                // orig_value = imageAtomicOp(image, loc, data)
 5160|      0|                imageAtomicParams(atomic, arg0);
 5161|      0|                atomic->getSequence().push_back(arg1);
 5162|       |
 5163|      0|                if (argAggregate->getSequence().size() > 2) {
  ------------------
  |  Branch (5163:21): [True: 0, False: 0]
  ------------------
 5164|      0|                    node = intermediate.addAssign(EOpAssign, arg2, atomic, loc);
 5165|      0|                } else {
 5166|      0|                    node = atomic; // no assignment needed, as there was no out var.
 5167|      0|                }
 5168|      0|            } else {
 5169|       |                // Normal memory variable:
 5170|       |                // arg0 = mem, arg1 = data, arg2(optional,out) = orig_value
 5171|      0|                if (argAggregate->getSequence().size() > 2) {
  ------------------
  |  Branch (5171:21): [True: 0, False: 0]
  ------------------
 5172|       |                    // optional output param is present.  return value goes to arg2.
 5173|      0|                    atomic->getSequence().push_back(arg0);
 5174|      0|                    atomic->getSequence().push_back(arg1);
 5175|       |
 5176|      0|                    node = intermediate.addAssign(EOpAssign, arg2, atomic, loc);
 5177|      0|                } else {
 5178|       |                    // Set the matching operator.  Since output is absent, this is all we need to do.
 5179|      0|                    node->getAsAggregate()->setOperator(atomicOp);
 5180|      0|                    node->setType(atomic->getType());
 5181|      0|                }
 5182|      0|            }
 5183|       |
 5184|      0|            break;
 5185|      0|        }
 5186|       |
 5187|      0|    case EOpInterlockedCompareExchange:
  ------------------
  |  Branch (5187:5): [True: 0, False: 2]
  ------------------
 5188|      0|        {
 5189|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();  // dest
 5190|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();  // cmp
 5191|      0|            TIntermTyped* arg2 = argAggregate->getSequence()[2]->getAsTyped();  // value
 5192|      0|            TIntermTyped* arg3 = argAggregate->getSequence()[3]->getAsTyped();  // orig
 5193|       |
 5194|      0|            const bool isImage = isImageParam(arg0);
 5195|      0|            TIntermAggregate* atomic = new TIntermAggregate(mapAtomicOp(loc, op, isImage));
 5196|      0|            atomic->setLoc(loc);
 5197|      0|            atomic->setType(arg2->getType());
 5198|      0|            atomic->getWritableType().getQualifier().makeTemporary();
 5199|       |
 5200|      0|            if (isImage) {
  ------------------
  |  Branch (5200:17): [True: 0, False: 0]
  ------------------
 5201|      0|                imageAtomicParams(atomic, arg0);
 5202|      0|            } else {
 5203|      0|                atomic->getSequence().push_back(arg0);
 5204|      0|            }
 5205|       |
 5206|      0|            atomic->getSequence().push_back(arg1);
 5207|      0|            atomic->getSequence().push_back(arg2);
 5208|      0|            node = intermediate.addAssign(EOpAssign, arg3, atomic, loc);
 5209|       |
 5210|      0|            break;
 5211|      0|        }
 5212|       |
 5213|      0|    case EOpEvaluateAttributeSnapped:
  ------------------
  |  Branch (5213:5): [True: 0, False: 2]
  ------------------
 5214|      0|        {
 5215|       |            // SPIR-V InterpolateAtOffset uses float vec2 offset in pixels
 5216|       |            // HLSL uses int2 offset on a 16x16 grid in [-8..7] on x & y:
 5217|       |            //   iU = (iU<<28)>>28
 5218|       |            //   fU = ((float)iU)/16
 5219|       |            // Targets might handle this natively, in which case they can disable
 5220|       |            // decompositions.
 5221|       |
 5222|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();  // value
 5223|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();  // offset
 5224|       |
 5225|      0|            TIntermTyped* i28 = intermediate.addConstantUnion(28, loc, true);
 5226|      0|            TIntermTyped* iU = handleBinaryMath(loc, ">>", EOpRightShift,
 5227|      0|                                                handleBinaryMath(loc, "<<", EOpLeftShift, arg1, i28),
 5228|      0|                                                i28);
 5229|       |
 5230|      0|            TIntermTyped* recip16 = intermediate.addConstantUnion((1.0/16.0), EbtFloat, loc, true);
 5231|      0|            TIntermTyped* floatOffset = handleBinaryMath(loc, "mul", EOpMul,
 5232|      0|                                                         intermediate.addConversion(EOpConstructFloat,
 5233|      0|                                                                                    TType(EbtFloat, EvqTemporary, 2), iU),
 5234|      0|                                                         recip16);
 5235|       |
 5236|      0|            TIntermAggregate* interp = new TIntermAggregate(EOpInterpolateAtOffset);
 5237|      0|            interp->getSequence().push_back(arg0);
 5238|      0|            interp->getSequence().push_back(floatOffset);
 5239|      0|            interp->setLoc(loc);
 5240|      0|            interp->setType(arg0->getType());
 5241|      0|            interp->getWritableType().getQualifier().makeTemporary();
 5242|       |
 5243|      0|            node = interp;
 5244|       |
 5245|      0|            break;
 5246|      0|        }
 5247|       |
 5248|      0|    case EOpLit:
  ------------------
  |  Branch (5248:5): [True: 0, False: 2]
  ------------------
 5249|      0|        {
 5250|      0|            TIntermTyped* n_dot_l = argAggregate->getSequence()[0]->getAsTyped();
 5251|      0|            TIntermTyped* n_dot_h = argAggregate->getSequence()[1]->getAsTyped();
 5252|      0|            TIntermTyped* m = argAggregate->getSequence()[2]->getAsTyped();
 5253|       |
 5254|      0|            TIntermAggregate* dst = new TIntermAggregate(EOpConstructVec4);
 5255|       |
 5256|       |            // Ambient
 5257|      0|            dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
 5258|       |
 5259|       |            // Diffuse:
 5260|      0|            TIntermTyped* zero = intermediate.addConstantUnion(0.0, EbtFloat, loc, true);
 5261|      0|            TIntermAggregate* diffuse = new TIntermAggregate(EOpMax);
 5262|      0|            diffuse->getSequence().push_back(n_dot_l);
 5263|      0|            diffuse->getSequence().push_back(zero);
 5264|      0|            diffuse->setLoc(loc);
 5265|      0|            diffuse->setType(TType(EbtFloat));
 5266|      0|            dst->getSequence().push_back(diffuse);
 5267|       |
 5268|       |            // Specular:
 5269|      0|            TIntermAggregate* min_ndot = new TIntermAggregate(EOpMin);
 5270|      0|            min_ndot->getSequence().push_back(n_dot_l);
 5271|      0|            min_ndot->getSequence().push_back(n_dot_h);
 5272|      0|            min_ndot->setLoc(loc);
 5273|      0|            min_ndot->setType(TType(EbtFloat));
 5274|       |
 5275|      0|            TIntermTyped* compare = handleBinaryMath(loc, "<", EOpLessThan, min_ndot, zero);
 5276|      0|            TIntermTyped* n_dot_h_m = handleBinaryMath(loc, "mul", EOpMul, n_dot_h, m);  // n_dot_h * m
 5277|       |
 5278|      0|            dst->getSequence().push_back(intermediate.addSelection(compare, zero, n_dot_h_m, loc));
 5279|       |
 5280|       |            // One:
 5281|      0|            dst->getSequence().push_back(intermediate.addConstantUnion(1.0, EbtFloat, loc, true));
 5282|       |
 5283|      0|            dst->setLoc(loc);
 5284|      0|            dst->setType(TType(EbtFloat, EvqTemporary, 4));
 5285|      0|            node = dst;
 5286|      0|            break;
 5287|      0|        }
 5288|       |
 5289|      0|    case EOpAsDouble:
  ------------------
  |  Branch (5289:5): [True: 0, False: 2]
  ------------------
 5290|      0|        {
 5291|       |            // asdouble accepts two 32 bit ints.  we can use EOpUint64BitsToDouble, but must
 5292|       |            // first construct a uint64.
 5293|      0|            TIntermTyped* arg0 = argAggregate->getSequence()[0]->getAsTyped();
 5294|      0|            TIntermTyped* arg1 = argAggregate->getSequence()[1]->getAsTyped();
 5295|       |
 5296|      0|            if (arg0->getType().isVector()) { // TODO: ...
  ------------------
  |  Branch (5296:17): [True: 0, False: 0]
  ------------------
 5297|      0|                error(loc, "double2 conversion not implemented", "asdouble", "");
 5298|      0|                break;
 5299|      0|            }
 5300|       |
 5301|      0|            TIntermAggregate* uint64 = new TIntermAggregate(EOpConstructUVec2);
 5302|       |
 5303|      0|            uint64->getSequence().push_back(arg0);
 5304|      0|            uint64->getSequence().push_back(arg1);
 5305|      0|            uint64->setType(TType(EbtUint, EvqTemporary, 2));  // convert 2 uints to a uint2
 5306|      0|            uint64->setLoc(loc);
 5307|       |
 5308|       |            // bitcast uint2 to a double
 5309|      0|            TIntermTyped* convert = new TIntermUnary(EOpUint64BitsToDouble);
 5310|      0|            convert->getAsUnaryNode()->setOperand(uint64);
 5311|      0|            convert->setLoc(loc);
 5312|      0|            convert->setType(TType(EbtDouble, EvqTemporary));
 5313|      0|            node = convert;
 5314|       |
 5315|      0|            break;
 5316|      0|        }
 5317|       |
 5318|      0|    case EOpF16tof32:
  ------------------
  |  Branch (5318:5): [True: 0, False: 2]
  ------------------
 5319|      0|        {
 5320|       |            // input uvecN with low 16 bits of each component holding a float16.  convert to float32.
 5321|      0|            TIntermTyped* argValue = node->getAsUnaryNode()->getOperand();
 5322|      0|            TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
 5323|      0|            const int vecSize = argValue->getType().getVectorSize();
 5324|       |
 5325|      0|            TOperator constructOp = EOpNull;
 5326|      0|            switch (vecSize) {
 5327|      0|            case 1: constructOp = EOpNull;          break; // direct use, no construct needed
  ------------------
  |  Branch (5327:13): [True: 0, False: 0]
  ------------------
 5328|      0|            case 2: constructOp = EOpConstructVec2; break;
  ------------------
  |  Branch (5328:13): [True: 0, False: 0]
  ------------------
 5329|      0|            case 3: constructOp = EOpConstructVec3; break;
  ------------------
  |  Branch (5329:13): [True: 0, False: 0]
  ------------------
 5330|      0|            case 4: constructOp = EOpConstructVec4; break;
  ------------------
  |  Branch (5330:13): [True: 0, False: 0]
  ------------------
 5331|      0|            default: assert(0); break;
  ------------------
  |  Branch (5331:13): [True: 0, False: 0]
  ------------------
 5332|      0|            }
 5333|       |
 5334|       |            // For scalar case, we don't need to construct another type.
 5335|      0|            TIntermAggregate* result = (vecSize > 1) ? new TIntermAggregate(constructOp) : nullptr;
  ------------------
  |  Branch (5335:40): [True: 0, False: 0]
  ------------------
 5336|       |
 5337|      0|            if (result) {
  ------------------
  |  Branch (5337:17): [True: 0, False: 0]
  ------------------
 5338|      0|                result->setType(TType(EbtFloat, EvqTemporary, vecSize));
 5339|      0|                result->setLoc(loc);
 5340|      0|            }
 5341|       |
 5342|      0|            for (int idx = 0; idx < vecSize; ++idx) {
  ------------------
  |  Branch (5342:31): [True: 0, False: 0]
  ------------------
 5343|      0|                TIntermTyped* idxConst = intermediate.addConstantUnion(idx, loc, true);
 5344|      0|                TIntermTyped* component = argValue->getType().isVector() ?
  ------------------
  |  Branch (5344:43): [True: 0, False: 0]
  ------------------
 5345|      0|                    intermediate.addIndex(EOpIndexDirect, argValue, idxConst, loc) : argValue;
 5346|       |
 5347|      0|                if (component != argValue)
  ------------------
  |  Branch (5347:21): [True: 0, False: 0]
  ------------------
 5348|      0|                    component->setType(TType(argValue->getBasicType(), EvqTemporary));
 5349|       |
 5350|      0|                TIntermTyped* unpackOp  = new TIntermUnary(EOpUnpackHalf2x16);
 5351|      0|                unpackOp->setType(TType(EbtFloat, EvqTemporary, 2));
 5352|      0|                unpackOp->getAsUnaryNode()->setOperand(component);
 5353|      0|                unpackOp->setLoc(loc);
 5354|       |
 5355|      0|                TIntermTyped* lowOrder  = intermediate.addIndex(EOpIndexDirect, unpackOp, zero, loc);
 5356|       |
 5357|      0|                if (result != nullptr) {
  ------------------
  |  Branch (5357:21): [True: 0, False: 0]
  ------------------
 5358|      0|                    result->getSequence().push_back(lowOrder);
 5359|      0|                    node = result;
 5360|      0|                } else {
 5361|      0|                    node = lowOrder;
 5362|      0|                }
 5363|      0|            }
 5364|       |
 5365|      0|            break;
 5366|      0|        }
 5367|       |
 5368|      0|    case EOpF32tof16:
  ------------------
  |  Branch (5368:5): [True: 0, False: 2]
  ------------------
 5369|      0|        {
 5370|       |            // input floatN converted to 16 bit float in low order bits of each component of uintN
 5371|      0|            TIntermTyped* argValue = node->getAsUnaryNode()->getOperand();
 5372|       |
 5373|      0|            TIntermTyped* zero = intermediate.addConstantUnion(0.0, EbtFloat, loc, true);
 5374|      0|            const int vecSize = argValue->getType().getVectorSize();
 5375|       |
 5376|      0|            TOperator constructOp = EOpNull;
 5377|      0|            switch (vecSize) {
 5378|      0|            case 1: constructOp = EOpNull;           break; // direct use, no construct needed
  ------------------
  |  Branch (5378:13): [True: 0, False: 0]
  ------------------
 5379|      0|            case 2: constructOp = EOpConstructUVec2; break;
  ------------------
  |  Branch (5379:13): [True: 0, False: 0]
  ------------------
 5380|      0|            case 3: constructOp = EOpConstructUVec3; break;
  ------------------
  |  Branch (5380:13): [True: 0, False: 0]
  ------------------
 5381|      0|            case 4: constructOp = EOpConstructUVec4; break;
  ------------------
  |  Branch (5381:13): [True: 0, False: 0]
  ------------------
 5382|      0|            default: assert(0); break;
  ------------------
  |  Branch (5382:13): [True: 0, False: 0]
  ------------------
 5383|      0|            }
 5384|       |
 5385|       |            // For scalar case, we don't need to construct another type.
 5386|      0|            TIntermAggregate* result = (vecSize > 1) ? new TIntermAggregate(constructOp) : nullptr;
  ------------------
  |  Branch (5386:40): [True: 0, False: 0]
  ------------------
 5387|       |
 5388|      0|            if (result) {
  ------------------
  |  Branch (5388:17): [True: 0, False: 0]
  ------------------
 5389|      0|                result->setType(TType(EbtUint, EvqTemporary, vecSize));
 5390|      0|                result->setLoc(loc);
 5391|      0|            }
 5392|       |
 5393|      0|            for (int idx = 0; idx < vecSize; ++idx) {
  ------------------
  |  Branch (5393:31): [True: 0, False: 0]
  ------------------
 5394|      0|                TIntermTyped* idxConst = intermediate.addConstantUnion(idx, loc, true);
 5395|      0|                TIntermTyped* component = argValue->getType().isVector() ?
  ------------------
  |  Branch (5395:43): [True: 0, False: 0]
  ------------------
 5396|      0|                    intermediate.addIndex(EOpIndexDirect, argValue, idxConst, loc) : argValue;
 5397|       |
 5398|      0|                if (component != argValue)
  ------------------
  |  Branch (5398:21): [True: 0, False: 0]
  ------------------
 5399|      0|                    component->setType(TType(argValue->getBasicType(), EvqTemporary));
 5400|       |
 5401|      0|                TIntermAggregate* vec2ComponentAndZero = new TIntermAggregate(EOpConstructVec2);
 5402|      0|                vec2ComponentAndZero->getSequence().push_back(component);
 5403|      0|                vec2ComponentAndZero->getSequence().push_back(zero);
 5404|      0|                vec2ComponentAndZero->setType(TType(EbtFloat, EvqTemporary, 2));
 5405|      0|                vec2ComponentAndZero->setLoc(loc);
 5406|       |
 5407|      0|                TIntermTyped* packOp = new TIntermUnary(EOpPackHalf2x16);
 5408|      0|                packOp->getAsUnaryNode()->setOperand(vec2ComponentAndZero);
 5409|      0|                packOp->setLoc(loc);
 5410|      0|                packOp->setType(TType(EbtUint, EvqTemporary));
 5411|       |
 5412|      0|                if (result != nullptr) {
  ------------------
  |  Branch (5412:21): [True: 0, False: 0]
  ------------------
 5413|      0|                    result->getSequence().push_back(packOp);
 5414|      0|                    node = result;
 5415|      0|                } else {
 5416|      0|                    node = packOp;
 5417|      0|                }
 5418|      0|            }
 5419|       |
 5420|      0|            break;
 5421|      0|        }
 5422|       |
 5423|      0|    case EOpD3DCOLORtoUBYTE4:
  ------------------
  |  Branch (5423:5): [True: 0, False: 2]
  ------------------
 5424|      0|        {
 5425|       |            // ivec4 ( x.zyxw * 255.001953 );
 5426|      0|            TIntermTyped* arg0 = node->getAsUnaryNode()->getOperand();
 5427|      0|            TSwizzleSelectors<TVectorSelector> selectors;
 5428|      0|            selectors.push_back(2);
 5429|      0|            selectors.push_back(1);
 5430|      0|            selectors.push_back(0);
 5431|      0|            selectors.push_back(3);
 5432|      0|            TIntermTyped* swizzleIdx = intermediate.addSwizzle(selectors, loc);
 5433|      0|            TIntermTyped* swizzled = intermediate.addIndex(EOpVectorSwizzle, arg0, swizzleIdx, loc);
 5434|      0|            swizzled->setType(arg0->getType());
 5435|      0|            swizzled->getWritableType().getQualifier().makeTemporary();
 5436|       |
 5437|      0|            TIntermTyped* conversion = intermediate.addConstantUnion(255.001953f, EbtFloat, loc, true);
 5438|      0|            TIntermTyped* rangeConverted = handleBinaryMath(loc, "mul", EOpMul, conversion, swizzled);
 5439|      0|            rangeConverted->setType(arg0->getType());
 5440|      0|            rangeConverted->getWritableType().getQualifier().makeTemporary();
 5441|       |
 5442|      0|            node = intermediate.addConversion(EOpConstructInt, TType(EbtInt, EvqTemporary, 4), rangeConverted);
 5443|      0|            node->setLoc(loc);
 5444|      0|            node->setType(TType(EbtInt, EvqTemporary, 4));
 5445|      0|            break;
 5446|      0|        }
 5447|       |
 5448|      0|    case EOpIsFinite:
  ------------------
  |  Branch (5448:5): [True: 0, False: 2]
  ------------------
 5449|      0|        {
 5450|       |            // Since OPIsFinite in SPIR-V is only supported with the Kernel capability, we translate
 5451|       |            // it to !isnan && !isinf
 5452|       |
 5453|      0|            TIntermTyped* arg0 = node->getAsUnaryNode()->getOperand();
 5454|       |
 5455|       |            // We'll make a temporary in case the RHS is cmoplex
 5456|      0|            TVariable* tempArg = makeInternalVariable("@finitetmp", arg0->getType());
 5457|      0|            tempArg->getWritableType().getQualifier().makeTemporary();
 5458|       |
 5459|      0|            TIntermTyped* tmpArgAssign = intermediate.addAssign(EOpAssign,
 5460|      0|                                                                intermediate.addSymbol(*tempArg, loc),
 5461|      0|                                                                arg0, loc);
 5462|       |
 5463|      0|            TIntermAggregate* compoundStatement = intermediate.makeAggregate(tmpArgAssign, loc);
 5464|       |
 5465|      0|            const TType boolType(EbtBool, EvqTemporary, arg0->getVectorSize(), arg0->getMatrixCols(),
 5466|      0|                                 arg0->getMatrixRows());
 5467|       |
 5468|      0|            TIntermTyped* isnan = handleUnaryMath(loc, "isnan", EOpIsNan, intermediate.addSymbol(*tempArg, loc));
 5469|      0|            isnan->setType(boolType);
 5470|       |
 5471|      0|            TIntermTyped* notnan = handleUnaryMath(loc, "!", EOpLogicalNot, isnan);
 5472|      0|            notnan->setType(boolType);
 5473|       |
 5474|      0|            TIntermTyped* isinf = handleUnaryMath(loc, "isinf", EOpIsInf, intermediate.addSymbol(*tempArg, loc));
 5475|      0|            isinf->setType(boolType);
 5476|       |
 5477|      0|            TIntermTyped* notinf = handleUnaryMath(loc, "!", EOpLogicalNot, isinf);
 5478|      0|            notinf->setType(boolType);
 5479|       |
 5480|      0|            TIntermTyped* andNode = handleBinaryMath(loc, "and", EOpLogicalAnd, notnan, notinf);
 5481|      0|            andNode->setType(boolType);
 5482|       |
 5483|      0|            compoundStatement = intermediate.growAggregate(compoundStatement, andNode);
 5484|      0|            compoundStatement->setOperator(EOpSequence);
 5485|      0|            compoundStatement->setLoc(loc);
 5486|      0|            compoundStatement->setType(boolType);
 5487|       |
 5488|      0|            node = compoundStatement;
 5489|       |
 5490|      0|            break;
 5491|      0|        }
 5492|      0|    case EOpWaveGetLaneCount:
  ------------------
  |  Branch (5492:5): [True: 0, False: 2]
  ------------------
 5493|      0|        {
 5494|       |            // Mapped to gl_SubgroupSize builtin (We preprend @ to the symbol
 5495|       |            // so that it inhabits the symbol table, but has a user-invalid name
 5496|       |            // in-case some source HLSL defined the symbol also).
 5497|      0|            TType type(EbtUint, EvqVaryingIn);
 5498|      0|            node = lookupBuiltinVariable("@gl_SubgroupSize", EbvSubgroupSize2, type);
 5499|      0|            break;
 5500|      0|        }
 5501|      0|    case EOpWaveGetLaneIndex:
  ------------------
  |  Branch (5501:5): [True: 0, False: 2]
  ------------------
 5502|      0|        {
 5503|       |            // Mapped to gl_SubgroupInvocationID builtin (We preprend @ to the
 5504|       |            // symbol so that it inhabits the symbol table, but has a
 5505|       |            // user-invalid name in-case some source HLSL defined the symbol
 5506|       |            // also).
 5507|      0|            TType type(EbtUint, EvqVaryingIn);
 5508|      0|            node = lookupBuiltinVariable("@gl_SubgroupInvocationID", EbvSubgroupInvocation2, type);
 5509|      0|            break;
 5510|      0|        }
 5511|      0|    case EOpWaveActiveCountBits:
  ------------------
  |  Branch (5511:5): [True: 0, False: 2]
  ------------------
 5512|      0|        {
 5513|       |            // Mapped to subgroupBallotBitCount(subgroupBallot()) builtin
 5514|       |
 5515|       |            // uvec4 type.
 5516|      0|            TType uvec4Type(EbtUint, EvqTemporary, 4);
 5517|       |
 5518|       |            // Get the uvec4 return from subgroupBallot().
 5519|      0|            TIntermTyped* res = intermediate.addBuiltInFunctionCall(loc,
 5520|      0|                EOpSubgroupBallot, true, arguments, uvec4Type);
 5521|       |
 5522|       |            // uint type.
 5523|      0|            TType uintType(EbtUint, EvqTemporary);
 5524|       |
 5525|      0|            node = intermediate.addBuiltInFunctionCall(loc,
 5526|      0|                EOpSubgroupBallotBitCount, true, res, uintType);
 5527|       |
 5528|      0|            break;
 5529|      0|        }
 5530|      0|    case EOpWavePrefixCountBits:
  ------------------
  |  Branch (5530:5): [True: 0, False: 2]
  ------------------
 5531|      0|        {
 5532|       |            // Mapped to subgroupBallotExclusiveBitCount(subgroupBallot())
 5533|       |            // builtin
 5534|       |
 5535|       |            // uvec4 type.
 5536|      0|            TType uvec4Type(EbtUint, EvqTemporary, 4);
 5537|       |
 5538|       |            // Get the uvec4 return from subgroupBallot().
 5539|      0|            TIntermTyped* res = intermediate.addBuiltInFunctionCall(loc,
 5540|      0|                EOpSubgroupBallot, true, arguments, uvec4Type);
 5541|       |
 5542|       |            // uint type.
 5543|      0|            TType uintType(EbtUint, EvqTemporary);
 5544|       |
 5545|      0|            node = intermediate.addBuiltInFunctionCall(loc,
 5546|      0|                EOpSubgroupBallotExclusiveBitCount, true, res, uintType);
 5547|       |
 5548|      0|            break;
 5549|      0|        }
 5550|       |
 5551|      2|    default:
  ------------------
  |  Branch (5551:5): [True: 2, False: 0]
  ------------------
 5552|      2|        break; // most pass through unchanged
 5553|      2|    }
 5554|      2|}
_ZN7glslang16HlslParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEPNS_12TIntermTypedE:
 5566|      4|{
 5567|      4|    TIntermTyped* result = nullptr;
 5568|       |
 5569|      4|    TOperator op = function->getBuiltInOp();
 5570|      4|    if (op != EOpNull) {
  ------------------
  |  Branch (5570:9): [True: 2, False: 2]
  ------------------
 5571|       |        //
 5572|       |        // Then this should be a constructor.
 5573|       |        // Don't go through the symbol table for constructors.
 5574|       |        // Their parameters will be verified algorithmically.
 5575|       |        //
 5576|      2|        TType type(EbtVoid);  // use this to get the type back
 5577|      2|        if (! constructorError(loc, arguments, *function, op, type)) {
  ------------------
  |  Branch (5577:13): [True: 2, False: 0]
  ------------------
 5578|       |            //
 5579|       |            // It's a constructor, of type 'type'.
 5580|       |            //
 5581|      2|            result = handleConstructor(loc, arguments, type);
 5582|      2|            if (result == nullptr) {
  ------------------
  |  Branch (5582:17): [True: 0, False: 2]
  ------------------
 5583|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString().c_str(), "");
 5584|      0|                return nullptr;
 5585|      0|            }
 5586|      2|        }
 5587|      2|    } else {
 5588|       |        //
 5589|       |        // Find it in the symbol table.
 5590|       |        //
 5591|      2|        const TFunction* fnCandidate = nullptr;
 5592|      2|        bool builtIn = false;
 5593|      2|        int thisDepth = 0;
 5594|       |
 5595|       |        // For mat mul, the situation is unusual: we have to compare vector sizes to mat row or col sizes,
 5596|       |        // and clamp the opposite arg.  Since that's complex, we farm it off to a separate method.
 5597|       |        // It doesn't naturally fall out of processing an argument at a time in isolation.
 5598|      2|        if (function->getName() == "mul")
  ------------------
  |  Branch (5598:13): [True: 0, False: 2]
  ------------------
 5599|      0|            addGenMulArgumentConversion(loc, *function, arguments);
 5600|       |
 5601|      2|        TIntermAggregate* aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5601:39): [True: 0, False: 2]
  ------------------
 5602|       |
 5603|       |        // TODO: this needs improvement: there's no way at present to look up a signature in
 5604|       |        // the symbol table for an arbitrary type.  This is a temporary hack until that ability exists.
 5605|       |        // It will have false positives, since it doesn't check arg counts or types.
 5606|      2|        if (arguments) {
  ------------------
  |  Branch (5606:13): [True: 0, False: 2]
  ------------------
 5607|       |            // Check if first argument is struct buffer type.  It may be an aggregate or a symbol, so we
 5608|       |            // look for either case.
 5609|       |
 5610|      0|            TIntermTyped* arg0 = nullptr;
 5611|       |
 5612|      0|            if (aggregate && aggregate->getSequence().size() > 0 && aggregate->getSequence()[0])
  ------------------
  |  Branch (5612:17): [True: 0, False: 0]
  |  Branch (5612:30): [True: 0, False: 0]
  |  Branch (5612:69): [True: 0, False: 0]
  ------------------
 5613|      0|                arg0 = aggregate->getSequence()[0]->getAsTyped();
 5614|      0|            else if (arguments->getAsSymbolNode())
  ------------------
  |  Branch (5614:22): [True: 0, False: 0]
  ------------------
 5615|      0|                arg0 = arguments->getAsSymbolNode();
 5616|       |
 5617|      0|            if (arg0 != nullptr && isStructBufferType(arg0->getType())) {
  ------------------
  |  Branch (5617:17): [True: 0, False: 0]
  |  Branch (5617:36): [True: 0, False: 0]
  ------------------
 5618|      0|                static const int methodPrefixSize = sizeof(BUILTIN_PREFIX)-1;
  ------------------
  |  |  513|      0|#define BUILTIN_PREFIX "__BI_"
  ------------------
 5619|       |
 5620|      0|                if (function->getName().length() > methodPrefixSize &&
  ------------------
  |  Branch (5620:21): [True: 0, False: 0]
  |  Branch (5620:21): [True: 0, False: 0]
  ------------------
 5621|      0|                    isStructBufferMethod(function->getName().substr(methodPrefixSize))) {
  ------------------
  |  Branch (5621:21): [True: 0, False: 0]
  ------------------
 5622|      0|                    const TString mangle = function->getName() + "(";
 5623|      0|                    TSymbol* symbol = symbolTable.find(mangle, &builtIn);
 5624|       |
 5625|      0|                    if (symbol)
  ------------------
  |  Branch (5625:25): [True: 0, False: 0]
  ------------------
 5626|      0|                        fnCandidate = symbol->getAsFunction();
 5627|      0|                }
 5628|      0|            }
 5629|      0|        }
 5630|       |
 5631|      2|        if (fnCandidate == nullptr)
  ------------------
  |  Branch (5631:13): [True: 2, False: 0]
  ------------------
 5632|      2|            fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments);
 5633|       |
 5634|      2|        if (fnCandidate) {
  ------------------
  |  Branch (5634:13): [True: 2, False: 0]
  ------------------
 5635|       |            // This is a declared function that might map to
 5636|       |            //  - a built-in operator,
 5637|       |            //  - a built-in function not mapped to an operator, or
 5638|       |            //  - a user function.
 5639|       |
 5640|       |            // turn an implicit member-function resolution into an explicit call
 5641|      2|            TString callerName;
 5642|      2|            if (thisDepth == 0)
  ------------------
  |  Branch (5642:17): [True: 2, False: 0]
  ------------------
 5643|      2|                callerName = fnCandidate->getMangledName();
 5644|      0|            else {
 5645|       |                // get the explicit (full) name of the function
 5646|      0|                assert(currentTypePrefix.size() >= size_t(thisDepth));
 5647|      0|                callerName = currentTypePrefix[currentTypePrefix.size() - thisDepth];
 5648|      0|                callerName += fnCandidate->getMangledName();
 5649|       |                // insert the implicit calling argument
 5650|      0|                pushFrontArguments(intermediate.addSymbol(*getImplicitThis(thisDepth)), arguments);
 5651|      0|            }
 5652|       |
 5653|       |            // Convert 'in' arguments, so that types match.
 5654|       |            // However, skip those that need expansion, that is covered next.
 5655|      2|            if (arguments)
  ------------------
  |  Branch (5655:17): [True: 0, False: 2]
  ------------------
 5656|      0|                addInputArgumentConversions(*fnCandidate, arguments);
 5657|       |
 5658|       |            // Expand arguments.  Some arguments must physically expand to a different set
 5659|       |            // than what the shader declared and passes.
 5660|      2|            if (arguments && !builtIn)
  ------------------
  |  Branch (5660:17): [True: 0, False: 2]
  |  Branch (5660:30): [True: 0, False: 0]
  ------------------
 5661|      0|                expandArguments(loc, *fnCandidate, arguments);
 5662|       |
 5663|       |            // Expansion may have changed the form of arguments
 5664|      2|            aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5664:25): [True: 0, False: 2]
  ------------------
 5665|       |
 5666|      2|            op = fnCandidate->getBuiltInOp();
 5667|      2|            if (builtIn && op != EOpNull) {
  ------------------
  |  Branch (5667:17): [True: 0, False: 2]
  |  Branch (5667:28): [True: 0, False: 0]
  ------------------
 5668|       |                // SM 4.0 and above guarantees roundEven semantics for round()
 5669|      0|                if (!hlslDX9Compatible() && op == EOpRound)
  ------------------
  |  Branch (5669:21): [True: 0, False: 0]
  |  Branch (5669:45): [True: 0, False: 0]
  ------------------
 5670|      0|                    op = EOpRoundEven;
 5671|       |
 5672|       |                // A function call mapped to a built-in operation.
 5673|      0|                result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments,
 5674|      0|                                                             fnCandidate->getType());
 5675|      0|                if (result == nullptr)  {
  ------------------
  |  Branch (5675:21): [True: 0, False: 0]
  ------------------
 5676|      0|                    error(arguments->getLoc(), " wrong operand type", "Internal Error",
 5677|      0|                        "built in unary operator function.  Type: %s",
 5678|      0|                        static_cast<TIntermTyped*>(arguments)->getCompleteString().c_str());
 5679|      0|                } else if (result->getAsOperator()) {
  ------------------
  |  Branch (5679:28): [True: 0, False: 0]
  ------------------
 5680|      0|                    builtInOpCheck(loc, *fnCandidate, *result->getAsOperator());
 5681|      0|                }
 5682|      2|            } else {
 5683|       |                // This is a function call not mapped to built-in operator.
 5684|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 5685|      2|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 5686|      2|                TIntermAggregate* call = result->getAsAggregate();
 5687|      2|                call->setName(callerName);
 5688|       |
 5689|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 5690|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 5691|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 5692|      2|                if (! builtIn) {
  ------------------
  |  Branch (5692:21): [True: 2, False: 0]
  ------------------
 5693|      2|                    call->setUserDefined();
 5694|      2|                    intermediate.addToCallGraph(infoSink, currentCaller, callerName);
 5695|      2|                }
 5696|      2|            }
 5697|       |
 5698|       |            // for decompositions, since we want to operate on the function node, not the aggregate holding
 5699|       |            // output conversions.
 5700|      2|            const TIntermTyped* fnNode = result;
 5701|       |
 5702|      2|            decomposeStructBufferMethods(loc, result, arguments); // HLSL->AST struct buffer method decompositions
 5703|      2|            decomposeIntrinsic(loc, result, arguments);           // HLSL->AST intrinsic decompositions
 5704|      2|            decomposeSampleMethods(loc, result, arguments);       // HLSL->AST sample method decompositions
 5705|      2|            decomposeGeometryMethods(loc, result, arguments);     // HLSL->AST geometry method decompositions
 5706|       |
 5707|       |            // Create the qualifier list, carried in the AST for the call.
 5708|       |            // Because some arguments expand to multiple arguments, the qualifier list will
 5709|       |            // be longer than the formal parameter list.
 5710|      2|            if (result == fnNode && result->getAsAggregate()) {
  ------------------
  |  Branch (5710:17): [True: 2, False: 0]
  |  Branch (5710:37): [True: 2, False: 0]
  ------------------
 5711|      2|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 5712|      2|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (5712:33): [True: 0, False: 2]
  ------------------
 5713|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 5714|      0|                    if (hasStructBuffCounter(*(*fnCandidate)[i].type)) {
  ------------------
  |  Branch (5714:25): [True: 0, False: 0]
  ------------------
 5715|       |                        // add buffer and counter buffer argument qualifier
 5716|      0|                        qualifierList.push_back(qual);
 5717|      0|                        qualifierList.push_back(qual);
 5718|      0|                    } else if (shouldFlatten(*(*fnCandidate)[i].type, (*fnCandidate)[i].type->getQualifier().storage,
  ------------------
  |  Branch (5718:32): [True: 0, False: 0]
  ------------------
 5719|      0|                                             true)) {
 5720|       |                        // add structure member expansion
 5721|      0|                        for (int memb = 0; memb < (int)(*fnCandidate)[i].type->getStruct()->size(); ++memb)
  ------------------
  |  Branch (5721:44): [True: 0, False: 0]
  ------------------
 5722|      0|                            qualifierList.push_back(qual);
 5723|      0|                    } else {
 5724|       |                        // Normal 1:1 case
 5725|      0|                        qualifierList.push_back(qual);
 5726|      0|                    }
 5727|      0|                }
 5728|      2|            }
 5729|       |
 5730|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 5731|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 5732|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 5733|       |            // We don't do this is if there has been a decomposition, which will have added its own conversions
 5734|       |            // for output parameters.
 5735|      2|            if (result == fnNode && result->getAsAggregate())
  ------------------
  |  Branch (5735:17): [True: 2, False: 0]
  |  Branch (5735:37): [True: 2, False: 0]
  ------------------
 5736|      2|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsOperator());
 5737|      2|        }
 5738|      2|    }
 5739|       |
 5740|       |    // generic error recovery
 5741|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to
 5742|       |    //       reduce cascades
 5743|      4|    if (result == nullptr)
  ------------------
  |  Branch (5743:9): [True: 0, False: 4]
  ------------------
 5744|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 5745|       |
 5746|      4|    return result;
 5747|      4|}
_ZN7glslang16HlslParseContext28addOutputArgumentConversionsERKNS_9TFunctionERNS_15TIntermOperatorE:
 5990|      2|{
 5991|      2|    assert (intermNode.getAsAggregate() != nullptr || intermNode.getAsUnaryNode() != nullptr);
 5992|       |
 5993|      2|    const TSourceLoc& loc = intermNode.getLoc();
 5994|       |
 5995|      2|    TIntermSequence argSequence; // temp sequence for unary node args
 5996|       |
 5997|      2|    if (intermNode.getAsUnaryNode())
  ------------------
  |  Branch (5997:9): [True: 0, False: 2]
  ------------------
 5998|      0|        argSequence.push_back(intermNode.getAsUnaryNode()->getOperand());
 5999|       |
 6000|      2|    TIntermSequence& arguments = argSequence.empty() ? intermNode.getAsAggregate()->getSequence() : argSequence;
  ------------------
  |  Branch (6000:34): [True: 2, False: 0]
  ------------------
 6001|       |
 6002|      2|    const auto needsConversion = [&](int argNum) {
 6003|      2|        return function[argNum].type->getQualifier().isParamOutput() &&
 6004|      2|               (*function[argNum].type != arguments[argNum]->getAsTyped()->getType() ||
 6005|      2|                shouldConvertLValue(arguments[argNum]) ||
 6006|      2|                wasFlattened(arguments[argNum]->getAsTyped()));
 6007|      2|    };
 6008|       |
 6009|       |    // Will there be any output conversions?
 6010|      2|    bool outputConversions = false;
 6011|      2|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (6011:21): [True: 0, False: 2]
  ------------------
 6012|      0|        if (needsConversion(i)) {
  ------------------
  |  Branch (6012:13): [True: 0, False: 0]
  ------------------
 6013|      0|            outputConversions = true;
 6014|      0|            break;
 6015|      0|        }
 6016|      0|    }
 6017|       |
 6018|      2|    if (! outputConversions)
  ------------------
  |  Branch (6018:9): [True: 2, False: 0]
  ------------------
 6019|      2|        return &intermNode;
 6020|       |
 6021|       |    // Setup for the new tree, if needed:
 6022|       |    //
 6023|       |    // Output conversions need a different tree topology.
 6024|       |    // Out-qualified arguments need a temporary of the correct type, with the call
 6025|       |    // followed by an assignment of the temporary to the original argument:
 6026|       |    //     void: function(arg, ...)  ->        (          function(tempArg, ...), arg = tempArg, ...)
 6027|       |    //     ret = function(arg, ...)  ->  ret = (tempRet = function(tempArg, ...), arg = tempArg, ..., tempRet)
 6028|       |    // Where the "tempArg" type needs no conversion as an argument, but will convert on assignment.
 6029|      0|    TIntermTyped* conversionTree = nullptr;
 6030|      0|    TVariable* tempRet = nullptr;
 6031|      0|    if (intermNode.getBasicType() != EbtVoid) {
  ------------------
  |  Branch (6031:9): [True: 0, False: 0]
  ------------------
 6032|       |        // do the "tempRet = function(...), " bit from above
 6033|      0|        tempRet = makeInternalVariable("tempReturn", intermNode.getType());
 6034|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, loc);
 6035|      0|        conversionTree = intermediate.addAssign(EOpAssign, tempRetNode, &intermNode, loc);
 6036|      0|    } else
 6037|      0|        conversionTree = &intermNode;
 6038|       |
 6039|      0|    conversionTree = intermediate.makeAggregate(conversionTree);
 6040|       |
 6041|       |    // Process each argument's conversion
 6042|      0|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (6042:21): [True: 0, False: 0]
  ------------------
 6043|      0|        if (needsConversion(i)) {
  ------------------
  |  Branch (6043:13): [True: 0, False: 0]
  ------------------
 6044|       |            // Out-qualified arguments needing conversion need to use the topology setup above.
 6045|       |            // Do the " ...(tempArg, ...), arg = tempArg" bit from above.
 6046|       |
 6047|       |            // Make a temporary for what the function expects the argument to look like.
 6048|      0|            TVariable* tempArg = makeInternalVariable("tempArg", *function[i].type);
 6049|      0|            tempArg->getWritableType().getQualifier().makeTemporary();
 6050|      0|            TIntermSymbol* tempArgNode = intermediate.addSymbol(*tempArg, loc);
 6051|       |
 6052|       |            // This makes the deepest level, the member-wise copy
 6053|      0|            TIntermTyped* tempAssign = handleAssign(arguments[i]->getLoc(), EOpAssign, arguments[i]->getAsTyped(),
 6054|      0|                                                    tempArgNode);
 6055|      0|            tempAssign = handleLvalue(arguments[i]->getLoc(), "assign", tempAssign);
 6056|      0|            conversionTree = intermediate.growAggregate(conversionTree, tempAssign, arguments[i]->getLoc());
 6057|       |
 6058|       |            // replace the argument with another node for the same tempArg variable
 6059|      0|            arguments[i] = intermediate.addSymbol(*tempArg, loc);
 6060|      0|        }
 6061|      0|    }
 6062|       |
 6063|       |    // Finalize the tree topology (see bigger comment above).
 6064|      0|    if (tempRet) {
  ------------------
  |  Branch (6064:9): [True: 0, False: 0]
  ------------------
 6065|       |        // do the "..., tempRet" bit from above
 6066|      0|        TIntermSymbol* tempRetNode = intermediate.addSymbol(*tempRet, loc);
 6067|      0|        conversionTree = intermediate.growAggregate(conversionTree, tempRetNode, loc);
 6068|      0|    }
 6069|       |
 6070|      0|    conversionTree = intermediate.setAggregateOperator(conversionTree, EOpComma, intermNode.getType(), loc);
 6071|       |
 6072|      0|    return conversionTree;
 6073|      2|}
_ZN7glslang16HlslParseContext19makeConstructorCallERKNS_10TSourceLocERKNS_5TTypeE:
 6285|     75|{
 6286|     75|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 6287|       |
 6288|     75|    if (op == EOpNull) {
  ------------------
  |  Branch (6288:9): [True: 0, False: 75]
  ------------------
 6289|      0|        error(loc, "cannot construct this type", type.getBasicString(), "");
 6290|      0|        return nullptr;
 6291|      0|    }
 6292|       |
 6293|     75|    TString empty("");
 6294|       |
 6295|     75|    return new TFunction(&empty, type, op);
 6296|     75|}
_ZN7glslang16HlslParseContext28convertConditionalExpressionERKNS_10TSourceLocEPNS_12TIntermTypedEb:
 6522|      4|{
 6523|      4|    if (mustBeScalar && !condition->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (6523:9): [True: 0, False: 4]
  |  Branch (6523:25): [True: 0, False: 0]
  ------------------
 6524|      0|        error(loc, "requires a scalar", "conditional expression", "");
 6525|      0|        return nullptr;
 6526|      0|    }
 6527|       |
 6528|      4|    return intermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVectorSize()),
 6529|      4|                                      condition);
 6530|      4|}
_ZN7glslang16HlslParseContext13variableCheckERPNS_12TIntermTypedE:
 6568|      1|{
 6569|      1|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 6570|      1|    if (! symbol)
  ------------------
  |  Branch (6570:9): [True: 1, False: 0]
  ------------------
 6571|      1|        return;
 6572|       |
 6573|      0|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6573:9): [True: 0, False: 0]
  ------------------
 6574|      0|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), "");
 6575|       |
 6576|       |        // Add to symbol table to prevent future error messages on the same name
 6577|      0|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (6577:13): [True: 0, False: 0]
  ------------------
 6578|      0|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 6579|      0|            symbolTable.insert(*fakeVariable);
 6580|       |
 6581|       |            // substitute a symbol node for this new variable
 6582|      0|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 6583|      0|        }
 6584|      0|    }
 6585|      0|}
_ZN7glslang16HlslParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 6633|      2|{
 6634|      2|    type.shallowCopy(function.getType());
 6635|       |
 6636|      2|    bool constructingMatrix = false;
 6637|      2|    switch (op) {
 6638|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (6638:5): [True: 0, False: 2]
  ------------------
 6639|      0|        error(loc, "unhandled texture constructor", "constructor", "");
 6640|      0|        return true;
 6641|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (6641:5): [True: 0, False: 2]
  ------------------
 6642|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (6642:5): [True: 0, False: 2]
  ------------------
 6643|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (6643:5): [True: 0, False: 2]
  ------------------
 6644|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (6644:5): [True: 0, False: 2]
  ------------------
 6645|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (6645:5): [True: 0, False: 2]
  ------------------
 6646|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (6646:5): [True: 0, False: 2]
  ------------------
 6647|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (6647:5): [True: 0, False: 2]
  ------------------
 6648|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (6648:5): [True: 0, False: 2]
  ------------------
 6649|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (6649:5): [True: 0, False: 2]
  ------------------
 6650|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (6650:5): [True: 0, False: 2]
  ------------------
 6651|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (6651:5): [True: 0, False: 2]
  ------------------
 6652|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (6652:5): [True: 0, False: 2]
  ------------------
 6653|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (6653:5): [True: 0, False: 2]
  ------------------
 6654|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (6654:5): [True: 0, False: 2]
  ------------------
 6655|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (6655:5): [True: 0, False: 2]
  ------------------
 6656|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (6656:5): [True: 0, False: 2]
  ------------------
 6657|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (6657:5): [True: 0, False: 2]
  ------------------
 6658|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (6658:5): [True: 0, False: 2]
  ------------------
 6659|      0|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (6659:5): [True: 0, False: 2]
  ------------------
 6660|      0|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (6660:5): [True: 0, False: 2]
  ------------------
 6661|      0|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (6661:5): [True: 0, False: 2]
  ------------------
 6662|      0|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (6662:5): [True: 0, False: 2]
  ------------------
 6663|      0|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (6663:5): [True: 0, False: 2]
  ------------------
 6664|      0|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (6664:5): [True: 0, False: 2]
  ------------------
 6665|      0|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (6665:5): [True: 0, False: 2]
  ------------------
 6666|      0|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (6666:5): [True: 0, False: 2]
  ------------------
 6667|      0|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (6667:5): [True: 0, False: 2]
  ------------------
 6668|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (6668:5): [True: 0, False: 2]
  ------------------
 6669|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (6669:5): [True: 0, False: 2]
  ------------------
 6670|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (6670:5): [True: 0, False: 2]
  ------------------
 6671|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (6671:5): [True: 0, False: 2]
  ------------------
 6672|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (6672:5): [True: 0, False: 2]
  ------------------
 6673|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (6673:5): [True: 0, False: 2]
  ------------------
 6674|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (6674:5): [True: 0, False: 2]
  ------------------
 6675|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (6675:5): [True: 0, False: 2]
  ------------------
 6676|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (6676:5): [True: 0, False: 2]
  ------------------
 6677|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (6677:5): [True: 0, False: 2]
  ------------------
 6678|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (6678:5): [True: 0, False: 2]
  ------------------
 6679|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (6679:5): [True: 0, False: 2]
  ------------------
 6680|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (6680:5): [True: 0, False: 2]
  ------------------
 6681|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (6681:5): [True: 0, False: 2]
  ------------------
 6682|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (6682:5): [True: 0, False: 2]
  ------------------
 6683|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (6683:5): [True: 0, False: 2]
  ------------------
 6684|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (6684:5): [True: 0, False: 2]
  ------------------
 6685|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (6685:5): [True: 0, False: 2]
  ------------------
 6686|      0|        constructingMatrix = true;
 6687|      0|        break;
 6688|      2|    default:
  ------------------
  |  Branch (6688:5): [True: 2, False: 0]
  ------------------
 6689|      2|        break;
 6690|      2|    }
 6691|       |
 6692|       |    //
 6693|       |    // Walk the arguments for first-pass checks and collection of information.
 6694|       |    //
 6695|       |
 6696|      2|    int size = 0;
 6697|      2|    bool constType = true;
 6698|      2|    bool full = false;
 6699|      2|    bool overFull = false;
 6700|      2|    bool matrixInMatrix = false;
 6701|      2|    bool arrayArg = false;
 6702|      4|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (6702:23): [True: 2, False: 2]
  ------------------
 6703|      2|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (6703:13): [True: 0, False: 2]
  ------------------
 6704|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (6704:17): [True: 0, False: 0]
  ------------------
 6705|       |                // Can't construct from an unsized array.
 6706|      0|                error(loc, "array argument must be sized", "constructor", "");
 6707|      0|                return true;
 6708|      0|            }
 6709|      0|            arrayArg = true;
 6710|      0|        }
 6711|      2|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (6711:13): [True: 0, False: 2]
  |  Branch (6711:35): [True: 0, False: 0]
  ------------------
 6712|      0|            matrixInMatrix = true;
 6713|       |
 6714|       |        // 'full' will go to true when enough args have been seen.  If we loop
 6715|       |        // again, there is an extra argument.
 6716|      2|        if (full) {
  ------------------
  |  Branch (6716:13): [True: 0, False: 2]
  ------------------
 6717|       |            // For vectors and matrices, it's okay to have too many components
 6718|       |            // available, but not okay to have unused arguments.
 6719|      0|            overFull = true;
 6720|      0|        }
 6721|       |
 6722|      2|        size += function[arg].type->computeNumComponents();
 6723|      2|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (6723:13): [True: 2, False: 0]
  |  Branch (6723:41): [True: 2, False: 0]
  |  Branch (6723:61): [True: 2, False: 0]
  ------------------
 6724|      2|            full = true;
 6725|       |
 6726|      2|        if (function[arg].type->getQualifier().storage != EvqConst)
  ------------------
  |  Branch (6726:13): [True: 2, False: 0]
  ------------------
 6727|      2|            constType = false;
 6728|      2|    }
 6729|       |
 6730|      2|    if (constType)
  ------------------
  |  Branch (6730:9): [True: 0, False: 2]
  ------------------
 6731|      0|        type.getQualifier().storage = EvqConst;
 6732|       |
 6733|      2|    if (type.isArray()) {
  ------------------
  |  Branch (6733:9): [True: 0, False: 2]
  ------------------
 6734|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (6734:13): [True: 0, False: 0]
  ------------------
 6735|      0|            error(loc, "array constructor must have at least one argument", "constructor", "");
 6736|      0|            return true;
 6737|      0|        }
 6738|       |
 6739|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (6739:13): [True: 0, False: 0]
  ------------------
 6740|       |            // auto adapt the constructor type to the number of arguments
 6741|      0|            type.changeOuterArraySize(function.getParamCount());
 6742|      0|        } else if (type.getOuterArraySize() != function.getParamCount() && type.computeNumComponents() > size) {
  ------------------
  |  Branch (6742:20): [True: 0, False: 0]
  |  Branch (6742:76): [True: 0, False: 0]
  ------------------
 6743|      0|            error(loc, "array constructor needs one argument per array element", "constructor", "");
 6744|      0|            return true;
 6745|      0|        }
 6746|       |
 6747|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (6747:13): [True: 0, False: 0]
  ------------------
 6748|       |            // Types have to match, but we're still making the type.
 6749|       |            // Finish making the type, and the comparison is done later
 6750|       |            // when checking for conversion.
 6751|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 6752|       |
 6753|       |            // At least the dimensionalities have to match.
 6754|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (6754:17): [True: 0, False: 0]
  ------------------
 6755|      0|                arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (6755:17): [True: 0, False: 0]
  ------------------
 6756|      0|                error(loc, "array constructor argument not correct type to construct array element", "constructor", "");
 6757|      0|                return true;
 6758|      0|            }
 6759|       |
 6760|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (6760:17): [True: 0, False: 0]
  ------------------
 6761|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 6762|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 6763|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (6763:33): [True: 0, False: 0]
  ------------------
 6764|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (6764:25): [True: 0, False: 0]
  ------------------
 6765|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 6766|      0|                    }
 6767|      0|                }
 6768|      0|            }
 6769|      0|        }
 6770|      0|    }
 6771|       |
 6772|       |    // Some array -> array type casts are okay
 6773|      2|    if (arrayArg && function.getParamCount() == 1 && op != EOpConstructStruct && type.isArray() &&
  ------------------
  |  Branch (6773:9): [True: 0, False: 2]
  |  Branch (6773:21): [True: 0, False: 0]
  |  Branch (6773:54): [True: 0, False: 0]
  |  Branch (6773:82): [True: 0, False: 0]
  ------------------
 6774|      0|        !type.isArrayOfArrays() && !function[0].type->isArrayOfArrays() &&
  ------------------
  |  Branch (6774:9): [True: 0, False: 0]
  |  Branch (6774:36): [True: 0, False: 0]
  ------------------
 6775|      0|        type.getVectorSize() >= 1 && function[0].type->getVectorSize() >= 1)
  ------------------
  |  Branch (6775:9): [True: 0, False: 0]
  |  Branch (6775:38): [True: 0, False: 0]
  ------------------
 6776|      0|        return false;
 6777|       |
 6778|      2|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (6778:9): [True: 0, False: 2]
  |  Branch (6778:21): [True: 0, False: 0]
  |  Branch (6778:49): [True: 0, False: 0]
  ------------------
 6779|      0|        error(loc, "constructing non-array constituent from array argument", "constructor", "");
 6780|      0|        return true;
 6781|      0|    }
 6782|       |
 6783|      2|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (6783:9): [True: 0, False: 2]
  |  Branch (6783:27): [True: 0, False: 0]
  ------------------
 6784|      0|        return false;
 6785|      0|    }
 6786|       |
 6787|      2|    if (overFull) {
  ------------------
  |  Branch (6787:9): [True: 0, False: 2]
  ------------------
 6788|      0|        error(loc, "too many arguments", "constructor", "");
 6789|      0|        return true;
 6790|      0|    }
 6791|       |
 6792|      2|    if (op == EOpConstructStruct && ! type.isArray()) {
  ------------------
  |  Branch (6792:9): [True: 0, False: 2]
  |  Branch (6792:37): [True: 0, False: 0]
  ------------------
 6793|      0|        if (isScalarConstructor(node))
  ------------------
  |  Branch (6793:13): [True: 0, False: 0]
  ------------------
 6794|      0|            return false;
 6795|       |
 6796|       |        // Self-type construction: e.g, we can construct a struct from a single identically typed object.
 6797|      0|        if (function.getParamCount() == 1 && type == *function[0].type)
  ------------------
  |  Branch (6797:13): [True: 0, False: 0]
  |  Branch (6797:46): [True: 0, False: 0]
  ------------------
 6798|      0|            return false;
 6799|       |
 6800|      0|        if ((int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (6800:13): [True: 0, False: 0]
  ------------------
 6801|      0|            error(loc, "Number of constructor parameters does not match the number of structure fields", "constructor", "");
 6802|      0|            return true;
 6803|      0|        }
 6804|      0|    }
 6805|       |
 6806|      2|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (6806:10): [True: 2, False: 0]
  |  Branch (6806:38): [True: 1, False: 1]
  |  Branch (6806:51): [True: 0, False: 1]
  ------------------
 6807|      2|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (6807:10): [True: 0, False: 2]
  |  Branch (6807:38): [True: 0, False: 0]
  ------------------
 6808|      0|        error(loc, "not enough data provided for construction", "constructor", "");
 6809|      0|        return true;
 6810|      0|    }
 6811|       |
 6812|      2|    return false;
 6813|      2|}
_ZN7glslang16HlslParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 6837|      2|{
 6838|      2|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (6838:9): [True: 0, False: 2]
  ------------------
 6839|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 6840|      0|        return true;
 6841|      0|    }
 6842|       |
 6843|      2|    return false;
 6844|      2|}
_ZN7glslang16HlslParseContext12fixConstInitERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeERPNS_12TIntermTypedE:
 7028|      2|{
 7029|       |    //
 7030|       |    // Make the qualifier make sense, given that there is an initializer.
 7031|       |    //
 7032|      2|    if (initializer == nullptr) {
  ------------------
  |  Branch (7032:9): [True: 2, False: 0]
  ------------------
 7033|      2|        if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (7033:13): [True: 0, False: 2]
  ------------------
 7034|      2|            type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (7034:13): [True: 0, False: 2]
  ------------------
 7035|      0|            initializer = intermediate.makeAggregate(loc);
 7036|      0|            warn(loc, "variable with qualifier 'const' not initialized; zero initializing", identifier.c_str(), "");
 7037|      0|        }
 7038|      2|    }
 7039|      2|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7154|   746k|{
 7155|   746k|    switch (type.getQualifier().storage) {
 7156|      0|    case EvqConst:
  ------------------
  |  Branch (7156:5): [True: 0, False: 746k]
  ------------------
 7157|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7158|      0|        break;
 7159|      0|    case EvqGlobal:
  ------------------
  |  Branch (7159:5): [True: 0, False: 746k]
  ------------------
 7160|   674k|    case EvqTemporary:
  ------------------
  |  Branch (7160:5): [True: 674k, False: 72.2k]
  ------------------
 7161|   674k|        type.getQualifier().storage = EvqIn;
 7162|   674k|        break;
 7163|      0|    case EvqBuffer:
  ------------------
  |  Branch (7163:5): [True: 0, False: 746k]
  ------------------
 7164|      0|        {
 7165|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7166|      0|            correctUniform(type.getQualifier());
 7167|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7168|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7169|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7170|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7171|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7172|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7173|      0|            type.getQualifier() = bufferQualifier;
 7174|      0|            break;
 7175|      0|        }
 7176|  72.2k|    default:
  ------------------
  |  Branch (7176:5): [True: 72.2k, False: 674k]
  ------------------
 7177|  72.2k|        break;
 7178|   746k|    }
 7179|   746k|}
_ZN7glslang16HlslParseContext12findFunctionERKNS_10TSourceLocERNS_9TFunctionERbRiRPNS_12TIntermTypedE:
 7628|      2|{
 7629|      2|    if (symbolTable.isFunctionNameVariable(call.getName())) {
  ------------------
  |  Branch (7629:9): [True: 0, False: 2]
  ------------------
 7630|      0|        error(loc, "can't use function syntax on variable", call.getName().c_str(), "");
 7631|      0|        return nullptr;
 7632|      0|    }
 7633|       |
 7634|       |    // first, look for an exact match
 7635|      2|    bool dummyScope;
 7636|      2|    TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn, &dummyScope, &thisDepth);
 7637|      2|    if (symbol)
  ------------------
  |  Branch (7637:9): [True: 2, False: 0]
  ------------------
 7638|      2|        return symbol->getAsFunction();
 7639|       |
 7640|       |    // no exact match, use the generic selector, parameterized by the GLSL rules
 7641|       |
 7642|       |    // create list of candidates to send
 7643|      0|    TVector<const TFunction*> candidateList;
 7644|      0|    symbolTable.findFunctionNameList(call.getMangledName(), candidateList, builtIn);
 7645|       |
 7646|       |    // These built-in ops can accept any type, so we bypass the argument selection
 7647|      0|    if (candidateList.size() == 1 && builtIn &&
  ------------------
  |  Branch (7647:9): [True: 0, False: 0]
  |  Branch (7647:38): [True: 0, False: 0]
  ------------------
 7648|      0|        (candidateList[0]->getBuiltInOp() == EOpMethodAppend ||
  ------------------
  |  Branch (7648:10): [True: 0, False: 0]
  ------------------
 7649|      0|         candidateList[0]->getBuiltInOp() == EOpMethodRestartStrip ||
  ------------------
  |  Branch (7649:10): [True: 0, False: 0]
  ------------------
 7650|      0|         candidateList[0]->getBuiltInOp() == EOpMethodIncrementCounter ||
  ------------------
  |  Branch (7650:10): [True: 0, False: 0]
  ------------------
 7651|      0|         candidateList[0]->getBuiltInOp() == EOpMethodDecrementCounter ||
  ------------------
  |  Branch (7651:10): [True: 0, False: 0]
  ------------------
 7652|      0|         candidateList[0]->getBuiltInOp() == EOpMethodConsume)) {
  ------------------
  |  Branch (7652:10): [True: 0, False: 0]
  ------------------
 7653|      0|        return candidateList[0];
 7654|      0|    }
 7655|       |
 7656|      0|    bool allowOnlyUpConversions = true;
 7657|       |
 7658|       |    // can 'from' convert to 'to'?
 7659|      0|    const auto convertible = [&](const TType& from, const TType& to, TOperator op, int arg) -> bool {
 7660|      0|        if (from == to)
 7661|      0|            return true;
 7662|       |
 7663|       |        // no aggregate conversions
 7664|      0|        if (from.isArray()  || to.isArray() ||
 7665|      0|            from.isStruct() || to.isStruct())
 7666|      0|            return false;
 7667|       |
 7668|      0|        switch (op) {
 7669|      0|        case EOpInterlockedAdd:
 7670|      0|        case EOpInterlockedAnd:
 7671|      0|        case EOpInterlockedCompareExchange:
 7672|      0|        case EOpInterlockedCompareStore:
 7673|      0|        case EOpInterlockedExchange:
 7674|      0|        case EOpInterlockedMax:
 7675|      0|        case EOpInterlockedMin:
 7676|      0|        case EOpInterlockedOr:
 7677|      0|        case EOpInterlockedXor:
 7678|       |            // We do not promote the texture or image type for these ocodes.  Normally that would not
 7679|       |            // be an issue because it's a buffer, but we haven't decomposed the opcode yet, and at this
 7680|       |            // stage it's merely e.g, a basic integer type.
 7681|       |            //
 7682|       |            // Instead, we want to promote other arguments, but stay within the same family.  In other
 7683|       |            // words, InterlockedAdd(RWBuffer<int>, ...) will always use the int flavor, never the uint flavor,
 7684|       |            // but it is allowed to promote its other arguments.
 7685|      0|            if (arg == 0)
 7686|      0|                return false;
 7687|      0|            break;
 7688|      0|        case EOpMethodSample:
 7689|      0|        case EOpMethodSampleBias:
 7690|      0|        case EOpMethodSampleCmp:
 7691|      0|        case EOpMethodSampleCmpLevelZero:
 7692|      0|        case EOpMethodSampleGrad:
 7693|      0|        case EOpMethodSampleLevel:
 7694|      0|        case EOpMethodLoad:
 7695|      0|        case EOpMethodGetDimensions:
 7696|      0|        case EOpMethodGetSamplePosition:
 7697|      0|        case EOpMethodGather:
 7698|      0|        case EOpMethodCalculateLevelOfDetail:
 7699|      0|        case EOpMethodCalculateLevelOfDetailUnclamped:
 7700|      0|        case EOpMethodGatherRed:
 7701|      0|        case EOpMethodGatherGreen:
 7702|      0|        case EOpMethodGatherBlue:
 7703|      0|        case EOpMethodGatherAlpha:
 7704|      0|        case EOpMethodGatherCmp:
 7705|      0|        case EOpMethodGatherCmpRed:
 7706|      0|        case EOpMethodGatherCmpGreen:
 7707|      0|        case EOpMethodGatherCmpBlue:
 7708|      0|        case EOpMethodGatherCmpAlpha:
 7709|      0|        case EOpMethodAppend:
 7710|      0|        case EOpMethodRestartStrip:
 7711|       |            // those are method calls, the object type can not be changed
 7712|       |            // they are equal if the dim and type match (is dim sufficient?)
 7713|      0|            if (arg == 0)
 7714|      0|                return from.getSampler().type == to.getSampler().type &&
 7715|      0|                       from.getSampler().arrayed == to.getSampler().arrayed &&
 7716|      0|                       from.getSampler().shadow == to.getSampler().shadow &&
 7717|      0|                       from.getSampler().ms == to.getSampler().ms &&
 7718|      0|                       from.getSampler().dim == to.getSampler().dim;
 7719|      0|            break;
 7720|      0|        default:
 7721|      0|            break;
 7722|      0|        }
 7723|       |
 7724|       |        // basic types have to be convertible
 7725|      0|        if (allowOnlyUpConversions)
 7726|      0|            if (! intermediate.canImplicitlyPromote(from.getBasicType(), to.getBasicType(), EOpFunctionCall))
 7727|      0|                return false;
 7728|       |
 7729|       |        // shapes have to be convertible
 7730|      0|        if ((from.isScalarOrVec1() && to.isScalarOrVec1()) ||
 7731|      0|            (from.isScalarOrVec1() && to.isVector())    ||
 7732|      0|            (from.isScalarOrVec1() && to.isMatrix())    ||
 7733|      0|            (from.isVector() && to.isVector() && from.getVectorSize() >= to.getVectorSize()))
 7734|      0|            return true;
 7735|       |
 7736|       |        // TODO: what are the matrix rules? they go here
 7737|       |
 7738|      0|        return false;
 7739|      0|    };
 7740|       |
 7741|       |    // Is 'to2' a better conversion than 'to1'?
 7742|       |    // Ties should not be considered as better.
 7743|       |    // Assumes 'convertible' already said true.
 7744|      0|    const auto better = [](const TType& from, const TType& to1, const TType& to2) -> bool {
 7745|       |        // exact match is always better than mismatch
 7746|      0|        if (from == to2)
 7747|      0|            return from != to1;
 7748|      0|        if (from == to1)
 7749|      0|            return false;
 7750|       |
 7751|       |        // shape changes are always worse
 7752|      0|        if (from.isScalar() || from.isVector()) {
 7753|      0|            if (from.getVectorSize() == to2.getVectorSize() &&
 7754|      0|                from.getVectorSize() != to1.getVectorSize())
 7755|      0|                return true;
 7756|      0|            if (from.getVectorSize() == to1.getVectorSize() &&
 7757|      0|                from.getVectorSize() != to2.getVectorSize())
 7758|      0|                return false;
 7759|      0|        }
 7760|       |
 7761|       |        // Handle sampler betterness: An exact sampler match beats a non-exact match.
 7762|       |        // (If we just looked at basic type, all EbtSamplers would look the same).
 7763|       |        // If any type is not a sampler, just use the linearize function below.
 7764|      0|        if (from.getBasicType() == EbtSampler && to1.getBasicType() == EbtSampler && to2.getBasicType() == EbtSampler) {
 7765|       |            // We can ignore the vector size in the comparison.
 7766|      0|            TSampler to1Sampler = to1.getSampler();
 7767|      0|            TSampler to2Sampler = to2.getSampler();
 7768|       |
 7769|      0|            to1Sampler.vectorSize = to2Sampler.vectorSize = from.getSampler().vectorSize;
 7770|       |
 7771|      0|            if (from.getSampler() == to2Sampler)
 7772|      0|                return from.getSampler() != to1Sampler;
 7773|      0|            if (from.getSampler() == to1Sampler)
 7774|      0|                return false;
 7775|      0|        }
 7776|       |
 7777|       |        // Might or might not be changing shape, which means basic type might
 7778|       |        // or might not match, so within that, the question is how big a
 7779|       |        // basic-type conversion is being done.
 7780|       |        //
 7781|       |        // Use a hierarchy of domains, translated to order of magnitude
 7782|       |        // in a linearized view:
 7783|       |        //   - floating-point vs. integer
 7784|       |        //     - 32 vs. 64 bit (or width in general)
 7785|       |        //       - bool vs. non bool
 7786|       |        //         - signed vs. not signed
 7787|      0|        const auto linearize = [](const TBasicType& basicType) -> int {
 7788|      0|            switch (basicType) {
 7789|      0|            case EbtBool:     return 1;
 7790|      0|            case EbtInt:      return 10;
 7791|      0|            case EbtUint:     return 11;
 7792|      0|            case EbtInt64:    return 20;
 7793|      0|            case EbtUint64:   return 21;
 7794|      0|            case EbtFloat:    return 100;
 7795|      0|            case EbtDouble:   return 110;
 7796|      0|            default:          return 0;
 7797|      0|            }
 7798|      0|        };
 7799|       |
 7800|      0|        return abs(linearize(to2.getBasicType()) - linearize(from.getBasicType())) <
 7801|      0|               abs(linearize(to1.getBasicType()) - linearize(from.getBasicType()));
 7802|      0|    };
 7803|       |
 7804|       |    // for ambiguity reporting
 7805|      0|    bool tie = false;
 7806|       |
 7807|       |    // send to the generic selector
 7808|      0|    const TFunction* bestMatch = nullptr;
 7809|       |
 7810|       |    // printf has var args and is in the symbol table as "printf()",
 7811|       |    // mangled to "printf("
 7812|      0|    if (call.getName() == "printf") {
  ------------------
  |  Branch (7812:9): [True: 0, False: 0]
  ------------------
 7813|      0|        TSymbol* symbol = symbolTable.find("printf(", &builtIn);
 7814|      0|        if (symbol)
  ------------------
  |  Branch (7814:13): [True: 0, False: 0]
  ------------------
 7815|      0|            return symbol->getAsFunction();
 7816|      0|    }
 7817|       |
 7818|      0|    bestMatch = selectFunction(candidateList, call, convertible, better, tie);
 7819|       |
 7820|      0|    if (bestMatch == nullptr) {
  ------------------
  |  Branch (7820:9): [True: 0, False: 0]
  ------------------
 7821|       |        // If there is nothing selected by allowing only up-conversions (to a larger linearize() value),
 7822|       |        // we instead try down-conversions, which are valid in HLSL, but not preferred if there are any
 7823|       |        // upconversions possible.
 7824|      0|        allowOnlyUpConversions = false;
 7825|      0|        bestMatch = selectFunction(candidateList, call, convertible, better, tie);
 7826|      0|    }
 7827|       |
 7828|      0|    if (bestMatch == nullptr) {
  ------------------
  |  Branch (7828:9): [True: 0, False: 0]
  ------------------
 7829|      0|        error(loc, "no matching overloaded function found", call.getName().c_str(), "");
 7830|      0|        return nullptr;
 7831|      0|    }
 7832|       |
 7833|       |    // For built-ins, we can convert across the arguments.  This will happen in several steps:
 7834|       |    // Step 1:  If there's an exact match, use it.
 7835|       |    // Step 2a: Otherwise, get the operator from the best match and promote arguments:
 7836|       |    // Step 2b: reconstruct the TFunction based on the new arg types
 7837|       |    // Step 3:  Re-select after type promotion is applied, to find proper candidate.
 7838|      0|    if (builtIn) {
  ------------------
  |  Branch (7838:9): [True: 0, False: 0]
  ------------------
 7839|       |        // Step 1: If there's an exact match, use it.
 7840|      0|        if (call.getMangledName() == bestMatch->getMangledName())
  ------------------
  |  Branch (7840:13): [True: 0, False: 0]
  ------------------
 7841|      0|            return bestMatch;
 7842|       |
 7843|       |        // Step 2a: Otherwise, get the operator from the best match and promote arguments as if we
 7844|       |        // are that kind of operator.
 7845|      0|        if (args != nullptr) {
  ------------------
  |  Branch (7845:13): [True: 0, False: 0]
  ------------------
 7846|       |            // The arg list can be a unary node, or an aggregate.  We have to handle both.
 7847|       |            // We will use the normal promote() facilities, which require an interm node.
 7848|      0|            TIntermOperator* promote = nullptr;
 7849|       |
 7850|      0|            if (call.getParamCount() == 1) {
  ------------------
  |  Branch (7850:17): [True: 0, False: 0]
  ------------------
 7851|      0|                promote = new TIntermUnary(bestMatch->getBuiltInOp());
 7852|      0|                promote->getAsUnaryNode()->setOperand(args->getAsTyped());
 7853|      0|            } else {
 7854|      0|                promote = new TIntermAggregate(bestMatch->getBuiltInOp());
 7855|      0|                promote->getAsAggregate()->getSequence().swap(args->getAsAggregate()->getSequence());
 7856|      0|            }
 7857|       |
 7858|      0|            if (! intermediate.promote(promote))
  ------------------
  |  Branch (7858:17): [True: 0, False: 0]
  ------------------
 7859|      0|                return nullptr;
 7860|       |
 7861|       |            // Obtain the promoted arg list.
 7862|      0|            if (call.getParamCount() == 1) {
  ------------------
  |  Branch (7862:17): [True: 0, False: 0]
  ------------------
 7863|      0|                args = promote->getAsUnaryNode()->getOperand();
 7864|      0|            } else {
 7865|      0|                promote->getAsAggregate()->getSequence().swap(args->getAsAggregate()->getSequence());
 7866|      0|            }
 7867|      0|        }
 7868|       |
 7869|       |        // Step 2b: reconstruct the TFunction based on the new arg types
 7870|      0|        TFunction convertedCall(&call.getName(), call.getType(), call.getBuiltInOp());
 7871|       |
 7872|      0|        if (args->getAsAggregate()) {
  ------------------
  |  Branch (7872:13): [True: 0, False: 0]
  ------------------
 7873|       |            // Handle aggregates: put all args into the new function call
 7874|      0|            for (int arg = 0; arg < int(args->getAsAggregate()->getSequence().size()); ++arg) {
  ------------------
  |  Branch (7874:31): [True: 0, False: 0]
  ------------------
 7875|       |                // TODO: But for constness, we could avoid the new & shallowCopy, and use the pointer directly.
 7876|      0|                TParameter param = { nullptr, new TType, nullptr };
 7877|      0|                param.type->shallowCopy(args->getAsAggregate()->getSequence()[arg]->getAsTyped()->getType());
 7878|      0|                convertedCall.addParameter(param);
 7879|      0|            }
 7880|      0|        } else if (args->getAsUnaryNode()) {
  ------------------
  |  Branch (7880:20): [True: 0, False: 0]
  ------------------
 7881|       |            // Handle unaries: put all args into the new function call
 7882|      0|            TParameter param = { nullptr, new TType, nullptr };
 7883|      0|            param.type->shallowCopy(args->getAsUnaryNode()->getOperand()->getAsTyped()->getType());
 7884|      0|            convertedCall.addParameter(param);
 7885|      0|        } else if (args->getAsTyped()) {
  ------------------
  |  Branch (7885:20): [True: 0, False: 0]
  ------------------
 7886|       |            // Handle bare e.g, floats, not in an aggregate.
 7887|      0|            TParameter param = { nullptr, new TType, nullptr };
 7888|      0|            param.type->shallowCopy(args->getAsTyped()->getType());
 7889|      0|            convertedCall.addParameter(param);
 7890|      0|        } else {
 7891|      0|            assert(0); // unknown argument list.
 7892|      0|            return nullptr;
 7893|      0|        }
 7894|       |
 7895|       |        // Step 3: Re-select after type promotion, to find proper candidate
 7896|       |        // send to the generic selector
 7897|      0|        bestMatch = selectFunction(candidateList, convertedCall, convertible, better, tie);
 7898|       |
 7899|       |        // At this point, there should be no tie.
 7900|      0|    }
 7901|       |
 7902|      0|    if (tie)
  ------------------
  |  Branch (7902:9): [True: 0, False: 0]
  ------------------
 7903|      0|        error(loc, "ambiguous best function under implicit type conversion", call.getName().c_str(), "");
 7904|       |
 7905|       |    // Append default parameter values if needed
 7906|      0|    if (!tie && bestMatch != nullptr) {
  ------------------
  |  Branch (7906:9): [True: 0, False: 0]
  |  Branch (7906:17): [True: 0, False: 0]
  ------------------
 7907|      0|        for (int defParam = call.getParamCount(); defParam < bestMatch->getParamCount(); ++defParam) {
  ------------------
  |  Branch (7907:51): [True: 0, False: 0]
  ------------------
 7908|      0|            handleFunctionArgument(&call, args, (*bestMatch)[defParam].defaultValue);
 7909|      0|        }
 7910|      0|    }
 7911|       |
 7912|      0|    return bestMatch;
 7913|      0|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 8037|     56|{
 8038|     56|    TSymbol* symbol = symbolTable.find(typeName);
 8039|     56|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (8039:9): [True: 0, False: 56]
  |  Branch (8039:19): [True: 0, False: 0]
  |  Branch (8039:46): [True: 0, False: 0]
  ------------------
 8040|      0|        type.shallowCopy(symbol->getType());
 8041|      0|        return symbol;
 8042|      0|    } else
 8043|     56|        return nullptr;
 8044|     56|}
_ZN7glslang16HlslParseContext15declareVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeEPNS_12TIntermTypedE:
 8059|      2|{
 8060|      2|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (8060:9): [True: 0, False: 2]
  ------------------
 8061|      0|        return nullptr;
 8062|       |
 8063|       |    // Global consts with initializers that are non-const act like EvqGlobal in HLSL.
 8064|       |    // This test is implicitly recursive, because initializers propagate constness
 8065|       |    // up the aggregate node tree during creation.  E.g, for:
 8066|       |    //    { { 1, 2 }, { 3, 4 } }
 8067|       |    // the initializer list is marked EvqConst at the top node, and remains so here.  However:
 8068|       |    //    { 1, { myvar, 2 }, 3 }
 8069|       |    // is not a const intializer, and still becomes EvqGlobal here.
 8070|       |
 8071|      2|    const bool nonConstInitializer = (initializer != nullptr && initializer->getQualifier().storage != EvqConst);
  ------------------
  |  Branch (8071:39): [True: 0, False: 2]
  |  Branch (8071:65): [True: 0, False: 0]
  ------------------
 8072|       |
 8073|      2|    if (type.getQualifier().storage == EvqConst && symbolTable.atGlobalLevel() && nonConstInitializer) {
  ------------------
  |  Branch (8073:9): [True: 0, False: 2]
  |  Branch (8073:52): [True: 0, False: 0]
  |  Branch (8073:83): [True: 0, False: 0]
  ------------------
 8074|       |        // Force to global
 8075|      0|        type.getQualifier().storage = EvqGlobal;
 8076|      0|    }
 8077|       |
 8078|       |    // make const and initialization consistent
 8079|      2|    fixConstInit(loc, identifier, type, initializer);
 8080|       |
 8081|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 8082|      2|    TSymbol* symbol = nullptr;
 8083|       |
 8084|      2|    inheritGlobalDefaults(type.getQualifier());
 8085|       |
 8086|      2|    const bool flattenVar = shouldFlatten(type, type.getQualifier().storage, true);
 8087|       |
 8088|       |    // correct IO in the type
 8089|      2|    switch (type.getQualifier().storage) {
 8090|      0|    case EvqGlobal:
  ------------------
  |  Branch (8090:5): [True: 0, False: 2]
  ------------------
 8091|      0|    case EvqTemporary:
  ------------------
  |  Branch (8091:5): [True: 0, False: 2]
  ------------------
 8092|      0|        clearUniformInputOutput(type.getQualifier());
 8093|      0|        break;
 8094|      2|    case EvqUniform:
  ------------------
  |  Branch (8094:5): [True: 2, False: 0]
  ------------------
 8095|      2|    case EvqBuffer:
  ------------------
  |  Branch (8095:5): [True: 0, False: 2]
  ------------------
 8096|      2|        correctUniform(type.getQualifier());
 8097|      2|        if (type.isStruct()) {
  ------------------
  |  Branch (8097:13): [True: 0, False: 2]
  ------------------
 8098|      0|            auto it = ioTypeMap.find(type.getStruct());
 8099|      0|            if (it != ioTypeMap.end())
  ------------------
  |  Branch (8099:17): [True: 0, False: 0]
  ------------------
 8100|      0|                type.setStruct(it->second.uniform);
 8101|      0|        }
 8102|       |
 8103|      2|        break;
 8104|      0|    default:
  ------------------
  |  Branch (8104:5): [True: 0, False: 2]
  ------------------
 8105|      0|        break;
 8106|      2|    }
 8107|       |
 8108|       |    // Declare the variable
 8109|      2|    if (type.isArray()) {
  ------------------
  |  Branch (8109:9): [True: 0, False: 2]
  ------------------
 8110|       |        // array case
 8111|      0|        declareArray(loc, identifier, type, symbol, !flattenVar);
 8112|      2|    } else {
 8113|       |        // non-array case
 8114|      2|        if (symbol == nullptr)
  ------------------
  |  Branch (8114:13): [True: 2, False: 0]
  ------------------
 8115|      2|            symbol = declareNonArray(loc, identifier, type, !flattenVar);
 8116|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (8116:18): [True: 0, False: 0]
  ------------------
 8117|      0|            error(loc, "cannot change the type of", "redeclaration", "%s", symbol->getName().c_str());
 8118|      2|    }
 8119|       |
 8120|      2|    if (symbol == nullptr)
  ------------------
  |  Branch (8120:9): [True: 0, False: 2]
  ------------------
 8121|      0|        return nullptr;
 8122|       |
 8123|      2|    if (flattenVar)
  ------------------
  |  Branch (8123:9): [True: 0, False: 2]
  ------------------
 8124|      0|        flatten(*symbol->getAsVariable(), symbolTable.atGlobalLevel());
 8125|       |
 8126|      2|    TVariable* variable = symbol->getAsVariable();
 8127|       |
 8128|      2|    if (initializer == nullptr) {
  ------------------
  |  Branch (8128:9): [True: 2, False: 0]
  ------------------
 8129|      2|        if (intermediate.getDebugInfo())
  ------------------
  |  Branch (8129:13): [True: 0, False: 2]
  ------------------
 8130|      0|            return executeDeclaration(loc, variable);
 8131|      2|        else
 8132|      2|            return nullptr;
 8133|      2|    }
 8134|       |
 8135|       |    // Deal with initializer
 8136|      0|    if (variable == nullptr) {
  ------------------
  |  Branch (8136:9): [True: 0, False: 0]
  ------------------
 8137|      0|        error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 8138|      0|        return nullptr;
 8139|      0|    }
 8140|      0|    return executeInitializer(loc, initializer, variable);
 8141|      0|}
_ZNK7glslang16HlslParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 8145|      2|{
 8146|      2|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (8146:9): [True: 0, False: 2]
  ------------------
 8147|      0|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (8147:13): [True: 0, False: 0]
  |  Branch (8147:34): [True: 0, False: 0]
  ------------------
 8148|      0|            dst.layoutStream = globalOutputDefaults.layoutStream;
 8149|      0|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (8149:13): [True: 0, False: 0]
  ------------------
 8150|      0|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 8151|      0|    }
 8152|      2|}
_ZN7glslang16HlslParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeEb:
 8187|      2|{
 8188|       |    // make a new variable
 8189|      2|    TVariable* variable = new TVariable(&identifier, type);
 8190|       |
 8191|       |    // add variable to symbol table
 8192|      2|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (8192:9): [True: 2, False: 0]
  ------------------
 8193|      2|        if (track && symbolTable.atGlobalLevel())
  ------------------
  |  Branch (8193:13): [True: 2, False: 0]
  |  Branch (8193:22): [True: 2, False: 0]
  ------------------
 8194|      2|            trackLinkage(*variable);
 8195|      2|        return variable;
 8196|      2|    }
 8197|       |
 8198|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 8199|      0|    return nullptr;
 8200|      2|}
_ZN7glslang16HlslParseContext17handleConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8493|      2|{
 8494|      2|    if (node == nullptr)
  ------------------
  |  Branch (8494:9): [True: 0, False: 2]
  ------------------
 8495|      0|        return nullptr;
 8496|       |
 8497|       |    // Construct identical type
 8498|      2|    if (type == node->getType())
  ------------------
  |  Branch (8498:9): [True: 1, False: 1]
  ------------------
 8499|      1|        return node;
 8500|       |
 8501|       |    // Handle the idiom "(struct type)<scalar value>"
 8502|      1|    if (type.isStruct() && isScalarConstructor(node)) {
  ------------------
  |  Branch (8502:9): [True: 0, False: 1]
  |  Branch (8502:28): [True: 0, False: 0]
  ------------------
 8503|       |        // 'node' will almost always get used multiple times, so should not be used directly,
 8504|       |        // it would create a DAG instead of a tree, which might be okay (would
 8505|       |        // like to formalize that for constants and symbols), but if it has
 8506|       |        // side effects, they would get executed multiple times, which is not okay.
 8507|      0|        if (node->getAsConstantUnion() == nullptr && node->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (8507:13): [True: 0, False: 0]
  |  Branch (8507:54): [True: 0, False: 0]
  ------------------
 8508|      0|            TIntermAggregate* seq = intermediate.makeAggregate(loc);
 8509|      0|            TIntermSymbol* copy = makeInternalVariableNode(loc, "scalarCopy", node->getType());
 8510|      0|            seq = intermediate.growAggregate(seq, intermediate.addBinaryNode(EOpAssign, copy, node, loc));
 8511|      0|            seq = intermediate.growAggregate(seq, convertInitializerList(loc, type, intermediate.makeAggregate(loc), copy));
 8512|      0|            seq->setOp(EOpComma);
 8513|      0|            seq->setType(type);
 8514|      0|            return seq;
 8515|      0|        } else
 8516|      0|            return convertInitializerList(loc, type, intermediate.makeAggregate(loc), node);
 8517|      0|    }
 8518|       |
 8519|      1|    return addConstructor(loc, node, type);
 8520|      1|}
_ZN7glslang16HlslParseContext14addConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8531|      2|{
 8532|      2|    TIntermAggregate* aggrNode = node->getAsAggregate();
 8533|      2|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 8534|       |
 8535|      2|    if (op == EOpConstructTextureSampler)
  ------------------
  |  Branch (8535:9): [True: 0, False: 2]
  ------------------
 8536|      0|        return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8537|       |
 8538|      2|    TTypeList::const_iterator memberTypes;
 8539|      2|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (8539:9): [True: 0, False: 2]
  ------------------
 8540|      0|        memberTypes = type.getStruct()->begin();
 8541|       |
 8542|      2|    TType elementType;
 8543|      2|    if (type.isArray()) {
  ------------------
  |  Branch (8543:9): [True: 0, False: 2]
  ------------------
 8544|      0|        TType dereferenced(type, 0);
 8545|      0|        elementType.shallowCopy(dereferenced);
 8546|      0|    } else
 8547|      2|        elementType.shallowCopy(type);
 8548|       |
 8549|      2|    bool singleArg;
 8550|      2|    if (aggrNode != nullptr) {
  ------------------
  |  Branch (8550:9): [True: 0, False: 2]
  ------------------
 8551|      0|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (8551:13): [True: 0, False: 0]
  ------------------
 8552|      0|            singleArg = true;
 8553|      0|        else
 8554|      0|            singleArg = false;
 8555|      0|    } else
 8556|      2|        singleArg = true;
 8557|       |
 8558|      2|    TIntermTyped *newNode;
 8559|      2|    if (singleArg) {
  ------------------
  |  Branch (8559:9): [True: 2, False: 0]
  ------------------
 8560|       |        // Handle array -> array conversion
 8561|       |        // Constructing an array of one type from an array of another type is allowed,
 8562|       |        // assuming there are enough components available (semantic-checked earlier).
 8563|      2|        if (type.isArray() && node->isArray())
  ------------------
  |  Branch (8563:13): [True: 0, False: 2]
  |  Branch (8563:31): [True: 0, False: 0]
  ------------------
 8564|      0|            newNode = convertArray(node, type);
 8565|       |
 8566|       |        // If structure constructor or array constructor is being called
 8567|       |        // for only one parameter inside the aggregate, we need to call constructAggregate function once.
 8568|      2|        else if (type.isArray())
  ------------------
  |  Branch (8568:18): [True: 0, False: 2]
  ------------------
 8569|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 8570|      2|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8570:18): [True: 0, False: 2]
  ------------------
 8571|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 8572|      2|        else {
 8573|       |            // shape conversion for matrix constructor from scalar.  HLSL semantics are: scalar
 8574|       |            // is replicated into every element of the matrix (not just the diagnonal), so
 8575|       |            // that is handled specially here.
 8576|      2|            if (type.isMatrix() && node->getType().isScalarOrVec1())
  ------------------
  |  Branch (8576:17): [True: 0, False: 2]
  |  Branch (8576:36): [True: 0, False: 0]
  ------------------
 8577|      0|                node = intermediate.addShapeConversion(type, node);
 8578|       |
 8579|      2|            newNode = constructBuiltIn(type, op, node, node->getLoc(), false);
 8580|      2|        }
 8581|       |
 8582|      2|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (8582:13): [True: 2, False: 0]
  |  Branch (8582:25): [True: 0, False: 2]
  |  Branch (8582:43): [True: 0, False: 2]
  ------------------
 8583|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 8584|       |
 8585|      2|        return newNode;
 8586|      2|    }
 8587|       |
 8588|       |    //
 8589|       |    // Handle list of arguments.
 8590|       |    //
 8591|      0|    TIntermSequence& sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 8592|       |    // if the structure constructor contains more than one parameter, then construct
 8593|       |    // each parameter
 8594|       |
 8595|      0|    int paramCount = 0;  // keeps a track of the constructor parameter number being checked
 8596|       |
 8597|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 8598|       |    // to the right type if possible (and allowed).
 8599|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 8600|       |
 8601|      0|    for (TIntermSequence::iterator p = sequenceVector.begin();
 8602|      0|        p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (8602:9): [True: 0, False: 0]
  ------------------
 8603|      0|        if (type.isArray())
  ------------------
  |  Branch (8603:13): [True: 0, False: 0]
  ------------------
 8604|      0|            newNode = constructAggregate(*p, elementType, paramCount + 1, node->getLoc());
 8605|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8605:18): [True: 0, False: 0]
  ------------------
 8606|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount + 1, node->getLoc());
 8607|      0|        else
 8608|      0|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 8609|       |
 8610|      0|        if (newNode)
  ------------------
  |  Branch (8610:13): [True: 0, False: 0]
  ------------------
 8611|      0|            *p = newNode;
 8612|      0|        else
 8613|      0|            return nullptr;
 8614|      0|    }
 8615|       |
 8616|      0|    TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8617|       |
 8618|      0|    return constructor;
 8619|      0|}
_ZN7glslang16HlslParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
 8630|      2|{
 8631|      2|    TIntermTyped* newNode;
 8632|      2|    TOperator basicOp;
 8633|       |
 8634|       |    //
 8635|       |    // First, convert types as needed.
 8636|       |    //
 8637|      2|    switch (op) {
 8638|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (8638:5): [True: 0, False: 2]
  ------------------
 8639|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (8639:5): [True: 0, False: 2]
  ------------------
 8640|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (8640:5): [True: 0, False: 2]
  ------------------
 8641|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (8641:5): [True: 0, False: 2]
  ------------------
 8642|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (8642:5): [True: 0, False: 2]
  ------------------
 8643|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (8643:5): [True: 0, False: 2]
  ------------------
 8644|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (8644:5): [True: 0, False: 2]
  ------------------
 8645|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (8645:5): [True: 0, False: 2]
  ------------------
 8646|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (8646:5): [True: 0, False: 2]
  ------------------
 8647|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (8647:5): [True: 0, False: 2]
  ------------------
 8648|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (8648:5): [True: 0, False: 2]
  ------------------
 8649|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (8649:5): [True: 0, False: 2]
  ------------------
 8650|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (8650:5): [True: 0, False: 2]
  ------------------
 8651|      0|        basicOp = EOpConstructFloat16;
 8652|      0|        break;
 8653|       |
 8654|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (8654:5): [True: 0, False: 2]
  ------------------
 8655|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (8655:5): [True: 0, False: 2]
  ------------------
 8656|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (8656:5): [True: 0, False: 2]
  ------------------
 8657|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (8657:5): [True: 0, False: 2]
  ------------------
 8658|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (8658:5): [True: 0, False: 2]
  ------------------
 8659|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (8659:5): [True: 0, False: 2]
  ------------------
 8660|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (8660:5): [True: 0, False: 2]
  ------------------
 8661|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (8661:5): [True: 0, False: 2]
  ------------------
 8662|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (8662:5): [True: 0, False: 2]
  ------------------
 8663|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (8663:5): [True: 0, False: 2]
  ------------------
 8664|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (8664:5): [True: 0, False: 2]
  ------------------
 8665|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (8665:5): [True: 0, False: 2]
  ------------------
 8666|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (8666:5): [True: 0, False: 2]
  ------------------
 8667|      0|        basicOp = EOpConstructFloat;
 8668|      0|        break;
 8669|       |
 8670|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (8670:5): [True: 0, False: 2]
  ------------------
 8671|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (8671:5): [True: 0, False: 2]
  ------------------
 8672|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (8672:5): [True: 0, False: 2]
  ------------------
 8673|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (8673:5): [True: 0, False: 2]
  ------------------
 8674|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (8674:5): [True: 0, False: 2]
  ------------------
 8675|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (8675:5): [True: 0, False: 2]
  ------------------
 8676|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (8676:5): [True: 0, False: 2]
  ------------------
 8677|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (8677:5): [True: 0, False: 2]
  ------------------
 8678|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (8678:5): [True: 0, False: 2]
  ------------------
 8679|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (8679:5): [True: 0, False: 2]
  ------------------
 8680|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (8680:5): [True: 0, False: 2]
  ------------------
 8681|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (8681:5): [True: 0, False: 2]
  ------------------
 8682|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (8682:5): [True: 0, False: 2]
  ------------------
 8683|      0|        basicOp = EOpConstructDouble;
 8684|      0|        break;
 8685|       |
 8686|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (8686:5): [True: 0, False: 2]
  ------------------
 8687|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (8687:5): [True: 0, False: 2]
  ------------------
 8688|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (8688:5): [True: 0, False: 2]
  ------------------
 8689|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (8689:5): [True: 0, False: 2]
  ------------------
 8690|      0|        basicOp = EOpConstructInt16;
 8691|      0|        break;
 8692|       |
 8693|      1|    case EOpConstructIVec2:
  ------------------
  |  Branch (8693:5): [True: 1, False: 1]
  ------------------
 8694|      1|    case EOpConstructIVec3:
  ------------------
  |  Branch (8694:5): [True: 0, False: 2]
  ------------------
 8695|      1|    case EOpConstructIVec4:
  ------------------
  |  Branch (8695:5): [True: 0, False: 2]
  ------------------
 8696|      1|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (8696:5): [True: 0, False: 2]
  ------------------
 8697|      1|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (8697:5): [True: 0, False: 2]
  ------------------
 8698|      1|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (8698:5): [True: 0, False: 2]
  ------------------
 8699|      1|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (8699:5): [True: 0, False: 2]
  ------------------
 8700|      1|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (8700:5): [True: 0, False: 2]
  ------------------
 8701|      1|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (8701:5): [True: 0, False: 2]
  ------------------
 8702|      1|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (8702:5): [True: 0, False: 2]
  ------------------
 8703|      1|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (8703:5): [True: 0, False: 2]
  ------------------
 8704|      1|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (8704:5): [True: 0, False: 2]
  ------------------
 8705|      2|    case EOpConstructInt:
  ------------------
  |  Branch (8705:5): [True: 1, False: 1]
  ------------------
 8706|      2|        basicOp = EOpConstructInt;
 8707|      2|        break;
 8708|       |
 8709|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (8709:5): [True: 0, False: 2]
  ------------------
 8710|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (8710:5): [True: 0, False: 2]
  ------------------
 8711|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (8711:5): [True: 0, False: 2]
  ------------------
 8712|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (8712:5): [True: 0, False: 2]
  ------------------
 8713|      0|        basicOp = EOpConstructUint16;
 8714|      0|        break;
 8715|       |
 8716|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (8716:5): [True: 0, False: 2]
  ------------------
 8717|      0|    case EOpConstructUVec3:
  ------------------
  |  Branch (8717:5): [True: 0, False: 2]
  ------------------
 8718|      0|    case EOpConstructUVec4:
  ------------------
  |  Branch (8718:5): [True: 0, False: 2]
  ------------------
 8719|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (8719:5): [True: 0, False: 2]
  ------------------
 8720|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (8720:5): [True: 0, False: 2]
  ------------------
 8721|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (8721:5): [True: 0, False: 2]
  ------------------
 8722|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (8722:5): [True: 0, False: 2]
  ------------------
 8723|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (8723:5): [True: 0, False: 2]
  ------------------
 8724|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (8724:5): [True: 0, False: 2]
  ------------------
 8725|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (8725:5): [True: 0, False: 2]
  ------------------
 8726|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (8726:5): [True: 0, False: 2]
  ------------------
 8727|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (8727:5): [True: 0, False: 2]
  ------------------
 8728|      0|    case EOpConstructUint:
  ------------------
  |  Branch (8728:5): [True: 0, False: 2]
  ------------------
 8729|      0|        basicOp = EOpConstructUint;
 8730|      0|        break;
 8731|       |
 8732|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (8732:5): [True: 0, False: 2]
  ------------------
 8733|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (8733:5): [True: 0, False: 2]
  ------------------
 8734|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (8734:5): [True: 0, False: 2]
  ------------------
 8735|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (8735:5): [True: 0, False: 2]
  ------------------
 8736|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (8736:5): [True: 0, False: 2]
  ------------------
 8737|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (8737:5): [True: 0, False: 2]
  ------------------
 8738|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (8738:5): [True: 0, False: 2]
  ------------------
 8739|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (8739:5): [True: 0, False: 2]
  ------------------
 8740|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (8740:5): [True: 0, False: 2]
  ------------------
 8741|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (8741:5): [True: 0, False: 2]
  ------------------
 8742|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (8742:5): [True: 0, False: 2]
  ------------------
 8743|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (8743:5): [True: 0, False: 2]
  ------------------
 8744|      0|    case EOpConstructBool:
  ------------------
  |  Branch (8744:5): [True: 0, False: 2]
  ------------------
 8745|      0|        basicOp = EOpConstructBool;
 8746|      0|        break;
 8747|       |
 8748|      0|    default:
  ------------------
  |  Branch (8748:5): [True: 0, False: 2]
  ------------------
 8749|      0|        error(loc, "unsupported construction", "", "");
 8750|       |
 8751|      0|        return nullptr;
 8752|      2|    }
 8753|      2|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
 8754|      2|    if (newNode == nullptr) {
  ------------------
  |  Branch (8754:9): [True: 0, False: 2]
  ------------------
 8755|      0|        error(loc, "can't convert", "constructor", "");
 8756|      0|        return nullptr;
 8757|      0|    }
 8758|       |
 8759|       |    //
 8760|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
 8761|       |    //
 8762|       |
 8763|       |    // Otherwise, skip out early.
 8764|      2|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (8764:9): [True: 0, False: 2]
  |  Branch (8764:20): [True: 1, False: 1]
  |  Branch (8764:39): [True: 0, False: 1]
  ------------------
 8765|      0|        return newNode;
 8766|       |
 8767|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
 8768|      2|    return intermediate.setAggregateOperator(newNode, op, type, loc);
 8769|      2|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9561|   332k|{
 9562|   332k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9562:9): [True: 332k, False: 0]
  ------------------
 9563|   332k|        return;
 9564|       |
 9565|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9566|      0|    fullName->append(*name);
 9567|      0|    name = fullName;
 9568|      0|}
_ZN7glslang16HlslParseContext14correctUniformERNS_10TQualifierE:
 9771|      2|{
 9772|      2|    if (qualifier.declaredBuiltIn == EbvNone)
  ------------------
  |  Branch (9772:9): [True: 2, False: 0]
  ------------------
 9773|      2|        qualifier.declaredBuiltIn = qualifier.builtIn;
 9774|       |
 9775|      2|    qualifier.builtIn = EbvNone;
 9776|      2|    qualifier.clearInterstage();
 9777|      2|    qualifier.clearInterstageLayout();
 9778|      2|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9790|  67.4k|{
 9791|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9792|  67.4k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9793|       |
 9794|       |    // Arrays aren't supported.
 9795|  67.4k|    if (retType.isArray()) {
  ------------------
  |  Branch (9795:9): [True: 0, False: 67.4k]
  ------------------
 9796|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9797|      0|        return false;
 9798|      0|    }
 9799|       |
 9800|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9801|  67.4k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9801:9): [True: 67.4k, False: 0]
  |  Branch (9801:31): [True: 0, False: 0]
  ------------------
 9802|  67.4k|        sampler.vectorSize = retType.getVectorSize();
 9803|  67.4k|        return true;
 9804|  67.4k|    }
 9805|       |
 9806|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9807|       |    // are checked below: just check for struct-ness here.
 9808|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9808:9): [True: 0, False: 0]
  ------------------
 9809|      0|        error(loc, "Invalid texture template type", "", "");
 9810|      0|        return false;
 9811|      0|    }
 9812|       |
 9813|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9814|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9814:9): [True: 0, False: 0]
  ------------------
 9815|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9816|      0|        return false;
 9817|      0|    }
 9818|       |
 9819|      0|    TTypeList* members = retType.getWritableStruct();
 9820|       |
 9821|       |    // Check for too many or not enough structure members.
 9822|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9822:9): [True: 0, False: 0]
  |  Branch (9822:32): [True: 0, False: 0]
  ------------------
 9823|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9824|      0|        return false;
 9825|      0|    }
 9826|       |
 9827|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9828|      0|    unsigned totalComponents = 0;
 9829|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9829:26): [True: 0, False: 0]
  ------------------
 9830|       |        // Check for bad member types
 9831|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9831:13): [True: 0, False: 0]
  |  Branch (9831:48): [True: 0, False: 0]
  ------------------
 9832|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9833|      0|            return false;
 9834|      0|        }
 9835|       |
 9836|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9837|      0|        totalComponents += memberVectorSize;
 9838|       |
 9839|       |        // too many total member components
 9840|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9840:13): [True: 0, False: 0]
  ------------------
 9841|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9842|      0|            return false;
 9843|      0|        }
 9844|       |
 9845|       |        // All members must be of a common basic type
 9846|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9846:13): [True: 0, False: 0]
  ------------------
 9847|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9848|      0|            return false;
 9849|      0|        }
 9850|      0|    }
 9851|       |
 9852|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9853|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9854|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9854:32): [True: 0, False: 0]
  ------------------
 9855|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|            sampler.structReturnIndex = idx;
 9857|      0|            return true;
 9858|      0|        }
 9859|      0|    }
 9860|       |
 9861|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9862|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9862:9): [True: 0, False: 0]
  ------------------
 9863|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9864|      0|        return false;
 9865|      0|    }
 9866|       |
 9867|       |    // Insert it in the vector that tracks struct return types.
 9868|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9869|      0|    textureReturnStruct.push_back(members);
 9870|       |
 9871|       |    // Success!
 9872|      0|    return true;
 9873|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9939|    160|{
 9940|    160|    TSourceLoc loc;
 9941|    160|    loc.init();
 9942|       |
 9943|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9944|    160|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9944:9): [True: 160, False: 0]
  |  Branch (9944:46): [True: 0, False: 0]
  ------------------
 9945|    160|        return;
 9946|       |
 9947|       |    // Look for built-in variables in a function's parameter list.
 9948|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9949|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9950|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9951|       |
 9952|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9953|      0|                storage = EvqIn;
 9954|       |
 9955|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9956|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9957|      0|            else
 9958|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9959|      0|        }
 9960|      0|    };
 9961|       |
 9962|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9963|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9964|      0|        if (name == nullptr) {
 9965|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9966|      0|            return;
 9967|      0|        } else {
 9968|      0|            TVariable& variable = *new TVariable(name, type);
 9969|      0|            if (! symbolTable.insert(variable)) {
 9970|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9971|      0|                return;
 9972|      0|            }
 9973|       |
 9974|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9975|       |
 9976|      0|            if (symbolNode != nullptr)
 9977|      0|                *symbolNode = intermediate.addSymbol(variable);
 9978|       |
 9979|      0|            trackLinkage(variable);
 9980|      0|        }
 9981|      0|    };
 9982|       |
 9983|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9984|      0|        const TType& type = *patchConstantFunction[param].type;
 9985|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9986|       |
 9987|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9988|      0|    };
 9989|       |
 9990|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9991|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9992|       |    //
 9993|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9994|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9995|       |    //
 9996|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9997|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9998|       |    //    variables from (1) above.
 9999|       |    //
10000|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
10001|       |    //
10002|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
10003|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
10004|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
10005|       |    //    indirections into a complex R-value coming from the call to the PCF.
10006|       |    //
10007|       |    // 4. Create a barrier.
10008|       |    //
10009|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
10010|       |
10011|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
10012|       |
10013|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (10013:9): [True: 0, False: 0]
  ------------------
10014|      0|        return;
10015|       |
10016|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
10017|       |
10018|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
10019|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
10020|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
10021|       |
10022|      0|    int outPatchParam = -1; // -1 means there isn't one.
10023|       |
10024|       |    // ================ Step 1A: Union Interfaces ================
10025|       |    // Our patch constant function.
10026|      0|    {
10027|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
10028|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
10029|       |
10030|      0|        assert(entryPointFunction);
10031|      0|        assert(entryPointFunctionBody);
10032|       |
10033|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
10034|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
10035|       |
10036|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
10037|      0|        std::set<tInterstageIoData> notInEntryPoint;
10038|       |
10039|      0|        notInEntryPoint = pcfBuiltIns;
10040|       |
10041|       |        // std::set_difference not usable on unordered containers
10042|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (10042:45): [True: 0, False: 0]
  ------------------
10043|      0|            notInEntryPoint.erase(*bi);
10044|       |
10045|       |        // Now we'll add those to the entry and to the linkage.
10046|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10046:23): [True: 0, False: 0]
  ------------------
10047|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
10048|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
10049|       |
10050|       |            // Track whether there is an output patch param
10051|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (10051:17): [True: 0, False: 0]
  ------------------
10052|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (10052:21): [True: 0, False: 0]
  ------------------
10053|       |                    // Presently we only support one per ctrl pt input.
10054|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
10055|      0|                    return;
10056|      0|                }
10057|      0|                outPatchParam = p;
10058|      0|            }
10059|       |
10060|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (10060:17): [True: 0, False: 0]
  ------------------
10061|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10062|       |
10063|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10063:21): [True: 0, False: 0]
  ------------------
10064|      0|                    storage = EvqIn;
10065|       |
10066|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10067|       |                // a pseudo-built-in.
10068|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10068:21): [True: 0, False: 0]
  ------------------
10069|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10070|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10070:28): [True: 0, False: 0]
  ------------------
10071|       |                    // Nothing...
10072|      0|                } else {
10073|       |                    // Use the original declaration type for the linkage
10074|      0|                    paramType->getQualifier().builtIn = biType;
10075|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10075:25): [True: 0, False: 0]
  |  Branch (10075:56): [True: 0, False: 0]
  ------------------
10076|      0|                        paramType->getQualifier().patch = true;
10077|       |
10078|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10078:25): [True: 0, False: 0]
  ------------------
10079|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10080|      0|                }
10081|      0|            }
10082|      0|        }
10083|       |
10084|       |        // If we didn't find it because the shader made one, add our own.
10085|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10085:13): [True: 0, False: 0]
  ------------------
10086|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10087|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10088|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10089|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10090|      0|        }
10091|       |
10092|      0|        assert(invocationIdSym);
10093|      0|    }
10094|       |
10095|      0|    TIntermTyped* pcfArguments = nullptr;
10096|      0|    TVariable* perCtrlPtVar = nullptr;
10097|       |
10098|       |    // ================ Step 1B: Argument synthesis ================
10099|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10100|      0|    {
10101|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10101:23): [True: 0, False: 0]
  ------------------
10102|      0|            TIntermTyped* inputArg = nullptr;
10103|       |
10104|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10104:17): [True: 0, False: 0]
  ------------------
10105|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10105:21): [True: 0, False: 0]
  ------------------
10106|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10107|      0|                                                        *patchConstantFunction[outPatchParam].type);
10108|       |
10109|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10110|      0|                }
10111|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10112|      0|            } else {
10113|       |                // find which built-in it is
10114|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10115|       |
10116|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10116:21): [True: 0, False: 0]
  |  Branch (10116:48): [True: 0, False: 0]
  ------------------
10117|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10118|      0|                    return;
10119|      0|                }
10120|       |
10121|      0|                inputArg = findTessLinkageSymbol(biType);
10122|       |
10123|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10123:21): [True: 0, False: 0]
  ------------------
10124|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10125|      0|                    return;
10126|      0|                }
10127|      0|            }
10128|       |
10129|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10129:17): [True: 0, False: 0]
  ------------------
10130|      0|                pcfArguments = inputArg;
10131|      0|            else
10132|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10133|      0|        }
10134|      0|    }
10135|       |
10136|       |    // ================ Step 2: Synthesize call to PCF ================
10137|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10138|      0|    TIntermTyped* pcfCall = nullptr;
10139|       |
10140|      0|    {
10141|       |        // Create a function call to the patchconstantfunction
10142|      0|        if (pcfArguments)
  ------------------
  |  Branch (10142:13): [True: 0, False: 0]
  ------------------
10143|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10144|       |
10145|       |        // Synthetic call.
10146|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10147|      0|        pcfCall->getAsAggregate()->setUserDefined();
10148|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10149|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10150|      0|                                    patchConstantFunction.getMangledName());
10151|       |
10152|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10152:13): [True: 0, False: 0]
  ------------------
10153|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10154|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10154:29): [True: 0, False: 0]
  ------------------
10155|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10156|      0|                qualifierList.push_back(qual);
10157|      0|            }
10158|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10159|      0|        }
10160|      0|    }
10161|       |
10162|       |    // ================ Step 2B: Per Control Point synthesis ================
10163|       |    // If there is per control point data, we must either emulate that with multiple
10164|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10165|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10166|       |    // as a placeholder for the latter.
10167|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10167:9): [True: 0, False: 0]
  ------------------
10168|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10169|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10170|       |
10171|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10171:13): [True: 0, False: 0]
  ------------------
10172|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10173|      0|            return;
10174|      0|        }
10175|       |
10176|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10177|       |        // of invocation ID when calling the wrapped main.
10178|       |
10179|       |        // This is the type of the each member of the per ctrl point array.
10180|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10181|       |
10182|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10182:27): [True: 0, False: 0]
  ------------------
10183|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10184|       |            // for this function.
10185|      0|            const TString origName = entryPointFunction->getName().substr(1);
10186|      0|            TFunction callee(&origName, TType(EbtVoid));
10187|      0|            TIntermTyped* callingArgs = nullptr;
10188|       |
10189|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10189:29): [True: 0, False: 0]
  ------------------
10190|      0|                TParameter& param = (*entryPointFunction)[i];
10191|      0|                TType& paramType = *param.type;
10192|       |
10193|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10193:21): [True: 0, False: 0]
  ------------------
10194|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10195|      0|                    return;
10196|      0|                }
10197|       |
10198|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10198:21): [True: 0, False: 0]
  ------------------
10199|      0|                    TIntermTyped* arg = nullptr;
10200|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10200:25): [True: 0, False: 0]
  ------------------
10201|       |                        // substitute invocation ID with the array element ID
10202|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10203|      0|                    } else {
10204|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10205|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10206|      0|                        arg = intermediate.addSymbol(*argVar);
10207|      0|                    }
10208|       |
10209|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10210|      0|                }
10211|      0|            }
10212|       |
10213|       |            // Call and assign to per ctrl point variable
10214|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10215|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10216|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10217|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10218|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10219|      0|            element->setType(derefType);
10220|      0|            element->setLoc(loc);
10221|       |
10222|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10223|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10224|      0|        }
10225|      0|    }
10226|       |
10227|       |    // ================ Step 3: Create return Sequence ================
10228|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10229|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10229:9): [True: 0, False: 0]
  ------------------
10230|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10231|      0|        TType outType; // output type that goes with the return type.
10232|      0|        outType.shallowCopy(*retType);
10233|       |
10234|       |        // substitute the output type
10235|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10236|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10236:13): [True: 0, False: 0]
  ------------------
10237|      0|            outType.setStruct(newLists->second.output);
10238|       |
10239|       |        // Substitute the top level type's built-in type
10240|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10240:13): [True: 0, False: 0]
  ------------------
10241|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10242|       |
10243|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10244|       |
10245|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10246|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10247|       |
10248|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10248:13): [True: 0, False: 0]
  ------------------
10249|      0|            flatten(*pcfOutput, false);
10250|       |
10251|      0|        assignToInterface(*pcfOutput);
10252|       |
10253|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10254|       |
10255|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10256|       |        // repeated calls to the PCF:
10257|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10258|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10259|       |
10260|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10261|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10262|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10263|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10264|       |
10265|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10266|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10267|      0|    } else {
10268|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10269|      0|    }
10270|       |
10271|       |    // ================ Step 4: Barrier ================
10272|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10273|      0|    barrier->setLoc(loc);
10274|      0|    barrier->setType(TType(EbtVoid));
10275|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10276|       |
10277|       |    // ================ Step 5: Test on invocation ID ================
10278|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10279|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10280|       |
10281|       |
10282|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10283|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10284|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10285|      0|    invocationIdTest->setLoc(loc);
10286|       |
10287|       |    // add our test sequence before the return.
10288|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10289|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10295|    160|{
10296|    160|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10297|    160|                                      [this](const TSymbol* sym) {
10298|    160|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10299|    160|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10300|    160|                                      });
10301|       |
10302|    160|    linkageSymbols.erase(endIt, linkageSymbols.end());
10303|    160|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10307|    160|{
10308|    160|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10308:48): [True: 0, False: 160]
  ------------------
10309|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10310|       |
10311|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10311:13): [True: 0, False: 0]
  ------------------
10312|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10313|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10313:17): [True: 0, False: 0]
  ------------------
10314|       |
10315|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10315:21): [True: 0, False: 0]
  ------------------
10316|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10317|      0|                    intermediate.setNeedsLegalization();
10318|       |
10319|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10320|      0|            }
10321|      0|        }
10322|      0|    }
10323|    160|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10328|    160|{
10329|    160|    TSourceLoc loc;
10330|    160|    loc.init();
10331|       |
10332|       |    // Nothing to do: bypass test for valid stream output.
10333|    160|    if (gsAppends.empty())
  ------------------
  |  Branch (10333:9): [True: 160, False: 0]
  ------------------
10334|    160|        return;
10335|       |
10336|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10336:9): [True: 0, False: 0]
  ------------------
10337|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10338|      0|        return;
10339|      0|    }
10340|       |
10341|       |    // Patch append sequences, now that we know the stream output symbol.
10342|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10342:43): [True: 0, False: 0]
  ------------------
10343|      0|        append->node->getSequence()[0] =
10344|      0|            handleAssign(append->loc, EOpAssign,
10345|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10346|      0|                         append->node->getSequence()[0]->getAsTyped());
10347|      0|    }
10348|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10352|    160|{
10353|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10354|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10355|    160|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10355:9): [True: 0, False: 160]
  ------------------
10356|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10357|      0|    }
10358|       |
10359|    160|    removeUnusedStructBufferCounters();
10360|    160|    addPatchConstantInvocation();
10361|    160|    fixTextureShadowModes();
10362|    160|    finalizeAppendMethods();
10363|       |
10364|       |    // Communicate out (esp. for command line) that we formed AST that will make
10365|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10366|    160|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10366:9): [True: 0, False: 160]
  |  Branch (10366:45): [True: 0, False: 0]
  ------------------
10367|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10368|       |
10369|    160|    TParseContextBase::finish();
10370|    160|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  4.73k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  4.73k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 4.73k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  4.73k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 2.49k, False: 2.24k]
  ------------------
  211|  4.73k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 1.49k, False: 747]
  ------------------
  212|  4.73k|    };

_ZN7glslang16HlslParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
   67|      3|    void reservedPpErrorCheck(const TSourceLoc&, const char* /*name*/, const char* /*op*/) override { }
_ZN7glslang16HlslParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
   68|  42.0k|    bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
_ZN7glslang16HlslParseContext25getAnnotationNestingLevelEv:
  172|      2|    int getAnnotationNestingLevel() { return annotationNestingLevel; }
_ZN7glslang16HlslParseContext9pushScopeEv:
  173|      1|    void pushScope()         { symbolTable.push(); }
_ZN7glslang16HlslParseContext8popScopeEv:
  174|      1|    void popScope()          { symbolTable.pop(nullptr); }
_ZN7glslang16HlslParseContext21beginParameterParsingERNS_9TFunctionE:
  189|   332k|    {
  190|   332k|        parsingEntrypointParameters = isEntrypointName(function.getName());
  191|   332k|    }
_ZN7glslang16HlslParseContext16isEntrypointNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  252|   332k|    bool isEntrypointName(const TString& name) { return name.compare(intermediate.getEntryPointName().c_str()) == 0; }

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

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

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

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

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

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

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     38|{
  510|     38|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     38|        for (const auto& fn : functions) {
  512|     38|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     38|                AddTabledBuiltin(decls, fn);
  514|     38|                if (profile != EEsProfile) {
  515|     38|                    AddLongVectorBuiltin(decls, fn);
  516|     38|                }
  517|     38|            }
  518|     38|        }
  519|     38|    };
  520|       |
  521|     38|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     38|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     38|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 31, False: 7]
  |  Branch (524:35): [True: 0, False: 31]
  |  Branch (524:55): [True: 7, False: 31]
  |  Branch (524:80): [True: 6, False: 1]
  ------------------
  525|      6|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     38|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    136|{
  531|    136|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    136|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    136|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    136|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    227|{
  545|    227|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    227|{
  550|    227|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     61|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     61|    prefixes[EbtFloat] =  "";
  557|     61|    prefixes[EbtInt]   = "i";
  558|     61|    prefixes[EbtUint]  = "u";
  559|     61|    prefixes[EbtFloat16] = "f16";
  560|     61|    prefixes[EbtInt8]  = "i8";
  561|     61|    prefixes[EbtUint8] = "u8";
  562|     61|    prefixes[EbtInt16]  = "i16";
  563|     61|    prefixes[EbtUint16] = "u16";
  564|     61|    prefixes[EbtInt64]  = "i64";
  565|     61|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     61|    postfixes[2] = "2";
  568|     61|    postfixes[3] = "3";
  569|     61|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     61|    dimMap[Esd2D] = 2;
  573|     61|    dimMap[Esd3D] = 3;
  574|     61|    dimMap[EsdCube] = 3;
  575|     61|    dimMap[Esd1D] = 1;
  576|     61|    dimMap[EsdRect] = 2;
  577|     61|    dimMap[EsdBuffer] = 1;
  578|     61|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     61|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     61|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     38|{
  597|     38|    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|     38|    TString derivatives (
  609|     38|        "float dFdx(float p);"
  610|     38|        "vec2  dFdx(vec2  p);"
  611|     38|        "vec3  dFdx(vec3  p);"
  612|     38|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     38|        "float dFdy(float p);"
  615|     38|        "vec2  dFdy(vec2  p);"
  616|     38|        "vec3  dFdy(vec3  p);"
  617|     38|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     38|        "float fwidth(float p);"
  620|     38|        "vec2  fwidth(vec2  p);"
  621|     38|        "vec3  fwidth(vec3  p);"
  622|     38|        "vec4  fwidth(vec4  p);"
  623|     38|    );
  624|       |
  625|     38|    TString derivativeControls (
  626|     38|        "float dFdxFine(float p);"
  627|     38|        "vec2  dFdxFine(vec2  p);"
  628|     38|        "vec3  dFdxFine(vec3  p);"
  629|     38|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     38|        "float dFdyFine(float p);"
  632|     38|        "vec2  dFdyFine(vec2  p);"
  633|     38|        "vec3  dFdyFine(vec3  p);"
  634|     38|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     38|        "float fwidthFine(float p);"
  637|     38|        "vec2  fwidthFine(vec2  p);"
  638|     38|        "vec3  fwidthFine(vec3  p);"
  639|     38|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     38|        "float dFdxCoarse(float p);"
  642|     38|        "vec2  dFdxCoarse(vec2  p);"
  643|     38|        "vec3  dFdxCoarse(vec3  p);"
  644|     38|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     38|        "float dFdyCoarse(float p);"
  647|     38|        "vec2  dFdyCoarse(vec2  p);"
  648|     38|        "vec3  dFdyCoarse(vec3  p);"
  649|     38|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     38|        "float fwidthCoarse(float p);"
  652|     38|        "vec2  fwidthCoarse(vec2  p);"
  653|     38|        "vec3  fwidthCoarse(vec3  p);"
  654|     38|        "vec4  fwidthCoarse(vec4  p);"
  655|     38|    );
  656|       |
  657|     38|    TString derivativesAndControl16bits (
  658|     38|        "float16_t dFdx(float16_t);"
  659|     38|        "f16vec2   dFdx(f16vec2);"
  660|     38|        "f16vec3   dFdx(f16vec3);"
  661|     38|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     38|        "float16_t dFdy(float16_t);"
  664|     38|        "f16vec2   dFdy(f16vec2);"
  665|     38|        "f16vec3   dFdy(f16vec3);"
  666|     38|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     38|        "float16_t dFdxFine(float16_t);"
  669|     38|        "f16vec2   dFdxFine(f16vec2);"
  670|     38|        "f16vec3   dFdxFine(f16vec3);"
  671|     38|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     38|        "float16_t dFdyFine(float16_t);"
  674|     38|        "f16vec2   dFdyFine(f16vec2);"
  675|     38|        "f16vec3   dFdyFine(f16vec3);"
  676|     38|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     38|        "float16_t dFdxCoarse(float16_t);"
  679|     38|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     38|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     38|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     38|        "float16_t dFdyCoarse(float16_t);"
  684|     38|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     38|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     38|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     38|        "float16_t fwidth(float16_t);"
  689|     38|        "f16vec2   fwidth(f16vec2);"
  690|     38|        "f16vec3   fwidth(f16vec3);"
  691|     38|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     38|        "float16_t fwidthFine(float16_t);"
  694|     38|        "f16vec2   fwidthFine(f16vec2);"
  695|     38|        "f16vec3   fwidthFine(f16vec3);"
  696|     38|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     38|        "float16_t fwidthCoarse(float16_t);"
  699|     38|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     38|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     38|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     38|    );
  703|       |
  704|     38|    TString derivativesAndControl64bits (
  705|     38|        "float64_t dFdx(float64_t);"
  706|     38|        "f64vec2   dFdx(f64vec2);"
  707|     38|        "f64vec3   dFdx(f64vec3);"
  708|     38|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     38|        "float64_t dFdy(float64_t);"
  711|     38|        "f64vec2   dFdy(f64vec2);"
  712|     38|        "f64vec3   dFdy(f64vec3);"
  713|     38|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     38|        "float64_t dFdxFine(float64_t);"
  716|     38|        "f64vec2   dFdxFine(f64vec2);"
  717|     38|        "f64vec3   dFdxFine(f64vec3);"
  718|     38|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     38|        "float64_t dFdyFine(float64_t);"
  721|     38|        "f64vec2   dFdyFine(f64vec2);"
  722|     38|        "f64vec3   dFdyFine(f64vec3);"
  723|     38|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     38|        "float64_t dFdxCoarse(float64_t);"
  726|     38|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     38|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     38|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     38|        "float64_t dFdyCoarse(float64_t);"
  731|     38|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     38|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     38|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     38|        "float64_t fwidth(float64_t);"
  736|     38|        "f64vec2   fwidth(f64vec2);"
  737|     38|        "f64vec3   fwidth(f64vec3);"
  738|     38|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     38|        "float64_t fwidthFine(float64_t);"
  741|     38|        "f64vec2   fwidthFine(f64vec2);"
  742|     38|        "f64vec3   fwidthFine(f64vec3);"
  743|     38|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     38|        "float64_t fwidthCoarse(float64_t);"
  746|     38|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     38|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     38|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     38|    );
  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|     38|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 31, False: 7]
  |  Branch (990:34): [True: 0, False: 31]
  ------------------
  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|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 7, False: 31]
  |  Branch (1186:35): [True: 6, False: 1]
  |  Branch (1186:55): [True: 31, False: 1]
  |  Branch (1186:80): [True: 0, False: 31]
  ------------------
 1187|      6|        commonBuiltins.append(
 1188|       |
 1189|      6|            "int64_t abs(int64_t);"
 1190|      6|            "i64vec2 abs(i64vec2);"
 1191|      6|            "i64vec3 abs(i64vec3);"
 1192|      6|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      6|            "int64_t sign(int64_t);"
 1195|      6|            "i64vec2 sign(i64vec2);"
 1196|      6|            "i64vec3 sign(i64vec3);"
 1197|      6|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      6|            "int64_t  min(int64_t,  int64_t);"
 1200|      6|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      6|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      6|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      6|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      6|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      6|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      6|            "uint64_t min(uint64_t, uint64_t);"
 1207|      6|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      6|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      6|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      6|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      6|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      6|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      6|            "int64_t  max(int64_t,  int64_t);"
 1215|      6|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      6|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      6|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      6|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      6|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      6|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      6|            "uint64_t max(uint64_t, uint64_t);"
 1222|      6|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      6|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      6|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      6|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      6|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      6|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      6|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      6|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      6|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      6|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      6|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      6|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      6|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      6|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      6|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      6|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      6|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      6|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      6|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      6|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      6|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      6|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      6|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      6|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      6|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      6|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      6|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      6|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      6|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      6|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      6|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      6|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      6|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      6|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      6|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      6|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      6|            "float64_t int64BitsToDouble(int64_t);"
 1264|      6|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      6|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      6|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      6|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      6|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      6|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      6|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      6|            "int64_t  packInt2x32(ivec2);"
 1274|      6|            "uint64_t packUint2x32(uvec2);"
 1275|      6|            "ivec2    unpackInt2x32(int64_t);"
 1276|      6|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      6|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      6|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      6|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      6|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      6|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      6|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      6|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      6|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      6|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      6|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      6|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      6|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      6|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      6|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      6|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      6|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      6|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      6|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      6|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      6|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      6|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      6|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      6|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      6|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      6|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      6|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      6|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      6|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      6|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      6|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      6|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      6|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      6|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      6|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      6|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      6|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      6|            "int64_t bitCount(int64_t);"
 1321|      6|            "i64vec2 bitCount(i64vec2);"
 1322|      6|            "i64vec3 bitCount(i64vec3);"
 1323|      6|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      6|            "int64_t bitCount(uint64_t);"
 1326|      6|            "i64vec2 bitCount(u64vec2);"
 1327|      6|            "i64vec3 bitCount(u64vec3);"
 1328|      6|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      6|            "int64_t findLSB(int64_t);"
 1331|      6|            "i64vec2 findLSB(i64vec2);"
 1332|      6|            "i64vec3 findLSB(i64vec3);"
 1333|      6|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      6|            "int64_t findLSB(uint64_t);"
 1336|      6|            "i64vec2 findLSB(u64vec2);"
 1337|      6|            "i64vec3 findLSB(u64vec3);"
 1338|      6|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      6|            "int64_t findMSB(int64_t);"
 1341|      6|            "i64vec2 findMSB(i64vec2);"
 1342|      6|            "i64vec3 findMSB(i64vec3);"
 1343|      6|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      6|            "int64_t findMSB(uint64_t);"
 1346|      6|            "i64vec2 findMSB(u64vec2);"
 1347|      6|            "i64vec3 findMSB(u64vec3);"
 1348|      6|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      6|            "\n"
 1351|      6|        );
 1352|      6|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     38|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 7, False: 31]
  |  Branch (1355:34): [True: 6, False: 1]
  ------------------
 1356|      6|        commonBuiltins.append(
 1357|      6|            "float min3(float, float, float);"
 1358|      6|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      6|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      6|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      6|            "int   min3(int,   int,   int);"
 1363|      6|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      6|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      6|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      6|            "uint  min3(uint,  uint,  uint);"
 1368|      6|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      6|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      6|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      6|            "float max3(float, float, float);"
 1373|      6|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      6|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      6|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      6|            "int   max3(int,   int,   int);"
 1378|      6|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      6|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      6|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      6|            "uint  max3(uint,  uint,  uint);"
 1383|      6|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      6|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      6|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      6|            "float mid3(float, float, float);"
 1388|      6|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      6|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      6|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      6|            "int   mid3(int,   int,   int);"
 1393|      6|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      6|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      6|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      6|            "uint  mid3(uint,  uint,  uint);"
 1398|      6|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      6|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      6|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      6|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      6|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      6|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      6|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      6|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      6|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      6|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      6|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      6|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      6|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      6|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      6|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      6|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      6|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      6|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      6|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      6|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      6|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      6|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      6|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      6|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      6|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      6|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      6|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      6|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      6|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      6|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      6|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      6|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      6|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      6|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      6|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      6|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      6|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      6|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      6|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      6|            "\n"
 1448|      6|        );
 1449|      6|    }
 1450|       |
 1451|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 31, False: 7]
  |  Branch (1451:35): [True: 0, False: 31]
  ------------------
 1452|     38|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 7, False: 31]
  |  Branch (1452:35): [True: 6, False: 1]
  ------------------
 1453|      6|        commonBuiltins.append(
 1454|      6|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      6|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      6|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      6|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      6|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      6|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      6|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      6|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      6|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      6|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      6|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      6|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      6|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      6|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      6|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      6|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      6|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      6|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      6|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      6|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      6|            "\n");
 1485|      6|    }
 1486|       |
 1487|     38|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 7, False: 31]
  |  Branch (1487:34): [True: 6, False: 1]
  ------------------
 1488|      6|        commonBuiltins.append(
 1489|      6|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      6|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      6|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      6|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      6|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      6|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      6|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      6|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      6|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      6|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      6|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      6|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      6|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      6|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      6|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      6|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      6|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      6|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      6|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      6|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      6|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      6|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      6|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      6|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      6|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      6|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      6|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      6|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      6|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      6|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      6|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      6|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      6|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      6|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      6|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      6|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      6|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      6|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      6|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      6|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      6|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      6|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      6|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      6|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      6|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      6|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      6|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      6|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      6|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      6|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      6|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      6|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      6|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      6|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      6|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      6|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      6|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      6|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      6|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      6|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      6|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      6|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      6|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      6|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      6|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      6|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      6|            "\n");
 1565|      6|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     38|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 7, False: 31]
  |  Branch (1568:34): [True: 6, False: 1]
  ------------------
 1569|      6|        commonBuiltins.append(
 1570|      6|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      6|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      6|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      6|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      6|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      6|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      6|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      6|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      6|            "\n");
 1579|      6|    }
 1580|       |
 1581|     38|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 31, False: 7]
  |  Branch (1581:35): [True: 0, False: 31]
  ------------------
 1582|     38|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 7, False: 31]
  |  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|     38|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 7, False: 31]
  |  Branch (1607:35): [True: 7, False: 0]
  ------------------
 1608|     31|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 31, False: 0]
  |  Branch (1608:35): [True: 0, False: 31]
  ------------------
 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|     38|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 31, False: 7]
  |  Branch (1627:34): [True: 0, False: 31]
  ------------------
 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|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 31, False: 7]
  |  Branch (1636:35): [True: 0, False: 31]
  ------------------
 1637|     38|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 7, False: 31]
  |  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|     38|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 31, False: 7]
  |  Branch (1670:34): [True: 0, False: 31]
  ------------------
 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|     38|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 31, False: 7]
  |  Branch (1685:35): [True: 0, False: 31]
  ------------------
 1686|     38|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 7, False: 31]
  |  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|     38|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 31, False: 7]
  |  Branch (1693:35): [True: 0, False: 31]
  ------------------
 1694|     38|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 31, False: 7]
  |  Branch (1702:34): [True: 0, False: 31]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     38|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 7, False: 31]
  |  Branch (1706:41): [True: 7, False: 0]
  ------------------
 1707|      7|        commonBuiltins.append(
 1708|      7|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      7|            "\n");
 1710|      7|    }
 1711|       |
 1712|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 31, False: 7]
  |  Branch (1712:35): [True: 0, False: 31]
  ------------------
 1713|     38|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 31, False: 7]
  |  Branch (1720:34): [True: 0, False: 31]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     38|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 7, False: 31]
  |  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|     38|    commonBuiltins.append(
 1736|     38|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     38|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     38|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     38|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     38|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 7, False: 31]
  ------------------
 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|     38|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 31, False: 7]
  |  Branch (1793:35): [True: 31, 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: 1, False: 6]
  ------------------
 1796|     32|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 6]
  ------------------
 1797|     32|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 32, False: 0]
  ------------------
 1798|     32|            commonBuiltins.append(
 1799|     32|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     32|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     32|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     32|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     32|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     32|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     32|                "\n");
 1810|     32|        }
 1811|     32|    }
 1812|       |
 1813|     38|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 38]
  ------------------
 1814|     38|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 7, False: 31]
  |  Branch (1814:37): [True: 1, False: 6]
  ------------------
 1815|     37|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 37]
  ------------------
 1816|      1|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 1, False: 0]
  ------------------
 1817|      1|            commonBuiltins.append(
 1818|      1|                "vec4 texture1D(sampler1D, float);"
 1819|       |
 1820|      1|                "vec4 texture1DProj(sampler1D, vec2);"
 1821|      1|                "vec4 texture1DProj(sampler1D, vec4);"
 1822|       |
 1823|      1|                "vec4 shadow1D(sampler1DShadow, vec3);"
 1824|      1|                "vec4 shadow2D(sampler2DShadow, vec3);"
 1825|      1|                "vec4 shadow1DProj(sampler1DShadow, vec4);"
 1826|      1|                "vec4 shadow2DProj(sampler2DShadow, vec4);"
 1827|       |
 1828|      1|                "vec4 texture2DRect(sampler2DRect, vec2);"          // GL_ARB_texture_rectangle, caught by keyword check
 1829|      1|                "vec4 texture2DRectProj(sampler2DRect, vec3);"      // GL_ARB_texture_rectangle, caught by keyword check
 1830|      1|                "vec4 texture2DRectProj(sampler2DRect, vec4);"      // GL_ARB_texture_rectangle, caught by keyword check
 1831|      1|                "vec4 shadow2DRect(sampler2DRectShadow, vec3);"     // GL_ARB_texture_rectangle, caught by keyword check
 1832|      1|                "vec4 shadow2DRectProj(sampler2DRectShadow, vec4);" // GL_ARB_texture_rectangle, caught by keyword check
 1833|       |
 1834|      1|                "vec4 texture1DArray(sampler1DArray, vec2);"      // GL_EXT_texture_array
 1835|      1|                "vec4 texture2DArray(sampler2DArray, vec3);"      // GL_EXT_texture_array
 1836|      1|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3);" // GL_EXT_texture_array
 1837|      1|                "vec4 shadow2DArray(sampler2DArrayShadow, vec4);" // GL_EXT_texture_array
 1838|      1|                "vec4 texture1DArray(sampler1DArray, vec2, float);"                // GL_EXT_texture_array
 1839|      1|                "vec4 texture2DArray(sampler2DArray, vec3, float);"                // GL_EXT_texture_array
 1840|      1|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3, float);"           // GL_EXT_texture_array
 1841|      1|                "vec4 texture1DArrayLod(sampler1DArray, vec2, float);"      // GL_EXT_texture_array
 1842|      1|                "vec4 texture2DArrayLod(sampler2DArray, vec3, float);"      // GL_EXT_texture_array
 1843|      1|                "vec4 shadow1DArrayLod(sampler1DArrayShadow, vec3, float);" // GL_EXT_texture_array
 1844|      1|                "\n");
 1845|      1|        }
 1846|      1|    }
 1847|       |
 1848|     38|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 31, False: 7]
  ------------------
 1849|     31|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 31, False: 0]
  ------------------
 1850|     31|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 31, False: 0]
  ------------------
 1851|     31|                commonBuiltins.append(
 1852|     31|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     31|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     31|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     31|                "\n");
 1856|     31|            } 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|     31|            commonBuiltins.append(
 1869|     31|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     31|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     31|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     31|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     31|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     31|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     31|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     31|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     31|                "\n");
 1878|     31|            commonBuiltins.append(
 1879|     31|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     31|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     31|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     31|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     31|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     31|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     31|                "\n");
 1888|     31|        }
 1889|     31|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     38|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 38, False: 0]
  |  Branch (1894:32): [True: 7, False: 31]
  ------------------
 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|     38|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 23, False: 15]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|     23|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 3, False: 20]
  |  Branch (1923:39): [True: 2, False: 1]
  ------------------
 1924|     21|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 20, False: 1]
  |  Branch (1924:39): [True: 0, False: 20]
  ------------------
 1925|      2|            commonBuiltins.append(
 1926|      2|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      2|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      2|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      2|                "\n");
 1931|      2|        }
 1932|     23|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 3, False: 20]
  |  Branch (1932:38): [True: 2, False: 1]
  ------------------
 1933|      2|            commonBuiltins.append(
 1934|      2|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      2|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      2|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      2|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      2|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      2|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      2|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      2|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      2|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      2|                "\n");
 1945|      2|        }
 1946|       |
 1947|       |
 1948|     23|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 3, False: 20]
  |  Branch (1948:38): [True: 0, False: 3]
  ------------------
 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|     23|    }
 1963|     15|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 15]
  ------------------
 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|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 31, False: 7]
  |  Branch (1995:35): [True: 0, False: 31]
  ------------------
 1996|     38|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 7, False: 31]
  |  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|     38|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 7, False: 31]
  |  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|     31|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 31, False: 0]
  |  Branch (2034:41): [True: 0, False: 31]
  ------------------
 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|     38|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 7, False: 31]
  |  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|     38|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 7, False: 31]
  |  Branch (2073:34): [True: 7, False: 0]
  |  Branch (2073:52): [True: 1, False: 6]
  ------------------
 2074|      1|        commonBuiltins.append(
 2075|      1|            "int64_t  packInt2x32(ivec2);"
 2076|      1|            "uint64_t packUint2x32(uvec2);"
 2077|      1|            "ivec2    unpackInt2x32(int64_t);"
 2078|      1|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      1|            "uint     packFloat2x16(f16vec2);"
 2081|      1|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      1|            "int64_t doubleBitsToInt64(double);"
 2084|      1|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      1|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      1|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      1|            "uint64_t doubleBitsToUint64(double);"
 2089|      1|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      1|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      1|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      1|            "double int64BitsToDouble(int64_t);"
 2094|      1|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      1|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      1|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      1|            "double uint64BitsToDouble(uint64_t);"
 2099|      1|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      1|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      1|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      1|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      1|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      1|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      1|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      1|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      1|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      1|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      1|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      1|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      1|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      1|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      1|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      1|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      1|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      1|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      1|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      1|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      1|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      1|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      1|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      1|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      1|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      1|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      1|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      1|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      1|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      1|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      1|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      1|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      1|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      1|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      1|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      1|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      1|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      1|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      1|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      1|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      1|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      1|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      1|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      1|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      1|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      1|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      1|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      1|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      1|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      1|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      1|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      1|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      1|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      1|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      1|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      1|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      1|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      1|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      1|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      1|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      1|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      1|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      1|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      1|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      1|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      1|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      1|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      1|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      1|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      1|            "bvec2 equal(dvec2, dvec2);"
 2188|      1|            "bvec3 equal(dvec3, dvec3);"
 2189|      1|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      1|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      1|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      1|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      1|            "\n");
 2196|      1|    }
 2197|       |
 2198|       |
 2199|     38|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 7, False: 31]
  |  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|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 31, False: 7]
  |  Branch (2208:35): [True: 0, False: 31]
  ------------------
 2209|     38|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 7, False: 31]
  |  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|     38|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 31, False: 7]
  |  Branch (2244:34): [True: 0, False: 31]
  ------------------
 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|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 7, False: 31]
  |  Branch (2270:34): [True: 6, False: 1]
  ------------------
 2271|      6|        commonBuiltins.append(
 2272|      6|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      6|            "float readInvocationARB(float, uint);"
 2275|      6|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      6|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      6|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      6|            "int   readInvocationARB(int,   uint);"
 2280|      6|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      6|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      6|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      6|            "uint  readInvocationARB(uint,  uint);"
 2285|      6|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      6|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      6|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      6|            "float readFirstInvocationARB(float);"
 2290|      6|            "vec2  readFirstInvocationARB(vec2);"
 2291|      6|            "vec3  readFirstInvocationARB(vec3);"
 2292|      6|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      6|            "int   readFirstInvocationARB(int);"
 2295|      6|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      6|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      6|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      6|            "uint  readFirstInvocationARB(uint);"
 2300|      6|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      6|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      6|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      6|            "\n");
 2305|      6|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     38|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 7, False: 31]
  |  Branch (2308:34): [True: 6, False: 1]
  ------------------
 2309|      6|        commonBuiltins.append(
 2310|      6|            "bool anyInvocationARB(bool);"
 2311|      6|            "bool allInvocationsARB(bool);"
 2312|      6|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      6|            "\n");
 2315|      6|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     38|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 31, False: 7]
  |  Branch (2318:35): [True: 0, False: 31]
  ------------------
 2319|     38|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 7, False: 31]
  |  Branch (2319:35): [True: 6, False: 1]
  ------------------
 2320|      6|        commonBuiltins.append(
 2321|       |
 2322|      6|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      6|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      6|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      6|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      6|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      6|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      6|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      6|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      6|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      6|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      6|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      6|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      6|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      6|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      6|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      6|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      6|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      6|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      6|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      6|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      6|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      6|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      6|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      6|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      6|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      6|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      6|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      6|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      6|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      6|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      6|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      6|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      6|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      6|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      6|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      6|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      6|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      6|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      6|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      6|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      6|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      6|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      6|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      6|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      6|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      6|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      6|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      6|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      6|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      6|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      6|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      6|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      6|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      6|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      6|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      6|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      6|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      6|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      6|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      6|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      6|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      6|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      6|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      6|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      6|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      6|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      6|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      6|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      6|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      6|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      6|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      6|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      6|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      6|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      6|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      6|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      6|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      6|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      6|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      6|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      6|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      6|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      6|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      6|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      6|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      6|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      6|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      6|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      6|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      6|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      6|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      6|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      6|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      6|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      6|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      6|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      6|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      6|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      6|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      6|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      6|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      6|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      6|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      6|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      6|            "\n");
 2452|      6|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 31, False: 7]
  |  Branch (2455:35): [True: 0, False: 31]
  ------------------
 2456|     38|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 7, False: 31]
  |  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: 252, False: 42]
  ------------------
 2583|  1.26k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 1.00k, False: 252]
  ------------------
 2584|  1.00k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  1.00k|                        commonBuiltins.append(buf);
 2586|  1.00k|                    }
 2587|    252|                }
 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|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 31, False: 7]
  |  Branch (2619:35): [True: 0, False: 31]
  ------------------
 2620|     38|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 7, False: 31]
  |  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|     38|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 7, False: 31]
  |  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|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 7, False: 31]
  |  Branch (2637:34): [True: 6, False: 1]
  ------------------
 2638|      6|        commonBuiltins.append(
 2639|      6|            "float minInvocationsAMD(float);"
 2640|      6|            "vec2  minInvocationsAMD(vec2);"
 2641|      6|            "vec3  minInvocationsAMD(vec3);"
 2642|      6|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      6|            "int   minInvocationsAMD(int);"
 2645|      6|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      6|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      6|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      6|            "uint  minInvocationsAMD(uint);"
 2650|      6|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      6|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      6|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      6|            "double minInvocationsAMD(double);"
 2655|      6|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      6|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      6|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      6|            "int64_t minInvocationsAMD(int64_t);"
 2660|      6|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      6|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      6|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      6|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      6|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      6|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      6|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      6|            "float16_t minInvocationsAMD(float16_t);"
 2670|      6|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      6|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      6|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      6|            "int16_t minInvocationsAMD(int16_t);"
 2675|      6|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      6|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      6|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      6|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      6|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      6|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      6|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      6|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      6|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      6|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      6|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      6|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      6|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      6|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      6|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      6|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      6|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      6|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      6|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      6|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      6|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      6|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      6|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      6|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      6|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      6|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      6|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      6|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      6|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      6|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      6|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      6|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      6|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      6|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      6|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      6|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      6|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      6|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      6|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      6|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      6|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      6|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      6|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      6|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      6|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      6|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      6|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      6|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      6|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      6|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      6|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      6|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      6|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      6|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      6|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      6|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      6|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      6|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      6|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      6|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      6|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      6|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      6|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      6|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      6|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      6|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      6|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      6|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      6|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      6|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      6|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      6|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      6|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      6|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      6|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      6|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      6|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      6|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      6|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      6|            "float maxInvocationsAMD(float);"
 2775|      6|            "vec2  maxInvocationsAMD(vec2);"
 2776|      6|            "vec3  maxInvocationsAMD(vec3);"
 2777|      6|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      6|            "int   maxInvocationsAMD(int);"
 2780|      6|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      6|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      6|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      6|            "uint  maxInvocationsAMD(uint);"
 2785|      6|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      6|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      6|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      6|            "double maxInvocationsAMD(double);"
 2790|      6|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      6|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      6|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      6|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      6|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      6|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      6|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      6|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      6|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      6|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      6|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      6|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      6|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      6|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      6|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      6|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      6|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      6|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      6|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      6|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      6|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      6|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      6|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      6|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      6|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      6|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      6|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      6|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      6|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      6|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      6|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      6|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      6|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      6|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      6|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      6|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      6|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      6|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      6|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      6|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      6|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      6|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      6|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      6|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      6|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      6|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      6|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      6|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      6|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      6|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      6|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      6|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      6|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      6|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      6|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      6|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      6|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      6|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      6|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      6|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      6|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      6|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      6|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      6|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      6|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      6|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      6|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      6|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      6|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      6|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      6|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      6|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      6|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      6|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      6|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      6|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      6|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      6|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      6|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      6|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      6|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      6|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      6|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      6|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      6|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      6|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      6|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      6|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      6|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      6|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      6|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      6|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      6|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      6|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      6|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      6|            "float addInvocationsAMD(float);"
 2910|      6|            "vec2  addInvocationsAMD(vec2);"
 2911|      6|            "vec3  addInvocationsAMD(vec3);"
 2912|      6|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      6|            "int   addInvocationsAMD(int);"
 2915|      6|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      6|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      6|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      6|            "uint  addInvocationsAMD(uint);"
 2920|      6|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      6|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      6|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      6|            "double  addInvocationsAMD(double);"
 2925|      6|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      6|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      6|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      6|            "int64_t addInvocationsAMD(int64_t);"
 2930|      6|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      6|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      6|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      6|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      6|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      6|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      6|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      6|            "float16_t addInvocationsAMD(float16_t);"
 2940|      6|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      6|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      6|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      6|            "int16_t addInvocationsAMD(int16_t);"
 2945|      6|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      6|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      6|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      6|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      6|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      6|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      6|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      6|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      6|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      6|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      6|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      6|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      6|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      6|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      6|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      6|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      6|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      6|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      6|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      6|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      6|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      6|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      6|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      6|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      6|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      6|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      6|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      6|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      6|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      6|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      6|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      6|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      6|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      6|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      6|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      6|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      6|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      6|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      6|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      6|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      6|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      6|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      6|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      6|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      6|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      6|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      6|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      6|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      6|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      6|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      6|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      6|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      6|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      6|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      6|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      6|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      6|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      6|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      6|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      6|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      6|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      6|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      6|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      6|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      6|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      6|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      6|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      6|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      6|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      6|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      6|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      6|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      6|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      6|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      6|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      6|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      6|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      6|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      6|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      6|            "float minInvocationsNonUniformAMD(float);"
 3045|      6|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      6|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      6|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      6|            "int   minInvocationsNonUniformAMD(int);"
 3050|      6|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      6|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      6|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      6|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      6|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      6|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      6|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      6|            "double minInvocationsNonUniformAMD(double);"
 3060|      6|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      6|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      6|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      6|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      6|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      6|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      6|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      6|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      6|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      6|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      6|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      6|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      6|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      6|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      6|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      6|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      6|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      6|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      6|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      6|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      6|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      6|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      6|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      6|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      6|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      6|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      6|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      6|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      6|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      6|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      6|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      6|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      6|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      6|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      6|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      6|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      6|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      6|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      6|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      6|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      6|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      6|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      6|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      6|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      6|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      6|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      6|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      6|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      6|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      6|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      6|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      6|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      6|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      6|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      6|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      6|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      6|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      6|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      6|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      6|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      6|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      6|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      6|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      6|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      6|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      6|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      6|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      6|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      6|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      6|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      6|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      6|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      6|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      6|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      6|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      6|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      6|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      6|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      6|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      6|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      6|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      6|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      6|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      6|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      6|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      6|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      6|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      6|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      6|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      6|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      6|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      6|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      6|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      6|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      6|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      6|            "float maxInvocationsNonUniformAMD(float);"
 3180|      6|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      6|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      6|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      6|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      6|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      6|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      6|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      6|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      6|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      6|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      6|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      6|            "double maxInvocationsNonUniformAMD(double);"
 3195|      6|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      6|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      6|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      6|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      6|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      6|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      6|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      6|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      6|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      6|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      6|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      6|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      6|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      6|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      6|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      6|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      6|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      6|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      6|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      6|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      6|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      6|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      6|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      6|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      6|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      6|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      6|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      6|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      6|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      6|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      6|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      6|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      6|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      6|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      6|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      6|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      6|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      6|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      6|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      6|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      6|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      6|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      6|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      6|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      6|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      6|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      6|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      6|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      6|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      6|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      6|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      6|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      6|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      6|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      6|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      6|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      6|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      6|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      6|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      6|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      6|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      6|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      6|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      6|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      6|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      6|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      6|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      6|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      6|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      6|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      6|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      6|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      6|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      6|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      6|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      6|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      6|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      6|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      6|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      6|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      6|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      6|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      6|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      6|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      6|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      6|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      6|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      6|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      6|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      6|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      6|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      6|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      6|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      6|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      6|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      6|            "float addInvocationsNonUniformAMD(float);"
 3315|      6|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      6|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      6|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      6|            "int   addInvocationsNonUniformAMD(int);"
 3320|      6|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      6|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      6|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      6|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      6|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      6|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      6|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      6|            "double addInvocationsNonUniformAMD(double);"
 3330|      6|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      6|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      6|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      6|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      6|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      6|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      6|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      6|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      6|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      6|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      6|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      6|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      6|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      6|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      6|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      6|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      6|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      6|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      6|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      6|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      6|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      6|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      6|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      6|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      6|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      6|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      6|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      6|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      6|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      6|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      6|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      6|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      6|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      6|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      6|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      6|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      6|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      6|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      6|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      6|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      6|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      6|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      6|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      6|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      6|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      6|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      6|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      6|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      6|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      6|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      6|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      6|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      6|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      6|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      6|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      6|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      6|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      6|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      6|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      6|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      6|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      6|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      6|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      6|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      6|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      6|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      6|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      6|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      6|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      6|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      6|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      6|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      6|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      6|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      6|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      6|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      6|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      6|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      6|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      6|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      6|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      6|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      6|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      6|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      6|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      6|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      6|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      6|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      6|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      6|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      6|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      6|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      6|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      6|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      6|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      6|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      6|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      6|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      6|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      6|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      6|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      6|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      6|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      6|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      6|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      6|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      6|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      6|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      6|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      6|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      6|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      6|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      6|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      6|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      6|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      6|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      6|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      6|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      6|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      6|            "float writeInvocationAMD(float, float, uint);"
 3480|      6|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      6|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      6|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      6|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      6|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      6|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      6|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      6|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      6|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      6|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      6|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      6|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      6|            "\n");
 3497|      6|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     38|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 7, False: 31]
  |  Branch (3500:34): [True: 6, False: 1]
  ------------------
 3501|      6|        commonBuiltins.append(
 3502|      6|            "float cubeFaceIndexAMD(vec3);"
 3503|      6|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      6|            "uint64_t timeAMD();"
 3505|      6|            "uint64_t ballotAMD(bool);"
 3506|       |
 3507|      6|            "in int gl_SIMDGroupSizeAMD;"
 3508|      6|            "\n");
 3509|      6|    }
 3510|       |
 3511|       |    // GL_AMD_shader_fragment_mask
 3512|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3512:9): [True: 7, False: 31]
  |  Branch (3512:34): [True: 6, False: 1]
  ------------------
 3513|      6|        commonBuiltins.append(
 3514|      6|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3515|      6|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3516|      6|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3517|       |
 3518|      6|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3519|      6|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3520|      6|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3521|       |
 3522|      6|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3523|      6|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3524|      6|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3525|       |
 3526|      6|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3527|      6|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3528|      6|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3529|       |
 3530|      6|            "\n");
 3531|      6|    }
 3532|       |
 3533|     38|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3533:10): [True: 7, False: 31]
  |  Branch (3533:35): [True: 7, False: 0]
  ------------------
 3534|     31|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3534:10): [True: 31, False: 0]
  |  Branch (3534:35): [True: 0, False: 31]
  ------------------
 3535|      7|        commonBuiltins.append(
 3536|      7|            "uint countLeadingZeros(uint);"
 3537|      7|            "uvec2 countLeadingZeros(uvec2);"
 3538|      7|            "uvec3 countLeadingZeros(uvec3);"
 3539|      7|            "uvec4 countLeadingZeros(uvec4);"
 3540|       |
 3541|      7|            "uint countTrailingZeros(uint);"
 3542|      7|            "uvec2 countTrailingZeros(uvec2);"
 3543|      7|            "uvec3 countTrailingZeros(uvec3);"
 3544|      7|            "uvec4 countTrailingZeros(uvec4);"
 3545|       |
 3546|      7|            "uint absoluteDifference(int, int);"
 3547|      7|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3548|      7|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3549|      7|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3550|       |
 3551|      7|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3552|      7|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3553|      7|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3554|      7|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3555|       |
 3556|      7|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3557|      7|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3558|      7|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3559|      7|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3560|       |
 3561|      7|            "uint absoluteDifference(uint, uint);"
 3562|      7|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3563|      7|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3564|      7|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3565|       |
 3566|      7|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3567|      7|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3568|      7|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3569|      7|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3570|       |
 3571|      7|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3572|      7|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3573|      7|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3574|      7|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3575|       |
 3576|      7|            "int addSaturate(int, int);"
 3577|      7|            "ivec2 addSaturate(ivec2, ivec2);"
 3578|      7|            "ivec3 addSaturate(ivec3, ivec3);"
 3579|      7|            "ivec4 addSaturate(ivec4, ivec4);"
 3580|       |
 3581|      7|            "int16_t addSaturate(int16_t, int16_t);"
 3582|      7|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3583|      7|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3584|      7|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3585|       |
 3586|      7|            "int64_t addSaturate(int64_t, int64_t);"
 3587|      7|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3588|      7|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3589|      7|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3590|       |
 3591|      7|            "uint addSaturate(uint, uint);"
 3592|      7|            "uvec2 addSaturate(uvec2, uvec2);"
 3593|      7|            "uvec3 addSaturate(uvec3, uvec3);"
 3594|      7|            "uvec4 addSaturate(uvec4, uvec4);"
 3595|       |
 3596|      7|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3597|      7|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3598|      7|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3599|      7|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3600|       |
 3601|      7|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3602|      7|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3603|      7|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3604|      7|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3605|       |
 3606|      7|            "int subtractSaturate(int, int);"
 3607|      7|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3608|      7|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3609|      7|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3610|       |
 3611|      7|            "int16_t subtractSaturate(int16_t, int16_t);"
 3612|      7|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3613|      7|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3614|      7|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3615|       |
 3616|      7|            "int64_t subtractSaturate(int64_t, int64_t);"
 3617|      7|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3618|      7|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3619|      7|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3620|       |
 3621|      7|            "uint subtractSaturate(uint, uint);"
 3622|      7|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3623|      7|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3624|      7|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3625|       |
 3626|      7|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3627|      7|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3628|      7|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3629|      7|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3630|       |
 3631|      7|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3632|      7|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3633|      7|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3634|      7|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3635|       |
 3636|      7|            "int average(int, int);"
 3637|      7|            "ivec2 average(ivec2, ivec2);"
 3638|      7|            "ivec3 average(ivec3, ivec3);"
 3639|      7|            "ivec4 average(ivec4, ivec4);"
 3640|       |
 3641|      7|            "int16_t average(int16_t, int16_t);"
 3642|      7|            "i16vec2 average(i16vec2, i16vec2);"
 3643|      7|            "i16vec3 average(i16vec3, i16vec3);"
 3644|      7|            "i16vec4 average(i16vec4, i16vec4);"
 3645|       |
 3646|      7|            "int64_t average(int64_t, int64_t);"
 3647|      7|            "i64vec2 average(i64vec2, i64vec2);"
 3648|      7|            "i64vec3 average(i64vec3, i64vec3);"
 3649|      7|            "i64vec4 average(i64vec4, i64vec4);"
 3650|       |
 3651|      7|            "uint average(uint, uint);"
 3652|      7|            "uvec2 average(uvec2, uvec2);"
 3653|      7|            "uvec3 average(uvec3, uvec3);"
 3654|      7|            "uvec4 average(uvec4, uvec4);"
 3655|       |
 3656|      7|            "uint16_t average(uint16_t, uint16_t);"
 3657|      7|            "u16vec2 average(u16vec2, u16vec2);"
 3658|      7|            "u16vec3 average(u16vec3, u16vec3);"
 3659|      7|            "u16vec4 average(u16vec4, u16vec4);"
 3660|       |
 3661|      7|            "uint64_t average(uint64_t, uint64_t);"
 3662|      7|            "u64vec2 average(u64vec2, u64vec2);"
 3663|      7|            "u64vec3 average(u64vec3, u64vec3);"
 3664|      7|            "u64vec4 average(u64vec4, u64vec4);"
 3665|       |
 3666|      7|            "int averageRounded(int, int);"
 3667|      7|            "ivec2 averageRounded(ivec2, ivec2);"
 3668|      7|            "ivec3 averageRounded(ivec3, ivec3);"
 3669|      7|            "ivec4 averageRounded(ivec4, ivec4);"
 3670|       |
 3671|      7|            "int16_t averageRounded(int16_t, int16_t);"
 3672|      7|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3673|      7|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3674|      7|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3675|       |
 3676|      7|            "int64_t averageRounded(int64_t, int64_t);"
 3677|      7|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3678|      7|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3679|      7|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3680|       |
 3681|      7|            "uint averageRounded(uint, uint);"
 3682|      7|            "uvec2 averageRounded(uvec2, uvec2);"
 3683|      7|            "uvec3 averageRounded(uvec3, uvec3);"
 3684|      7|            "uvec4 averageRounded(uvec4, uvec4);"
 3685|       |
 3686|      7|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3687|      7|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3688|      7|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3689|      7|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3690|       |
 3691|      7|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3692|      7|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3693|      7|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3694|      7|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3695|       |
 3696|      7|            "int multiply32x16(int, int);"
 3697|      7|            "ivec2 multiply32x16(ivec2, ivec2);"
 3698|      7|            "ivec3 multiply32x16(ivec3, ivec3);"
 3699|      7|            "ivec4 multiply32x16(ivec4, ivec4);"
 3700|       |
 3701|      7|            "uint multiply32x16(uint, uint);"
 3702|      7|            "uvec2 multiply32x16(uvec2, uvec2);"
 3703|      7|            "uvec3 multiply32x16(uvec3, uvec3);"
 3704|      7|            "uvec4 multiply32x16(uvec4, uvec4);"
 3705|      7|            "\n");
 3706|      7|    }
 3707|       |
 3708|     38|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3708:10): [True: 7, False: 31]
  |  Branch (3708:35): [True: 6, False: 1]
  ------------------
 3709|     32|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3709:10): [True: 31, False: 1]
  |  Branch (3709:35): [True: 0, False: 31]
  ------------------
 3710|      6|        commonBuiltins.append(
 3711|      6|            "struct gl_TextureFootprint2DNV {"
 3712|      6|                "uvec2 anchor;"
 3713|      6|                "uvec2 offset;"
 3714|      6|                "uvec2 mask;"
 3715|      6|                "uint lod;"
 3716|      6|                "uint granularity;"
 3717|      6|            "};"
 3718|       |
 3719|      6|            "struct gl_TextureFootprint3DNV {"
 3720|      6|                "uvec3 anchor;"
 3721|      6|                "uvec3 offset;"
 3722|      6|                "uvec2 mask;"
 3723|      6|                "uint lod;"
 3724|      6|                "uint granularity;"
 3725|      6|            "};"
 3726|      6|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3727|      6|            "bool textureFootprintNV(isampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3728|      6|            "bool textureFootprintNV(usampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3729|      6|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3730|      6|            "bool textureFootprintNV(isampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3731|      6|            "bool textureFootprintNV(usampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3732|      6|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3733|      6|            "bool textureFootprintNV(isampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3734|      6|            "bool textureFootprintNV(usampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3735|      6|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3736|      6|            "bool textureFootprintNV(isampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3737|      6|            "bool textureFootprintNV(usampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3738|      6|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3739|      6|            "bool textureFootprintClampNV(isampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3740|      6|            "bool textureFootprintClampNV(usampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3741|      6|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3742|      6|            "bool textureFootprintClampNV(isampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3743|      6|            "bool textureFootprintClampNV(usampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3744|      6|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3745|      6|            "bool textureFootprintClampNV(isampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3746|      6|            "bool textureFootprintClampNV(usampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3747|      6|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3748|      6|            "bool textureFootprintClampNV(isampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3749|      6|            "bool textureFootprintClampNV(usampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3750|      6|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3751|      6|            "bool textureFootprintLodNV(isampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3752|      6|            "bool textureFootprintLodNV(usampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3753|      6|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3754|      6|            "bool textureFootprintLodNV(isampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3755|      6|            "bool textureFootprintLodNV(usampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3756|      6|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3757|      6|            "bool textureFootprintGradNV(isampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3758|      6|            "bool textureFootprintGradNV(usampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3759|      6|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3760|      6|            "bool textureFootprintGradClampNV(isampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3761|      6|            "bool textureFootprintGradClampNV(usampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3762|      6|            "\n");
 3763|      6|    }
 3764|       |
 3765|     38|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3765:10): [True: 31, False: 7]
  |  Branch (3765:35): [True: 0, False: 31]
  |  Branch (3765:53): [True: 0, False: 0]
  ------------------
 3766|     38|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3766:10): [True: 7, False: 31]
  |  Branch (3766:35): [True: 7, False: 0]
  |  Branch (3766:53): [True: 1, False: 6]
  ------------------
 3767|      1|        commonBuiltins.append("int mix(int, int, bool);"
 3768|      1|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3769|      1|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3770|      1|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3771|      1|                              "uint  mix(uint,  uint,  bool );"
 3772|      1|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3773|      1|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3774|      1|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3775|      1|                              "bool  mix(bool,  bool,  bool );"
 3776|      1|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3777|      1|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3778|      1|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3779|       |
 3780|      1|                              "\n");
 3781|      1|    }
 3782|       |
 3783|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3784|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3784:10): [True: 7, False: 31]
  |  Branch (3784:35): [True: 6, False: 1]
  |  Branch (3784:55): [True: 31, False: 1]
  |  Branch (3784:80): [True: 0, False: 31]
  ------------------
 3785|      6|        commonBuiltins.append(
 3786|      6|            "float16_t radians(float16_t);"
 3787|      6|            "f16vec2   radians(f16vec2);"
 3788|      6|            "f16vec3   radians(f16vec3);"
 3789|      6|            "f16vec4   radians(f16vec4);"
 3790|       |
 3791|      6|            "float16_t degrees(float16_t);"
 3792|      6|            "f16vec2   degrees(f16vec2);"
 3793|      6|            "f16vec3   degrees(f16vec3);"
 3794|      6|            "f16vec4   degrees(f16vec4);"
 3795|       |
 3796|      6|            "float16_t sin(float16_t);"
 3797|      6|            "f16vec2   sin(f16vec2);"
 3798|      6|            "f16vec3   sin(f16vec3);"
 3799|      6|            "f16vec4   sin(f16vec4);"
 3800|       |
 3801|      6|            "float16_t cos(float16_t);"
 3802|      6|            "f16vec2   cos(f16vec2);"
 3803|      6|            "f16vec3   cos(f16vec3);"
 3804|      6|            "f16vec4   cos(f16vec4);"
 3805|       |
 3806|      6|            "float16_t tan(float16_t);"
 3807|      6|            "f16vec2   tan(f16vec2);"
 3808|      6|            "f16vec3   tan(f16vec3);"
 3809|      6|            "f16vec4   tan(f16vec4);"
 3810|       |
 3811|      6|            "float16_t asin(float16_t);"
 3812|      6|            "f16vec2   asin(f16vec2);"
 3813|      6|            "f16vec3   asin(f16vec3);"
 3814|      6|            "f16vec4   asin(f16vec4);"
 3815|       |
 3816|      6|            "float16_t acos(float16_t);"
 3817|      6|            "f16vec2   acos(f16vec2);"
 3818|      6|            "f16vec3   acos(f16vec3);"
 3819|      6|            "f16vec4   acos(f16vec4);"
 3820|       |
 3821|      6|            "float16_t atan(float16_t, float16_t);"
 3822|      6|            "f16vec2   atan(f16vec2,   f16vec2);"
 3823|      6|            "f16vec3   atan(f16vec3,   f16vec3);"
 3824|      6|            "f16vec4   atan(f16vec4,   f16vec4);"
 3825|       |
 3826|      6|            "float16_t atan(float16_t);"
 3827|      6|            "f16vec2   atan(f16vec2);"
 3828|      6|            "f16vec3   atan(f16vec3);"
 3829|      6|            "f16vec4   atan(f16vec4);"
 3830|       |
 3831|      6|            "float16_t sinh(float16_t);"
 3832|      6|            "f16vec2   sinh(f16vec2);"
 3833|      6|            "f16vec3   sinh(f16vec3);"
 3834|      6|            "f16vec4   sinh(f16vec4);"
 3835|       |
 3836|      6|            "float16_t cosh(float16_t);"
 3837|      6|            "f16vec2   cosh(f16vec2);"
 3838|      6|            "f16vec3   cosh(f16vec3);"
 3839|      6|            "f16vec4   cosh(f16vec4);"
 3840|       |
 3841|      6|            "float16_t tanh(float16_t);"
 3842|      6|            "f16vec2   tanh(f16vec2);"
 3843|      6|            "f16vec3   tanh(f16vec3);"
 3844|      6|            "f16vec4   tanh(f16vec4);"
 3845|       |
 3846|      6|            "float16_t asinh(float16_t);"
 3847|      6|            "f16vec2   asinh(f16vec2);"
 3848|      6|            "f16vec3   asinh(f16vec3);"
 3849|      6|            "f16vec4   asinh(f16vec4);"
 3850|       |
 3851|      6|            "float16_t acosh(float16_t);"
 3852|      6|            "f16vec2   acosh(f16vec2);"
 3853|      6|            "f16vec3   acosh(f16vec3);"
 3854|      6|            "f16vec4   acosh(f16vec4);"
 3855|       |
 3856|      6|            "float16_t atanh(float16_t);"
 3857|      6|            "f16vec2   atanh(f16vec2);"
 3858|      6|            "f16vec3   atanh(f16vec3);"
 3859|      6|            "f16vec4   atanh(f16vec4);"
 3860|       |
 3861|      6|            "float16_t pow(float16_t, float16_t);"
 3862|      6|            "f16vec2   pow(f16vec2,   f16vec2);"
 3863|      6|            "f16vec3   pow(f16vec3,   f16vec3);"
 3864|      6|            "f16vec4   pow(f16vec4,   f16vec4);"
 3865|       |
 3866|      6|            "float16_t exp(float16_t);"
 3867|      6|            "f16vec2   exp(f16vec2);"
 3868|      6|            "f16vec3   exp(f16vec3);"
 3869|      6|            "f16vec4   exp(f16vec4);"
 3870|       |
 3871|      6|            "float16_t log(float16_t);"
 3872|      6|            "f16vec2   log(f16vec2);"
 3873|      6|            "f16vec3   log(f16vec3);"
 3874|      6|            "f16vec4   log(f16vec4);"
 3875|       |
 3876|      6|            "float16_t exp2(float16_t);"
 3877|      6|            "f16vec2   exp2(f16vec2);"
 3878|      6|            "f16vec3   exp2(f16vec3);"
 3879|      6|            "f16vec4   exp2(f16vec4);"
 3880|       |
 3881|      6|            "float16_t log2(float16_t);"
 3882|      6|            "f16vec2   log2(f16vec2);"
 3883|      6|            "f16vec3   log2(f16vec3);"
 3884|      6|            "f16vec4   log2(f16vec4);"
 3885|       |
 3886|      6|            "float16_t sqrt(float16_t);"
 3887|      6|            "f16vec2   sqrt(f16vec2);"
 3888|      6|            "f16vec3   sqrt(f16vec3);"
 3889|      6|            "f16vec4   sqrt(f16vec4);"
 3890|       |
 3891|      6|            "float16_t inversesqrt(float16_t);"
 3892|      6|            "f16vec2   inversesqrt(f16vec2);"
 3893|      6|            "f16vec3   inversesqrt(f16vec3);"
 3894|      6|            "f16vec4   inversesqrt(f16vec4);"
 3895|       |
 3896|      6|            "float16_t abs(float16_t);"
 3897|      6|            "f16vec2   abs(f16vec2);"
 3898|      6|            "f16vec3   abs(f16vec3);"
 3899|      6|            "f16vec4   abs(f16vec4);"
 3900|       |
 3901|      6|            "float16_t sign(float16_t);"
 3902|      6|            "f16vec2   sign(f16vec2);"
 3903|      6|            "f16vec3   sign(f16vec3);"
 3904|      6|            "f16vec4   sign(f16vec4);"
 3905|       |
 3906|      6|            "float16_t floor(float16_t);"
 3907|      6|            "f16vec2   floor(f16vec2);"
 3908|      6|            "f16vec3   floor(f16vec3);"
 3909|      6|            "f16vec4   floor(f16vec4);"
 3910|       |
 3911|      6|            "float16_t trunc(float16_t);"
 3912|      6|            "f16vec2   trunc(f16vec2);"
 3913|      6|            "f16vec3   trunc(f16vec3);"
 3914|      6|            "f16vec4   trunc(f16vec4);"
 3915|       |
 3916|      6|            "float16_t round(float16_t);"
 3917|      6|            "f16vec2   round(f16vec2);"
 3918|      6|            "f16vec3   round(f16vec3);"
 3919|      6|            "f16vec4   round(f16vec4);"
 3920|       |
 3921|      6|            "float16_t roundEven(float16_t);"
 3922|      6|            "f16vec2   roundEven(f16vec2);"
 3923|      6|            "f16vec3   roundEven(f16vec3);"
 3924|      6|            "f16vec4   roundEven(f16vec4);"
 3925|       |
 3926|      6|            "float16_t ceil(float16_t);"
 3927|      6|            "f16vec2   ceil(f16vec2);"
 3928|      6|            "f16vec3   ceil(f16vec3);"
 3929|      6|            "f16vec4   ceil(f16vec4);"
 3930|       |
 3931|      6|            "float16_t fract(float16_t);"
 3932|      6|            "f16vec2   fract(f16vec2);"
 3933|      6|            "f16vec3   fract(f16vec3);"
 3934|      6|            "f16vec4   fract(f16vec4);"
 3935|       |
 3936|      6|            "float16_t mod(float16_t, float16_t);"
 3937|      6|            "f16vec2   mod(f16vec2,   float16_t);"
 3938|      6|            "f16vec3   mod(f16vec3,   float16_t);"
 3939|      6|            "f16vec4   mod(f16vec4,   float16_t);"
 3940|      6|            "f16vec2   mod(f16vec2,   f16vec2);"
 3941|      6|            "f16vec3   mod(f16vec3,   f16vec3);"
 3942|      6|            "f16vec4   mod(f16vec4,   f16vec4);"
 3943|       |
 3944|      6|            "float16_t modf(float16_t, out float16_t);"
 3945|      6|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3946|      6|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3947|      6|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3948|       |
 3949|      6|            "float16_t min(float16_t, float16_t);"
 3950|      6|            "f16vec2   min(f16vec2,   float16_t);"
 3951|      6|            "f16vec3   min(f16vec3,   float16_t);"
 3952|      6|            "f16vec4   min(f16vec4,   float16_t);"
 3953|      6|            "f16vec2   min(f16vec2,   f16vec2);"
 3954|      6|            "f16vec3   min(f16vec3,   f16vec3);"
 3955|      6|            "f16vec4   min(f16vec4,   f16vec4);"
 3956|       |
 3957|      6|            "float16_t max(float16_t, float16_t);"
 3958|      6|            "f16vec2   max(f16vec2,   float16_t);"
 3959|      6|            "f16vec3   max(f16vec3,   float16_t);"
 3960|      6|            "f16vec4   max(f16vec4,   float16_t);"
 3961|      6|            "f16vec2   max(f16vec2,   f16vec2);"
 3962|      6|            "f16vec3   max(f16vec3,   f16vec3);"
 3963|      6|            "f16vec4   max(f16vec4,   f16vec4);"
 3964|       |
 3965|      6|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3966|      6|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3967|      6|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3968|      6|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3969|      6|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3970|      6|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3971|      6|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3972|       |
 3973|      6|            "float16_t mix(float16_t, float16_t, float16_t);"
 3974|      6|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3975|      6|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3976|      6|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3977|      6|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3978|      6|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3979|      6|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3980|      6|            "float16_t mix(float16_t, float16_t, bool);"
 3981|      6|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3982|      6|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3983|      6|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3984|       |
 3985|      6|            "float16_t step(float16_t, float16_t);"
 3986|      6|            "f16vec2   step(f16vec2,   f16vec2);"
 3987|      6|            "f16vec3   step(f16vec3,   f16vec3);"
 3988|      6|            "f16vec4   step(f16vec4,   f16vec4);"
 3989|      6|            "f16vec2   step(float16_t, f16vec2);"
 3990|      6|            "f16vec3   step(float16_t, f16vec3);"
 3991|      6|            "f16vec4   step(float16_t, f16vec4);"
 3992|       |
 3993|      6|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3994|      6|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3995|      6|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3996|      6|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3997|      6|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3998|      6|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3999|      6|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 4000|       |
 4001|      6|            "bool  isnan(float16_t);"
 4002|      6|            "bvec2 isnan(f16vec2);"
 4003|      6|            "bvec3 isnan(f16vec3);"
 4004|      6|            "bvec4 isnan(f16vec4);"
 4005|       |
 4006|      6|            "bool  isinf(float16_t);"
 4007|      6|            "bvec2 isinf(f16vec2);"
 4008|      6|            "bvec3 isinf(f16vec3);"
 4009|      6|            "bvec4 isinf(f16vec4);"
 4010|       |
 4011|      6|            "float16_t fma(float16_t, float16_t, float16_t);"
 4012|      6|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 4013|      6|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 4014|      6|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 4015|       |
 4016|      6|            "float16_t frexp(float16_t, out int);"
 4017|      6|            "f16vec2   frexp(f16vec2,   out ivec2);"
 4018|      6|            "f16vec3   frexp(f16vec3,   out ivec3);"
 4019|      6|            "f16vec4   frexp(f16vec4,   out ivec4);"
 4020|       |
 4021|      6|            "float16_t ldexp(float16_t, in int);"
 4022|      6|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 4023|      6|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 4024|      6|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4025|       |
 4026|      6|            "uint    packFloat2x16(f16vec2);"
 4027|      6|            "f16vec2 unpackFloat2x16(uint);"
 4028|       |
 4029|      6|            "float16_t length(float16_t);"
 4030|      6|            "float16_t length(f16vec2);"
 4031|      6|            "float16_t length(f16vec3);"
 4032|      6|            "float16_t length(f16vec4);"
 4033|       |
 4034|      6|            "float16_t distance(float16_t, float16_t);"
 4035|      6|            "float16_t distance(f16vec2,   f16vec2);"
 4036|      6|            "float16_t distance(f16vec3,   f16vec3);"
 4037|      6|            "float16_t distance(f16vec4,   f16vec4);"
 4038|       |
 4039|      6|            "float16_t dot(float16_t, float16_t);"
 4040|      6|            "float16_t dot(f16vec2,   f16vec2);"
 4041|      6|            "float16_t dot(f16vec3,   f16vec3);"
 4042|      6|            "float16_t dot(f16vec4,   f16vec4);"
 4043|       |
 4044|      6|            "f16vec3 cross(f16vec3, f16vec3);"
 4045|       |
 4046|      6|            "float16_t normalize(float16_t);"
 4047|      6|            "f16vec2   normalize(f16vec2);"
 4048|      6|            "f16vec3   normalize(f16vec3);"
 4049|      6|            "f16vec4   normalize(f16vec4);"
 4050|       |
 4051|      6|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4052|      6|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4053|      6|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4054|      6|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4055|       |
 4056|      6|            "float16_t reflect(float16_t, float16_t);"
 4057|      6|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4058|      6|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4059|      6|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4060|       |
 4061|      6|            "float16_t refract(float16_t, float16_t, float16_t);"
 4062|      6|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4063|      6|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4064|      6|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4065|       |
 4066|      6|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4067|      6|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4068|      6|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4069|      6|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4070|      6|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4071|      6|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4072|      6|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4073|      6|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4074|      6|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4075|       |
 4076|      6|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4077|      6|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4078|      6|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4079|      6|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4080|      6|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4081|      6|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4082|      6|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4083|      6|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4084|      6|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4085|       |
 4086|      6|            "f16mat2   transpose(f16mat2);"
 4087|      6|            "f16mat3   transpose(f16mat3);"
 4088|      6|            "f16mat4   transpose(f16mat4);"
 4089|      6|            "f16mat2x3 transpose(f16mat3x2);"
 4090|      6|            "f16mat3x2 transpose(f16mat2x3);"
 4091|      6|            "f16mat2x4 transpose(f16mat4x2);"
 4092|      6|            "f16mat4x2 transpose(f16mat2x4);"
 4093|      6|            "f16mat3x4 transpose(f16mat4x3);"
 4094|      6|            "f16mat4x3 transpose(f16mat3x4);"
 4095|       |
 4096|      6|            "float16_t determinant(f16mat2);"
 4097|      6|            "float16_t determinant(f16mat3);"
 4098|      6|            "float16_t determinant(f16mat4);"
 4099|       |
 4100|      6|            "f16mat2 inverse(f16mat2);"
 4101|      6|            "f16mat3 inverse(f16mat3);"
 4102|      6|            "f16mat4 inverse(f16mat4);"
 4103|       |
 4104|      6|            "bvec2 lessThan(f16vec2, f16vec2);"
 4105|      6|            "bvec3 lessThan(f16vec3, f16vec3);"
 4106|      6|            "bvec4 lessThan(f16vec4, f16vec4);"
 4107|       |
 4108|      6|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4109|      6|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4110|      6|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4111|       |
 4112|      6|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4113|      6|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4114|      6|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4115|       |
 4116|      6|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4117|      6|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4118|      6|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4119|       |
 4120|      6|            "bvec2 equal(f16vec2, f16vec2);"
 4121|      6|            "bvec3 equal(f16vec3, f16vec3);"
 4122|      6|            "bvec4 equal(f16vec4, f16vec4);"
 4123|       |
 4124|      6|            "bvec2 notEqual(f16vec2, f16vec2);"
 4125|      6|            "bvec3 notEqual(f16vec3, f16vec3);"
 4126|      6|            "bvec4 notEqual(f16vec4, f16vec4);"
 4127|       |
 4128|      6|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4129|      6|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4130|      6|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4131|      6|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4132|       |
 4133|      6|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4134|      6|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4135|      6|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4136|      6|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4137|       |
 4138|      6|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4139|      6|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4140|      6|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4141|      6|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4142|       |
 4143|      6|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4144|      6|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4145|      6|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4146|      6|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4147|       |
 4148|      6|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4149|      6|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4150|      6|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4151|      6|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4152|       |
 4153|      6|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4154|      6|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4155|      6|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4156|      6|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4157|       |
 4158|      6|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4159|      6|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4160|      6|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4161|      6|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4162|       |
 4163|      6|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4164|      6|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4165|      6|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4166|      6|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4167|       |
 4168|      6|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4169|      6|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4170|      6|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4171|      6|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4172|       |
 4173|      6|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4174|      6|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4175|      6|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4176|      6|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4177|       |
 4178|      6|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4179|      6|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4180|      6|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4181|      6|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4182|       |
 4183|      6|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4184|      6|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4185|      6|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4186|      6|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4187|       |
 4188|      6|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4189|      6|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4190|      6|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4191|      6|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4192|       |
 4193|      6|            "void saturatedConvertEXT();"
 4194|       |
 4195|      6|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4196|      6|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4197|      6|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4198|      6|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4199|       |
 4200|      6|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4201|      6|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4202|      6|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4203|      6|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4204|       |
 4205|      6|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4206|      6|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4207|      6|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4208|      6|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4209|       |
 4210|      6|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4211|      6|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4212|      6|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4213|      6|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4214|       |
 4215|      6|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4216|      6|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4217|      6|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4218|      6|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4219|       |
 4220|      6|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4221|      6|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4222|      6|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4223|      6|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4224|       |
 4225|      6|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4226|      6|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4227|      6|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4228|      6|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4229|       |
 4230|      6|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4231|      6|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4232|      6|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4233|      6|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4234|       |
 4235|      6|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4236|      6|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4237|      6|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4238|      6|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4239|       |
 4240|      6|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4241|      6|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4242|      6|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4243|      6|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4244|       |
 4245|      6|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4246|      6|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4247|      6|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4248|       |
 4249|      6|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4250|      6|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4251|      6|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4252|       |
 4253|      6|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4254|      6|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4255|      6|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4256|       |
 4257|      6|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4258|      6|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4259|      6|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4260|       |
 4261|      6|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4262|      6|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4263|      6|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4264|      6|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4265|       |
 4266|      6|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4267|      6|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4268|      6|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4269|      6|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4270|       |
 4271|      6|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4272|      6|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4273|      6|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4274|      6|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4275|       |
 4276|      6|            "\n");
 4277|      6|    }
 4278|       |
 4279|       |    // Explicit types
 4280|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4280:10): [True: 7, False: 31]
  |  Branch (4280:35): [True: 6, False: 1]
  |  Branch (4280:55): [True: 31, False: 1]
  |  Branch (4280:80): [True: 0, False: 31]
  ------------------
 4281|      6|        commonBuiltins.append(
 4282|      6|            "int8_t abs(int8_t);"
 4283|      6|            "i8vec2 abs(i8vec2);"
 4284|      6|            "i8vec3 abs(i8vec3);"
 4285|      6|            "i8vec4 abs(i8vec4);"
 4286|       |
 4287|      6|            "int8_t sign(int8_t);"
 4288|      6|            "i8vec2 sign(i8vec2);"
 4289|      6|            "i8vec3 sign(i8vec3);"
 4290|      6|            "i8vec4 sign(i8vec4);"
 4291|       |
 4292|      6|            "int8_t min(int8_t x, int8_t y);"
 4293|      6|            "i8vec2 min(i8vec2 x, int8_t y);"
 4294|      6|            "i8vec3 min(i8vec3 x, int8_t y);"
 4295|      6|            "i8vec4 min(i8vec4 x, int8_t y);"
 4296|      6|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4297|      6|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4298|      6|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4299|       |
 4300|      6|            "uint8_t min(uint8_t x, uint8_t y);"
 4301|      6|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4302|      6|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4303|      6|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4304|      6|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4305|      6|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4306|      6|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4307|       |
 4308|      6|            "int8_t max(int8_t x, int8_t y);"
 4309|      6|            "i8vec2 max(i8vec2 x, int8_t y);"
 4310|      6|            "i8vec3 max(i8vec3 x, int8_t y);"
 4311|      6|            "i8vec4 max(i8vec4 x, int8_t y);"
 4312|      6|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4313|      6|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4314|      6|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4315|       |
 4316|      6|            "uint8_t max(uint8_t x, uint8_t y);"
 4317|      6|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4318|      6|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4319|      6|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4320|      6|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4321|      6|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4322|      6|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4323|       |
 4324|      6|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4325|      6|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4326|      6|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4327|      6|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4328|      6|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4329|      6|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4330|      6|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4331|       |
 4332|      6|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4333|      6|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4334|      6|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4335|      6|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4336|      6|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4337|      6|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4338|      6|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4339|       |
 4340|      6|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4341|      6|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4342|      6|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4343|      6|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4344|      6|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4345|      6|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4346|      6|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4347|      6|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4348|       |
 4349|      6|            "bvec2 lessThan(i8vec2, i8vec2);"
 4350|      6|            "bvec3 lessThan(i8vec3, i8vec3);"
 4351|      6|            "bvec4 lessThan(i8vec4, i8vec4);"
 4352|      6|            "bvec2 lessThan(u8vec2, u8vec2);"
 4353|      6|            "bvec3 lessThan(u8vec3, u8vec3);"
 4354|      6|            "bvec4 lessThan(u8vec4, u8vec4);"
 4355|       |
 4356|      6|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4357|      6|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4358|      6|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4359|      6|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4360|      6|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4361|      6|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4362|       |
 4363|      6|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4364|      6|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4365|      6|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4366|      6|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4367|      6|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4368|      6|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4369|       |
 4370|      6|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4371|      6|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4372|      6|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4373|      6|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4374|      6|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4375|      6|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4376|       |
 4377|      6|            "bvec2 equal(i8vec2, i8vec2);"
 4378|      6|            "bvec3 equal(i8vec3, i8vec3);"
 4379|      6|            "bvec4 equal(i8vec4, i8vec4);"
 4380|      6|            "bvec2 equal(u8vec2, u8vec2);"
 4381|      6|            "bvec3 equal(u8vec3, u8vec3);"
 4382|      6|            "bvec4 equal(u8vec4, u8vec4);"
 4383|       |
 4384|      6|            "bvec2 notEqual(i8vec2, i8vec2);"
 4385|      6|            "bvec3 notEqual(i8vec3, i8vec3);"
 4386|      6|            "bvec4 notEqual(i8vec4, i8vec4);"
 4387|      6|            "bvec2 notEqual(u8vec2, u8vec2);"
 4388|      6|            "bvec3 notEqual(u8vec3, u8vec3);"
 4389|      6|            "bvec4 notEqual(u8vec4, u8vec4);"
 4390|       |
 4391|      6|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4392|      6|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4393|      6|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4394|      6|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4395|       |
 4396|      6|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4397|      6|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4398|      6|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4399|      6|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4400|       |
 4401|      6|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4402|      6|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4403|      6|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4404|      6|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4405|       |
 4406|      6|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4407|      6|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4408|      6|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4409|      6|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4410|       |
 4411|      6|            "  int8_t bitCount(  int8_t);"
 4412|      6|            "i8vec2 bitCount(i8vec2);"
 4413|      6|            "i8vec3 bitCount(i8vec3);"
 4414|      6|            "i8vec4 bitCount(i8vec4);"
 4415|       |
 4416|      6|            "  int8_t bitCount( uint8_t);"
 4417|      6|            "i8vec2 bitCount(u8vec2);"
 4418|      6|            "i8vec3 bitCount(u8vec3);"
 4419|      6|            "i8vec4 bitCount(u8vec4);"
 4420|       |
 4421|      6|            "int8_t bitfieldReverse(highp int8_t);"
 4422|      6|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4423|      6|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4424|      6|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4425|       |
 4426|      6|            "uint8_t bitfieldReverse(highp uint8_t);"
 4427|      6|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4428|      6|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4429|      6|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4430|       |
 4431|      6|            "  int8_t findLSB(  int8_t);"
 4432|      6|            "i8vec2 findLSB(i8vec2);"
 4433|      6|            "i8vec3 findLSB(i8vec3);"
 4434|      6|            "i8vec4 findLSB(i8vec4);"
 4435|       |
 4436|      6|            "  int8_t findLSB( uint8_t);"
 4437|      6|            "i8vec2 findLSB(u8vec2);"
 4438|      6|            "i8vec3 findLSB(u8vec3);"
 4439|      6|            "i8vec4 findLSB(u8vec4);"
 4440|       |
 4441|      6|            "  int8_t findMSB(  int8_t);"
 4442|      6|            "i8vec2 findMSB(i8vec2);"
 4443|      6|            "i8vec3 findMSB(i8vec3);"
 4444|      6|            "i8vec4 findMSB(i8vec4);"
 4445|       |
 4446|      6|            "  int8_t findMSB( uint8_t);"
 4447|      6|            "i8vec2 findMSB(u8vec2);"
 4448|      6|            "i8vec3 findMSB(u8vec3);"
 4449|      6|            "i8vec4 findMSB(u8vec4);"
 4450|       |
 4451|      6|            "int16_t abs(int16_t);"
 4452|      6|            "i16vec2 abs(i16vec2);"
 4453|      6|            "i16vec3 abs(i16vec3);"
 4454|      6|            "i16vec4 abs(i16vec4);"
 4455|       |
 4456|      6|            "int16_t sign(int16_t);"
 4457|      6|            "i16vec2 sign(i16vec2);"
 4458|      6|            "i16vec3 sign(i16vec3);"
 4459|      6|            "i16vec4 sign(i16vec4);"
 4460|       |
 4461|      6|            "int16_t min(int16_t x, int16_t y);"
 4462|      6|            "i16vec2 min(i16vec2 x, int16_t y);"
 4463|      6|            "i16vec3 min(i16vec3 x, int16_t y);"
 4464|      6|            "i16vec4 min(i16vec4 x, int16_t y);"
 4465|      6|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4466|      6|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4467|      6|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4468|       |
 4469|      6|            "uint16_t min(uint16_t x, uint16_t y);"
 4470|      6|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4471|      6|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4472|      6|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4473|      6|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4474|      6|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4475|      6|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4476|       |
 4477|      6|            "int16_t max(int16_t x, int16_t y);"
 4478|      6|            "i16vec2 max(i16vec2 x, int16_t y);"
 4479|      6|            "i16vec3 max(i16vec3 x, int16_t y);"
 4480|      6|            "i16vec4 max(i16vec4 x, int16_t y);"
 4481|      6|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4482|      6|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4483|      6|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4484|       |
 4485|      6|            "uint16_t max(uint16_t x, uint16_t y);"
 4486|      6|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4487|      6|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4488|      6|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4489|      6|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4490|      6|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4491|      6|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4492|       |
 4493|      6|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4494|      6|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4495|      6|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4496|      6|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4497|      6|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4498|      6|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4499|      6|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4500|       |
 4501|      6|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4502|      6|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4503|      6|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4504|      6|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4505|      6|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4506|      6|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4507|      6|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4508|       |
 4509|      6|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4510|      6|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4511|      6|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4512|      6|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4513|      6|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4514|      6|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4515|      6|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4516|      6|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4517|       |
 4518|      6|            "float16_t frexp(float16_t, out int16_t);"
 4519|      6|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4520|      6|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4521|      6|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4522|       |
 4523|      6|            "float16_t ldexp(float16_t, int16_t);"
 4524|      6|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4525|      6|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4526|      6|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4527|       |
 4528|      6|            "int16_t halfBitsToInt16(float16_t);"
 4529|      6|            "i16vec2 halfBitsToInt16(f16vec2);"
 4530|      6|            "i16vec3 halfBitsToInt16(f16vec3);"
 4531|      6|            "i16vec4 halfBitsToInt16(f16vec4);"
 4532|       |
 4533|      6|            "uint16_t halfBitsToUint16(float16_t);"
 4534|      6|            "u16vec2  halfBitsToUint16(f16vec2);"
 4535|      6|            "u16vec3  halfBitsToUint16(f16vec3);"
 4536|      6|            "u16vec4  halfBitsToUint16(f16vec4);"
 4537|       |
 4538|      6|            "int16_t float16BitsToInt16(float16_t);"
 4539|      6|            "i16vec2 float16BitsToInt16(f16vec2);"
 4540|      6|            "i16vec3 float16BitsToInt16(f16vec3);"
 4541|      6|            "i16vec4 float16BitsToInt16(f16vec4);"
 4542|       |
 4543|      6|            "uint16_t float16BitsToUint16(float16_t);"
 4544|      6|            "u16vec2  float16BitsToUint16(f16vec2);"
 4545|      6|            "u16vec3  float16BitsToUint16(f16vec3);"
 4546|      6|            "u16vec4  float16BitsToUint16(f16vec4);"
 4547|       |
 4548|      6|            "float16_t int16BitsToFloat16(int16_t);"
 4549|      6|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4550|      6|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4551|      6|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4552|       |
 4553|      6|            "float16_t uint16BitsToFloat16(uint16_t);"
 4554|      6|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4555|      6|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4556|      6|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4557|       |
 4558|      6|            "float16_t int16BitsToHalf(int16_t);"
 4559|      6|            "f16vec2   int16BitsToHalf(i16vec2);"
 4560|      6|            "f16vec3   int16BitsToHalf(i16vec3);"
 4561|      6|            "f16vec4   int16BitsToHalf(i16vec4);"
 4562|       |
 4563|      6|            "float16_t uint16BitsToHalf(uint16_t);"
 4564|      6|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4565|      6|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4566|      6|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4567|       |
 4568|      6|            "int      packInt2x16(i16vec2);"
 4569|      6|            "uint     packUint2x16(u16vec2);"
 4570|      6|            "int64_t  packInt4x16(i16vec4);"
 4571|      6|            "uint64_t packUint4x16(u16vec4);"
 4572|      6|            "i16vec2  unpackInt2x16(int);"
 4573|      6|            "u16vec2  unpackUint2x16(uint);"
 4574|      6|            "i16vec4  unpackInt4x16(int64_t);"
 4575|      6|            "u16vec4  unpackUint4x16(uint64_t);"
 4576|       |
 4577|      6|            "bvec2 lessThan(i16vec2, i16vec2);"
 4578|      6|            "bvec3 lessThan(i16vec3, i16vec3);"
 4579|      6|            "bvec4 lessThan(i16vec4, i16vec4);"
 4580|      6|            "bvec2 lessThan(u16vec2, u16vec2);"
 4581|      6|            "bvec3 lessThan(u16vec3, u16vec3);"
 4582|      6|            "bvec4 lessThan(u16vec4, u16vec4);"
 4583|       |
 4584|      6|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4585|      6|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4586|      6|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4587|      6|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4588|      6|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4589|      6|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4590|       |
 4591|      6|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4592|      6|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4593|      6|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4594|      6|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4595|      6|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4596|      6|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4597|       |
 4598|      6|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4599|      6|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4600|      6|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4601|      6|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4602|      6|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4603|      6|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4604|       |
 4605|      6|            "bvec2 equal(i16vec2, i16vec2);"
 4606|      6|            "bvec3 equal(i16vec3, i16vec3);"
 4607|      6|            "bvec4 equal(i16vec4, i16vec4);"
 4608|      6|            "bvec2 equal(u16vec2, u16vec2);"
 4609|      6|            "bvec3 equal(u16vec3, u16vec3);"
 4610|      6|            "bvec4 equal(u16vec4, u16vec4);"
 4611|       |
 4612|      6|            "bvec2 notEqual(i16vec2, i16vec2);"
 4613|      6|            "bvec3 notEqual(i16vec3, i16vec3);"
 4614|      6|            "bvec4 notEqual(i16vec4, i16vec4);"
 4615|      6|            "bvec2 notEqual(u16vec2, u16vec2);"
 4616|      6|            "bvec3 notEqual(u16vec3, u16vec3);"
 4617|      6|            "bvec4 notEqual(u16vec4, u16vec4);"
 4618|       |
 4619|      6|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4620|      6|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4621|      6|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4622|      6|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4623|       |
 4624|      6|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4625|      6|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4626|      6|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4627|      6|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4628|       |
 4629|      6|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4630|      6|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4631|      6|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4632|      6|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4633|       |
 4634|      6|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4635|      6|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4636|      6|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4637|      6|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4638|       |
 4639|      6|            "  int16_t bitCount(  int16_t);"
 4640|      6|            "i16vec2 bitCount(i16vec2);"
 4641|      6|            "i16vec3 bitCount(i16vec3);"
 4642|      6|            "i16vec4 bitCount(i16vec4);"
 4643|       |
 4644|      6|            "  int16_t bitCount( uint16_t);"
 4645|      6|            "i16vec2 bitCount(u16vec2);"
 4646|      6|            "i16vec3 bitCount(u16vec3);"
 4647|      6|            "i16vec4 bitCount(u16vec4);"
 4648|       |
 4649|      6|            "int16_t bitfieldReverse(highp int16_t);"
 4650|      6|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4651|      6|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4652|      6|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4653|       |
 4654|      6|            "uint16_t bitfieldReverse(highp uint16_t);"
 4655|      6|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4656|      6|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4657|      6|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4658|       |
 4659|      6|            "  int16_t findLSB(  int16_t);"
 4660|      6|            "i16vec2 findLSB(i16vec2);"
 4661|      6|            "i16vec3 findLSB(i16vec3);"
 4662|      6|            "i16vec4 findLSB(i16vec4);"
 4663|       |
 4664|      6|            "  int16_t findLSB( uint16_t);"
 4665|      6|            "i16vec2 findLSB(u16vec2);"
 4666|      6|            "i16vec3 findLSB(u16vec3);"
 4667|      6|            "i16vec4 findLSB(u16vec4);"
 4668|       |
 4669|      6|            "  int16_t findMSB(  int16_t);"
 4670|      6|            "i16vec2 findMSB(i16vec2);"
 4671|      6|            "i16vec3 findMSB(i16vec3);"
 4672|      6|            "i16vec4 findMSB(i16vec4);"
 4673|       |
 4674|      6|            "  int16_t findMSB( uint16_t);"
 4675|      6|            "i16vec2 findMSB(u16vec2);"
 4676|      6|            "i16vec3 findMSB(u16vec3);"
 4677|      6|            "i16vec4 findMSB(u16vec4);"
 4678|       |
 4679|      6|            "int16_t  pack16(i8vec2);"
 4680|      6|            "uint16_t pack16(u8vec2);"
 4681|      6|            "int32_t  pack32(i8vec4);"
 4682|      6|            "uint32_t pack32(u8vec4);"
 4683|      6|            "int32_t  pack32(i16vec2);"
 4684|      6|            "uint32_t pack32(u16vec2);"
 4685|      6|            "int64_t  pack64(i16vec4);"
 4686|      6|            "uint64_t pack64(u16vec4);"
 4687|      6|            "int64_t  pack64(i32vec2);"
 4688|      6|            "uint64_t pack64(u32vec2);"
 4689|       |
 4690|      6|            "i8vec2   unpack8(int16_t);"
 4691|      6|            "u8vec2   unpack8(uint16_t);"
 4692|      6|            "i8vec4   unpack8(int32_t);"
 4693|      6|            "u8vec4   unpack8(uint32_t);"
 4694|      6|            "i16vec2  unpack16(int32_t);"
 4695|      6|            "u16vec2  unpack16(uint32_t);"
 4696|      6|            "i16vec4  unpack16(int64_t);"
 4697|      6|            "u16vec4  unpack16(uint64_t);"
 4698|      6|            "i32vec2  unpack32(int64_t);"
 4699|      6|            "u32vec2  unpack32(uint64_t);"
 4700|       |
 4701|       |            // GL_EXT_expect_assume
 4702|      6|            "int8_t expectEXT(int8_t, int8_t);"
 4703|      6|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4704|      6|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4705|      6|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4706|       |
 4707|      6|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4708|      6|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4709|      6|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4710|      6|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4711|       |
 4712|      6|            "int16_t expectEXT(int16_t, int16_t);"
 4713|      6|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4714|      6|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4715|      6|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4716|       |
 4717|      6|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4718|      6|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4719|      6|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4720|      6|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4721|       |
 4722|      6|            "int64_t expectEXT(int64_t, int64_t);"
 4723|      6|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4724|      6|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4725|      6|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4726|       |
 4727|      6|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4728|      6|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4729|      6|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4730|      6|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4731|      6|            "\n");
 4732|      6|    }
 4733|       |
 4734|       |    // Builtins for GL_EXT_texture_shadow_lod
 4735|     38|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) {
  ------------------
  |  Branch (4735:10): [True: 31, False: 7]
  |  Branch (4735:35): [True: 0, False: 31]
  |  Branch (4735:56): [True: 7, False: 31]
  |  Branch (4735:81): [True: 7, False: 0]
  ------------------
 4736|      7|        commonBuiltins.append(
 4737|      7|            "float texture(sampler2DArrayShadow, vec4, float);"
 4738|      7|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4739|      7|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4740|      7|            "float textureLod(samplerCubeShadow, vec4, float);"
 4741|      7|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4742|      7|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4743|      7|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4744|      7|            "\n");
 4745|      7|    }
 4746|       |
 4747|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4747:9): [True: 7, False: 31]
  |  Branch (4747:34): [True: 6, False: 1]
  ------------------
 4748|      6|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4749|      6|        stageBuiltins[EShLangFragment].append(
 4750|      6|            "float64_t interpolateAtCentroid(float64_t);"
 4751|      6|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4752|      6|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4753|      6|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4754|       |
 4755|      6|            "float64_t interpolateAtSample(float64_t, int);"
 4756|      6|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4757|      6|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4758|      6|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4759|       |
 4760|      6|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4761|      6|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4762|      6|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4763|      6|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4764|       |
 4765|      6|            "\n");
 4766|       |
 4767|      6|    }
 4768|       |
 4769|       |    // GL_EXT_expect_assume
 4770|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4770:10): [True: 31, False: 7]
  |  Branch (4770:35): [True: 0, False: 31]
  ------------------
 4771|     38|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4771:12): [True: 7, False: 31]
  |  Branch (4771:37): [True: 7, False: 0]
  ------------------
 4772|      7|        commonBuiltins.append(
 4773|      7|            "void assumeEXT(bool);"
 4774|       |
 4775|      7|            "bool expectEXT(bool, bool);"
 4776|      7|            "bvec2 expectEXT(bvec2, bvec2);"
 4777|      7|            "bvec3 expectEXT(bvec3, bvec3);"
 4778|      7|            "bvec4 expectEXT(bvec4, bvec4);"
 4779|       |
 4780|      7|            "int expectEXT(int, int);"
 4781|      7|            "ivec2 expectEXT(ivec2, ivec2);"
 4782|      7|            "ivec3 expectEXT(ivec3, ivec3);"
 4783|      7|            "ivec4 expectEXT(ivec4, ivec4);"
 4784|       |
 4785|      7|            "uint expectEXT(uint, uint);"
 4786|      7|            "uvec2 expectEXT(uvec2, uvec2);"
 4787|      7|            "uvec3 expectEXT(uvec3, uvec3);"
 4788|      7|            "uvec4 expectEXT(uvec4, uvec4);"
 4789|      7|            "\n");
 4790|      7|    }
 4791|       |
 4792|       |    // QCOM_image_processing
 4793|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4793:10): [True: 31, False: 7]
  |  Branch (4793:35): [True: 0, False: 31]
  ------------------
 4794|     38|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4794:11): [True: 7, False: 31]
  |  Branch (4794:36): [True: 7, False: 0]
  ------------------
 4795|      7|        commonBuiltins.append(
 4796|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4797|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4798|      7|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4799|      7|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4800|      7|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4801|       |
 4802|      7|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4803|      7|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4804|      7|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4805|      7|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4806|      7|           "\n");
 4807|      7|    }
 4808|       |
 4809|       |    //============================================================================
 4810|       |    //
 4811|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4812|       |    // (Except legacy lod functions, where it depends which release they are
 4813|       |    // vertex only.)
 4814|       |    //
 4815|       |    //============================================================================
 4816|       |
 4817|       |    //
 4818|       |    // Geometric Functions.
 4819|       |    //
 4820|     38|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4820:9): [True: 23, False: 15]
  |  Branch (4820:35): [True: 0, False: 23]
  ------------------
 4821|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4822|       |
 4823|       |    //
 4824|       |    // Original-style texture Functions with lod.
 4825|       |    //
 4826|     38|    TString* s;
 4827|     38|    if (version == 100)
  ------------------
  |  Branch (4827:9): [True: 31, False: 7]
  ------------------
 4828|     31|        s = &stageBuiltins[EShLangVertex];
 4829|      7|    else
 4830|      7|        s = &commonBuiltins;
 4831|     38|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4831:10): [True: 31, False: 7]
  |  Branch (4831:35): [True: 31, False: 0]
  ------------------
 4832|      7|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4832:10): [True: 0, False: 7]
  ------------------
 4833|      7|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4833:10): [True: 7, False: 0]
  |  Branch (4833:37): [True: 1, False: 6]
  ------------------
 4834|     32|         profile == ENoProfile) {
  ------------------
  |  Branch (4834:10): [True: 0, False: 6]
  ------------------
 4835|     32|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4835:13): [True: 32, False: 0]
  ------------------
 4836|     32|            s->append(
 4837|     32|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4838|     32|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4839|     32|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4840|     32|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4841|     32|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4842|     32|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4843|       |
 4844|     32|                "\n");
 4845|     32|        }
 4846|     32|    }
 4847|     38|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4847:10): [True: 0, False: 38]
  ------------------
 4848|     38|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4848:10): [True: 7, False: 31]
  |  Branch (4848:37): [True: 1, False: 6]
  ------------------
 4849|     37|         profile == ENoProfile) {
  ------------------
  |  Branch (4849:10): [True: 0, False: 37]
  ------------------
 4850|      1|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4850:13): [True: 1, False: 0]
  ------------------
 4851|      1|            s->append(
 4852|      1|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4853|      1|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4854|      1|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4855|      1|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4856|      1|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4857|      1|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4858|      1|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4859|       |
 4860|      1|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4861|      1|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4862|      1|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4863|      1|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4864|      1|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4865|      1|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4866|      1|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4867|      1|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4868|      1|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4869|      1|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4870|      1|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4871|      1|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4872|      1|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4873|      1|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4874|      1|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4875|      1|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4876|      1|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4877|      1|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4878|       |
 4879|      1|                "\n");
 4880|      1|        }
 4881|      1|    }
 4882|       |
 4883|     38|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4883:10): [True: 7, False: 31]
  |  Branch (4883:35): [True: 7, False: 0]
  ------------------
 4884|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4884:10): [True: 31, False: 0]
  |  Branch (4884:35): [True: 0, False: 31]
  ------------------
 4885|       |        //============================================================================
 4886|       |        //
 4887|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4888|       |        //
 4889|       |        //============================================================================
 4890|      7|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4890:13): [True: 7, False: 0]
  |  Branch (4890:38): [True: 7, False: 0]
  ------------------
 4891|      7|            stageBuiltins[EShLangGeometry].append(
 4892|      7|                "void EmitStreamVertex(int);"
 4893|      7|                "void EndStreamPrimitive(int);"
 4894|      7|                );
 4895|      7|        }
 4896|      7|        stageBuiltins[EShLangGeometry].append(
 4897|      7|            "void EmitVertex();"
 4898|      7|            "void EndPrimitive();"
 4899|      7|            "\n");
 4900|      7|    }
 4901|       |
 4902|       |    //============================================================================
 4903|       |    //
 4904|       |    // Prototypes for all control functions.
 4905|       |    //
 4906|       |    //============================================================================
 4907|     38|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4907:23): [True: 31, False: 7]
  |  Branch (4907:48): [True: 0, False: 31]
  ------------------
 4908|     38|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4908:10): [True: 7, False: 31]
  |  Branch (4908:35): [True: 7, False: 0]
  |  Branch (4908:54): [True: 0, False: 31]
  ------------------
 4909|      7|        stageBuiltins[EShLangTessControl].append(
 4910|      7|            "void barrier();"
 4911|      7|            );
 4912|     38|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4912:10): [True: 7, False: 31]
  |  Branch (4912:35): [True: 6, False: 1]
  |  Branch (4912:54): [True: 0, False: 32]
  ------------------
 4913|      6|        stageBuiltins[EShLangCompute].append(
 4914|      6|            "void barrier();"
 4915|      6|            );
 4916|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4916:10): [True: 7, False: 31]
  |  Branch (4916:35): [True: 6, False: 1]
  |  Branch (4916:55): [True: 31, False: 1]
  |  Branch (4916:80): [True: 0, False: 31]
  ------------------
 4917|      6|        stageBuiltins[EShLangMesh].append(
 4918|      6|            "void barrier();"
 4919|      6|            );
 4920|      6|        stageBuiltins[EShLangTask].append(
 4921|      6|            "void barrier();"
 4922|      6|            );
 4923|      6|    }
 4924|     38|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4924:10): [True: 7, False: 31]
  |  Branch (4924:35): [True: 6, False: 1]
  |  Branch (4924:54): [True: 0, False: 32]
  ------------------
 4925|      6|        stageBuiltins[EShLangCompute].append(
 4926|      6|            "void controlBarrierArrive();"
 4927|      6|            "void controlBarrierWait();"
 4928|      6|            );
 4929|     38|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4929:10): [True: 7, False: 31]
  |  Branch (4929:35): [True: 7, False: 0]
  |  Branch (4929:54): [True: 0, False: 31]
  ------------------
 4930|      7|        commonBuiltins.append(
 4931|      7|            "void memoryBarrier();"
 4932|      7|            );
 4933|     38|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4933:10): [True: 7, False: 31]
  |  Branch (4933:35): [True: 6, False: 1]
  |  Branch (4933:54): [True: 0, False: 32]
  ------------------
 4934|      6|        commonBuiltins.append(
 4935|      6|            "void memoryBarrierBuffer();"
 4936|      6|            );
 4937|      6|        stageBuiltins[EShLangCompute].append(
 4938|      6|            "void memoryBarrierShared();"
 4939|      6|            "void groupMemoryBarrier();"
 4940|      6|            );
 4941|      6|    }
 4942|     38|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4942:10): [True: 7, False: 31]
  |  Branch (4942:35): [True: 6, False: 1]
  |  Branch (4942:54): [True: 0, False: 32]
  ------------------
 4943|      6|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4943:13): [True: 2, False: 4]
  |  Branch (4943:39): [True: 0, False: 4]
  ------------------
 4944|      2|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4945|      2|        }
 4946|      6|        commonBuiltins.append("void memoryBarrierImage();");
 4947|      6|    }
 4948|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4948:10): [True: 7, False: 31]
  |  Branch (4948:35): [True: 6, False: 1]
  |  Branch (4948:55): [True: 31, False: 1]
  |  Branch (4948:80): [True: 0, False: 31]
  ------------------
 4949|      6|        stageBuiltins[EShLangMesh].append(
 4950|      6|            "void memoryBarrierShared();"
 4951|      6|            "void groupMemoryBarrier();"
 4952|      6|        );
 4953|      6|        stageBuiltins[EShLangTask].append(
 4954|      6|            "void memoryBarrierShared();"
 4955|      6|            "void groupMemoryBarrier();"
 4956|      6|        );
 4957|      6|    }
 4958|       |
 4959|     38|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4960|     38|                          "void memoryBarrier(int, int, int);\n");
 4961|       |
 4962|     38|    commonBuiltins.append("void controlBarrierArrive(int, int, int, int);\n"
 4963|     38|                          "void controlBarrierWait(int, int, int, int);\n");
 4964|       |
 4965|     38|    commonBuiltins.append("void debugPrintfEXT();\n");
 4966|       |
 4967|     38|    commonBuiltins.append("void abortEXT();\n");
 4968|       |
 4969|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4969:9): [True: 7, False: 31]
  |  Branch (4969:34): [True: 6, False: 1]
  ------------------
 4970|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4971|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4972|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4973|      6|        stageBuiltins[EShLangCompute].append(
 4974|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4975|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4976|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4977|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4978|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4979|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4980|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4981|      6|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4982|       |
 4983|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4985|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4986|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4987|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4988|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4989|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4990|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4991|      6|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4992|       |
 4993|      6|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4994|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4995|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4996|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4997|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4998|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4999|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5000|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5001|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5003|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5004|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5005|      6|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5006|       |
 5007|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5008|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5009|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5010|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5011|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5012|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5013|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5014|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5015|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5016|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5017|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5018|      6|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5019|       |
 5020|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5021|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5022|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5023|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5024|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5025|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5026|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5027|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5028|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5029|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5030|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5031|      6|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5032|       |
 5033|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5034|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5035|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5036|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5037|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5038|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5039|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5040|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5041|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5042|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5043|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5044|      6|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5045|       |
 5046|      6|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5047|      6|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5048|      6|            );
 5049|       |
 5050|      6|        std::stringstream cooperativeMatrixFuncs;
 5051|       |
 5052|      6|        {
 5053|      6|            static const char *allTypes[] =
 5054|      6|            {
 5055|      6|                "float", "vec2", "vec4",
 5056|      6|                "float16_t", "f16vec2", "f16vec4",
 5057|      6|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5058|      6|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5059|      6|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5060|      6|                "double", "dvec2", "dvec4",
 5061|      6|                "int8_t", "i8vec2", "i8vec4",
 5062|      6|                "int16_t", "i16vec2", "i16vec4",
 5063|      6|                "int", "ivec2", "ivec4",
 5064|      6|                "int64_t", "i64vec2", "i64vec4",
 5065|      6|                "uint8_t", "u8vec2", "u8vec4",
 5066|      6|                "uint16_t", "u16vec2", "u16vec4",
 5067|      6|                "uint", "uvec2", "uvec4",
 5068|      6|                "uint64_t", "u64vec2", "u64vec4",
 5069|      6|            };
 5070|     12|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5070:30): [True: 12, False: 6]
  ------------------
 5071|    504|                for (auto t : allTypes) {
  ------------------
  |  Branch (5071:29): [True: 504, False: 12]
  ------------------
 5072|    504|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5073|    504|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5074|    504|                }
 5075|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5076|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5077|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5078|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5079|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5080|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5081|     12|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5082|     12|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5083|     12|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5084|     12|            }
 5085|      6|        }
 5086|       |
 5087|      6|        cooperativeMatrixFuncs <<
 5088|      6|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5089|      6|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5090|       |
 5091|      6|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5092|       |
 5093|      6|        commonBuiltins.append(
 5094|      6|            "const int gl_MatrixUseA = 0;\n"
 5095|      6|            "const int gl_MatrixUseB = 1;\n"
 5096|      6|            "const int gl_MatrixUseAccumulator = 2;\n"
 5097|      6|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5098|      6|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5099|      6|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5100|      6|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5101|      6|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5102|      6|            "\n"
 5103|      6|            );
 5104|       |
 5105|      6|        commonBuiltins.append(
 5106|      6|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5107|      6|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5108|      6|            "void coopMatPerElementNV();"
 5109|      6|        );
 5110|       |
 5111|      6|        commonBuiltins.append(
 5112|      6|            "void coopMatTransposeEXT(out coopmat, coopmat);"
 5113|      6|            "void coopMatReduceEXT(out coopmat, coopmat, int, __function);"
 5114|      6|            "void coopMatPerElementEXT();"
 5115|      6|            "uvec2 coopMatGetCoordinateEXT(coopmat, uint index);"
 5116|      6|        );
 5117|       |
 5118|      6|        commonBuiltins.append(
 5119|      6|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5120|      6|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5121|      6|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5122|      6|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5123|       |
 5124|      6|            "const int gl_CooperativeMatrixReduceRowEXT = 0x1;\n"
 5125|      6|            "const int gl_CooperativeMatrixReduceColumnEXT = 0x2;\n"
 5126|      6|            "const int gl_CooperativeMatrixReduceRowAndColumnEXT = 0x3;\n"
 5127|      6|            "const int gl_CooperativeMatrixReduce2x2EXT = 0x4;\n"
 5128|      6|            "\n"
 5129|      6|            );
 5130|       |
 5131|      6|        commonBuiltins.append(
 5132|      6|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5133|      6|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5134|      6|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5135|      6|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5136|      6|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5137|      6|            "\n"
 5138|      6|            );
 5139|       |
 5140|      6|        {
 5141|      6|          std::stringstream coopMatConvFuncs;
 5142|       |
 5143|      6|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5144|       |
 5145|     42|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5145:30): [True: 42, False: 6]
  ------------------
 5146|    294|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5146:32): [True: 294, False: 42]
  ------------------
 5147|    294|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5148|    294|                << " DstArr[]);\n";
 5149|    294|            }
 5150|     42|          }
 5151|      6|          coopMatConvFuncs << "\n";
 5152|       |
 5153|     48|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5153:27): [True: 48, False: 6]
  ------------------
 5154|     48|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5155|     48|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5156|     48|          }
 5157|       |
 5158|     42|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5158:27): [True: 42, False: 6]
  ------------------
 5159|     42|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5160|     42|          }
 5161|       |
 5162|      6|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5163|      6|        }
 5164|       |
 5165|      6|        commonBuiltins.append(
 5166|      6|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5167|      6|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5168|       |
 5169|      6|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5170|      6|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5171|      6|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5172|      6|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5173|      6|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5174|       |
 5175|      6|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5176|      6|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5177|      6|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5178|      6|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5179|      6|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5180|       |
 5181|      6|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5182|      6|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5183|      6|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5184|      6|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5185|      6|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5186|       |
 5187|      6|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5188|      6|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5189|      6|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5190|      6|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5191|      6|            "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"
 5192|       |
 5193|      6|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5194|       |
 5195|      6|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5196|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5197|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5198|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5199|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5200|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5201|      6|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5202|       |
 5203|      6|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5204|      6|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5205|      6|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5206|      6|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5207|      6|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5208|       |
 5209|      6|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5210|      6|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5211|      6|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5212|      6|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5213|      6|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5214|       |
 5215|      6|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5216|      6|            "\n"
 5217|      6|        );
 5218|       |
 5219|       |        // GL_ARM_tensors builtins.
 5220|      6|        static const char *tensorDataTypesARM[] = {
 5221|      6|            "bool",
 5222|      6|            "int8_t", "int16_t", "int32_t", "int64_t",
 5223|      6|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5224|      6|            "float16_t", "float32_t", "float64_t",
 5225|      6|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5226|      6|        };
 5227|      6|        std::ostringstream ostream;
 5228|     90|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5228:21): [True: 90, False: 6]
  ------------------
 5229|       |            // Scalar
 5230|     90|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5231|     90|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5232|     90|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5233|     90|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5234|       |            // Array
 5235|     90|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5236|     90|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5237|     90|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5238|     90|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5239|     90|        }
 5240|      6|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5241|      6|        commonBuiltins.append(ostream.str());
 5242|      6|    }
 5243|       |
 5244|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5244:9): [True: 7, False: 31]
  |  Branch (5244:34): [True: 6, False: 1]
  ------------------
 5245|      6|        const char *basicTypes[] = {
 5246|      6|            "int8_t",
 5247|      6|            "int16_t",
 5248|      6|            "int32_t",
 5249|      6|            "int64_t",
 5250|      6|            "uint8_t",
 5251|      6|            "uint16_t",
 5252|      6|            "uint32_t",
 5253|      6|            "uint64_t",
 5254|      6|            "float16_t",
 5255|      6|            "float32_t",
 5256|      6|            "float64_t",
 5257|      6|        };
 5258|      6|        std::string coopVecOffsetTypes[] = {
 5259|      6|            "uint",
 5260|      6|            "uint64_t",
 5261|      6|        };
 5262|     12|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5262:28): [True: 12, False: 6]
  ------------------
 5263|    144|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5263:34): [True: 132, False: 12]
  ------------------
 5264|    132|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5265|    132|                                   std::string("coopvecNV v, ") +
 5266|    132|                                   std::string("int inputInterpretation, ") +
 5267|    132|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5268|    132|                                   offsetTy + std::string(" matrixOffset, ") +
 5269|    132|                                   std::string("int matrixInterpretation, ") +
 5270|    132|                                   std::string("uint M, ") +
 5271|    132|                                   std::string("uint K, ") +
 5272|    132|                                   std::string("int matrixLayout, ") +
 5273|    132|                                   std::string("bool transpose, ") +
 5274|    132|                                   std::string("uint matrixStride);\n");
 5275|    132|                commonBuiltins.append(func.c_str());
 5276|       |
 5277|  1.58k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5277:38): [True: 1.45k, False: 132]
  ------------------
 5278|  1.45k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5279|  1.45k|                           std::string("coopvecNV v, ") +
 5280|  1.45k|                           std::string("int inputInterpretation, ") +
 5281|  1.45k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5282|  1.45k|                           offsetTy + std::string(" matrixOffset, ") +
 5283|  1.45k|                           std::string("int matrixInterpretation, ") +
 5284|  1.45k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5285|  1.45k|                           offsetTy + std::string(" biasOffset, ") +
 5286|  1.45k|                           std::string("int biasInterpretation, ") +
 5287|  1.45k|                           std::string("uint M, ") +
 5288|  1.45k|                           std::string("uint K, ") +
 5289|  1.45k|                           std::string("int matrixLayout, ") +
 5290|  1.45k|                           std::string("bool transpose, ") +
 5291|  1.45k|                           std::string("uint matrixStride);\n");
 5292|  1.45k|                    commonBuiltins.append(func.c_str());
 5293|  1.45k|                }
 5294|       |
 5295|    132|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5296|    132|                       std::string(basicTypes[i]) +
 5297|    132|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5298|    132|                commonBuiltins.append(func.c_str());
 5299|       |
 5300|    132|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5301|    132|                       std::string(basicTypes[i]) +
 5302|    132|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5303|    132|                commonBuiltins.append(func.c_str());
 5304|    132|            }
 5305|     12|        }
 5306|      6|        std::string cooperativeVectorFuncs =
 5307|      6|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5308|      6|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5309|      6|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5310|      6|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5311|      6|            "coopvecNV exp(coopvecNV);\n"
 5312|      6|            "coopvecNV log(coopvecNV);\n"
 5313|      6|            "coopvecNV tanh(coopvecNV);\n"
 5314|      6|            "coopvecNV atan(coopvecNV);\n"
 5315|      6|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5316|       |
 5317|      6|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5318|       |
 5319|      6|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5319:13): [True: 6, False: 0]
  ------------------
 5320|      6|            std::string longVectorFuncs =
 5321|       |
 5322|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5323|      6|                "vector frexp(vector, vector);\n"
 5324|      6|                "vector ldexp(vector, vector);\n"
 5325|      6|                "vector fma(vector, vector, vector);\n"
 5326|       |
 5327|      6|                "vector floatBitsToInt(vector);\n"
 5328|      6|                "vector floatBitsToUint(vector);\n"
 5329|      6|                "vector intBitsToFloat(vector);\n"
 5330|      6|                "vector uintBitsToFloat(vector);\n"
 5331|      6|                "vector doubleBitsToInt64(vector);"
 5332|      6|                "vector doubleBitsToUint64(vector);"
 5333|      6|                "vector int64BitsToDouble(vector);"
 5334|      6|                "vector uint64BitsToDouble(vector);"
 5335|      6|                "vector bfloat16BitsToIntEXT(vector);"
 5336|      6|                "vector bfloat16BitsToUintEXT(vector);"
 5337|      6|                "vector intBitsToBFloat16EXT(vector);"
 5338|      6|                "vector uintBitsToBFloat16EXT(vector);"
 5339|      6|                "vector halfBitsToInt16(vector);"
 5340|      6|                "vector halfBitsToUint16(vector);"
 5341|      6|                "vector float16BitsToInt16(vector);"
 5342|      6|                "vector float16BitsToUint16(vector);"
 5343|      6|                "vector int16BitsToFloat16(vector);"
 5344|      6|                "vector uint16BitsToFloat16(vector);"
 5345|      6|                "vector int16BitsToHalf(vector);"
 5346|      6|                "vector uint16BitsToHalf(vector);"
 5347|      6|                "vector floate5m2BitsToIntEXT(vector);"
 5348|      6|                "vector floate5m2BitsToUintEXT(vector);"
 5349|      6|                "vector intBitsToFloate5m2EXT(vector);"
 5350|      6|                "vector uintBitsToFloate5m2EXT(vector);"
 5351|      6|                "vector floate4m3BitsToIntEXT(vector);"
 5352|      6|                "vector floate4m3BitsToUintEXT(vector);"
 5353|      6|                "vector intBitsToFloate4m3EXT(vector);"
 5354|      6|                "vector uintBitsToFloate4m3EXT(vector);"
 5355|       |
 5356|      6|                "vector floatue8m0BitsToIntEXT(vector);"
 5357|      6|                "vector floatue8m0BitsToUintEXT(vector);"
 5358|      6|                "vector intBitsToFloatue8m0EXT(vector);"
 5359|      6|                "vector uintBitsToFloatue8m0EXT(vector);"
 5360|      6|                "vector floatmxint8BitsToIntEXT(vector);"
 5361|      6|                "vector floatmxint8BitsToUintEXT(vector);"
 5362|      6|                "vector intBitsToFloatmxint8EXT(vector);"
 5363|      6|                "vector uintBitsToFloatmxint8EXT(vector);"
 5364|       |
 5365|      6|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5366|      6|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5367|      6|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5368|      6|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5369|      6|                "vector bitfieldExtract(vector, int, int);"
 5370|      6|                "vector bitfieldInsert(vector, vector, int, int);"
 5371|      6|                "vector bitfieldReverse(highp vector);"
 5372|      6|                "vector bitCount(vector);"
 5373|      6|                "vector findLSB(vector);"
 5374|      6|                "vector findMSB(vector);"
 5375|       |
 5376|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5377|      6|                "vector mod(vector, double);\n"
 5378|      6|                "vector min(vector, double);\n"
 5379|      6|                "vector max(vector, double);\n"
 5380|      6|                "vector clamp(vector, double, double);"
 5381|      6|                "vector mix(vector, vector,  double);"
 5382|      6|                "vector step(double, vector);"
 5383|      6|                "vector smoothstep(double, double, vector);"
 5384|      6|                "vector refract(vector, vector, double);"
 5385|       |
 5386|      6|                "vector mod(vector, float16_t);\n"
 5387|      6|                "vector min(vector, float16_t);\n"
 5388|      6|                "vector max(vector, float16_t);\n"
 5389|      6|                "vector clamp(vector, float16_t, float16_t);"
 5390|      6|                "vector mix(vector, vector,  float16_t);"
 5391|      6|                "vector step(float16_t, vector);"
 5392|      6|                "vector smoothstep(float16_t, float16_t, vector);"
 5393|      6|                "vector refract(vector, vector, float16_t);"
 5394|       |
 5395|      6|                "vector min(vector, uint64_t);\n"
 5396|      6|                "vector max(vector, uint64_t);\n"
 5397|      6|                "vector clamp(vector, uint64_t, uint64_t);"
 5398|      6|                "vector mix(vector, vector,  uint64_t);"
 5399|       |
 5400|      6|                "vector min(vector, int64_t);\n"
 5401|      6|                "vector max(vector, int64_t);\n"
 5402|      6|                "vector clamp(vector, int64_t, int64_t);"
 5403|      6|                "vector mix(vector, vector,  int64_t);"
 5404|       |
 5405|      6|                "vector min(vector, uint16_t);\n"
 5406|      6|                "vector max(vector, uint16_t);\n"
 5407|      6|                "vector clamp(vector, uint16_t, uint16_t);"
 5408|      6|                "vector mix(vector, vector,  uint16_t);"
 5409|       |
 5410|      6|                "vector min(vector, int16_t);\n"
 5411|      6|                "vector max(vector, int16_t);\n"
 5412|      6|                "vector clamp(vector, int16_t, int16_t);"
 5413|      6|                "vector mix(vector, vector,  int16_t);"
 5414|       |
 5415|      6|                "vector min(vector, uint8_t);\n"
 5416|      6|                "vector max(vector, uint8_t);\n"
 5417|      6|                "vector clamp(vector, uint8_t, uint8_t);"
 5418|      6|                "vector mix(vector, vector,  uint8_t);"
 5419|       |
 5420|      6|                "vector min(vector, int8_t);\n"
 5421|      6|                "vector max(vector, int8_t);\n"
 5422|      6|                "vector clamp(vector, int8_t, int8_t);"
 5423|      6|                "vector mix(vector, vector,  int8_t);"
 5424|       |
 5425|      6|                "vector expectEXT(vector, vector);"
 5426|       |
 5427|      6|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5428|      6|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5429|      6|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5430|      6|                ;
 5431|       |
 5432|      6|            std::string longVectorDerivativeFuncs =
 5433|      6|                "vector dFdxFine(vector);"
 5434|      6|                "vector dFdyFine(vector);"
 5435|      6|                "vector fwidthFine(vector);"
 5436|      6|                "vector dFdxCoarse(vector);"
 5437|      6|                "vector dFdyCoarse(vector);"
 5438|      6|                "vector fwidthCoarse(vector);"
 5439|       |
 5440|      6|                ;
 5441|      6|            commonBuiltins.append(longVectorFuncs.c_str());
 5442|      6|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5443|      6|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5444|      6|        }
 5445|       |
 5446|      6|        const char *scalarAndVectorTypes[] = {
 5447|      6|            "int8_t",
 5448|      6|            "int16_t",
 5449|      6|            "int32_t",
 5450|      6|            "int64_t",
 5451|      6|            "uint8_t",
 5452|      6|            "uint16_t",
 5453|      6|            "uint32_t",
 5454|      6|            "uint64_t",
 5455|      6|            "float16_t",
 5456|      6|            "float32_t",
 5457|      6|            "float64_t",
 5458|      6|            "i8vec2",
 5459|      6|            "i16vec2",
 5460|      6|            "i32vec2",
 5461|      6|            "i64vec2",
 5462|      6|            "u8vec2",
 5463|      6|            "u16vec2",
 5464|      6|            "u32vec2",
 5465|      6|            "u64vec2",
 5466|      6|            "f16vec2",
 5467|      6|            "f32vec2",
 5468|      6|            "f64vec2",
 5469|      6|            "i8vec3",
 5470|      6|            "i16vec3",
 5471|      6|            "i32vec3",
 5472|      6|            "i64vec3",
 5473|      6|            "u8vec3",
 5474|      6|            "u16vec3",
 5475|      6|            "u32vec3",
 5476|      6|            "u64vec3",
 5477|      6|            "f16vec3",
 5478|      6|            "f32vec3",
 5479|      6|            "f64vec3",
 5480|      6|            "i8vec4",
 5481|      6|            "i16vec4",
 5482|      6|            "i32vec4",
 5483|      6|            "i64vec4",
 5484|      6|            "u8vec4",
 5485|      6|            "u16vec4",
 5486|      6|            "u32vec4",
 5487|      6|            "u64vec4",
 5488|      6|            "f16vec4",
 5489|      6|            "f32vec4",
 5490|      6|            "f64vec4",
 5491|      6|        };
 5492|       |
 5493|     12|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5493:28): [True: 12, False: 6]
  ------------------
 5494|    540|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5494:34): [True: 528, False: 12]
  ------------------
 5495|    528|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5496|    528|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5497|    528|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5498|    528|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5499|    528|                commonBuiltins.append(load.c_str());
 5500|    528|                commonBuiltins.append(store.c_str());
 5501|    528|            }
 5502|     12|        }
 5503|       |
 5504|      6|        commonBuiltins.append(
 5505|      6|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5506|      6|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5507|      6|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5508|      6|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5509|      6|            "\n"
 5510|      6|            );
 5511|       |
 5512|      6|        commonBuiltins.append(
 5513|      6|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5514|      6|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5515|      6|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5516|      6|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5517|      6|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5518|      6|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5519|      6|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5520|      6|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5521|      6|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5522|      6|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5523|      6|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5524|      6|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5525|      6|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5526|      6|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5527|      6|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5528|      6|            "\n"
 5529|      6|            );
 5530|      6|    }
 5531|       |
 5532|       |    //============================================================================
 5533|       |    //
 5534|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5535|       |    //
 5536|       |    //============================================================================
 5537|       |
 5538|       |    //
 5539|       |    // Original-style texture Functions with bias.
 5540|       |    //
 5541|     38|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5541:9): [True: 38, False: 0]
  |  Branch (5541:33): [True: 7, False: 31]
  |  Branch (5541:58): [True: 31, False: 0]
  ------------------
 5542|     38|        stageBuiltins[EShLangFragment].append(
 5543|     38|            "vec4 texture2D(sampler2D, vec2, float);"
 5544|     38|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5545|     38|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5546|     38|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5547|     38|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5548|     38|            "vec4 textureCube(samplerCube, vec3, float);"
 5549|       |
 5550|     38|            "\n");
 5551|     38|    }
 5552|     38|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5552:9): [True: 38, False: 0]
  |  Branch (5552:33): [True: 7, False: 31]
  |  Branch (5552:58): [True: 7, False: 0]
  ------------------
 5553|      7|        stageBuiltins[EShLangFragment].append(
 5554|      7|            "vec4 texture1D(sampler1D, float, float);"
 5555|      7|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5556|      7|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5557|      7|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5558|      7|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5559|      7|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5560|      7|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5561|       |
 5562|      7|            "\n");
 5563|      7|    }
 5564|     38|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5564:9): [True: 38, False: 0]
  |  Branch (5564:32): [True: 31, False: 7]
  ------------------
 5565|     31|        stageBuiltins[EShLangFragment].append(
 5566|     31|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5567|     31|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5568|     31|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5569|     31|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5570|       |
 5571|     31|            "\n");
 5572|     31|    }
 5573|       |
 5574|       |    // GL_EXT_shader_tile_image
 5575|     38|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5575:9): [True: 15, False: 23]
  ------------------
 5576|     15|        stageBuiltins[EShLangFragment].append(
 5577|     15|            "lowp uint stencilAttachmentReadEXT();"
 5578|     15|            "lowp uint stencilAttachmentReadEXT(int);"
 5579|     15|            "highp float depthAttachmentReadEXT();"
 5580|     15|            "highp float depthAttachmentReadEXT(int);"
 5581|     15|            "\n");
 5582|     15|        stageBuiltins[EShLangFragment].append(
 5583|     15|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5584|     15|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5585|     15|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5586|     15|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5587|     15|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5588|     15|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5589|     15|            "\n");
 5590|     15|    }
 5591|       |
 5592|       |    // GL_ARB_derivative_control
 5593|     38|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5593:9): [True: 7, False: 31]
  |  Branch (5593:34): [True: 6, False: 1]
  ------------------
 5594|      6|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5595|      6|        stageBuiltins[EShLangFragment].append("\n");
 5596|      6|    }
 5597|       |
 5598|       |    // GL_OES_shader_multisample_interpolation
 5599|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5599:10): [True: 31, False: 7]
  |  Branch (5599:35): [True: 0, False: 31]
  ------------------
 5600|     38|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5600:10): [True: 7, False: 31]
  |  Branch (5600:35): [True: 7, False: 0]
  ------------------
 5601|      7|        stageBuiltins[EShLangFragment].append(
 5602|      7|            "float interpolateAtCentroid(float);"
 5603|      7|            "vec2  interpolateAtCentroid(vec2);"
 5604|      7|            "vec3  interpolateAtCentroid(vec3);"
 5605|      7|            "vec4  interpolateAtCentroid(vec4);"
 5606|       |
 5607|      7|            "float interpolateAtSample(float, int);"
 5608|      7|            "vec2  interpolateAtSample(vec2,  int);"
 5609|      7|            "vec3  interpolateAtSample(vec3,  int);"
 5610|      7|            "vec4  interpolateAtSample(vec4,  int);"
 5611|       |
 5612|      7|            "float interpolateAtOffset(float, vec2);"
 5613|      7|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5614|      7|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5615|      7|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5616|       |
 5617|      7|            "\n");
 5618|      7|    }
 5619|       |
 5620|     38|    stageBuiltins[EShLangFragment].append(
 5621|     38|        "void beginInvocationInterlockARB(void);"
 5622|     38|        "void endInvocationInterlockARB(void);");
 5623|       |
 5624|     38|    stageBuiltins[EShLangFragment].append(
 5625|     38|        "bool helperInvocationEXT();"
 5626|     38|        "\n");
 5627|       |
 5628|       |    // GL_AMD_shader_explicit_vertex_parameter
 5629|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5629:9): [True: 7, False: 31]
  |  Branch (5629:34): [True: 6, False: 1]
  ------------------
 5630|      6|        stageBuiltins[EShLangFragment].append(
 5631|      6|            "float interpolateAtVertexAMD(float, uint);"
 5632|      6|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5633|      6|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5634|      6|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5635|       |
 5636|      6|            "int   interpolateAtVertexAMD(int,   uint);"
 5637|      6|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5638|      6|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5639|      6|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5640|       |
 5641|      6|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5642|      6|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5643|      6|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5644|      6|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5645|       |
 5646|      6|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5647|      6|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5648|      6|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5649|      6|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5650|       |
 5651|      6|            "\n");
 5652|      6|    }
 5653|       |
 5654|       |    // GL_AMD_gpu_shader_half_float
 5655|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5655:9): [True: 7, False: 31]
  |  Branch (5655:34): [True: 6, False: 1]
  ------------------
 5656|      6|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5657|      6|        stageBuiltins[EShLangFragment].append("\n");
 5658|       |
 5659|      6|        stageBuiltins[EShLangFragment].append(
 5660|      6|            "float16_t interpolateAtCentroid(float16_t);"
 5661|      6|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5662|      6|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5663|      6|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5664|       |
 5665|      6|            "float16_t interpolateAtSample(float16_t, int);"
 5666|      6|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5667|      6|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5668|      6|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5669|       |
 5670|      6|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5671|      6|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5672|      6|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5673|      6|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5674|       |
 5675|      6|            "\n");
 5676|      6|    }
 5677|       |
 5678|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5679|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5679:9): [True: 7, False: 31]
  |  Branch (5679:34): [True: 6, False: 1]
  ------------------
 5680|      6|        commonBuiltins.append(
 5681|      6|            "uvec2 clock2x32ARB();"
 5682|      6|            "uint64_t clockARB();"
 5683|      6|            "uvec2 clockRealtime2x32EXT();"
 5684|      6|            "uint64_t clockRealtimeEXT();"
 5685|      6|            "\n");
 5686|      6|    }
 5687|       |
 5688|       |    // GL_AMD_shader_fragment_mask
 5689|     38|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5689:9): [True: 7, False: 31]
  |  Branch (5689:34): [True: 6, False: 1]
  |  Branch (5689:52): [True: 4, False: 2]
  ------------------
 5690|      4|        stageBuiltins[EShLangFragment].append(
 5691|      4|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5692|      4|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5693|      4|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5694|       |
 5695|      4|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5696|      4|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5697|      4|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5698|       |
 5699|      4|            "\n");
 5700|      4|    }
 5701|       |
 5702|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5703|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5704|     38|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5704:9): [True: 7, False: 31]
  |  Branch (5704:34): [True: 0, False: 7]
  ------------------
 5705|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5706|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5707|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5708|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5709|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5710|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5711|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5712|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5713|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5714|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5715|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5716|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5717|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5718|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5719|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5720|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5721|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5722|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5723|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5724|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5725|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5726|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5727|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5728|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5729|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5730|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5731|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5732|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5733|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5734|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5735|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5736|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5737|      0|            "\n");
 5738|       |
 5739|      0|        stageBuiltins[EShLangRayGen].append(
 5740|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5741|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5742|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5743|      0|            "void executeCallableNV(uint, int);"
 5744|      0|            "void executeCallableEXT(uint, int);"
 5745|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5746|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5747|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5748|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5749|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5750|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5751|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5752|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5753|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5754|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5755|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5756|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5757|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5758|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5759|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5760|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5761|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5762|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5763|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5764|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5765|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5766|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5767|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5768|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5769|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5770|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5771|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5772|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5773|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5774|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5775|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5776|      0|            "void reorderThreadNV(uint, uint);"
 5777|      0|            "void reorderThreadNV(hitObjectNV);"
 5778|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5779|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5780|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5781|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5782|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5783|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5784|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5785|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5786|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5787|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5788|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5789|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5790|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5791|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5792|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5793|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5794|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5795|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5796|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5797|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5798|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5799|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5800|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5801|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5802|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5803|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5804|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5805|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5806|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5807|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5808|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5809|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5810|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5811|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5812|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5813|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5814|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5815|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5816|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5817|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5818|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5819|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5820|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5821|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5822|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5823|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5824|      0|            "void reorderThreadEXT(uint, uint);"
 5825|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5826|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5827|      0|            "\n");
 5828|      0|        stageBuiltins[EShLangIntersect].append(
 5829|      0|            "bool reportIntersectionNV(float, uint);"
 5830|      0|            "bool reportIntersectionEXT(float, uint);"
 5831|      0|            "\n");
 5832|      0|        stageBuiltins[EShLangAnyHit].append(
 5833|      0|            "void ignoreIntersectionNV();"
 5834|      0|            "void terminateRayNV();"
 5835|      0|            "\n");
 5836|      0|        stageBuiltins[EShLangClosestHit].append(
 5837|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5838|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5839|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5840|      0|            "void executeCallableNV(uint, int);"
 5841|      0|            "void executeCallableEXT(uint, int);"
 5842|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5843|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5844|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5845|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5846|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5847|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5848|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5849|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5850|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5851|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5852|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5853|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5854|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5855|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5856|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5857|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5858|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5859|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5860|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5861|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5862|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5863|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5864|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5865|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5866|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5867|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5868|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5869|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5870|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5871|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5872|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5873|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5874|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5875|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5876|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5877|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5878|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5879|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5880|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5881|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5882|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5883|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5884|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5885|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5886|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5887|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5888|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5889|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5890|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5891|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5892|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5893|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5894|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5895|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5896|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5897|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5898|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5899|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5900|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5901|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5902|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5903|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5904|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5905|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5906|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5907|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5908|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5909|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5910|      0|            "\n");
 5911|      0|        stageBuiltins[EShLangMiss].append(
 5912|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5913|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5914|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5915|      0|            "void executeCallableNV(uint, int);"
 5916|      0|            "void executeCallableEXT(uint, int);"
 5917|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5918|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5919|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5920|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5921|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5922|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5923|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5924|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5925|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5926|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5927|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5928|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5929|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5930|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5931|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5932|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5933|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5934|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5935|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5936|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5937|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5938|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5939|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5940|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5941|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5942|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5943|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5944|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5945|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5946|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5947|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5948|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5949|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5950|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5951|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5952|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5953|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5954|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5955|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5956|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5957|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5958|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5959|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5960|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5961|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5962|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5963|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5964|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5965|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5966|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5967|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5968|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5969|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5970|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5971|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5972|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5973|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5974|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5975|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5976|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5977|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5978|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5979|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5980|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5981|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5982|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5983|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5984|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5985|      0|            "\n");
 5986|      0|        stageBuiltins[EShLangCallable].append(
 5987|      0|            "void executeCallableNV(uint, int);"
 5988|      0|            "void executeCallableEXT(uint, int);"
 5989|      0|            "\n");
 5990|      0|    }
 5991|       |
 5992|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5993|     38|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5993:10): [True: 31, False: 7]
  |  Branch (5993:35): [True: 0, False: 31]
  |  Branch (5993:55): [True: 7, False: 31]
  |  Branch (5993:80): [True: 6, False: 1]
  ------------------
 5994|      6|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5994:13): [True: 6, False: 0]
  ------------------
 5995|      6|            stageBuiltins[EShLangCompute].append(derivatives);
 5996|      6|            stageBuiltins[EShLangTask].append(derivatives);
 5997|      6|            stageBuiltins[EShLangMesh].append(derivatives);
 5998|      6|        }
 5999|       |
 6000|      6|        stageBuiltins[EShLangCompute].append(derivativeControls);
 6001|      6|        stageBuiltins[EShLangCompute].append("\n");
 6002|       |
 6003|      6|        if (profile != EEsProfile) {
  ------------------
  |  Branch (6003:13): [True: 6, False: 0]
  ------------------
 6004|      6|            stageBuiltins[EShLangTask].append(derivativeControls);
 6005|      6|            stageBuiltins[EShLangTask].append("\n");
 6006|      6|            stageBuiltins[EShLangMesh].append(derivativeControls);
 6007|      6|            stageBuiltins[EShLangMesh].append("\n");
 6008|      6|        }
 6009|      6|    }
 6010|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6010:9): [True: 7, False: 31]
  |  Branch (6010:34): [True: 6, False: 1]
  ------------------
 6011|      6|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 6012|      6|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 6013|      6|        stageBuiltins[EShLangCompute].append("\n");
 6014|      6|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 6015|      6|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 6016|      6|        stageBuiltins[EShLangTask].append("\n");
 6017|      6|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 6018|      6|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 6019|      6|        stageBuiltins[EShLangMesh].append("\n");
 6020|      6|    }
 6021|       |
 6022|       |    // Builtins for GL_NV_mesh_shader
 6023|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6023:10): [True: 7, False: 31]
  |  Branch (6023:35): [True: 6, False: 1]
  |  Branch (6023:55): [True: 31, False: 1]
  |  Branch (6023:80): [True: 0, False: 31]
  ------------------
 6024|      6|        stageBuiltins[EShLangMesh].append(
 6025|      6|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 6026|      6|            "\n");
 6027|      6|    }
 6028|       |    // Builtins for GL_EXT_mesh_shader
 6029|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6029:10): [True: 7, False: 31]
  |  Branch (6029:35): [True: 6, False: 1]
  |  Branch (6029:55): [True: 31, False: 1]
  |  Branch (6029:80): [True: 0, False: 31]
  ------------------
 6030|       |        // Builtins for GL_EXT_mesh_shader
 6031|      6|        stageBuiltins[EShLangTask].append(
 6032|      6|            "void EmitMeshTasksEXT(uint, uint, uint);"
 6033|      6|            "\n");
 6034|       |
 6035|      6|        stageBuiltins[EShLangMesh].append(
 6036|      6|            "void SetMeshOutputsEXT(uint, uint);"
 6037|      6|            "\n");
 6038|      6|    }
 6039|       |    // Builtins for GL_NV_displacement_micromap
 6040|     38|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6040:10): [True: 7, False: 31]
  |  Branch (6040:35): [True: 0, False: 7]
  |  Branch (6040:55): [True: 31, False: 7]
  |  Branch (6040:80): [True: 0, False: 31]
  ------------------
 6041|      0|        stageBuiltins[EShLangMesh].append(
 6042|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6043|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6044|      0|            "\n");
 6045|       |
 6046|      0|        stageBuiltins[EShLangCompute].append(
 6047|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6048|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6049|      0|            "\n");
 6050|       |
 6051|      0|    }
 6052|       |
 6053|       |
 6054|       |    //============================================================================
 6055|       |    //
 6056|       |    // Standard Uniforms
 6057|       |    //
 6058|       |    //============================================================================
 6059|       |
 6060|       |    //
 6061|       |    // Depth range in window coordinates, p. 33
 6062|       |    //
 6063|     38|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6063:9): [True: 38, False: 0]
  ------------------
 6064|     38|        commonBuiltins.append(
 6065|     38|            "struct gl_DepthRangeParameters {"
 6066|     38|            );
 6067|     38|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6067:13): [True: 31, False: 7]
  ------------------
 6068|     31|            commonBuiltins.append(
 6069|     31|                "highp float near;"   // n
 6070|     31|                "highp float far;"    // f
 6071|     31|                "highp float diff;"   // f - n
 6072|     31|                );
 6073|     31|        } else {
 6074|      7|            commonBuiltins.append(
 6075|      7|                "float near;"  // n
 6076|      7|                "float far;"   // f
 6077|      7|                "float diff;"  // f - n
 6078|      7|                );
 6079|      7|        }
 6080|       |
 6081|     38|        commonBuiltins.append(
 6082|     38|            "};"
 6083|     38|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6084|     38|            "\n");
 6085|     38|    }
 6086|       |
 6087|     38|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6087:9): [True: 38, False: 0]
  |  Branch (6087:32): [True: 0, False: 38]
  ------------------
 6088|       |        //
 6089|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 6090|       |        //
 6091|      0|        commonBuiltins.append(
 6092|      0|            "uniform mat4  gl_ModelViewMatrix;"
 6093|      0|            "uniform mat4  gl_ProjectionMatrix;"
 6094|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 6095|       |
 6096|       |            //
 6097|       |            // Derived matrix state that provides inverse and transposed versions
 6098|       |            // of the matrices above.
 6099|       |            //
 6100|      0|            "uniform mat3  gl_NormalMatrix;"
 6101|       |
 6102|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 6103|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 6104|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 6105|       |
 6106|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 6107|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 6108|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 6109|       |
 6110|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 6111|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 6112|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 6113|       |
 6114|       |            //
 6115|       |            // Normal scaling p. 39.
 6116|       |            //
 6117|      0|            "uniform float gl_NormalScale;"
 6118|       |
 6119|       |            //
 6120|       |            // Point Size, p. 66, 67.
 6121|       |            //
 6122|      0|            "struct gl_PointParameters {"
 6123|      0|                "float size;"
 6124|      0|                "float sizeMin;"
 6125|      0|                "float sizeMax;"
 6126|      0|                "float fadeThresholdSize;"
 6127|      0|                "float distanceConstantAttenuation;"
 6128|      0|                "float distanceLinearAttenuation;"
 6129|      0|                "float distanceQuadraticAttenuation;"
 6130|      0|            "};"
 6131|       |
 6132|      0|            "uniform gl_PointParameters gl_Point;"
 6133|       |
 6134|       |            //
 6135|       |            // Material State p. 50, 55.
 6136|       |            //
 6137|      0|            "struct gl_MaterialParameters {"
 6138|      0|                "vec4  emission;"    // Ecm
 6139|      0|                "vec4  ambient;"     // Acm
 6140|      0|                "vec4  diffuse;"     // Dcm
 6141|      0|                "vec4  specular;"    // Scm
 6142|      0|                "float shininess;"   // Srm
 6143|      0|            "};"
 6144|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6145|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6146|       |
 6147|       |            //
 6148|       |            // Light State p 50, 53, 55.
 6149|       |            //
 6150|      0|            "struct gl_LightSourceParameters {"
 6151|      0|                "vec4  ambient;"             // Acli
 6152|      0|                "vec4  diffuse;"             // Dcli
 6153|      0|                "vec4  specular;"            // Scli
 6154|      0|                "vec4  position;"            // Ppli
 6155|      0|                "vec4  halfVector;"          // Derived: Hi
 6156|      0|                "vec3  spotDirection;"       // Sdli
 6157|      0|                "float spotExponent;"        // Srli
 6158|      0|                "float spotCutoff;"          // Crli
 6159|       |                                                        // (range: [0.0,90.0], 180.0)
 6160|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6161|       |                                                        // (range: [1.0,0.0],-1.0)
 6162|      0|                "float constantAttenuation;" // K0
 6163|      0|                "float linearAttenuation;"   // K1
 6164|      0|                "float quadraticAttenuation;"// K2
 6165|      0|            "};"
 6166|       |
 6167|      0|            "struct gl_LightModelParameters {"
 6168|      0|                "vec4  ambient;"       // Acs
 6169|      0|            "};"
 6170|       |
 6171|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6172|       |
 6173|       |            //
 6174|       |            // Derived state from products of light and material.
 6175|       |            //
 6176|      0|            "struct gl_LightModelProducts {"
 6177|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6178|      0|            "};"
 6179|       |
 6180|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6181|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6182|       |
 6183|      0|            "struct gl_LightProducts {"
 6184|      0|                "vec4  ambient;"        // Acm * Acli
 6185|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6186|      0|                "vec4  specular;"       // Scm * Scli
 6187|      0|            "};"
 6188|       |
 6189|       |            //
 6190|       |            // Fog p. 161
 6191|       |            //
 6192|      0|            "struct gl_FogParameters {"
 6193|      0|                "vec4  color;"
 6194|      0|                "float density;"
 6195|      0|                "float start;"
 6196|      0|                "float end;"
 6197|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6198|      0|            "};"
 6199|       |
 6200|      0|            "uniform gl_FogParameters gl_Fog;"
 6201|       |
 6202|      0|            "\n");
 6203|      0|    }
 6204|       |
 6205|       |    //============================================================================
 6206|       |    //
 6207|       |    // Define the interface to the compute shader.
 6208|       |    //
 6209|       |    //============================================================================
 6210|       |
 6211|     38|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6211:10): [True: 7, False: 31]
  |  Branch (6211:35): [True: 6, False: 1]
  ------------------
 6212|     32|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6212:10): [True: 31, False: 1]
  |  Branch (6212:35): [True: 0, False: 31]
  ------------------
 6213|      6|        stageBuiltins[EShLangCompute].append(
 6214|      6|            "in    highp uvec3 gl_NumWorkGroups;"
 6215|      6|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6216|       |
 6217|      6|            "in highp uvec3 gl_WorkGroupID;"
 6218|      6|            "in highp uvec3 gl_LocalInvocationID;"
 6219|       |
 6220|      6|            "in highp uvec3 gl_GlobalInvocationID;"
 6221|      6|            "in highp uint gl_LocalInvocationIndex;"
 6222|       |
 6223|      6|            "\n");
 6224|      6|    }
 6225|       |
 6226|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6226:10): [True: 7, False: 31]
  |  Branch (6226:35): [True: 7, False: 0]
  ------------------
 6227|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6227:10): [True: 31, False: 0]
  |  Branch (6227:35): [True: 0, False: 31]
  ------------------
 6228|      7|        stageBuiltins[EShLangCompute].append(
 6229|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6230|      7|            "\n");
 6231|      7|    }
 6232|       |
 6233|       |    // GL_QCOM_tile_shading
 6234|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6234:10): [True: 31, False: 7]
  |  Branch (6234:35): [True: 0, False: 31]
  ------------------
 6235|     38|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6235:10): [True: 7, False: 31]
  |  Branch (6235:35): [True: 0, False: 7]
  ------------------
 6236|      0|        stageBuiltins[EShLangCompute].append(
 6237|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6238|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6239|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6240|      0|            "\n");
 6241|      0|    }
 6242|       |
 6243|       |    //============================================================================
 6244|       |    //
 6245|       |    // Define the interface to the mesh/task shader.
 6246|       |    //
 6247|       |    //============================================================================
 6248|       |
 6249|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6249:10): [True: 7, False: 31]
  |  Branch (6249:35): [True: 6, False: 1]
  |  Branch (6249:55): [True: 31, False: 1]
  |  Branch (6249:80): [True: 0, False: 31]
  ------------------
 6250|       |        // per-vertex attributes
 6251|      6|        stageBuiltins[EShLangMesh].append(
 6252|      6|            "out gl_MeshPerVertexNV {"
 6253|      6|                "vec4 gl_Position;"
 6254|      6|                "float gl_PointSize;"
 6255|      6|                "float gl_ClipDistance[];"
 6256|      6|                "float gl_CullDistance[];"
 6257|      6|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6258|      6|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6259|      6|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6260|      6|            "} gl_MeshVerticesNV[];"
 6261|      6|        );
 6262|       |
 6263|       |        // per-primitive attributes
 6264|      6|        stageBuiltins[EShLangMesh].append(
 6265|      6|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6266|      6|                "int gl_PrimitiveID;"
 6267|      6|                "int gl_Layer;"
 6268|      6|                "int gl_ViewportIndex;"
 6269|      6|                "int gl_ViewportMask[];"
 6270|      6|                "perviewNV int gl_LayerPerViewNV[];"
 6271|      6|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6272|      6|            "} gl_MeshPrimitivesNV[];"
 6273|      6|        );
 6274|       |
 6275|      6|        stageBuiltins[EShLangMesh].append(
 6276|      6|            "out uint gl_PrimitiveCountNV;"
 6277|      6|            "out uint gl_PrimitiveIndicesNV[];"
 6278|       |
 6279|      6|            "in uint gl_MeshViewCountNV;"
 6280|      6|            "in uint gl_MeshViewIndicesNV[4];"
 6281|       |
 6282|      6|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6283|       |
 6284|      6|            "in highp uvec3 gl_WorkGroupID;"
 6285|      6|            "in highp uvec3 gl_LocalInvocationID;"
 6286|       |
 6287|      6|            "in highp uvec3 gl_GlobalInvocationID;"
 6288|      6|            "in highp uint gl_LocalInvocationIndex;"
 6289|      6|            "\n");
 6290|       |
 6291|       |        // GL_EXT_mesh_shader
 6292|      6|        stageBuiltins[EShLangMesh].append(
 6293|      6|            "out uint gl_PrimitivePointIndicesEXT[];"
 6294|      6|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6295|      6|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6296|      6|            "in    highp uvec3 gl_NumWorkGroups;"
 6297|      6|            "\n");
 6298|       |
 6299|       |        // per-vertex attributes
 6300|      6|        stageBuiltins[EShLangMesh].append(
 6301|      6|            "out gl_MeshPerVertexEXT {"
 6302|      6|                "vec4 gl_Position;"
 6303|      6|                "float gl_PointSize;"
 6304|      6|                "float gl_ClipDistance[];"
 6305|      6|                "float gl_CullDistance[];"
 6306|      6|            "} gl_MeshVerticesEXT[];"
 6307|      6|        );
 6308|       |
 6309|       |        // per-primitive attributes
 6310|      6|        stageBuiltins[EShLangMesh].append(
 6311|      6|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6312|      6|                "int gl_PrimitiveID;"
 6313|      6|                "int gl_Layer;"
 6314|      6|                "int gl_ViewportIndex;"
 6315|      6|                "bool gl_CullPrimitiveEXT;"
 6316|      6|                "int  gl_PrimitiveShadingRateEXT;"
 6317|      6|            "} gl_MeshPrimitivesEXT[];"
 6318|      6|        );
 6319|       |
 6320|      6|        stageBuiltins[EShLangTask].append(
 6321|      6|            "out uint gl_TaskCountNV;"
 6322|       |
 6323|      6|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6324|       |
 6325|      6|            "in highp uvec3 gl_WorkGroupID;"
 6326|      6|            "in highp uvec3 gl_LocalInvocationID;"
 6327|       |
 6328|      6|            "in highp uvec3 gl_GlobalInvocationID;"
 6329|      6|            "in highp uint gl_LocalInvocationIndex;"
 6330|       |
 6331|      6|            "in uint gl_MeshViewCountNV;"
 6332|      6|            "in uint gl_MeshViewIndicesNV[4];"
 6333|      6|            "in    highp uvec3 gl_NumWorkGroups;"
 6334|      6|            "\n");
 6335|      6|    }
 6336|       |
 6337|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6337:9): [True: 7, False: 31]
  |  Branch (6337:34): [True: 6, False: 1]
  ------------------
 6338|      6|        stageBuiltins[EShLangMesh].append(
 6339|      6|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6340|      6|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6341|      6|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6342|      6|            "\n");
 6343|       |
 6344|      6|        stageBuiltins[EShLangTask].append(
 6345|      6|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6346|      6|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6347|      6|            "\n");
 6348|       |
 6349|      6|        if (version >= 460) {
  ------------------
  |  Branch (6349:13): [True: 0, False: 6]
  ------------------
 6350|      0|            stageBuiltins[EShLangMesh].append(
 6351|      0|                "in int gl_DrawID;"
 6352|      0|                "\n");
 6353|       |
 6354|      0|            stageBuiltins[EShLangTask].append(
 6355|      0|                "in int gl_DrawID;"
 6356|      0|                "\n");
 6357|      0|        }
 6358|      6|    }
 6359|       |
 6360|       |    //============================================================================
 6361|       |    //
 6362|       |    // Define the interface to the vertex shader.
 6363|       |    //
 6364|       |    //============================================================================
 6365|       |
 6366|     38|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6366:9): [True: 7, False: 31]
  ------------------
 6367|      7|        if (version < 130) {
  ------------------
  |  Branch (6367:13): [True: 0, False: 7]
  ------------------
 6368|      0|            stageBuiltins[EShLangVertex].append(
 6369|      0|                "attribute vec4  gl_Color;"
 6370|      0|                "attribute vec4  gl_SecondaryColor;"
 6371|      0|                "attribute vec3  gl_Normal;"
 6372|      0|                "attribute vec4  gl_Vertex;"
 6373|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6374|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6375|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6376|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6377|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6378|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6379|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6380|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6381|      0|                "attribute float gl_FogCoord;"
 6382|      0|                "\n");
 6383|      7|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6383:20): [True: 0, False: 7]
  ------------------
 6384|      0|            stageBuiltins[EShLangVertex].append(
 6385|      0|                "in vec4  gl_Color;"
 6386|      0|                "in vec4  gl_SecondaryColor;"
 6387|      0|                "in vec3  gl_Normal;"
 6388|      0|                "in vec4  gl_Vertex;"
 6389|      0|                "in vec4  gl_MultiTexCoord0;"
 6390|      0|                "in vec4  gl_MultiTexCoord1;"
 6391|      0|                "in vec4  gl_MultiTexCoord2;"
 6392|      0|                "in vec4  gl_MultiTexCoord3;"
 6393|      0|                "in vec4  gl_MultiTexCoord4;"
 6394|      0|                "in vec4  gl_MultiTexCoord5;"
 6395|      0|                "in vec4  gl_MultiTexCoord6;"
 6396|      0|                "in vec4  gl_MultiTexCoord7;"
 6397|      0|                "in float gl_FogCoord;"
 6398|      0|                "\n");
 6399|      0|        }
 6400|       |
 6401|      7|        if (version < 150) {
  ------------------
  |  Branch (6401:13): [True: 0, False: 7]
  ------------------
 6402|      0|            if (version < 130) {
  ------------------
  |  Branch (6402:17): [True: 0, False: 0]
  ------------------
 6403|      0|                stageBuiltins[EShLangVertex].append(
 6404|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6405|      0|                    "varying vec4  gl_FrontColor;"
 6406|      0|                    "varying vec4  gl_BackColor;"
 6407|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6408|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6409|      0|                    "varying vec4  gl_TexCoord[];"
 6410|      0|                    "varying float gl_FogFragCoord;"
 6411|      0|                    "\n");
 6412|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6412:24): [True: 0, False: 0]
  ------------------
 6413|      0|                stageBuiltins[EShLangVertex].append(
 6414|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6415|      0|                    "out vec4  gl_FrontColor;"
 6416|      0|                    "out vec4  gl_BackColor;"
 6417|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6418|      0|                    "out vec4  gl_BackSecondaryColor;"
 6419|      0|                    "out vec4  gl_TexCoord[];"
 6420|      0|                    "out float gl_FogFragCoord;"
 6421|      0|                    "\n");
 6422|      0|            }
 6423|      0|            stageBuiltins[EShLangVertex].append(
 6424|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6425|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6426|      0|                );
 6427|       |
 6428|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6428:17): [True: 0, False: 0]
  |  Branch (6428:35): [True: 0, False: 0]
  ------------------
 6429|      0|                stageBuiltins[EShLangVertex].append(
 6430|      0|                    "out float gl_ClipDistance[];"
 6431|      0|                    "out float gl_CullDistance[];"  // GL_ARB_cull_distance
 6432|      0|                    );
 6433|      7|        } else {
 6434|       |            // version >= 150
 6435|      7|            stageBuiltins[EShLangVertex].append(
 6436|      7|                "out gl_PerVertex {"
 6437|      7|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6438|      7|                    "float gl_PointSize;"   // needs qualifier fixed later
 6439|      7|                    "float gl_ClipDistance[];"
 6440|      7|                    "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6441|      7|                    );
 6442|      7|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6442:17): [True: 0, False: 7]
  ------------------
 6443|      0|                stageBuiltins[EShLangVertex].append(
 6444|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6445|      0|                    "vec4 gl_FrontColor;"
 6446|      0|                    "vec4 gl_BackColor;"
 6447|      0|                    "vec4 gl_FrontSecondaryColor;"
 6448|      0|                    "vec4 gl_BackSecondaryColor;"
 6449|      0|                    "vec4 gl_TexCoord[];"
 6450|      0|                    "float gl_FogFragCoord;"
 6451|      0|                    );
 6452|      7|            stageBuiltins[EShLangVertex].append(
 6453|      7|                "};"
 6454|      7|                "\n");
 6455|      7|        }
 6456|      7|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6456:13): [True: 7, False: 0]
  |  Branch (6456:31): [True: 3, False: 4]
  ------------------
 6457|      3|            stageBuiltins[EShLangVertex].append(
 6458|      3|                "int gl_VertexID;"            // needs qualifier fixed later
 6459|      3|                );
 6460|      7|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6460:13): [True: 3, False: 4]
  ------------------
 6461|      3|            stageBuiltins[EShLangVertex].append(
 6462|      3|                "int gl_InstanceID;"          // needs qualifier fixed later
 6463|      3|                );
 6464|      7|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6464:13): [True: 4, False: 3]
  |  Branch (6464:38): [True: 4, False: 0]
  ------------------
 6465|      4|            stageBuiltins[EShLangVertex].append(
 6466|      4|                "in int gl_VertexIndex;"
 6467|      4|                "in int gl_InstanceIndex;"
 6468|      4|                );
 6469|       |
 6470|      7|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6470:13): [True: 4, False: 3]
  |  Branch (6470:38): [True: 4, False: 0]
  |  Branch (6470:56): [True: 0, False: 4]
  ------------------
 6471|      0|            stageBuiltins[EShLangVertex].append(
 6472|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6473|      0|                "in int gl_InstanceID;"
 6474|      0|                );
 6475|       |
 6476|      7|        if (version >= 440) {
  ------------------
  |  Branch (6476:13): [True: 6, False: 1]
  ------------------
 6477|      6|            stageBuiltins[EShLangVertex].append(
 6478|      6|                "in int gl_BaseVertexARB;"
 6479|      6|                "in int gl_BaseInstanceARB;"
 6480|      6|                "in int gl_DrawIDARB;"
 6481|      6|                );
 6482|      6|        }
 6483|      7|        if (version >= 410) {
  ------------------
  |  Branch (6483:13): [True: 6, False: 1]
  ------------------
 6484|      6|            stageBuiltins[EShLangVertex].append(
 6485|      6|                "out int gl_ViewportIndex;"
 6486|      6|                "out int gl_Layer;"
 6487|      6|                );
 6488|      6|        }
 6489|      7|        if (version >= 460) {
  ------------------
  |  Branch (6489:13): [True: 0, False: 7]
  ------------------
 6490|      0|            stageBuiltins[EShLangVertex].append(
 6491|      0|                "in int gl_BaseVertex;"
 6492|      0|                "in int gl_BaseInstance;"
 6493|      0|                "in int gl_DrawID;"
 6494|      0|                );
 6495|      0|        }
 6496|       |
 6497|      7|        if (version >= 430)
  ------------------
  |  Branch (6497:13): [True: 6, False: 1]
  ------------------
 6498|      6|            stageBuiltins[EShLangVertex].append(
 6499|      6|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6500|      6|                );
 6501|       |
 6502|      7|        if (version >= 450)
  ------------------
  |  Branch (6502:13): [True: 6, False: 1]
  ------------------
 6503|      6|            stageBuiltins[EShLangVertex].append(
 6504|      6|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6505|      6|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6506|      6|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6507|      6|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6508|      6|                );
 6509|     31|    } else {
 6510|       |        // ES profile
 6511|     31|        if (version == 100) {
  ------------------
  |  Branch (6511:13): [True: 31, False: 0]
  ------------------
 6512|     31|            stageBuiltins[EShLangVertex].append(
 6513|     31|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6514|     31|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6515|     31|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6516|     31|                );
 6517|     31|        } else {
 6518|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6518:17): [True: 0, False: 0]
  |  Branch (6518:43): [True: 0, False: 0]
  ------------------
 6519|      0|                stageBuiltins[EShLangVertex].append(
 6520|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6521|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6522|      0|                    );
 6523|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6523:17): [True: 0, False: 0]
  ------------------
 6524|      0|                stageBuiltins[EShLangVertex].append(
 6525|      0|                    "in highp int gl_VertexIndex;"
 6526|      0|                    "in highp int gl_InstanceIndex;"
 6527|      0|                    );
 6528|      0|            if (version < 310)
  ------------------
  |  Branch (6528:17): [True: 0, False: 0]
  ------------------
 6529|      0|                stageBuiltins[EShLangVertex].append(
 6530|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6531|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6532|      0|                    "out highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6533|      0|                    "out highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6534|      0|                    );
 6535|      0|            else
 6536|      0|                stageBuiltins[EShLangVertex].append(
 6537|      0|                    "out gl_PerVertex {"
 6538|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6539|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6540|      0|                        "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6541|      0|                        "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6542|      0|                    "};"
 6543|      0|                    );
 6544|      0|        }
 6545|     31|    }
 6546|       |
 6547|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6547:10): [True: 7, False: 31]
  |  Branch (6547:35): [True: 7, False: 0]
  ------------------
 6548|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6548:10): [True: 31, False: 0]
  |  Branch (6548:35): [True: 0, False: 31]
  ------------------
 6549|      7|        stageBuiltins[EShLangVertex].append(
 6550|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6551|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6552|      7|            "\n");
 6553|      7|    }
 6554|       |
 6555|     38|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6555:9): [True: 6, False: 32]
  ------------------
 6556|      6|        stageBuiltins[EShLangVertex].append(
 6557|      6|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6558|      6|            "\n");
 6559|      6|    }
 6560|       |
 6561|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6561:10): [True: 7, False: 31]
  |  Branch (6561:35): [True: 6, False: 1]
  |  Branch (6561:55): [True: 31, False: 1]
  |  Branch (6561:80): [True: 0, False: 31]
  ------------------
 6562|      6|        stageBuiltins[EShLangVertex].append(
 6563|      6|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6564|      6|            "\n");
 6565|      6|    }
 6566|       |
 6567|       |    //============================================================================
 6568|       |    //
 6569|       |    // Define the interface to the geometry shader.
 6570|       |    //
 6571|       |    //============================================================================
 6572|       |
 6573|     38|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6573:9): [True: 7, False: 31]
  |  Branch (6573:36): [True: 0, False: 31]
  ------------------
 6574|      7|        stageBuiltins[EShLangGeometry].append(
 6575|      7|            "in gl_PerVertex {"
 6576|      7|                "vec4 gl_Position;"
 6577|      7|                "float gl_PointSize;"
 6578|      7|                "float gl_ClipDistance[];"
 6579|      7|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6580|      7|                );
 6581|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6581:13): [True: 0, False: 7]
  ------------------
 6582|      0|            stageBuiltins[EShLangGeometry].append(
 6583|      0|                "vec4 gl_ClipVertex;"
 6584|      0|                "vec4 gl_FrontColor;"
 6585|      0|                "vec4 gl_BackColor;"
 6586|      0|                "vec4 gl_FrontSecondaryColor;"
 6587|      0|                "vec4 gl_BackSecondaryColor;"
 6588|      0|                "vec4 gl_TexCoord[];"
 6589|      0|                "float gl_FogFragCoord;"
 6590|      0|                );
 6591|      7|        if (version >= 450)
  ------------------
  |  Branch (6591:13): [True: 6, False: 1]
  ------------------
 6592|      6|            stageBuiltins[EShLangGeometry].append(
 6593|      6|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6594|      6|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6595|      6|                );
 6596|      7|        stageBuiltins[EShLangGeometry].append(
 6597|      7|            "} gl_in[];"
 6598|       |
 6599|      7|            "in int gl_PrimitiveIDIn;"
 6600|      7|            "out gl_PerVertex {"
 6601|      7|                "vec4 gl_Position;"
 6602|      7|                "float gl_PointSize;"
 6603|      7|                "float gl_ClipDistance[];"
 6604|      7|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6605|      7|                "\n");
 6606|      7|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6606:13): [True: 0, False: 7]
  |  Branch (6606:49): [True: 0, False: 0]
  ------------------
 6607|      0|            stageBuiltins[EShLangGeometry].append(
 6608|      0|                "vec4 gl_ClipVertex;"
 6609|      0|                "vec4 gl_FrontColor;"
 6610|      0|                "vec4 gl_BackColor;"
 6611|      0|                "vec4 gl_FrontSecondaryColor;"
 6612|      0|                "vec4 gl_BackSecondaryColor;"
 6613|      0|                "vec4 gl_TexCoord[];"
 6614|      0|                "float gl_FogFragCoord;"
 6615|      0|                );
 6616|      7|        stageBuiltins[EShLangGeometry].append(
 6617|      7|            "};"
 6618|       |
 6619|      7|            "out int gl_PrimitiveID;"
 6620|      7|            "out int gl_Layer;");
 6621|       |
 6622|      7|        if (version >= 150)
  ------------------
  |  Branch (6622:13): [True: 7, False: 0]
  ------------------
 6623|      7|            stageBuiltins[EShLangGeometry].append(
 6624|      7|            "out int gl_ViewportIndex;"
 6625|      7|            );
 6626|       |
 6627|      7|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6627:13): [True: 0, False: 7]
  |  Branch (6627:49): [True: 0, False: 0]
  ------------------
 6628|      0|            stageBuiltins[EShLangGeometry].append(
 6629|      0|            "out vec4 gl_ClipVertex;"
 6630|      0|            );
 6631|       |
 6632|      7|        if (version >= 150)
  ------------------
  |  Branch (6632:13): [True: 7, False: 0]
  ------------------
 6633|      7|            stageBuiltins[EShLangGeometry].append(
 6634|      7|            "in int gl_InvocationID;"
 6635|      7|            );
 6636|       |
 6637|      7|        if (version >= 430)
  ------------------
  |  Branch (6637:13): [True: 6, False: 1]
  ------------------
 6638|      6|            stageBuiltins[EShLangGeometry].append(
 6639|      6|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6640|      6|            );
 6641|       |
 6642|      7|        if (version >= 450)
  ------------------
  |  Branch (6642:13): [True: 6, False: 1]
  ------------------
 6643|      6|            stageBuiltins[EShLangGeometry].append(
 6644|      6|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6645|      6|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6646|      6|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6647|      6|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6648|      6|            );
 6649|       |
 6650|      7|        stageBuiltins[EShLangGeometry].append("\n");
 6651|     31|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6651:16): [True: 31, False: 0]
  |  Branch (6651:41): [True: 0, False: 31]
  ------------------
 6652|      0|        stageBuiltins[EShLangGeometry].append(
 6653|      0|            "in gl_PerVertex {"
 6654|      0|                "highp vec4 gl_Position;"
 6655|      0|                "highp float gl_PointSize;"
 6656|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6657|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6658|      0|            "} gl_in[];"
 6659|      0|            "\n"
 6660|      0|            "in highp int gl_PrimitiveIDIn;"
 6661|      0|            "in highp int gl_InvocationID;"
 6662|      0|            "\n"
 6663|      0|            "out gl_PerVertex {"
 6664|      0|                "highp vec4 gl_Position;"
 6665|      0|                "highp float gl_PointSize;"
 6666|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6667|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6668|      0|            "};"
 6669|      0|            "\n"
 6670|      0|            "out highp int gl_PrimitiveID;"
 6671|      0|            "out highp int gl_Layer;"
 6672|      0|            "\n"
 6673|      0|            );
 6674|      0|    }
 6675|       |
 6676|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6676:10): [True: 7, False: 31]
  |  Branch (6676:35): [True: 7, False: 0]
  ------------------
 6677|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6677:10): [True: 31, False: 0]
  |  Branch (6677:35): [True: 0, False: 31]
  ------------------
 6678|      7|        stageBuiltins[EShLangGeometry].append(
 6679|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6680|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6681|      7|            "\n");
 6682|      7|    }
 6683|       |
 6684|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6684:10): [True: 7, False: 31]
  |  Branch (6684:35): [True: 6, False: 1]
  |  Branch (6684:55): [True: 31, False: 1]
  |  Branch (6684:80): [True: 0, False: 31]
  ------------------
 6685|      6|        stageBuiltins[EShLangGeometry].append(
 6686|      6|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6687|      6|            "\n");
 6688|      6|    }
 6689|       |
 6690|       |    //============================================================================
 6691|       |    //
 6692|       |    // Define the interface to the tessellation control shader.
 6693|       |    //
 6694|       |    //============================================================================
 6695|       |
 6696|     38|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6696:9): [True: 7, False: 31]
  |  Branch (6696:34): [True: 7, False: 0]
  ------------------
 6697|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6698|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6699|       |
 6700|      7|        stageBuiltins[EShLangTessControl].append(
 6701|      7|            "in int gl_PatchVerticesIn;"
 6702|      7|            "in int gl_PrimitiveID;"
 6703|      7|            "in int gl_InvocationID;"
 6704|       |
 6705|      7|            "out gl_PerVertex {"
 6706|      7|                "vec4 gl_Position;"
 6707|      7|                "float gl_PointSize;"
 6708|      7|                "float gl_ClipDistance[];"
 6709|      7|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6710|      7|                );
 6711|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6711:13): [True: 0, False: 7]
  ------------------
 6712|      0|            stageBuiltins[EShLangTessControl].append(
 6713|      0|                "vec4 gl_ClipVertex;"
 6714|      0|                "vec4 gl_FrontColor;"
 6715|      0|                "vec4 gl_BackColor;"
 6716|      0|                "vec4 gl_FrontSecondaryColor;"
 6717|      0|                "vec4 gl_BackSecondaryColor;"
 6718|      0|                "vec4 gl_TexCoord[];"
 6719|      0|                "float gl_FogFragCoord;"
 6720|      0|                );
 6721|      7|        if (version >= 430)
  ------------------
  |  Branch (6721:13): [True: 6, False: 1]
  ------------------
 6722|      6|            stageBuiltins[EShLangTessControl].append(
 6723|      6|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6724|      6|            );
 6725|      7|        if (version >= 450)
  ------------------
  |  Branch (6725:13): [True: 6, False: 1]
  ------------------
 6726|      6|            stageBuiltins[EShLangTessControl].append(
 6727|      6|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6728|      6|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6729|      6|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6730|      6|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6731|      6|                );
 6732|       |        // Vulkan does not allow Layer or ViewportIndex in tessellation control shaders.
 6733|      7|        if (version >= 430 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6733:13): [True: 6, False: 1]
  |  Branch (6733:31): [True: 2, False: 4]
  ------------------
 6734|      2|            stageBuiltins[EShLangTessControl].append(
 6735|      2|                "int  gl_ViewportIndex;"              // GL_NV_viewport_array2
 6736|      2|                "int  gl_Layer;"                      // GL_NV_viewport_array2
 6737|      2|                );
 6738|      7|        stageBuiltins[EShLangTessControl].append(
 6739|      7|            "} gl_out[];"
 6740|       |
 6741|      7|            "patch out float gl_TessLevelOuter[4];"
 6742|      7|            "patch out float gl_TessLevelInner[2];"
 6743|      7|            "\n");
 6744|       |
 6745|      7|        if (version >= 410)
  ------------------
  |  Branch (6745:13): [True: 6, False: 1]
  ------------------
 6746|      6|            stageBuiltins[EShLangTessControl].append(
 6747|      6|                "out int gl_ViewportIndex;"
 6748|      6|                "out int gl_Layer;"
 6749|      6|                "\n");
 6750|       |
 6751|     31|    } else {
 6752|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6753|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6754|       |
 6755|     31|        stageBuiltins[EShLangTessControl].append(
 6756|     31|            "in highp int gl_PatchVerticesIn;"
 6757|     31|            "in highp int gl_PrimitiveID;"
 6758|     31|            "in highp int gl_InvocationID;"
 6759|       |
 6760|     31|            "out gl_PerVertex {"
 6761|     31|                "highp vec4 gl_Position;"
 6762|     31|                "highp float gl_PointSize;"
 6763|     31|                );
 6764|     31|        if (profile == EEsProfile)
  ------------------
  |  Branch (6764:13): [True: 31, False: 0]
  ------------------
 6765|     31|            stageBuiltins[EShLangTessControl].append(
 6766|     31|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6767|     31|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6768|     31|                );
 6769|     31|        stageBuiltins[EShLangTessControl].append(
 6770|     31|            "} gl_out[];"
 6771|       |
 6772|     31|            "patch out highp float gl_TessLevelOuter[4];"
 6773|     31|            "patch out highp float gl_TessLevelInner[2];"
 6774|     31|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6775|     31|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6776|     31|            "\n");
 6777|     31|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6777:13): [True: 31, False: 0]
  |  Branch (6777:38): [True: 0, False: 31]
  ------------------
 6778|      0|            stageBuiltins[EShLangTessControl].append(
 6779|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6780|      0|                "\n"
 6781|      0|            );
 6782|      0|        }
 6783|     31|    }
 6784|       |
 6785|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6785:10): [True: 7, False: 31]
  |  Branch (6785:35): [True: 7, False: 0]
  ------------------
 6786|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6786:10): [True: 31, False: 0]
  |  Branch (6786:35): [True: 0, False: 31]
  ------------------
 6787|      7|        stageBuiltins[EShLangTessControl].append(
 6788|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6789|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6790|      7|            "\n");
 6791|      7|    }
 6792|       |
 6793|       |    //============================================================================
 6794|       |    //
 6795|       |    // Define the interface to the tessellation evaluation shader.
 6796|       |    //
 6797|       |    //============================================================================
 6798|       |
 6799|     38|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6799:9): [True: 7, False: 31]
  |  Branch (6799:34): [True: 7, False: 0]
  ------------------
 6800|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6801|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6802|       |
 6803|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6804|      7|            "in int gl_PatchVerticesIn;"
 6805|      7|            "in int gl_PrimitiveID;"
 6806|      7|            "in vec3 gl_TessCoord;"
 6807|       |
 6808|      7|            "patch in float gl_TessLevelOuter[4];"
 6809|      7|            "patch in float gl_TessLevelInner[2];"
 6810|       |
 6811|      7|            "out gl_PerVertex {"
 6812|      7|                "vec4 gl_Position;"
 6813|      7|                "float gl_PointSize;"
 6814|      7|                "float gl_ClipDistance[];"
 6815|      7|                "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6816|      7|            );
 6817|      7|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6817:13): [True: 6, False: 1]
  |  Branch (6817:31): [True: 0, False: 6]
  ------------------
 6818|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6819|      0|                "vec4 gl_ClipVertex;"
 6820|      0|                "vec4 gl_FrontColor;"
 6821|      0|                "vec4 gl_BackColor;"
 6822|      0|                "vec4 gl_FrontSecondaryColor;"
 6823|      0|                "vec4 gl_BackSecondaryColor;"
 6824|      0|                "vec4 gl_TexCoord[];"
 6825|      0|                "float gl_FogFragCoord;"
 6826|      0|                );
 6827|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6828|      7|            "};"
 6829|      7|            "\n");
 6830|       |
 6831|      7|        if (version >= 410)
  ------------------
  |  Branch (6831:13): [True: 6, False: 1]
  ------------------
 6832|      6|            stageBuiltins[EShLangTessEvaluation].append(
 6833|      6|                "out int gl_ViewportIndex;"
 6834|      6|                "out int gl_Layer;"
 6835|      6|                "\n");
 6836|       |
 6837|      7|        if (version >= 430)
  ------------------
  |  Branch (6837:13): [True: 6, False: 1]
  ------------------
 6838|      6|            stageBuiltins[EShLangTessEvaluation].append(
 6839|      6|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6840|      6|            );
 6841|       |
 6842|      7|        if (version >= 450)
  ------------------
  |  Branch (6842:13): [True: 6, False: 1]
  ------------------
 6843|      6|            stageBuiltins[EShLangTessEvaluation].append(
 6844|      6|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6845|      6|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6846|      6|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6847|      6|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6848|      6|                );
 6849|       |
 6850|     31|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6850:16): [True: 31, False: 0]
  |  Branch (6850:41): [True: 0, False: 31]
  ------------------
 6851|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6852|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6853|       |
 6854|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6855|      0|            "in highp int gl_PatchVerticesIn;"
 6856|      0|            "in highp int gl_PrimitiveID;"
 6857|      0|            "in highp vec3 gl_TessCoord;"
 6858|       |
 6859|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6860|      0|            "patch in highp float gl_TessLevelInner[2];"
 6861|       |
 6862|      0|            "out gl_PerVertex {"
 6863|      0|                "highp vec4 gl_Position;"
 6864|      0|                "highp float gl_PointSize;"
 6865|      0|                "highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 6866|      0|                "highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 6867|      0|            );
 6868|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6869|      0|            "};"
 6870|      0|            "\n");
 6871|      0|    }
 6872|       |
 6873|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6873:10): [True: 7, False: 31]
  |  Branch (6873:35): [True: 7, False: 0]
  ------------------
 6874|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6874:10): [True: 31, False: 0]
  |  Branch (6874:35): [True: 0, False: 31]
  ------------------
 6875|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6876|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6877|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6878|      7|            "\n");
 6879|      7|    }
 6880|       |
 6881|       |    //============================================================================
 6882|       |    //
 6883|       |    // Define the interface to the fragment shader.
 6884|       |    //
 6885|       |    //============================================================================
 6886|       |
 6887|     38|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6887:9): [True: 7, False: 31]
  ------------------
 6888|       |
 6889|      7|        stageBuiltins[EShLangFragment].append(
 6890|      7|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6891|      7|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6892|      7|            "float gl_FragDepth;"   // needs qualifier fixed later
 6893|      7|            );
 6894|      7|        if (version >= 120)
  ------------------
  |  Branch (6894:13): [True: 7, False: 0]
  ------------------
 6895|      7|            stageBuiltins[EShLangFragment].append(
 6896|      7|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6897|      7|                );
 6898|      7|        if (version >= 140)
  ------------------
  |  Branch (6898:13): [True: 7, False: 0]
  ------------------
 6899|      7|            stageBuiltins[EShLangFragment].append(
 6900|      7|                "out int gl_FragStencilRefARB;"
 6901|      7|                );
 6902|      7|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6902:13): [True: 0, False: 7]
  |  Branch (6902:61): [True: 7, Folded]
  |  Branch (6902:87): [True: 1, False: 6]
  ------------------
 6903|      1|            stageBuiltins[EShLangFragment].append(
 6904|      1|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6905|      1|                );
 6906|       |
 6907|      7|        if (version < 130) {
  ------------------
  |  Branch (6907:13): [True: 0, False: 7]
  ------------------
 6908|      0|            stageBuiltins[EShLangFragment].append(
 6909|      0|                "varying vec4  gl_Color;"
 6910|      0|                "varying vec4  gl_SecondaryColor;"
 6911|      0|                "varying vec4  gl_TexCoord[];"
 6912|      0|                "varying float gl_FogFragCoord;"
 6913|      0|                );
 6914|      7|        } else {
 6915|      7|            stageBuiltins[EShLangFragment].append(
 6916|      7|                "in float gl_ClipDistance[];"
 6917|      7|                "in float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 6918|      7|                );
 6919|       |
 6920|      7|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6920:17): [True: 0, False: 7]
  ------------------
 6921|      0|                if (version < 150)
  ------------------
  |  Branch (6921:21): [True: 0, False: 0]
  ------------------
 6922|      0|                    stageBuiltins[EShLangFragment].append(
 6923|      0|                        "in float gl_FogFragCoord;"
 6924|      0|                        "in vec4  gl_TexCoord[];"
 6925|      0|                        "in vec4  gl_Color;"
 6926|      0|                        "in vec4  gl_SecondaryColor;"
 6927|      0|                        );
 6928|      0|                else
 6929|      0|                    stageBuiltins[EShLangFragment].append(
 6930|      0|                        "in gl_PerFragment {"
 6931|      0|                            "in float gl_FogFragCoord;"
 6932|      0|                            "in vec4  gl_TexCoord[];"
 6933|      0|                            "in vec4  gl_Color;"
 6934|      0|                            "in vec4  gl_SecondaryColor;"
 6935|      0|                        "};"
 6936|      0|                        );
 6937|      0|            }
 6938|      7|        }
 6939|       |
 6940|      7|        if (version >= 150)
  ------------------
  |  Branch (6940:13): [True: 7, False: 0]
  ------------------
 6941|      7|            stageBuiltins[EShLangFragment].append(
 6942|      7|                "flat in int gl_PrimitiveID;"
 6943|      7|                );
 6944|       |
 6945|      7|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6945:13): [True: 7, False: 0]
  ------------------
 6946|      7|            stageBuiltins[EShLangFragment].append(
 6947|      7|                "flat in  int  gl_SampleID;"
 6948|      7|                "     in  vec2 gl_SamplePosition;"
 6949|      7|                "     out int  gl_SampleMask[];"
 6950|      7|                );
 6951|       |
 6952|      7|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6952:17): [True: 7, False: 0]
  ------------------
 6953|      7|                stageBuiltins[EShLangFragment].append(
 6954|      7|                    "uniform int gl_NumSamples;"
 6955|      7|                );
 6956|      7|            }
 6957|      7|        }
 6958|       |
 6959|      7|        if (version >= 150)
  ------------------
  |  Branch (6959:13): [True: 7, False: 0]
  ------------------
 6960|      7|            stageBuiltins[EShLangFragment].append(
 6961|      7|                "flat in  int  gl_SampleMaskIn[];"
 6962|      7|            );
 6963|       |
 6964|      7|        if (version >= 430)
  ------------------
  |  Branch (6964:13): [True: 6, False: 1]
  ------------------
 6965|      6|            stageBuiltins[EShLangFragment].append(
 6966|      6|                "flat in int gl_Layer;"
 6967|      6|                "flat in int gl_ViewportIndex;"
 6968|      6|                );
 6969|       |
 6970|      7|        if (version >= 450)
  ------------------
  |  Branch (6970:13): [True: 6, False: 1]
  ------------------
 6971|      6|            stageBuiltins[EShLangFragment].append(
 6972|      6|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6973|      6|                );
 6974|       |
 6975|      7|        if (version >= 450)
  ------------------
  |  Branch (6975:13): [True: 6, False: 1]
  ------------------
 6976|      6|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6977|      6|                "flat in ivec2 gl_FragSizeEXT;"
 6978|      6|                "flat in int   gl_FragInvocationCountEXT;"
 6979|      6|                );
 6980|       |
 6981|      7|        if (version >= 450)
  ------------------
  |  Branch (6981:13): [True: 6, False: 1]
  ------------------
 6982|      6|            stageBuiltins[EShLangFragment].append(
 6983|      6|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6984|      6|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6985|      6|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6986|      6|                "in vec2 gl_BaryCoordSmoothAMD;"
 6987|      6|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6988|      6|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6989|      6|                "in vec3 gl_BaryCoordPullModelAMD;"
 6990|      6|                );
 6991|       |
 6992|      7|        if (version >= 430)
  ------------------
  |  Branch (6992:13): [True: 6, False: 1]
  ------------------
 6993|      6|            stageBuiltins[EShLangFragment].append(
 6994|      6|                "in bool gl_FragFullyCoveredNV;"
 6995|      6|                );
 6996|      7|        if (version >= 450)
  ------------------
  |  Branch (6996:13): [True: 6, False: 1]
  ------------------
 6997|      6|            stageBuiltins[EShLangFragment].append(
 6998|      6|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6999|      6|                "flat in int   gl_InvocationsPerPixelNV;"
 7000|      6|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 7001|      6|                "in vec3 gl_BaryCoordNoPerspNV;"
 7002|      6|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 7003|      6|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7004|      6|                );
 7005|       |
 7006|      7|        if (version >= 450)
  ------------------
  |  Branch (7006:13): [True: 6, False: 1]
  ------------------
 7007|      6|            stageBuiltins[EShLangFragment].append(
 7008|      6|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7009|      6|            );
 7010|       |
 7011|     31|    } else {
 7012|       |        // ES profile
 7013|       |
 7014|     31|        if (version == 100) {
  ------------------
  |  Branch (7014:13): [True: 31, False: 0]
  ------------------
 7015|     31|            stageBuiltins[EShLangFragment].append(
 7016|     31|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 7017|     31|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 7018|     31|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 7019|     31|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 7020|     31|                );
 7021|     31|        }
 7022|     31|        if (version >= 300) {
  ------------------
  |  Branch (7022:13): [True: 0, False: 31]
  ------------------
 7023|      0|            stageBuiltins[EShLangFragment].append(
 7024|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 7025|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 7026|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 7027|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 7028|      0|                "in highp float gl_ClipDistance[];"  // GL_EXT_clip_cull_distance
 7029|      0|                "in highp float gl_CullDistance[];"  // GL_EXT_clip_cull_distance
 7030|      0|                );
 7031|      0|        }
 7032|     31|        if (version >= 310) {
  ------------------
  |  Branch (7032:13): [True: 0, False: 31]
  ------------------
 7033|      0|            stageBuiltins[EShLangFragment].append(
 7034|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 7035|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 7036|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 7037|      0|                );
 7038|       |
 7039|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7040|      0|                "flat  in lowp     int gl_SampleID;"
 7041|      0|                "      in mediump vec2 gl_SamplePosition;"
 7042|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 7043|      0|                "     out highp    int gl_SampleMask[];"
 7044|      0|                );
 7045|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (7045:17): [True: 0, False: 0]
  ------------------
 7046|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7047|      0|                    "uniform lowp int gl_NumSamples;"
 7048|      0|                    );
 7049|      0|        }
 7050|     31|        stageBuiltins[EShLangFragment].append(
 7051|     31|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 7052|     31|            );
 7053|       |
 7054|     31|        if (version >= 310)
  ------------------
  |  Branch (7054:13): [True: 0, False: 31]
  ------------------
 7055|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 7056|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7057|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7058|      0|            );
 7059|     31|        if (version >= 320)
  ------------------
  |  Branch (7059:13): [True: 0, False: 31]
  ------------------
 7060|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7061|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7062|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7063|      0|            );
 7064|     31|        if (version >= 320)
  ------------------
  |  Branch (7064:13): [True: 0, False: 31]
  ------------------
 7065|      0|            stageBuiltins[EShLangFragment].append(
 7066|      0|                "in vec3 gl_BaryCoordNV;"
 7067|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7068|      0|                "in vec3 gl_BaryCoordEXT;"
 7069|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7070|      0|            );
 7071|     31|        if (version >= 310)
  ------------------
  |  Branch (7071:13): [True: 0, False: 31]
  ------------------
 7072|      0|            stageBuiltins[EShLangFragment].append(
 7073|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7074|      0|            );
 7075|     31|    }
 7076|       |
 7077|     38|    stageBuiltins[EShLangFragment].append("\n");
 7078|       |
 7079|     38|    if (version >= 130)
  ------------------
  |  Branch (7079:9): [True: 7, False: 31]
  ------------------
 7080|      7|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7081|       |
 7082|     38|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7082:10): [True: 7, False: 31]
  |  Branch (7082:35): [True: 7, False: 0]
  ------------------
 7083|     31|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7083:10): [True: 31, False: 0]
  |  Branch (7083:35): [True: 0, False: 31]
  ------------------
 7084|      7|        stageBuiltins[EShLangFragment].append(
 7085|      7|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7086|      7|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7087|      7|            "\n");
 7088|      7|    }
 7089|       |
 7090|     38|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7090:9): [True: 6, False: 32]
  ------------------
 7091|      6|        stageBuiltins[EShLangFragment].append(
 7092|      6|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7093|      6|            "\n");
 7094|      6|    }
 7095|       |
 7096|       |    // GL_QCOM_tile_shading
 7097|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7097:10): [True: 31, False: 7]
  |  Branch (7097:35): [True: 0, False: 31]
  ------------------
 7098|     38|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7098:10): [True: 7, False: 31]
  |  Branch (7098:35): [True: 0, False: 7]
  ------------------
 7099|      0|        stageBuiltins[EShLangFragment].append(
 7100|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7101|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7102|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7103|      0|            "\n");
 7104|      0|    }
 7105|       |
 7106|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7106:10): [True: 31, False: 7]
  |  Branch (7106:35): [True: 0, False: 31]
  ------------------
 7107|     38|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (7107:10): [True: 7, False: 31]
  |  Branch (7107:35): [True: 7, False: 0]
  ------------------
 7108|      7|        addGatherFunctionsQCOM();
 7109|      7|    }
 7110|       |
 7111|       |    // GL_ARB_shader_ballot
 7112|     38|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7112:9): [True: 7, False: 31]
  |  Branch (7112:34): [True: 6, False: 1]
  ------------------
 7113|      6|        const char* ballotDecls =
 7114|      6|            "uniform uint gl_SubGroupSizeARB;"
 7115|      6|            "in uint     gl_SubGroupInvocationARB;"
 7116|      6|            "in uint64_t gl_SubGroupEqMaskARB;"
 7117|      6|            "in uint64_t gl_SubGroupGeMaskARB;"
 7118|      6|            "in uint64_t gl_SubGroupGtMaskARB;"
 7119|      6|            "in uint64_t gl_SubGroupLeMaskARB;"
 7120|      6|            "in uint64_t gl_SubGroupLtMaskARB;"
 7121|      6|            "\n";
 7122|      6|        const char* rtBallotDecls =
 7123|      6|            "uniform volatile uint gl_SubGroupSizeARB;"
 7124|      6|            "in volatile uint     gl_SubGroupInvocationARB;"
 7125|      6|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7126|      6|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7127|      6|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7128|      6|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7129|      6|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7130|      6|            "\n";
 7131|      6|        const char* fragmentBallotDecls =
 7132|      6|            "uniform uint gl_SubGroupSizeARB;"
 7133|      6|            "flat in uint     gl_SubGroupInvocationARB;"
 7134|      6|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7135|      6|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7136|      6|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7137|      6|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7138|      6|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7139|      6|            "\n";
 7140|      6|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7141|      6|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7142|      6|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7143|      6|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7144|      6|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7145|      6|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7146|      6|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7147|      6|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7148|      6|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7149|      6|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7150|       |        // No volatile qualifier on these builtins in any-hit
 7151|      6|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7152|      6|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7153|      6|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7154|      6|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7155|      6|    }
 7156|       |
 7157|       |    // GL_KHR_shader_subgroup
 7158|     38|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7158:10): [True: 31, False: 7]
  |  Branch (7158:35): [True: 0, False: 31]
  ------------------
 7159|     38|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7159:10): [True: 7, False: 31]
  |  Branch (7159:35): [True: 7, False: 0]
  ------------------
 7160|      7|        const char* subgroupDecls =
 7161|      7|            "in mediump uint  gl_SubgroupSize;"
 7162|      7|            "in mediump uint  gl_SubgroupInvocationID;"
 7163|      7|            "in highp   uvec4 gl_SubgroupEqMask;"
 7164|      7|            "in highp   uvec4 gl_SubgroupGeMask;"
 7165|      7|            "in highp   uvec4 gl_SubgroupGtMask;"
 7166|      7|            "in highp   uvec4 gl_SubgroupLeMask;"
 7167|      7|            "in highp   uvec4 gl_SubgroupLtMask;"
 7168|       |            // GL_NV_shader_sm_builtins
 7169|      7|            "in highp   uint  gl_WarpsPerSMNV;"
 7170|      7|            "in highp   uint  gl_SMCountNV;"
 7171|      7|            "in highp   uint  gl_WarpIDNV;"
 7172|      7|            "in highp   uint  gl_SMIDNV;"
 7173|       |            // GL_ARM_shader_core_builtins
 7174|      7|            "in highp   uint  gl_CoreIDARM;"
 7175|      7|            "in highp   uint  gl_CoreCountARM;"
 7176|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7177|      7|            "in highp   uint  gl_WarpIDARM;"
 7178|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7179|      7|            "\n";
 7180|      7|        const char* fragmentSubgroupDecls =
 7181|      7|            "flat in mediump uint  gl_SubgroupSize;"
 7182|      7|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7183|      7|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7184|      7|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7185|      7|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7186|      7|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7187|      7|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7188|       |            // GL_NV_shader_sm_builtins
 7189|      7|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7190|      7|            "flat in highp   uint  gl_SMCountNV;"
 7191|      7|            "flat in highp   uint  gl_WarpIDNV;"
 7192|      7|            "flat in highp   uint  gl_SMIDNV;"
 7193|       |            // GL_ARM_shader_core_builtins
 7194|      7|            "flat in highp   uint  gl_CoreIDARM;"
 7195|      7|            "flat in highp   uint  gl_CoreCountARM;"
 7196|      7|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7197|      7|            "flat in highp   uint  gl_WarpIDARM;"
 7198|      7|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7199|      7|            "\n";
 7200|      7|        const char* computeSubgroupDecls =
 7201|      7|            "in highp   uint  gl_NumSubgroups;"
 7202|      7|            "in highp   uint  gl_SubgroupID;"
 7203|      7|            "\n";
 7204|       |        // These builtins are volatile for RT stages
 7205|      7|        const char* rtSubgroupDecls =
 7206|      7|            "in mediump volatile uint  gl_SubgroupSize;"
 7207|      7|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7208|      7|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7209|      7|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7210|      7|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7211|      7|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7212|      7|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7213|       |            // GL_NV_shader_sm_builtins
 7214|      7|            "in highp    uint  gl_WarpsPerSMNV;"
 7215|      7|            "in highp    uint  gl_SMCountNV;"
 7216|      7|            "in highp volatile uint  gl_WarpIDNV;"
 7217|      7|            "in highp volatile uint  gl_SMIDNV;"
 7218|       |            // GL_ARM_shader_core_builtins
 7219|      7|            "in highp   uint  gl_CoreIDARM;"
 7220|      7|            "in highp   uint  gl_CoreCountARM;"
 7221|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7222|      7|            "in highp   uint  gl_WarpIDARM;"
 7223|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7224|      7|            "\n";
 7225|       |
 7226|      7|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7227|      7|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7228|      7|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7229|      7|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7230|      7|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7231|      7|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7232|      7|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7233|      7|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7234|      7|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7235|      7|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7236|      7|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7237|      7|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7238|      7|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7239|       |        // No volatile qualifier on these builtins in any-hit
 7240|      7|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7241|      7|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7242|      7|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7243|      7|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7244|      7|    }
 7245|       |
 7246|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7247|     38|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7247:9): [True: 7, False: 31]
  |  Branch (7247:34): [True: 0, False: 7]
  ------------------
 7248|       |
 7249|      0|        const char *constRayFlags =
 7250|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7251|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7252|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7253|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7254|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7255|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7256|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7257|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7258|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7259|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7260|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7261|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7262|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7263|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7264|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7265|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7266|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7267|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7268|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7269|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7270|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7271|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7272|      0|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7273|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7274|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7275|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7276|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7277|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7278|      0|            "\n";
 7279|       |
 7280|      0|        const char *constRayQueryIntersection =
 7281|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7282|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7283|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7284|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7285|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7286|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7287|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7288|      0|            "\n";
 7289|       |
 7290|      0|        const char *rayGenDecls =
 7291|      0|            "in    uvec3  gl_LaunchIDNV;"
 7292|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7293|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7294|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7295|      0|            "\n";
 7296|      0|        const char* intersectDecls = "in    uvec3  gl_LaunchIDNV;"
 7297|      0|                                     "in    uvec3  gl_LaunchIDEXT;"
 7298|      0|                                     "in    uvec3  gl_LaunchSizeNV;"
 7299|      0|                                     "in    uvec3  gl_LaunchSizeEXT;"
 7300|      0|                                     "in     int   gl_PrimitiveID;"
 7301|      0|                                     "in     int   gl_InstanceID;"
 7302|      0|                                     "in     int   gl_InstanceCustomIndexNV;"
 7303|      0|                                     "in     int   gl_InstanceCustomIndexEXT;"
 7304|      0|                                     "in     int   gl_GeometryIndexEXT;"
 7305|      0|                                     "in    vec3   gl_WorldRayOriginNV;"
 7306|      0|                                     "in    vec3   gl_WorldRayOriginEXT;"
 7307|      0|                                     "in    vec3   gl_WorldRayDirectionNV;"
 7308|      0|                                     "in    vec3   gl_WorldRayDirectionEXT;"
 7309|      0|                                     "in    vec3   gl_ObjectRayOriginNV;"
 7310|      0|                                     "in    vec3   gl_ObjectRayOriginEXT;"
 7311|      0|                                     "in    vec3   gl_ObjectRayDirectionNV;"
 7312|      0|                                     "in    vec3   gl_ObjectRayDirectionEXT;"
 7313|      0|                                     "in    float  gl_RayTminNV;"
 7314|      0|                                     "in    float  gl_RayTminEXT;"
 7315|      0|                                     "in volatile float gl_RayTmaxNV;"
 7316|      0|                                     "in volatile float gl_RayTmaxEXT;"
 7317|      0|                                     "in    mat4x3 gl_ObjectToWorldNV;"
 7318|      0|                                     "in    mat4x3 gl_ObjectToWorldEXT;"
 7319|      0|                                     "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7320|      0|                                     "in    mat4x3 gl_WorldToObjectNV;"
 7321|      0|                                     "in    mat4x3 gl_WorldToObjectEXT;"
 7322|      0|                                     "in    mat3x4 gl_WorldToObject3x4EXT;"
 7323|      0|                                     "in    uint   gl_IncomingRayFlagsNV;"
 7324|      0|                                     "in    uint   gl_IncomingRayFlagsEXT;"
 7325|      0|                                     "in    float  gl_CurrentRayTimeNV;"
 7326|      0|                                     "in    uint   gl_CullMaskEXT;"
 7327|      0|                                     "\n";
 7328|      0|        const char *hitDecls =
 7329|      0|            "in    uvec3  gl_LaunchIDNV;"
 7330|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7331|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7332|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7333|      0|            "in     int   gl_PrimitiveID;"
 7334|      0|            "in     int   gl_InstanceID;"
 7335|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7336|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7337|      0|            "in     int   gl_GeometryIndexEXT;"
 7338|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7339|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7340|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7341|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7342|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7343|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7344|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7345|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7346|      0|            "in    float  gl_RayTminNV;"
 7347|      0|            "in    float  gl_RayTminEXT;"
 7348|      0|            "in    float  gl_RayTmaxNV;"
 7349|      0|            "in    float  gl_RayTmaxEXT;"
 7350|      0|            "in    float  gl_HitTNV;"
 7351|      0|            "in    float  gl_HitTEXT;"
 7352|      0|            "in    uint   gl_HitKindNV;"
 7353|      0|            "in    uint   gl_HitKindEXT;"
 7354|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7355|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7356|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7357|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7358|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7359|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7360|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7361|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7362|      0|            "in    float  gl_CurrentRayTimeNV;"
 7363|      0|            "in    uint   gl_CullMaskEXT;"
 7364|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7365|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7366|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7367|      0|            "in    int    gl_ClusterIDNV;"
 7368|      0|            "in    bool   gl_HitIsSphereNV;"
 7369|      0|            "in    bool   gl_HitIsLSSNV;"
 7370|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7371|      0|            "in    float  gl_HitSphereRadiusNV;"
 7372|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7373|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7374|      0|            "\n";
 7375|       |
 7376|      0|        const char *missDecls =
 7377|      0|            "in    uvec3  gl_LaunchIDNV;"
 7378|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7379|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7380|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7381|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7382|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7383|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7384|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7385|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7386|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7387|      0|            "in    float  gl_RayTminNV;"
 7388|      0|            "in    float  gl_RayTminEXT;"
 7389|      0|            "in    float  gl_RayTmaxNV;"
 7390|      0|            "in    float  gl_RayTmaxEXT;"
 7391|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7392|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7393|      0|            "in    float  gl_CurrentRayTimeNV;"
 7394|      0|            "in    uint   gl_CullMaskEXT;"
 7395|      0|            "\n";
 7396|       |
 7397|      0|        const char *callableDecls =
 7398|      0|            "in    uvec3  gl_LaunchIDNV;"
 7399|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7400|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7401|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7402|      0|            "\n";
 7403|       |
 7404|       |
 7405|      0|        commonBuiltins.append(constRayQueryIntersection);
 7406|      0|        commonBuiltins.append(constRayFlags);
 7407|       |
 7408|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7409|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7410|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7411|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7412|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7413|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7414|       |
 7415|      0|    }
 7416|       |
 7417|     38|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7417:10): [True: 7, False: 31]
  |  Branch (7417:35): [True: 7, False: 0]
  ------------------
 7418|      7|        const char *deviceIndex =
 7419|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7420|      7|            "\n";
 7421|       |
 7422|      7|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7423|      7|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7424|      7|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7425|      7|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7426|      7|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7427|      7|    }
 7428|       |
 7429|     38|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7429:10): [True: 7, False: 31]
  |  Branch (7429:35): [True: 6, False: 1]
  ------------------
 7430|     32|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7430:10): [True: 31, False: 1]
  |  Branch (7430:35): [True: 0, False: 31]
  ------------------
 7431|      6|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7432|      6|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7433|      6|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7434|      6|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7435|      6|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7436|      6|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7437|       |
 7438|      6|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7439|      6|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7440|      6|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7441|      6|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7442|      6|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7443|      6|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7444|      6|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7445|       |
 7446|      6|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7447|      6|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7448|      6|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7449|      6|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7450|      6|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7451|      6|    }
 7452|       |
 7453|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7454|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7455|     38|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7455:10): [True: 7, False: 31]
  |  Branch (7455:35): [True: 6, False: 1]
  |  Branch (7455:55): [True: 31, False: 1]
  |  Branch (7455:80): [True: 0, False: 31]
  ------------------
 7456|     90|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7456:39): [True: 84, False: 6]
  ------------------
 7457|     84|        {
 7458|     84|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7459|     84|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7460|     84|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7461|     84|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7462|     84|        }
 7463|      6|    }
 7464|       |
 7465|       |    // GL_EXT_shader_image_int64
 7466|     38|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7466:10): [True: 7, False: 31]
  |  Branch (7466:35): [True: 6, False: 1]
  ------------------
 7467|     32|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7467:10): [True: 31, False: 1]
  |  Branch (7467:35): [True: 0, False: 31]
  ------------------
 7468|       |
 7469|      6|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7470|     18|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7470:26): [True: 12, False: 6]
  ------------------
 7471|     36|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7471:35): [True: 24, False: 12]
  ------------------
 7472|    168|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7472:39): [True: 144, False: 24]
  ------------------
 7473|    144|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7473:26): [True: 24, False: 120]
  |  Branch (7473:42): [True: 24, False: 96]
  |  Branch (7473:61): [True: 0, False: 48]
  ------------------
 7474|      0|                        continue;
 7475|       |
 7476|    144|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7476:26): [True: 24, False: 120]
  |  Branch (7476:42): [True: 24, False: 96]
  |  Branch (7476:60): [True: 24, False: 72]
  |  Branch (7476:81): [True: 36, False: 36]
  ------------------
 7477|     36|                        continue;
 7478|       |
 7479|    108|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7479:25): [True: 84, False: 24]
  |  Branch (7479:41): [True: 42, False: 42]
  ------------------
 7480|     42|                        continue;
 7481|       |
 7482|       |                    // Loop over the bTypes
 7483|    198|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7483:44): [True: 132, False: 66]
  ------------------
 7484|       |                        //
 7485|       |                        // Now, make all the function prototypes for the type we just built...
 7486|       |                        //
 7487|    132|                        TSampler sampler;
 7488|       |
 7489|    132|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7489:75): [True: 48, False: 84]
  ------------------
 7490|    132|                                                                          false,
 7491|    132|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7491:75): [True: 24, False: 108]
  ------------------
 7492|       |
 7493|    132|                        TString typeName = TString{sampler.getString()};
 7494|       |
 7495|    132|                        addQueryFunctions(sampler, typeName, version, profile);
 7496|    132|                        addImageFunctions(sampler, typeName, version, profile);
 7497|    132|                    }
 7498|     66|                }
 7499|     24|            }
 7500|     12|        }
 7501|      6|    }
 7502|       |
 7503|       |    // printf("%s\n", commonBuiltins.c_str());
 7504|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7505|     38|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7512|      7|{
 7513|       |    //
 7514|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7515|       |    // to enumerate all the uses for that type.
 7516|       |    //
 7517|       |
 7518|       |    // enumerate all the types
 7519|      7|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7520|      7|         EbtFloat16
 7521|      7|    };
 7522|      7|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7522:24): [True: 0, False: 7]
  |  Branch (7522:49): [True: 0, False: 0]
  |  Branch (7522:68): [True: 7, False: 0]
  |  Branch (7522:93): [True: 0, False: 7]
  ------------------
 7523|      7|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7523:29): [True: 0, False: 7]
  |  Branch (7523:54): [True: 0, False: 0]
  |  Branch (7523:73): [True: 7, False: 0]
  |  Branch (7523:98): [True: 0, False: 7]
  ------------------
 7524|     21|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7524:25): [True: 14, False: 7]
  ------------------
 7525|     14|    {
 7526|     42|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7526:30): [True: 28, False: 14]
  ------------------
 7527|     84|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7527:30): [True: 56, False: 28]
  ------------------
 7528|     56|            {
 7529|     56|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7529:22): [True: 28, False: 28]
  |  Branch (7529:28): [True: 14, False: 14]
  |  Branch (7529:38): [True: 21, False: 21]
  ------------------
 7530|     21|                    continue;
 7531|     35|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7531:21): [True: 14, False: 21]
  |  Branch (7531:27): [True: 14, False: 0]
  |  Branch (7531:52): [True: 0, False: 14]
  ------------------
 7532|      0|                    continue;
 7533|     35|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7533:21): [True: 14, False: 21]
  |  Branch (7533:27): [True: 7, False: 7]
  |  Branch (7533:36): [True: 0, False: 7]
  ------------------
 7534|      0|                    continue;
 7535|     35|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7535:21): [True: 14, False: 21]
  |  Branch (7535:27): [True: 0, False: 14]
  |  Branch (7535:52): [True: 0, False: 0]
  ------------------
 7536|      0|                    continue;
 7537|       |
 7538|    105|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7538:39): [True: 70, False: 35]
  ------------------
 7539|    630|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7539:43): [True: 560, False: 70]
  ------------------
 7540|    560|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7540:29): [True: 70, False: 490]
  ------------------
 7541|     70|                            continue;
 7542|    490|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7542:29): [True: 70, False: 420]
  |  Branch (7542:50): [True: 30, False: 40]
  ------------------
 7543|     30|                            continue;
 7544|    460|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7544:29): [True: 40, False: 420]
  |  Branch (7544:51): [True: 16, False: 24]
  |  Branch (7544:60): [True: 8, False: 16]
  |  Branch (7544:70): [True: 8, False: 8]
  ------------------
 7545|     32|                            continue;
 7546|    428|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7546:30): [True: 70, False: 358]
  |  Branch (7546:46): [True: 70, False: 288]
  |  Branch (7546:65): [True: 0, False: 140]
  ------------------
 7547|      0|                            continue;
 7548|    428|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7548:29): [True: 8, False: 420]
  |  Branch (7548:50): [True: 0, False: 8]
  ------------------
 7549|      0|                            continue;
 7550|    428|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7550:29): [True: 8, False: 420]
  |  Branch (7550:51): [True: 0, False: 8]
  |  Branch (7550:60): [True: 0, False: 8]
  |  Branch (7550:70): [True: 0, False: 8]
  ------------------
 7551|      0|                            continue;
 7552|    428|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7552:30): [True: 70, False: 358]
  |  Branch (7552:46): [True: 70, False: 288]
  |  Branch (7552:65): [True: 0, False: 140]
  ------------------
 7553|      0|                            continue;
 7554|    428|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7554:29): [True: 358, False: 70]
  |  Branch (7554:45): [True: 350, False: 8]
  |  Branch (7554:66): [True: 140, False: 210]
  ------------------
 7555|    140|                            continue;
 7556|    288|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7556:29): [True: 42, False: 246]
  |  Branch (7556:49): [True: 0, False: 42]
  ------------------
 7557|      0|                            continue;
 7558|    288|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7558:29): [True: 42, False: 246]
  |  Branch (7558:50): [True: 14, False: 28]
  |  Branch (7558:60): [True: 14, False: 14]
  |  Branch (7558:71): [True: 0, False: 14]
  ------------------
 7559|     28|                            continue;
 7560|    260|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7560:29): [True: 32, False: 228]
  |  Branch (7560:35): [True: 14, False: 18]
  |  Branch (7560:46): [True: 0, False: 14]
  |  Branch (7560:71): [True: 0, False: 0]
  ------------------
 7561|      0|                            continue;
 7562|    260|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7562:29): [True: 42, False: 218]
  |  Branch (7562:45): [True: 14, False: 28]
  ------------------
 7563|     14|                            continue;
 7564|    246|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7564:29): [True: 42, False: 204]
  |  Branch (7564:47): [True: 21, False: 21]
  |  Branch (7564:58): [True: 0, False: 21]
  ------------------
 7565|      0|                            continue;
 7566|    246|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7566:30): [True: 28, False: 218]
  |  Branch (7566:46): [True: 42, False: 176]
  |  Branch (7566:65): [True: 35, False: 35]
  ------------------
 7567|     35|                            continue;
 7568|       |
 7569|       |                        // Loop over the bTypes
 7570|  1.05k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7570:48): [True: 844, False: 211]
  ------------------
 7571|    844|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7571:33): [True: 211, False: 633]
  |  Branch (7571:65): [True: 0, False: 211]
  |  Branch (7571:90): [True: 29, False: 182]
  ------------------
 7572|     29|                                continue;
 7573|    815|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7573:33): [True: 81, False: 734]
  |  Branch (7573:51): [True: 0, False: 81]
  |  Branch (7573:68): [True: 0, False: 0]
  ------------------
 7574|      0|                                continue;
 7575|    815|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7575:33): [True: 189, False: 626]
  |  Branch (7575:44): [True: 49, False: 140]
  |  Branch (7575:71): [True: 49, False: 91]
  ------------------
 7576|     98|                                continue;
 7577|       |                            //
 7578|       |                            // Now, make all the function prototypes for the type we just built...
 7579|       |                            //
 7580|    717|                            TSampler sampler;
 7581|    717|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7581:33): [True: 32, False: 685]
  ------------------
 7582|     32|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7582:67): [True: 16, False: 16]
  ------------------
 7583|    685|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7583:40): [True: 0, False: 685]
  ------------------
 7584|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7585|      0|                            } else
 7586|    685|                            if (image) {
  ------------------
  |  Branch (7586:33): [True: 297, False: 388]
  ------------------
 7587|    297|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7587:83): [True: 108, False: 189]
  ------------------
 7588|    297|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7588:83): [True: 0, False: 297]
  ------------------
 7589|    297|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7589:83): [True: 54, False: 243]
  ------------------
 7590|    388|                            } else {
 7591|    388|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7591:78): [True: 147, False: 241]
  ------------------
 7592|    388|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7592:78): [True: 91, False: 297]
  ------------------
 7593|    388|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7593:78): [True: 54, False: 334]
  ------------------
 7594|    388|                            }
 7595|       |
 7596|    717|                            TString typeName = TString{sampler.getString()};
 7597|       |
 7598|    717|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7598:33): [True: 32, False: 685]
  ------------------
 7599|     32|                                addSubpassSampling(sampler, typeName, version, profile);
 7600|     32|                                continue;
 7601|     32|                            }
 7602|       |
 7603|    685|                            addQueryFunctions(sampler, typeName, version, profile);
 7604|       |
 7605|    685|                            if (image)
  ------------------
  |  Branch (7605:33): [True: 297, False: 388]
  ------------------
 7606|    297|                                addImageFunctions(sampler, typeName, version, profile);
 7607|    388|                            else {
 7608|    388|                                addSamplingFunctions(sampler, typeName, version, profile);
 7609|    388|                                addGatherFunctions(sampler, typeName, version, profile);
 7610|    388|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7610:37): [True: 232, False: 156]
  |  Branch (7610:62): [True: 232, False: 0]
  |  Branch (7610:86): [True: 176, False: 56]
  ------------------
 7611|       |                                    // Base Vulkan allows texelFetch() for
 7612|       |                                    // textureBuffer (i.e. without sampler).
 7613|       |                                    //
 7614|       |                                    // GL_EXT_samplerless_texture_functions
 7615|       |                                    // allows texelFetch() and query functions
 7616|       |                                    // (other than textureQueryLod()) for all
 7617|       |                                    // texture types.
 7618|    176|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7619|    176|                                                       sampler.ms);
 7620|    176|                                    TString textureTypeName = TString{sampler.getString()};
 7621|    176|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7622|    176|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7623|    176|                                }
 7624|    388|                            }
 7625|    685|                        }
 7626|    211|                    }
 7627|     70|                }
 7628|     35|            }
 7629|     28|        }
 7630|     14|    }
 7631|       |
 7632|       |    //
 7633|       |    // sparseTexelsResidentARB()
 7634|       |    //
 7635|      7|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7635:9): [True: 7, False: 0]
  |  Branch (7635:34): [True: 6, False: 1]
  ------------------
 7636|      6|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7637|      6|    }
 7638|      7|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7647|    993|{
 7648|       |    //
 7649|       |    // textureSize() and imageSize()
 7650|       |    //
 7651|       |
 7652|    993|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7652:43): [True: 367, False: 626]
  |  Branch (7652:71): [True: 190, False: 803]
  ------------------
 7653|       |
 7654|    993|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7654:9): [True: 429, False: 564]
  |  Branch (7654:32): [True: 0, False: 429]
  |  Branch (7654:57): [True: 0, False: 0]
  |  Branch (7654:76): [True: 429, False: 0]
  |  Branch (7654:101): [True: 33, False: 396]
  ------------------
 7655|     33|        return;
 7656|       |
 7657|    960|    if (profile == EEsProfile)
  ------------------
  |  Branch (7657:9): [True: 0, False: 960]
  ------------------
 7658|      0|        commonBuiltins.append("highp ");
 7659|    960|    if (sizeDims == 1)
  ------------------
  |  Branch (7659:9): [True: 171, False: 789]
  ------------------
 7660|    171|        commonBuiltins.append("int");
 7661|    789|    else {
 7662|    789|        commonBuiltins.append("ivec");
 7663|    789|        commonBuiltins.append(postfixes[sizeDims]);
 7664|    789|    }
 7665|    960|    if (sampler.isImage())
  ------------------
  |  Branch (7665:9): [True: 396, False: 564]
  ------------------
 7666|    396|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7667|    564|    else
 7668|    564|        commonBuiltins.append(" textureSize(");
 7669|    960|    commonBuiltins.append(typeName);
 7670|    960|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7670:9): [True: 564, False: 396]
  |  Branch (7670:32): [True: 508, False: 56]
  |  Branch (7670:54): [True: 465, False: 43]
  |  Branch (7670:78): [True: 379, False: 86]
  ------------------
 7671|    379|        commonBuiltins.append(",int);\n");
 7672|    581|    else
 7673|    581|        commonBuiltins.append(");\n");
 7674|       |
 7675|       |    //
 7676|       |    // textureSamples() and imageSamples()
 7677|       |    //
 7678|       |
 7679|       |    // GL_ARB_shader_texture_image_samples
 7680|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7681|    960|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7681:9): [True: 960, False: 0]
  |  Branch (7681:34): [True: 920, False: 40]
  |  Branch (7681:52): [True: 152, False: 768]
  ------------------
 7682|    152|        commonBuiltins.append("int ");
 7683|    152|        if (sampler.isImage())
  ------------------
  |  Branch (7683:13): [True: 72, False: 80]
  ------------------
 7684|     72|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7685|     80|        else
 7686|     80|            commonBuiltins.append("textureSamples(");
 7687|    152|        commonBuiltins.append(typeName);
 7688|    152|        commonBuiltins.append(");\n");
 7689|    152|    }
 7690|       |
 7691|       |    //
 7692|       |    // textureQueryLod()
 7693|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7694|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7695|       |
 7696|    960|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7696:9): [True: 960, False: 0]
  |  Branch (7696:34): [True: 960, False: 0]
  |  Branch (7696:52): [True: 388, False: 572]
  |  Branch (7696:76): [True: 348, False: 40]
  ------------------
 7697|    348|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7697:9): [True: 294, False: 54]
  |  Branch (7697:38): [True: 267, False: 27]
  ------------------
 7698|       |
 7699|    267|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7700|       |
 7701|    801|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7701:25): [True: 534, False: 267]
  ------------------
 7702|  1.60k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7702:38): [True: 1.06k, False: 534]
  ------------------
 7703|  1.06k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7703:21): [True: 534, False: 534]
  |  Branch (7703:35): [True: 378, False: 156]
  ------------------
 7704|    378|                    continue;
 7705|    690|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7706|    690|                stageBuiltins[EShLangFragment].append(typeName);
 7707|    690|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7707:21): [True: 208, False: 482]
  ------------------
 7708|    208|                    if (f16TexAddr)
  ------------------
  |  Branch (7708:25): [True: 48, False: 160]
  ------------------
 7709|     48|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7710|    160|                    else
 7711|    160|                        stageBuiltins[EShLangFragment].append(", float");
 7712|    482|                else {
 7713|    482|                    if (f16TexAddr)
  ------------------
  |  Branch (7713:25): [True: 108, False: 374]
  ------------------
 7714|    108|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7715|    374|                    else
 7716|    374|                        stageBuiltins[EShLangFragment].append(", vec");
 7717|    482|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7718|    482|                }
 7719|    690|                stageBuiltins[EShLangFragment].append(");\n");
 7720|    690|            }
 7721|       |
 7722|    534|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7723|    534|            stageBuiltins[EShLangCompute].append(typeName);
 7724|    534|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7724:17): [True: 160, False: 374]
  ------------------
 7725|    160|                stageBuiltins[EShLangCompute].append(", float");
 7726|    374|            else {
 7727|    374|                stageBuiltins[EShLangCompute].append(", vec");
 7728|    374|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7729|    374|            }
 7730|    534|            stageBuiltins[EShLangCompute].append(");\n");
 7731|       |
 7732|    534|            stageBuiltins[EShLangTask].append(funcName[i]);
 7733|    534|            stageBuiltins[EShLangTask].append(typeName);
 7734|    534|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7734:17): [True: 160, False: 374]
  ------------------
 7735|    160|                stageBuiltins[EShLangTask].append(", float");
 7736|    374|            else {
 7737|    374|                stageBuiltins[EShLangTask].append(", vec");
 7738|    374|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7739|    374|            }
 7740|    534|            stageBuiltins[EShLangTask].append(");\n");
 7741|       |
 7742|    534|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7743|    534|            stageBuiltins[EShLangMesh].append(typeName);
 7744|    534|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7744:17): [True: 160, False: 374]
  ------------------
 7745|    160|                stageBuiltins[EShLangMesh].append(", float");
 7746|    374|            else {
 7747|    374|                stageBuiltins[EShLangMesh].append(", vec");
 7748|    374|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7749|    374|            }
 7750|    534|            stageBuiltins[EShLangMesh].append(");\n");
 7751|    534|        }
 7752|    267|    }
 7753|       |
 7754|       |    //
 7755|       |    // textureQueryLevels()
 7756|       |    //
 7757|       |
 7758|    960|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7758:9): [True: 960, False: 0]
  |  Branch (7758:34): [True: 920, False: 40]
  |  Branch (7758:52): [True: 524, False: 396]
  |  Branch (7758:75): [True: 472, False: 52]
  ------------------
 7759|    472|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7759:9): [True: 392, False: 80]
  |  Branch (7759:38): [True: 352, False: 40]
  ------------------
 7760|    352|        commonBuiltins.append("int textureQueryLevels(");
 7761|    352|        commonBuiltins.append(typeName);
 7762|    352|        commonBuiltins.append(");\n");
 7763|    352|    }
 7764|    960|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7773|    429|{
 7774|    429|    int dims = dimMap[sampler.dim];
 7775|       |    // most things with an array add a dimension, except for cubemaps
 7776|    429|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7776:9): [True: 156, False: 273]
  |  Branch (7776:28): [True: 117, False: 39]
  ------------------
 7777|    117|        ++dims;
 7778|       |
 7779|    429|    TString imageParams = typeName;
 7780|    429|    if (dims == 1)
  ------------------
  |  Branch (7780:9): [True: 78, False: 351]
  ------------------
 7781|     78|        imageParams.append(", int");
 7782|    351|    else {
 7783|    351|        imageParams.append(", ivec");
 7784|    351|        imageParams.append(postfixes[dims]);
 7785|    351|    }
 7786|    429|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7786:9): [True: 78, False: 351]
  ------------------
 7787|     78|        imageParams.append(", int");
 7788|       |
 7789|    429|    if (profile == EEsProfile)
  ------------------
  |  Branch (7789:9): [True: 0, False: 429]
  ------------------
 7790|      0|        commonBuiltins.append("highp ");
 7791|    429|    commonBuiltins.append(prefixes[sampler.type]);
 7792|    429|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7793|    429|    commonBuiltins.append(imageParams);
 7794|    429|    commonBuiltins.append(");\n");
 7795|       |
 7796|    429|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7797|    429|    commonBuiltins.append(imageParams);
 7798|    429|    commonBuiltins.append(", ");
 7799|    429|    commonBuiltins.append(prefixes[sampler.type]);
 7800|    429|    commonBuiltins.append("vec4);\n");
 7801|       |
 7802|    429|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7802:9): [True: 351, False: 78]
  |  Branch (7802:29): [True: 312, False: 39]
  |  Branch (7802:53): [True: 312, False: 0]
  |  Branch (7802:78): [True: 288, False: 24]
  ------------------
 7803|    288|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7804|    288|        commonBuiltins.append(imageParams);
 7805|    288|        commonBuiltins.append(", out ");
 7806|    288|        commonBuiltins.append(prefixes[sampler.type]);
 7807|    288|        commonBuiltins.append("vec4");
 7808|    288|        commonBuiltins.append(");\n");
 7809|    288|    }
 7810|       |
 7811|    429|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7811:10): [True: 429, False: 0]
  ------------------
 7812|    429|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7812:10): [True: 0, False: 0]
  |  Branch (7812:35): [True: 0, False: 0]
  ------------------
 7813|    429|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7813:13): [True: 77, False: 352]
  |  Branch (7813:39): [True: 77, False: 275]
  |  Branch (7813:66): [True: 66, False: 209]
  |  Branch (7813:94): [True: 66, False: 143]
  ------------------
 7814|       |
 7815|    286|            const char* dataType;
 7816|    286|            switch (sampler.type) {
 7817|     77|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7817:17): [True: 77, False: 209]
  ------------------
 7818|     77|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7818:17): [True: 77, False: 209]
  ------------------
 7819|     66|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7819:17): [True: 66, False: 220]
  ------------------
 7820|     66|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7820:17): [True: 66, False: 220]
  ------------------
 7821|      0|                default: dataType = "";
  ------------------
  |  Branch (7821:17): [True: 0, False: 286]
  ------------------
 7822|    286|            }
 7823|       |
 7824|    286|            const int numBuiltins = 7;
 7825|       |
 7826|    286|            static const char* atomicFunc[numBuiltins] = {
 7827|    286|                " imageAtomicAdd(volatile coherent nontemporal ",
 7828|    286|                " imageAtomicMin(volatile coherent nontemporal ",
 7829|    286|                " imageAtomicMax(volatile coherent nontemporal ",
 7830|    286|                " imageAtomicAnd(volatile coherent nontemporal ",
 7831|    286|                " imageAtomicOr(volatile coherent nontemporal ",
 7832|    286|                " imageAtomicXor(volatile coherent nontemporal ",
 7833|    286|                " imageAtomicExchange(volatile coherent nontemporal "
 7834|    286|            };
 7835|       |
 7836|       |            // Loop twice to add prototypes with/without scope/semantics
 7837|    858|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7837:29): [True: 572, False: 286]
  ------------------
 7838|  4.57k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7838:36): [True: 4.00k, False: 572]
  ------------------
 7839|  4.00k|                    commonBuiltins.append(dataType);
 7840|  4.00k|                    commonBuiltins.append(atomicFunc[i]);
 7841|  4.00k|                    commonBuiltins.append(imageParams);
 7842|  4.00k|                    commonBuiltins.append(", ");
 7843|  4.00k|                    commonBuiltins.append(dataType);
 7844|  4.00k|                    if (j == 1) {
  ------------------
  |  Branch (7844:25): [True: 2.00k, False: 2.00k]
  ------------------
 7845|  2.00k|                        commonBuiltins.append(", int, int, int");
 7846|  2.00k|                    }
 7847|  4.00k|                    commonBuiltins.append(");\n");
 7848|  4.00k|                }
 7849|       |
 7850|    572|                commonBuiltins.append(dataType);
 7851|    572|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7852|    572|                commonBuiltins.append(imageParams);
 7853|    572|                commonBuiltins.append(", ");
 7854|    572|                commonBuiltins.append(dataType);
 7855|    572|                commonBuiltins.append(", ");
 7856|    572|                commonBuiltins.append(dataType);
 7857|    572|                if (j == 1) {
  ------------------
  |  Branch (7857:21): [True: 286, False: 286]
  ------------------
 7858|    286|                    commonBuiltins.append(", int, int, int, int, int");
 7859|    286|                }
 7860|    572|                commonBuiltins.append(");\n");
 7861|    572|            }
 7862|       |
 7863|    286|            commonBuiltins.append(dataType);
 7864|    286|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7865|    286|            commonBuiltins.append(imageParams);
 7866|    286|            commonBuiltins.append(", int, int, int);\n");
 7867|       |
 7868|    286|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7869|    286|            commonBuiltins.append(imageParams);
 7870|    286|            commonBuiltins.append(", ");
 7871|    286|            commonBuiltins.append(dataType);
 7872|    286|            commonBuiltins.append(", int, int, int);\n");
 7873|       |
 7874|    286|        } else {
 7875|       |            // not int or uint
 7876|       |            // GL_ARB_ES3_1_compatibility
 7877|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7878|    143|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7878:17): [True: 0, False: 143]
  |  Branch (7878:42): [True: 0, False: 0]
  ------------------
 7879|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7880|      0|                commonBuiltins.append(imageParams);
 7881|      0|                commonBuiltins.append(", float);\n");
 7882|      0|            }
 7883|       |
 7884|       |            // GL_NV_shader_atomic_fp16_vector
 7885|    143|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7885:17): [True: 143, False: 0]
  |  Branch (7885:42): [True: 132, False: 11]
  ------------------
 7886|    132|                const int numFp16Builtins = 4;
 7887|    132|                const char* atomicFp16Func[numFp16Builtins] = {
 7888|    132|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7889|    132|                    " imageAtomicMin(volatile coherent nontemporal ",
 7890|    132|                    " imageAtomicMax(volatile coherent nontemporal ",
 7891|    132|                    " imageAtomicExchange(volatile coherent nontemporal "
 7892|    132|                };
 7893|    132|                const int numFp16DataTypes = 2;
 7894|    132|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7895|    132|                    "f16vec2",
 7896|    132|                    "f16vec4"
 7897|    132|                };
 7898|       |                // Loop twice to add prototypes with/without scope/semantics
 7899|    396|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7899:33): [True: 264, False: 132]
  ------------------
 7900|  1.32k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7900:37): [True: 1.05k, False: 264]
  ------------------
 7901|  1.05k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7902|  1.05k|                        commonBuiltins.append(atomicFp16Func[i]);
 7903|  1.05k|                        commonBuiltins.append(imageParams);
 7904|  1.05k|                        commonBuiltins.append(", ");
 7905|  1.05k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7906|  1.05k|                        commonBuiltins.append(");\n");
 7907|  1.05k|                    }
 7908|    264|                }
 7909|    132|            }
 7910|       |
 7911|    143|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7911:17): [True: 143, False: 0]
  |  Branch (7911:42): [True: 132, False: 11]
  ------------------
 7912|    132|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7913|    132|                commonBuiltins.append(imageParams);
 7914|    132|                commonBuiltins.append(", float);\n");
 7915|       |
 7916|    132|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7917|    132|                commonBuiltins.append(imageParams);
 7918|    132|                commonBuiltins.append(", float");
 7919|    132|                commonBuiltins.append(", int, int, int);\n");
 7920|       |
 7921|    132|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7922|    132|                commonBuiltins.append(imageParams);
 7923|    132|                commonBuiltins.append(", float);\n");
 7924|       |
 7925|    132|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7926|    132|                commonBuiltins.append(imageParams);
 7927|    132|                commonBuiltins.append(", float");
 7928|    132|                commonBuiltins.append(", int, int, int);\n");
 7929|       |
 7930|    132|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7931|    132|                commonBuiltins.append(imageParams);
 7932|    132|                commonBuiltins.append(", int, int, int);\n");
 7933|       |
 7934|    132|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7935|    132|                commonBuiltins.append(imageParams);
 7936|    132|                commonBuiltins.append(", float");
 7937|    132|                commonBuiltins.append(", int, int, int);\n");
 7938|       |
 7939|    132|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7940|    132|                commonBuiltins.append(imageParams);
 7941|    132|                commonBuiltins.append(", float);\n");
 7942|       |
 7943|    132|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7944|    132|                commonBuiltins.append(imageParams);
 7945|    132|                commonBuiltins.append(", float");
 7946|    132|                commonBuiltins.append(", int, int, int);\n");
 7947|       |
 7948|    132|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7949|    132|                commonBuiltins.append(imageParams);
 7950|    132|                commonBuiltins.append(", float);\n");
 7951|       |
 7952|    132|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7953|    132|                commonBuiltins.append(imageParams);
 7954|    132|                commonBuiltins.append(", float");
 7955|    132|                commonBuiltins.append(", int, int, int);\n");
 7956|    132|            }
 7957|    143|        }
 7958|    429|    }
 7959|       |
 7960|    429|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7960:9): [True: 39, False: 390]
  |  Branch (7960:35): [True: 39, False: 351]
  |  Branch (7960:63): [True: 0, False: 351]
  |  Branch (7960:81): [True: 78, False: 273]
  ------------------
 7961|    156|        return;
 7962|       |
 7963|    273|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7963:9): [True: 0, False: 273]
  |  Branch (7963:34): [True: 21, False: 252]
  ------------------
 7964|     21|        return;
 7965|       |
 7966|    252|    TString imageLodParams = typeName;
 7967|    252|    if (dims == 1)
  ------------------
  |  Branch (7967:9): [True: 36, False: 216]
  ------------------
 7968|     36|        imageLodParams.append(", int");
 7969|    216|    else {
 7970|    216|        imageLodParams.append(", ivec");
 7971|    216|        imageLodParams.append(postfixes[dims]);
 7972|    216|    }
 7973|    252|    imageLodParams.append(", int");
 7974|       |
 7975|    252|    commonBuiltins.append(prefixes[sampler.type]);
 7976|    252|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7977|    252|    commonBuiltins.append(imageLodParams);
 7978|    252|    commonBuiltins.append(");\n");
 7979|       |
 7980|    252|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7981|    252|    commonBuiltins.append(imageLodParams);
 7982|    252|    commonBuiltins.append(", ");
 7983|    252|    commonBuiltins.append(prefixes[sampler.type]);
 7984|    252|    commonBuiltins.append("vec4);\n");
 7985|       |
 7986|    252|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7986:9): [True: 180, False: 72]
  ------------------
 7987|    180|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7988|    180|        commonBuiltins.append(imageLodParams);
 7989|    180|        commonBuiltins.append(", out ");
 7990|    180|        commonBuiltins.append(prefixes[sampler.type]);
 7991|    180|        commonBuiltins.append("vec4");
 7992|    180|        commonBuiltins.append(");\n");
 7993|    180|    }
 7994|    252|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8003|     32|{
 8004|     32|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 8005|     32|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 8006|     32|    stageBuiltins[EShLangFragment].append("(");
 8007|     32|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 8008|     32|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8008:9): [True: 16, False: 16]
  ------------------
 8009|     16|        stageBuiltins[EShLangFragment].append(", int");
 8010|     32|    stageBuiltins[EShLangFragment].append(");\n");
 8011|     32|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8020|    564|{
 8021|       |    //
 8022|       |    // texturing
 8023|       |    //
 8024|  1.69k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (8024:24): [True: 1.12k, False: 564]
  ------------------
 8025|       |
 8026|  1.12k|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (8026:13): [True: 564, False: 564]
  |  Branch (8026:22): [True: 112, False: 452]
  |  Branch (8026:48): [True: 43, False: 409]
  |  Branch (8026:70): [True: 155, False: 254]
  |  Branch (8026:89): [True: 43, False: 211]
  ------------------
 8027|    211|            || !sampler.isCombined()))
  ------------------
  |  Branch (8027:16): [True: 64, False: 147]
  ------------------
 8028|    417|            continue;
 8029|       |
 8030|  2.13k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (8030:27): [True: 1.42k, False: 711]
  ------------------
 8031|       |
 8032|  1.42k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8032:17): [True: 711, False: 711]
  |  Branch (8032:25): [True: 43, False: 668]
  |  Branch (8032:47): [True: 96, False: 572]
  |  Branch (8032:67): [True: 86, False: 486]
  |  Branch (8032:94): [True: 112, False: 374]
  ------------------
 8033|    337|                continue;
 8034|  1.08k|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (8034:17): [True: 374, False: 711]
  |  Branch (8034:24): [True: 120, False: 254]
  |  Branch (8034:48): [True: 40, False: 80]
  |  Branch (8034:67): [True: 13, False: 27]
  ------------------
 8035|     13|                continue;
 8036|  1.07k|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (8036:17): [True: 361, False: 711]
  |  Branch (8036:24): [True: 80, False: 281]
  |  Branch (8036:50): [True: 26, False: 54]
  ------------------
 8037|     26|                continue;
 8038|       |
 8039|  3.13k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (8039:32): [True: 2.09k, False: 1.04k]
  ------------------
 8040|       |
 8041|  2.09k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8041:21): [True: 1.04k, False: 1.04k]
  |  Branch (8041:30): [True: 335, False: 711]
  |  Branch (8041:37): [True: 86, False: 625]
  |  Branch (8041:64): [True: 144, False: 481]
  ------------------
 8042|    565|                    continue;
 8043|  1.52k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (8043:21): [True: 481, False: 1.04k]
  |  Branch (8043:30): [True: 120, False: 361]
  |  Branch (8043:54): [True: 80, False: 281]
  |  Branch (8043:81): [True: 65, False: 135]
  |  Branch (8043:99): [True: 26, False: 39]
  ------------------
 8044|     26|                    continue;
 8045|  1.50k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (8045:21): [True: 455, False: 1.04k]
  |  Branch (8045:30): [True: 80, False: 375]
  |  Branch (8045:50): [True: 27, False: 348]
  ------------------
 8046|    107|                    continue;
 8047|       |
 8048|  4.18k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (8048:38): [True: 2.78k, False: 1.39k]
  ------------------
 8049|       |
 8050|  2.78k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (8050:25): [True: 0, False: 2.78k]
  ------------------
 8051|      0|                        continue;
 8052|  2.78k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (8052:25): [True: 1.39k, False: 1.39k]
  |  Branch (8052:36): [True: 233, False: 1.16k]
  |  Branch (8052:62): [True: 43, False: 1.11k]
  |  Branch (8052:84): [True: 86, False: 1.03k]
  ------------------
 8053|    362|                        continue;
 8054|       |
 8055|  7.27k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (8055:41): [True: 4.85k, False: 2.42k]
  ------------------
 8056|       |
 8057|  4.85k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (8057:29): [True: 214, False: 4.63k]
  ------------------
 8058|    214|                            continue;
 8059|  4.63k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (8059:29): [True: 2.21k, False: 2.42k]
  |  Branch (8059:39): [True: 509, False: 1.70k]
  |  Branch (8059:46): [True: 522, False: 1.18k]
  ------------------
 8060|  1.03k|                            continue;
 8061|  3.60k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8061:29): [True: 1.18k, False: 2.42k]
  |  Branch (8061:39): [True: 234, False: 947]
  |  Branch (8061:57): [True: 86, False: 861]
  ------------------
 8062|    320|                            continue;
 8063|  3.28k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8063:29): [True: 2.42k, False: 861]
  |  Branch (8063:44): [True: 86, False: 2.34k]
  |  Branch (8063:71): [True: 43, False: 2.29k]
  ------------------
 8064|  2.29k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8064:32): [True: 224, False: 2.07k]
  ------------------
 8065|    353|                            continue;
 8066|       |
 8067|  8.80k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8067:44): [True: 5.86k, False: 2.93k]
  ------------------
 8068|       |
 8069|  5.86k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8069:33): [True: 2.93k, False: 2.93k]
  |  Branch (8069:42): [True: 616, False: 2.31k]
  |  Branch (8069:49): [True: 629, False: 1.68k]
  |  Branch (8069:57): [True: 86, False: 1.60k]
  |  Branch (8069:84): [True: 208, False: 1.39k]
  ------------------
 8070|  1.53k|                                continue;
 8071|  4.32k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8071:33): [True: 1.39k, False: 2.93k]
  |  Branch (8071:41): [True: 27, False: 1.36k]
  ------------------
 8072|     27|                                continue;
 8073|  4.30k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8073:33): [True: 108, False: 4.19k]
  ------------------
 8074|    108|                                continue;
 8075|       |
 8076|  12.5k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8076:53): [True: 8.38k, False: 4.19k]
  ------------------
 8077|  8.38k|                                bool compare = false;
 8078|  8.38k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8078:72): [True: 2.09k, False: 6.29k]
  ------------------
 8079|       |                                // skip dummy unused second component for 1D non-array shadows
 8080|  8.38k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8080:37): [True: 1.48k, False: 6.90k]
  |  Branch (8080:55): [True: 416, False: 1.06k]
  ------------------
 8081|    416|                                    totalDims = 2;
 8082|  8.38k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8082:47): [True: 1.48k, False: 6.90k]
  ------------------
 8083|  8.38k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8083:37): [True: 52, False: 8.33k]
  |  Branch (8083:54): [True: 52, False: 0]
  ------------------
 8084|     52|                                    compare = true;
 8085|     52|                                    totalDims = 4;
 8086|     52|                                }
 8087|  8.38k|                                assert(totalDims <= 4);
 8088|       |
 8089|  8.38k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8089:37): [True: 4.19k, False: 4.19k]
  |  Branch (8089:50): [True: 2.85k, False: 1.34k]
  ------------------
 8090|  2.85k|                                    continue;
 8091|  5.53k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8091:37): [True: 1.34k, False: 4.19k]
  |  Branch (8091:51): [True: 297, False: 1.04k]
  |  Branch (8091:75): [True: 260, False: 783]
  |  Branch (8091:93): [True: 0, False: 783]
  ------------------
 8092|    557|                                    continue;
 8093|       |
 8094|       |                                // loop over 16-bit floating-point texel addressing
 8095|  14.9k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8095:58): [True: 9.95k, False: 4.97k]
  ------------------
 8096|  9.95k|                                {
 8097|  9.95k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8097:41): [True: 4.97k, False: 4.97k]
  |  Branch (8097:55): [True: 3.68k, False: 1.29k]
  ------------------
 8098|  3.68k|                                        continue;
 8099|  6.26k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8099:41): [True: 1.29k, False: 4.97k]
  |  Branch (8099:55): [True: 342, False: 948]
  |  Branch (8099:73): [True: 330, False: 12]
  ------------------
 8100|    330|                                        compare = true; // compare argument is always present
 8101|    330|                                        totalDims--;
 8102|    330|                                    }
 8103|       |                                    // loop over "bool" lod clamp
 8104|  18.8k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8104:60): [True: 12.5k, False: 6.26k]
  ------------------
 8105|  12.5k|                                    {
 8106|  12.5k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8106:45): [True: 6.26k, False: 6.26k]
  |  Branch (8106:58): [True: 0, False: 6.26k]
  |  Branch (8106:83): [True: 501, False: 5.76k]
  ------------------
 8107|    501|                                            continue;
 8108|  12.0k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8108:45): [True: 5.76k, False: 6.26k]
  |  Branch (8108:58): [True: 2.43k, False: 3.33k]
  |  Branch (8108:66): [True: 468, False: 2.86k]
  |  Branch (8108:73): [True: 1.11k, False: 1.75k]
  ------------------
 8109|  4.00k|                                            continue;
 8110|       |
 8111|       |                                        // loop over "bool" sparse or not
 8112|  24.0k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8112:62): [True: 16.0k, False: 8.02k]
  ------------------
 8113|  16.0k|                                        {
 8114|  16.0k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8114:49): [True: 8.02k, False: 8.02k]
  |  Branch (8114:60): [True: 0, False: 8.02k]
  |  Branch (8114:85): [True: 501, False: 7.52k]
  ------------------
 8115|    501|                                                continue;
 8116|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8117|       |                                            // projective texture
 8118|  15.5k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8118:49): [True: 7.52k, False: 8.02k]
  |  Branch (8118:60): [True: 2.46k, False: 5.05k]
  |  Branch (8118:78): [True: 50, False: 5.00k]
  |  Branch (8118:100): [True: 1.62k, False: 3.38k]
  ------------------
 8119|  4.14k|                                                continue;
 8120|       |
 8121|  11.4k|                                            TString s;
 8122|       |
 8123|       |                                            // return type
 8124|  11.4k|                                            if (sparse)
  ------------------
  |  Branch (8124:49): [True: 3.38k, False: 8.02k]
  ------------------
 8125|  3.38k|                                                s.append("int ");
 8126|  8.02k|                                            else {
 8127|  8.02k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8127:53): [True: 1.64k, False: 6.38k]
  ------------------
 8128|  1.64k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8128:57): [True: 1.05k, False: 585]
  ------------------
 8129|  1.05k|                                                        s.append("float16_t ");
 8130|    585|                                                    else
 8131|    585|                                                        s.append("float ");
 8132|  6.38k|                                                else {
 8133|  6.38k|                                                    s.append(prefixes[sampler.type]);
 8134|  6.38k|                                                    s.append("vec4 ");
 8135|  6.38k|                                                }
 8136|  8.02k|                                            }
 8137|       |
 8138|       |                                            // name
 8139|  11.4k|                                            if (sparse) {
  ------------------
  |  Branch (8139:49): [True: 3.38k, False: 8.02k]
  ------------------
 8140|  3.38k|                                                if (fetch)
  ------------------
  |  Branch (8140:53): [True: 740, False: 2.64k]
  ------------------
 8141|    740|                                                    s.append("sparseTexel");
 8142|  2.64k|                                                else
 8143|  2.64k|                                                    s.append("sparseTexture");
 8144|  3.38k|                                            }
 8145|  8.02k|                                            else {
 8146|  8.02k|                                                if (fetch)
  ------------------
  |  Branch (8146:53): [True: 1.88k, False: 6.14k]
  ------------------
 8147|  1.88k|                                                    s.append("texel");
 8148|  6.14k|                                                else
 8149|  6.14k|                                                    s.append("texture");
 8150|  8.02k|                                            }
 8151|  11.4k|                                            if (proj)
  ------------------
  |  Branch (8151:49): [True: 2.65k, False: 8.74k]
  ------------------
 8152|  2.65k|                                                s.append("Proj");
 8153|  11.4k|                                            if (lod)
  ------------------
  |  Branch (8153:49): [True: 1.19k, False: 10.2k]
  ------------------
 8154|  1.19k|                                                s.append("Lod");
 8155|  11.4k|                                            if (grad)
  ------------------
  |  Branch (8155:49): [True: 3.65k, False: 7.74k]
  ------------------
 8156|  3.65k|                                                s.append("Grad");
 8157|  11.4k|                                            if (fetch)
  ------------------
  |  Branch (8157:49): [True: 2.62k, False: 8.78k]
  ------------------
 8158|  2.62k|                                                s.append("Fetch");
 8159|  11.4k|                                            if (offset)
  ------------------
  |  Branch (8159:49): [True: 4.84k, False: 6.56k]
  ------------------
 8160|  4.84k|                                                s.append("Offset");
 8161|  11.4k|                                            if (lodClamp)
  ------------------
  |  Branch (8161:49): [True: 2.94k, False: 8.46k]
  ------------------
 8162|  2.94k|                                                s.append("Clamp");
 8163|  11.4k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8163:49): [True: 2.94k, False: 8.46k]
  |  Branch (8163:66): [True: 2.19k, False: 6.26k]
  ------------------
 8164|  5.13k|                                                s.append("ARB");
 8165|  11.4k|                                            s.append("(");
 8166|       |
 8167|       |                                            // sampler type
 8168|  11.4k|                                            s.append(typeName);
 8169|       |                                            // P coordinate
 8170|  11.4k|                                            if (extraProj) {
  ------------------
  |  Branch (8170:49): [True: 957, False: 10.4k]
  ------------------
 8171|    957|                                                if (f16TexAddr)
  ------------------
  |  Branch (8171:53): [True: 174, False: 783]
  ------------------
 8172|    174|                                                    s.append(",f16vec4");
 8173|    783|                                                else
 8174|    783|                                                    s.append(",vec4");
 8175|  10.4k|                                            } else {
 8176|  10.4k|                                                s.append(",");
 8177|  10.4k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8177:64): [True: 2.32k, False: 8.12k]
  |  Branch (8177:82): [True: 1.87k, False: 6.24k]
  ------------------
 8178|  10.4k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8178:53): [True: 669, False: 9.77k]
  ------------------
 8179|    669|                                                    s.append(TType::getBasicString(t));
 8180|  9.77k|                                                else {
 8181|  9.77k|                                                    s.append(prefixes[t]);
 8182|  9.77k|                                                    s.append("vec");
 8183|  9.77k|                                                    s.append(postfixes[totalDims]);
 8184|  9.77k|                                                }
 8185|  10.4k|                                            }
 8186|       |                                            // non-optional compare
 8187|  11.4k|                                            if (compare)
  ------------------
  |  Branch (8187:49): [True: 866, False: 10.5k]
  ------------------
 8188|    866|                                                s.append(",float");
 8189|       |
 8190|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8191|  11.4k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8191:50): [True: 2.62k, False: 8.78k]
  |  Branch (8191:59): [True: 2.57k, False: 53]
  ------------------
 8192|  2.57k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8192:50): [True: 2.04k, False: 530]
  |  Branch (8192:71): [True: 1.83k, False: 206]
  ------------------
 8193|  9.57k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8193:54): [True: 206, False: 9.36k]
  |  Branch (8193:81): [True: 206, False: 0]
  ------------------
 8194|  2.04k|                                                s.append(",int");
 8195|       |                                            // non-optional lod
 8196|  11.4k|                                            if (lod) {
  ------------------
  |  Branch (8196:49): [True: 1.19k, False: 10.2k]
  ------------------
 8197|  1.19k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8197:53): [True: 252, False: 940]
  ------------------
 8198|    252|                                                    s.append(",float16_t");
 8199|    940|                                                else
 8200|    940|                                                    s.append(",float");
 8201|  1.19k|                                            }
 8202|       |
 8203|       |                                            // gradient arguments
 8204|  11.4k|                                            if (grad) {
  ------------------
  |  Branch (8204:49): [True: 3.65k, False: 7.74k]
  ------------------
 8205|  3.65k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8205:53): [True: 768, False: 2.88k]
  ------------------
 8206|    768|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8206:57): [True: 168, False: 600]
  ------------------
 8207|    168|                                                        s.append(",float16_t,float16_t");
 8208|    600|                                                    else
 8209|    600|                                                        s.append(",float,float");
 8210|  2.88k|                                                } else {
 8211|  2.88k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8211:57): [True: 642, False: 2.24k]
  ------------------
 8212|    642|                                                        s.append(",f16vec");
 8213|  2.24k|                                                    else
 8214|  2.24k|                                                        s.append(",vec");
 8215|  2.88k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8216|  2.88k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8216:57): [True: 642, False: 2.24k]
  ------------------
 8217|    642|                                                        s.append(",f16vec");
 8218|  2.24k|                                                    else
 8219|  2.24k|                                                        s.append(",vec");
 8220|  2.88k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8221|  2.88k|                                                }
 8222|  3.65k|                                            }
 8223|       |                                            // offset
 8224|  11.4k|                                            if (offset) {
  ------------------
  |  Branch (8224:49): [True: 4.84k, False: 6.56k]
  ------------------
 8225|  4.84k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8225:53): [True: 1.28k, False: 3.56k]
  ------------------
 8226|  1.28k|                                                    s.append(",int");
 8227|  3.56k|                                                else {
 8228|  3.56k|                                                    s.append(",ivec");
 8229|  3.56k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8230|  3.56k|                                                }
 8231|  4.84k|                                            }
 8232|       |
 8233|       |                                            // lod clamp
 8234|  11.4k|                                            if (lodClamp) {
  ------------------
  |  Branch (8234:49): [True: 2.94k, False: 8.46k]
  ------------------
 8235|  2.94k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8235:53): [True: 708, False: 2.23k]
  ------------------
 8236|    708|                                                    s.append(",float16_t");
 8237|  2.23k|                                                else
 8238|  2.23k|                                                    s.append(",float");
 8239|  2.94k|                                            }
 8240|       |                                            // texel out (for sparse texture)
 8241|  11.4k|                                            if (sparse) {
  ------------------
  |  Branch (8241:49): [True: 3.38k, False: 8.02k]
  ------------------
 8242|  3.38k|                                                s.append(",out ");
 8243|  3.38k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8243:53): [True: 720, False: 2.66k]
  ------------------
 8244|    720|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8244:57): [True: 480, False: 240]
  ------------------
 8245|    480|                                                        s.append("float16_t");
 8246|    240|                                                    else
 8247|    240|                                                        s.append("float");
 8248|  2.66k|                                                else {
 8249|  2.66k|                                                    s.append(prefixes[sampler.type]);
 8250|  2.66k|                                                    s.append("vec4");
 8251|  2.66k|                                                }
 8252|  3.38k|                                            }
 8253|       |                                            // optional bias
 8254|  11.4k|                                            if (bias) {
  ------------------
  |  Branch (8254:49): [True: 2.00k, False: 9.39k]
  ------------------
 8255|  2.00k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8255:53): [True: 444, False: 1.56k]
  ------------------
 8256|    444|                                                    s.append(",float16_t");
 8257|  1.56k|                                                else
 8258|  1.56k|                                                    s.append(",float");
 8259|  2.00k|                                            }
 8260|  11.4k|                                            s.append(");\n");
 8261|       |
 8262|       |                                            // Add to the per-language set of built-ins
 8263|  11.4k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8263:49): [True: 7.74k, False: 3.65k]
  |  Branch (8263:59): [True: 2.00k, False: 5.73k]
  |  Branch (8263:67): [True: 1.08k, False: 4.65k]
  ------------------
 8264|  3.08k|                                                stageBuiltins[EShLangFragment].append(s);
 8265|  3.08k|                                                stageBuiltins[EShLangCompute].append(s);
 8266|  3.08k|                                            } else
 8267|  8.31k|                                                commonBuiltins.append(s);
 8268|       |
 8269|  11.4k|                                        }
 8270|  8.02k|                                    }
 8271|  6.26k|                                }
 8272|  4.97k|                            }
 8273|  4.19k|                        }
 8274|  2.93k|                    }
 8275|  2.42k|                }
 8276|  1.39k|            }
 8277|  1.04k|        }
 8278|    711|    }
 8279|    564|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8288|    388|{
 8289|    388|    switch (sampler.dim) {
 8290|    134|    case Esd2D:
  ------------------
  |  Branch (8290:5): [True: 134, False: 254]
  ------------------
 8291|    174|    case EsdRect:
  ------------------
  |  Branch (8291:5): [True: 40, False: 348]
  ------------------
 8292|    254|    case EsdCube:
  ------------------
  |  Branch (8292:5): [True: 80, False: 308]
  ------------------
 8293|    254|        break;
 8294|    134|    default:
  ------------------
  |  Branch (8294:5): [True: 134, False: 254]
  ------------------
 8295|    134|        return;
 8296|    388|    }
 8297|       |
 8298|    254|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8298:9): [True: 54, False: 200]
  ------------------
 8299|     54|        return;
 8300|       |
 8301|    200|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8301:9): [True: 0, False: 200]
  |  Branch (8301:26): [True: 0, False: 0]
  |  Branch (8301:52): [True: 0, False: 0]
  ------------------
 8302|      0|        return;
 8303|       |
 8304|    600|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8304:30): [True: 400, False: 200]
  ------------------
 8305|       |
 8306|    400|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8306:13): [True: 200, False: 200]
  |  Branch (8306:27): [True: 140, False: 60]
  ------------------
 8307|    140|            continue;
 8308|  1.04k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8308:30): [True: 780, False: 260]
  ------------------
 8309|       |
 8310|  2.34k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8310:32): [True: 1.56k, False: 780]
  ------------------
 8311|       |
 8312|  1.56k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8312:21): [True: 780, False: 780]
  |  Branch (8312:33): [True: 285, False: 495]
  ------------------
 8313|    285|                    continue;
 8314|       |
 8315|  1.27k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8315:21): [True: 850, False: 425]
  |  Branch (8315:35): [True: 340, False: 510]
  ------------------
 8316|    340|                    continue;
 8317|       |
 8318|  2.80k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8318:38): [True: 1.87k, False: 935]
  ------------------
 8319|  1.87k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8319:25): [True: 935, False: 935]
  |  Branch (8319:36): [True: 0, False: 935]
  |  Branch (8319:61): [True: 77, False: 858]
  ------------------
 8320|     77|                        continue;
 8321|       |
 8322|  1.79k|                    TString s;
 8323|       |
 8324|       |                    // return type
 8325|  1.79k|                    if (sparse)
  ------------------
  |  Branch (8325:25): [True: 858, False: 935]
  ------------------
 8326|    858|                        s.append("int ");
 8327|    935|                    else {
 8328|    935|                        s.append(prefixes[sampler.type]);
 8329|    935|                        s.append("vec4 ");
 8330|    935|                    }
 8331|       |
 8332|       |                    // name
 8333|  1.79k|                    if (sparse)
  ------------------
  |  Branch (8333:25): [True: 858, False: 935]
  ------------------
 8334|    858|                        s.append("sparseTextureGather");
 8335|    935|                    else
 8336|    935|                        s.append("textureGather");
 8337|  1.79k|                    switch (offset) {
 8338|    489|                    case 1:
  ------------------
  |  Branch (8338:21): [True: 489, False: 1.30k]
  ------------------
 8339|    489|                        s.append("Offset");
 8340|    489|                        break;
 8341|    489|                    case 2:
  ------------------
  |  Branch (8341:21): [True: 489, False: 1.30k]
  ------------------
 8342|    489|                        s.append("Offsets");
 8343|    489|                        break;
 8344|    815|                    default:
  ------------------
  |  Branch (8344:21): [True: 815, False: 978]
  ------------------
 8345|    815|                        break;
 8346|  1.79k|                    }
 8347|  1.79k|                    if (sparse)
  ------------------
  |  Branch (8347:25): [True: 858, False: 935]
  ------------------
 8348|    858|                        s.append("ARB");
 8349|  1.79k|                    s.append("(");
 8350|       |
 8351|       |                    // sampler type argument
 8352|  1.79k|                    s.append(typeName);
 8353|       |
 8354|       |                    // P coordinate argument
 8355|  1.79k|                    if (f16TexAddr)
  ------------------
  |  Branch (8355:25): [True: 396, False: 1.39k]
  ------------------
 8356|    396|                        s.append(",f16vec");
 8357|  1.39k|                    else
 8358|  1.39k|                        s.append(",vec");
 8359|  1.79k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8359:60): [True: 652, False: 1.14k]
  ------------------
 8360|  1.79k|                    s.append(postfixes[totalDims]);
 8361|       |
 8362|       |                    // refZ argument
 8363|  1.79k|                    if (sampler.shadow)
  ------------------
  |  Branch (8363:25): [True: 407, False: 1.38k]
  ------------------
 8364|    407|                        s.append(",float");
 8365|       |
 8366|       |                    // offset argument
 8367|  1.79k|                    if (offset > 0) {
  ------------------
  |  Branch (8367:25): [True: 978, False: 815]
  ------------------
 8368|    978|                        s.append(",ivec2");
 8369|    978|                        if (offset == 2)
  ------------------
  |  Branch (8369:29): [True: 489, False: 489]
  ------------------
 8370|    489|                            s.append("[4]");
 8371|    978|                    }
 8372|       |
 8373|       |                    // texel out (for sparse texture)
 8374|  1.79k|                    if (sparse) {
  ------------------
  |  Branch (8374:25): [True: 858, False: 935]
  ------------------
 8375|    858|                        s.append(",out ");
 8376|    858|                        s.append(prefixes[sampler.type]);
 8377|    858|                        s.append("vec4 ");
 8378|    858|                    }
 8379|       |
 8380|       |                    // comp argument
 8381|  1.79k|                    if (comp)
  ------------------
  |  Branch (8381:25): [True: 693, False: 1.10k]
  ------------------
 8382|    693|                        s.append(",int");
 8383|       |
 8384|  1.79k|                    s.append(");\n");
 8385|  1.79k|                    commonBuiltins.append(s);
 8386|  1.79k|                }
 8387|    935|            }
 8388|    780|        }
 8389|    260|    }
 8390|       |
 8391|    200|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8391:9): [True: 40, False: 160]
  |  Branch (8391:35): [True: 52, False: 108]
  ------------------
 8392|     92|        return;
 8393|       |
 8394|    108|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8394:9): [True: 0, False: 108]
  |  Branch (8394:34): [True: 12, False: 96]
  ------------------
 8395|     12|        return;
 8396|       |
 8397|    288|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8397:24): [True: 192, False: 96]
  ------------------
 8398|       |
 8399|    576|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8399:27): [True: 384, False: 192]
  ------------------
 8400|       |
 8401|    384|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8401:18): [True: 192, False: 192]
  |  Branch (8401:25): [True: 96, False: 96]
  |  Branch (8401:35): [True: 192, False: 96]
  |  Branch (8401:47): [True: 96, False: 96]
  ------------------
 8402|    192|                continue;
 8403|       |
 8404|    576|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8404:38): [True: 384, False: 192]
  ------------------
 8405|       |
 8406|    384|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8406:21): [True: 192, False: 192]
  |  Branch (8406:35): [True: 144, False: 48]
  ------------------
 8407|    144|                    continue;
 8408|       |
 8409|    960|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8409:38): [True: 720, False: 240]
  ------------------
 8410|       |
 8411|  2.16k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8411:40): [True: 1.44k, False: 720]
  ------------------
 8412|       |
 8413|  1.44k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8413:29): [True: 720, False: 720]
  |  Branch (8413:42): [True: 360, False: 360]
  ------------------
 8414|    360|                            continue;
 8415|       |
 8416|  1.08k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8416:29): [True: 720, False: 360]
  |  Branch (8416:43): [True: 360, False: 360]
  ------------------
 8417|    360|                            continue;
 8418|       |
 8419|  2.16k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8419:46): [True: 1.44k, False: 720]
  ------------------
 8420|  1.44k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8420:33): [True: 720, False: 720]
  |  Branch (8420:44): [True: 0, False: 720]
  |  Branch (8420:69): [True: 0, False: 720]
  ------------------
 8421|      0|                                continue;
 8422|       |
 8423|  1.44k|                            TString s;
 8424|       |
 8425|       |                            // return type
 8426|  1.44k|                            if (sparse)
  ------------------
  |  Branch (8426:33): [True: 720, False: 720]
  ------------------
 8427|    720|                                s.append("int ");
 8428|    720|                            else {
 8429|    720|                                s.append(prefixes[sampler.type]);
 8430|    720|                                s.append("vec4 ");
 8431|    720|                            }
 8432|       |
 8433|       |                            // name
 8434|  1.44k|                            if (sparse)
  ------------------
  |  Branch (8434:33): [True: 720, False: 720]
  ------------------
 8435|    720|                                s.append("sparseTextureGather");
 8436|    720|                            else
 8437|    720|                                s.append("textureGather");
 8438|       |
 8439|  1.44k|                            if (lod)
  ------------------
  |  Branch (8439:33): [True: 960, False: 480]
  ------------------
 8440|    960|                                s.append("Lod");
 8441|       |
 8442|  1.44k|                            switch (offset) {
 8443|    360|                            case 1:
  ------------------
  |  Branch (8443:29): [True: 360, False: 1.08k]
  ------------------
 8444|    360|                                s.append("Offset");
 8445|    360|                                break;
 8446|    360|                            case 2:
  ------------------
  |  Branch (8446:29): [True: 360, False: 1.08k]
  ------------------
 8447|    360|                                s.append("Offsets");
 8448|    360|                                break;
 8449|    720|                            default:
  ------------------
  |  Branch (8449:29): [True: 720, False: 720]
  ------------------
 8450|    720|                                break;
 8451|  1.44k|                            }
 8452|       |
 8453|  1.44k|                            if (lod)
  ------------------
  |  Branch (8453:33): [True: 960, False: 480]
  ------------------
 8454|    960|                                s.append("AMD");
 8455|    480|                            else if (sparse)
  ------------------
  |  Branch (8455:38): [True: 240, False: 240]
  ------------------
 8456|    240|                                s.append("ARB");
 8457|       |
 8458|  1.44k|                            s.append("(");
 8459|       |
 8460|       |                            // sampler type argument
 8461|  1.44k|                            s.append(typeName);
 8462|       |
 8463|       |                            // P coordinate argument
 8464|  1.44k|                            if (f16TexAddr)
  ------------------
  |  Branch (8464:33): [True: 288, False: 1.15k]
  ------------------
 8465|    288|                                s.append(",f16vec");
 8466|  1.15k|                            else
 8467|  1.15k|                                s.append(",vec");
 8468|  1.44k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8468:68): [True: 720, False: 720]
  ------------------
 8469|  1.44k|                            s.append(postfixes[totalDims]);
 8470|       |
 8471|       |                            // lod argument
 8472|  1.44k|                            if (lod) {
  ------------------
  |  Branch (8472:33): [True: 960, False: 480]
  ------------------
 8473|    960|                                if (f16TexAddr)
  ------------------
  |  Branch (8473:37): [True: 192, False: 768]
  ------------------
 8474|    192|                                    s.append(",float16_t");
 8475|    768|                                else
 8476|    768|                                    s.append(",float");
 8477|    960|                            }
 8478|       |
 8479|       |                            // offset argument
 8480|  1.44k|                            if (offset > 0) {
  ------------------
  |  Branch (8480:33): [True: 720, False: 720]
  ------------------
 8481|    720|                                s.append(",ivec2");
 8482|    720|                                if (offset == 2)
  ------------------
  |  Branch (8482:37): [True: 360, False: 360]
  ------------------
 8483|    360|                                    s.append("[4]");
 8484|    720|                            }
 8485|       |
 8486|       |                            // texel out (for sparse texture)
 8487|  1.44k|                            if (sparse) {
  ------------------
  |  Branch (8487:33): [True: 720, False: 720]
  ------------------
 8488|    720|                                s.append(",out ");
 8489|    720|                                s.append(prefixes[sampler.type]);
 8490|    720|                                s.append("vec4 ");
 8491|    720|                            }
 8492|       |
 8493|       |                            // comp argument
 8494|  1.44k|                            if (comp)
  ------------------
  |  Branch (8494:33): [True: 960, False: 480]
  ------------------
 8495|    960|                                s.append(",int");
 8496|       |
 8497|       |                            // bias argument
 8498|  1.44k|                            if (bias) {
  ------------------
  |  Branch (8498:33): [True: 480, False: 960]
  ------------------
 8499|    480|                                if (f16TexAddr)
  ------------------
  |  Branch (8499:37): [True: 96, False: 384]
  ------------------
 8500|     96|                                    s.append(",float16_t");
 8501|    384|                                else
 8502|    384|                                    s.append(",float");
 8503|    480|                            }
 8504|       |
 8505|  1.44k|                            s.append(");\n");
 8506|  1.44k|                            if (bias) {
  ------------------
  |  Branch (8506:33): [True: 480, False: 960]
  ------------------
 8507|    480|                                stageBuiltins[EShLangFragment].append(s);
 8508|    480|                                stageBuiltins[EShLangCompute].append(s);
 8509|    480|                                stageBuiltins[EShLangTask].append(s);
 8510|    480|                                stageBuiltins[EShLangMesh].append(s);
 8511|    480|                            } else
 8512|    960|                                commonBuiltins.append(s);
 8513|  1.44k|                        }
 8514|    720|                    }
 8515|    720|                }
 8516|    240|            }
 8517|    192|        }
 8518|    192|    }
 8519|     96|}
_ZN7glslang9TBuiltIns22addGatherFunctionsQCOMEv:
 8522|      7|{
 8523|      7|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint };
 8524|      7|    const TSamplerDim sDims[] = { Esd2D };
 8525|      7|    const TString modes[] = { "4x1", "V2", "H2", "D" };
 8526|     21|    for (size_t arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (8526:30): [True: 14, False: 7]
  ------------------
 8527|     28|        for (size_t dimIdx = 0; dimIdx < std::size(sDims); ++dimIdx) {
  ------------------
  |  Branch (8527:33): [True: 14, False: 14]
  ------------------
 8528|     14|            int dim = sDims[dimIdx];
 8529|       |            // Loop over the bTypes
 8530|     56|            for (size_t bType = 0; bType < std::size(bTypes); ++bType) {
  ------------------
  |  Branch (8530:36): [True: 42, False: 14]
  ------------------
 8531|    210|                for (size_t mode = 0; mode < std::size(modes); ++mode) {
  ------------------
  |  Branch (8531:39): [True: 168, False: 42]
  ------------------
 8532|       |                    // loop over two forms of offset in the call name:  none, and Offset
 8533|    504|                    for (int offset = 0; offset < 2; ++offset) {
  ------------------
  |  Branch (8533:42): [True: 336, False: 168]
  ------------------
 8534|  1.00k|                        for (int comp = 0; comp < 2; ++comp) {
  ------------------
  |  Branch (8534:44): [True: 672, False: 336]
  ------------------
 8535|       |                            //
 8536|       |                            // Now, make all the function prototypes for the type we just built...
 8537|       |                            //
 8538|    672|                            TSampler sampler;
 8539|    672|                            sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, false, false);
  ------------------
  |  Branch (8539:74): [True: 336, False: 336]
  ------------------
 8540|    672|                            TString typeName = sampler.getString().c_str();
 8541|       |
 8542|    672|                            TString s;
 8543|    672|                            s.append(prefixes[sampler.type]);
 8544|    672|                            s.append("vec4 textureGather");
 8545|    672|                            s.append(modes[mode]);
 8546|       |
 8547|    672|                            if (offset == 1)
  ------------------
  |  Branch (8547:33): [True: 336, False: 336]
  ------------------
 8548|    336|                                s.append("Offset");
 8549|       |
 8550|    672|                            s.append("QCOM(");
 8551|    672|                            s.append(typeName);
 8552|    672|                            s.append(", vec");
 8553|    672|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8553:68): [True: 336, False: 336]
  ------------------
 8554|    672|                            s.append(postfixes[totalDims]);
 8555|       |
 8556|       |                            // offset argument
 8557|    672|                            if (offset == 1)
  ------------------
  |  Branch (8557:33): [True: 336, False: 336]
  ------------------
 8558|    336|                                s.append(", ivec2");
 8559|       |
 8560|    672|                            if (comp)
  ------------------
  |  Branch (8560:33): [True: 336, False: 336]
  ------------------
 8561|    336|                                s.append(", int");
 8562|    672|                            s.append(");\n");
 8563|    672|                            commonBuiltins.append(s);
 8564|    672|                        }
 8565|    336|                    }
 8566|    168|                }
 8567|     42|            }
 8568|     14|        }
 8569|     14|    }
 8570|      7|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8580|     23|{
 8581|       |    //
 8582|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8583|       |    //
 8584|       |
 8585|       |    //============================================================================
 8586|       |    //
 8587|       |    // Standard Uniforms
 8588|       |    //
 8589|       |    //============================================================================
 8590|       |
 8591|     23|    TString& s = commonBuiltins;
 8592|     23|    const int maxSize = 200;
 8593|     23|    char builtInConstant[maxSize];
 8594|       |
 8595|       |    //
 8596|       |    // Build string of implementation dependent constants.
 8597|       |    //
 8598|       |
 8599|     23|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8599:9): [True: 20, False: 3]
  ------------------
 8600|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8601|     20|        s.append(builtInConstant);
 8602|       |
 8603|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8604|     20|        s.append(builtInConstant);
 8605|       |
 8606|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8607|     20|        s.append(builtInConstant);
 8608|       |
 8609|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8610|     20|        s.append(builtInConstant);
 8611|       |
 8612|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8613|     20|        s.append(builtInConstant);
 8614|       |
 8615|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8616|     20|        s.append(builtInConstant);
 8617|       |
 8618|     20|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8619|     20|        s.append(builtInConstant);
 8620|       |
 8621|     20|        if (version == 100) {
  ------------------
  |  Branch (8621:13): [True: 20, False: 0]
  ------------------
 8622|     20|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8623|     20|            s.append(builtInConstant);
 8624|     20|        } else {
 8625|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8626|      0|            s.append(builtInConstant);
 8627|       |
 8628|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8629|      0|            s.append(builtInConstant);
 8630|       |
 8631|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8632|      0|            s.append(builtInConstant);
 8633|       |
 8634|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8635|      0|            s.append(builtInConstant);
 8636|      0|        }
 8637|       |
 8638|     20|        if (version >= 310) {
  ------------------
  |  Branch (8638:13): [True: 0, False: 20]
  ------------------
 8639|       |            // geometry
 8640|       |
 8641|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8642|      0|            s.append(builtInConstant);
 8643|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8644|      0|            s.append(builtInConstant);
 8645|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8646|      0|            s.append(builtInConstant);
 8647|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8648|      0|            s.append(builtInConstant);
 8649|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8650|      0|            s.append(builtInConstant);
 8651|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8652|      0|            s.append(builtInConstant);
 8653|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8654|      0|            s.append(builtInConstant);
 8655|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8656|      0|            s.append(builtInConstant);
 8657|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8658|      0|            s.append(builtInConstant);
 8659|       |
 8660|       |            // tessellation
 8661|       |
 8662|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8663|      0|            s.append(builtInConstant);
 8664|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8665|      0|            s.append(builtInConstant);
 8666|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8667|      0|            s.append(builtInConstant);
 8668|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8669|      0|            s.append(builtInConstant);
 8670|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8671|      0|            s.append(builtInConstant);
 8672|       |
 8673|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8674|      0|            s.append(builtInConstant);
 8675|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8676|      0|            s.append(builtInConstant);
 8677|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8678|      0|            s.append(builtInConstant);
 8679|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8680|      0|            s.append(builtInConstant);
 8681|       |
 8682|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8683|      0|            s.append(builtInConstant);
 8684|       |
 8685|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8686|      0|            s.append(builtInConstant);
 8687|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8688|      0|            s.append(builtInConstant);
 8689|       |
 8690|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8691|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8691:17): [True: 0, False: 0]
  |  Branch (8691:51): [True: 0, False: 0]
  ------------------
 8692|      0|                s.append(
 8693|      0|                    "in gl_PerVertex {"
 8694|      0|                        "highp vec4 gl_Position;"
 8695|      0|                        "highp float gl_PointSize;"
 8696|      0|                        "highp float gl_ClipDistance[];"      // GL_EXT_clip_cull_distance
 8697|      0|                        "highp float gl_CullDistance[];"      // GL_EXT_clip_cull_distance
 8698|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8699|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8700|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8701|      0|                    "\n");
 8702|      0|            }
 8703|      0|        }
 8704|       |
 8705|     20|        if (version >= 320) {
  ------------------
  |  Branch (8705:13): [True: 0, False: 20]
  ------------------
 8706|       |            // tessellation
 8707|       |
 8708|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8709|      0|            s.append(builtInConstant);
 8710|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8711|      0|            s.append(builtInConstant);
 8712|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8713|      0|            s.append(builtInConstant);
 8714|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8715|      0|            s.append(builtInConstant);
 8716|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8717|      0|            s.append(builtInConstant);
 8718|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8719|      0|            s.append(builtInConstant);
 8720|      0|        }
 8721|       |
 8722|     20|        if (version >= 100) {
  ------------------
  |  Branch (8722:13): [True: 20, False: 0]
  ------------------
 8723|       |            // GL_EXT_blend_func_extended
 8724|     20|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8725|     20|            s.append(builtInConstant);
 8726|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8727|     20|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8727:17): [True: 0, False: 20]
  ------------------
 8728|      0|                s.append(
 8729|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8730|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8731|      0|                    "\n");
 8732|      0|            }
 8733|     20|        }
 8734|       |
 8735|     20|        if (version >= 300) {
  ------------------
  |  Branch (8735:13): [True: 0, False: 20]
  ------------------
 8736|       |            // GL_EXT_clip_cull_distance
 8737|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8738|      0|            s.append(builtInConstant);
 8739|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCullDistances = %d;", resources.maxCullDistances);
 8740|      0|            s.append(builtInConstant);
 8741|      0|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 8742|      0|            s.append(builtInConstant);
 8743|      0|        }
 8744|     20|    } else {
 8745|       |        // non-ES profile
 8746|       |
 8747|      3|        if (version > 400) {
  ------------------
  |  Branch (8747:13): [True: 2, False: 1]
  ------------------
 8748|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8749|      2|            s.append(builtInConstant);
 8750|       |
 8751|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8752|      2|            s.append(builtInConstant);
 8753|       |
 8754|      2|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8755|      2|            s.append(builtInConstant);
 8756|      2|        }
 8757|       |
 8758|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8759|      3|        s.append(builtInConstant);
 8760|       |
 8761|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8762|      3|        s.append(builtInConstant);
 8763|       |
 8764|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8765|      3|        s.append(builtInConstant);
 8766|       |
 8767|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8768|      3|        s.append(builtInConstant);
 8769|       |
 8770|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8771|      3|        s.append(builtInConstant);
 8772|       |
 8773|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8774|      3|        s.append(builtInConstant);
 8775|       |
 8776|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8777|      3|        s.append(builtInConstant);
 8778|       |
 8779|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8780|      3|        s.append(builtInConstant);
 8781|       |
 8782|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8783|      3|        s.append(builtInConstant);
 8784|       |
 8785|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8786|      3|        s.append(builtInConstant);
 8787|       |
 8788|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8789|      3|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8789:13): [True: 1, False: 2]
  |  Branch (8789:30): [True: 0, False: 2]
  ------------------
 8790|      1|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8791|      1|            s.append(builtInConstant);
 8792|      1|        }
 8793|       |
 8794|      3|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8795|      3|        s.append(builtInConstant);
 8796|       |
 8797|      3|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8797:13): [True: 3, False: 0]
  |  Branch (8797:36): [True: 0, False: 3]
  ------------------
 8798|       |            //
 8799|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8800|       |            // 1.4 of the OpenGL specification.
 8801|       |            //
 8802|       |
 8803|       |            //
 8804|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8805|       |            //
 8806|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8807|       |
 8808|       |            //
 8809|       |            // Derived matrix state that provides inverse and transposed versions
 8810|       |            // of the matrices above.
 8811|       |            //
 8812|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8813|       |
 8814|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8815|       |
 8816|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8817|       |
 8818|       |            //
 8819|       |            // Clip planes p. 42.
 8820|       |            //
 8821|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8822|       |
 8823|       |            //
 8824|       |            // Light State p 50, 53, 55.
 8825|       |            //
 8826|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8827|       |
 8828|       |            //
 8829|       |            // Derived state from products of light.
 8830|       |            //
 8831|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8832|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8833|       |
 8834|       |            //
 8835|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8836|       |            //
 8837|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8838|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8839|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8840|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8841|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8842|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8843|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8844|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8845|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8846|      0|        }
 8847|       |
 8848|      3|        if (version >= 130) {
  ------------------
  |  Branch (8848:13): [True: 3, False: 0]
  ------------------
 8849|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8850|      3|            s.append(builtInConstant);
 8851|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8852|      3|            s.append(builtInConstant);
 8853|       |
 8854|       |            // GL_ARB_shading_language_420pack
 8855|      3|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8856|      3|            s.append(builtInConstant);
 8857|      3|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8858|      3|            s.append(builtInConstant);
 8859|      3|        }
 8860|       |
 8861|       |        // geometry
 8862|      3|        if (version >= 150) {
  ------------------
  |  Branch (8862:13): [True: 3, False: 0]
  ------------------
 8863|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8864|      3|            s.append(builtInConstant);
 8865|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8866|      3|            s.append(builtInConstant);
 8867|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8868|      3|            s.append(builtInConstant);
 8869|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8870|      3|            s.append(builtInConstant);
 8871|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8872|      3|            s.append(builtInConstant);
 8873|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8874|      3|            s.append(builtInConstant);
 8875|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8876|      3|            s.append(builtInConstant);
 8877|       |
 8878|      3|        }
 8879|       |
 8880|      3|        if (version >= 150) {
  ------------------
  |  Branch (8880:13): [True: 3, False: 0]
  ------------------
 8881|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8882|      3|            s.append(builtInConstant);
 8883|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8884|      3|            s.append(builtInConstant);
 8885|      3|        }
 8886|       |
 8887|       |        // tessellation
 8888|      3|        if (version >= 150) {
  ------------------
  |  Branch (8888:13): [True: 3, False: 0]
  ------------------
 8889|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8890|      3|            s.append(builtInConstant);
 8891|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8892|      3|            s.append(builtInConstant);
 8893|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8894|      3|            s.append(builtInConstant);
 8895|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8896|      3|            s.append(builtInConstant);
 8897|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8898|      3|            s.append(builtInConstant);
 8899|       |
 8900|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8901|      3|            s.append(builtInConstant);
 8902|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8903|      3|            s.append(builtInConstant);
 8904|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8905|      3|            s.append(builtInConstant);
 8906|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8907|      3|            s.append(builtInConstant);
 8908|       |
 8909|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8910|      3|            s.append(builtInConstant);
 8911|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8912|      3|            s.append(builtInConstant);
 8913|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8914|      3|            s.append(builtInConstant);
 8915|       |
 8916|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8917|      3|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8917:17): [True: 0, False: 3]
  |  Branch (8917:51): [True: 0, False: 3]
  ------------------
 8918|      0|                s.append(
 8919|      0|                    "in gl_PerVertex {"
 8920|      0|                        "vec4 gl_Position;"
 8921|      0|                        "float gl_PointSize;"
 8922|      0|                        "float gl_ClipDistance[];"
 8923|      0|                    );
 8924|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8924:21): [True: 0, False: 0]
  ------------------
 8925|      0|                    s.append(
 8926|      0|                        "vec4 gl_ClipVertex;"
 8927|      0|                        "vec4 gl_FrontColor;"
 8928|      0|                        "vec4 gl_BackColor;"
 8929|      0|                        "vec4 gl_FrontSecondaryColor;"
 8930|      0|                        "vec4 gl_BackSecondaryColor;"
 8931|      0|                        "vec4 gl_TexCoord[];"
 8932|      0|                        "float gl_FogFragCoord;"
 8933|      0|                        );
 8934|      0|                s.append(
 8935|      0|                    "float gl_CullDistance[];"  // GL_ARB_cull_distance, core in 450
 8936|      0|                    );
 8937|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8937:21): [True: 0, False: 0]
  |  Branch (8937:46): [True: 0, False: 0]
  ------------------
 8938|      0|                    s.append(
 8939|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8940|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8941|      0|                       );
 8942|      0|                s.append(
 8943|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8944|      0|                    "\n");
 8945|      0|            }
 8946|      3|        }
 8947|       |
 8948|      3|        if (version >= 150) {
  ------------------
  |  Branch (8948:13): [True: 3, False: 0]
  ------------------
 8949|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8950|      3|            s.append(builtInConstant);
 8951|      3|        }
 8952|       |
 8953|       |        // images
 8954|      3|        if (version >= 130) {
  ------------------
  |  Branch (8954:13): [True: 3, False: 0]
  ------------------
 8955|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8956|      3|            s.append(builtInConstant);
 8957|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8958|      3|            s.append(builtInConstant);
 8959|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8960|      3|            s.append(builtInConstant);
 8961|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8962|      3|            s.append(builtInConstant);
 8963|      3|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8964|      3|            s.append(builtInConstant);
 8965|      3|        }
 8966|       |
 8967|       |        // enhanced layouts
 8968|      3|        if (version >= 430) {
  ------------------
  |  Branch (8968:13): [True: 2, False: 1]
  ------------------
 8969|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8970|      2|            s.append(builtInConstant);
 8971|      2|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8972|      2|            s.append(builtInConstant);
 8973|      2|        }
 8974|      3|    }
 8975|       |
 8976|       |    // compute
 8977|     23|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8977:10): [True: 20, False: 3]
  |  Branch (8977:35): [True: 0, False: 20]
  |  Branch (8977:55): [True: 3, False: 20]
  |  Branch (8977:80): [True: 2, False: 1]
  ------------------
 8978|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8979|      2|                                                                                                         resources.maxComputeWorkGroupCountY,
 8980|      2|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8981|      2|        s.append(builtInConstant);
 8982|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8983|      2|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8984|      2|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8985|      2|        s.append(builtInConstant);
 8986|       |
 8987|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8988|      2|        s.append(builtInConstant);
 8989|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8990|      2|        s.append(builtInConstant);
 8991|       |
 8992|       |        // GL_ARM_tensors operands.
 8993|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8994|      2|        s.append(builtInConstant);
 8995|      2|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8996|      2|        s.append(builtInConstant);
 8997|       |
 8998|      2|        s.append("\n");
 8999|      2|    }
 9000|       |
 9001|       |    // images (some in compute below)
 9002|     23|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9002:10): [True: 20, False: 3]
  |  Branch (9002:35): [True: 0, False: 20]
  ------------------
 9003|     23|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (9003:10): [True: 3, False: 20]
  |  Branch (9003:35): [True: 3, False: 0]
  ------------------
 9004|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 9005|      3|        s.append(builtInConstant);
 9006|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 9007|      3|        s.append(builtInConstant);
 9008|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 9009|      3|        s.append(builtInConstant);
 9010|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 9011|      3|        s.append(builtInConstant);
 9012|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 9013|      3|        s.append(builtInConstant);
 9014|      3|    }
 9015|       |
 9016|       |    // compute
 9017|     23|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (9017:10): [True: 20, False: 3]
  |  Branch (9017:35): [True: 0, False: 20]
  |  Branch (9017:55): [True: 3, False: 20]
  |  Branch (9017:80): [True: 2, False: 1]
  ------------------
 9018|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 9019|      2|        s.append(builtInConstant);
 9020|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 9021|      2|        s.append(builtInConstant);
 9022|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 9023|      2|        s.append(builtInConstant);
 9024|       |
 9025|      2|        s.append("\n");
 9026|      2|    }
 9027|       |
 9028|       |    // atomic counters (some in compute below)
 9029|     23|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9029:10): [True: 20, False: 3]
  |  Branch (9029:35): [True: 0, False: 20]
  ------------------
 9030|     23|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (9030:10): [True: 3, False: 20]
  |  Branch (9030:35): [True: 2, False: 1]
  ------------------
 9031|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 9032|      2|        s.append(builtInConstant);
 9033|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 9034|      2|        s.append(builtInConstant);
 9035|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 9036|      2|        s.append(builtInConstant);
 9037|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 9038|      2|        s.append(builtInConstant);
 9039|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 9040|      2|        s.append(builtInConstant);
 9041|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 9042|      2|        s.append(builtInConstant);
 9043|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 9044|      2|        s.append(builtInConstant);
 9045|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 9046|      2|        s.append(builtInConstant);
 9047|      2|    }
 9048|     23|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (9048:9): [True: 3, False: 20]
  |  Branch (9048:34): [True: 2, False: 1]
  ------------------
 9049|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 9050|      2|        s.append(builtInConstant);
 9051|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 9052|      2|        s.append(builtInConstant);
 9053|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 9054|      2|        s.append(builtInConstant);
 9055|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 9056|      2|        s.append(builtInConstant);
 9057|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 9058|      2|        s.append(builtInConstant);
 9059|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 9060|      2|        s.append(builtInConstant);
 9061|       |
 9062|      2|        s.append("\n");
 9063|      2|    }
 9064|       |
 9065|       |    // GL_ARB_cull_distance, core in 450
 9066|     23|    if (profile != EEsProfile && version >= 130) {
  ------------------
  |  Branch (9066:9): [True: 3, False: 20]
  |  Branch (9066:34): [True: 3, False: 0]
  ------------------
 9067|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 9068|      3|        s.append(builtInConstant);
 9069|      3|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 9070|      3|        s.append(builtInConstant);
 9071|      3|    }
 9072|       |
 9073|       |    // GL_ARB_ES3_1_compatibility
 9074|     23|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9074:10): [True: 3, False: 20]
  |  Branch (9074:35): [True: 2, False: 1]
  ------------------
 9075|     21|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9075:10): [True: 20, False: 1]
  |  Branch (9075:35): [True: 0, False: 20]
  ------------------
 9076|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 9077|      2|        s.append(builtInConstant);
 9078|      2|    }
 9079|       |
 9080|       |    // SPV_NV_mesh_shader
 9081|     23|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9081:10): [True: 3, False: 20]
  |  Branch (9081:35): [True: 2, False: 1]
  |  Branch (9081:55): [True: 20, False: 1]
  |  Branch (9081:80): [True: 0, False: 20]
  ------------------
 9082|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 9083|      2|        s.append(builtInConstant);
 9084|       |
 9085|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 9086|      2|        s.append(builtInConstant);
 9087|       |
 9088|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 9089|      2|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 9090|      2|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 9091|      2|        s.append(builtInConstant);
 9092|      2|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 9093|      2|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 9094|      2|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 9095|      2|        s.append(builtInConstant);
 9096|       |
 9097|      2|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 9098|      2|        s.append(builtInConstant);
 9099|       |
 9100|      2|        s.append("\n");
 9101|      2|    }
 9102|       |
 9103|     23|    s.append("\n");
 9104|     23|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9203|    136|{
 9204|       |    //
 9205|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9206|       |    // that cannot be declared with the text strings.
 9207|       |    //
 9208|       |
 9209|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9210|       |    // per stage that's used for this profile.  So
 9211|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9212|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9213|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9214|       |    //    the vertex stage
 9215|       |
 9216|    136|    switch(language) {
 9217|     38|    case EShLangVertex:
  ------------------
  |  Branch (9217:5): [True: 38, False: 98]
  ------------------
 9218|     38|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9218:13): [True: 15, False: 23]
  ------------------
 9219|     15|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9220|     15|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9221|     15|        }
 9222|       |
 9223|     38|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9223:13): [True: 23, False: 15]
  ------------------
 9224|     23|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9225|     23|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9226|     23|            if (version < 140)
  ------------------
  |  Branch (9226:17): [True: 20, False: 3]
  ------------------
 9227|     20|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9228|     23|        }
 9229|       |
 9230|     38|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9230:13): [True: 15, False: 23]
  |  Branch (9230:38): [True: 0, False: 15]
  ------------------
 9231|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9232|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9233|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9234|      0|        }
 9235|       |
 9236|     38|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9236:13): [True: 7, False: 31]
  ------------------
 9237|      7|            if (version >= 440) {
  ------------------
  |  Branch (9237:17): [True: 6, False: 1]
  ------------------
 9238|      6|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9239|      6|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9240|      6|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9241|      6|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9242|      6|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9243|      6|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9244|      6|            }
 9245|      7|            if (version >= 460) {
  ------------------
  |  Branch (9245:17): [True: 0, False: 7]
  ------------------
 9246|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9247|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9248|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9249|      0|            }
 9250|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9251|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9252|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9253|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9254|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9255|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9256|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9257|       |
 9258|      7|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9259|      7|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9260|      7|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9261|       |
 9262|      7|            if (version >= 430) {
  ------------------
  |  Branch (9262:17): [True: 6, False: 1]
  ------------------
 9263|      6|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9264|      6|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9265|      6|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9266|      6|            }
 9267|      7|            if (version >= 150) {
  ------------------
  |  Branch (9267:17): [True: 7, False: 0]
  ------------------
 9268|      7|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9269|      7|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9270|      7|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9271|      7|            }
 9272|      7|        }
 9273|       |
 9274|       |
 9275|     38|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9275:13): [True: 7, False: 31]
  ------------------
 9276|      7|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9277|      7|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9278|      7|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9279|      7|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9280|      7|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9281|      7|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9282|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9283|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9284|      7|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9285|      7|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9286|       |
 9287|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9288|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9289|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9290|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9291|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9292|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9293|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9294|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9295|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9296|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9297|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9298|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9299|      7|        }
 9300|       |
 9301|     38|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9301:13): [True: 7, False: 31]
  ------------------
 9302|      7|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9303|      7|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9304|      7|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9305|      7|        }
 9306|       |
 9307|     38|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9307:13): [True: 7, False: 31]
  ------------------
 9308|      7|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9309|      7|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9310|       |
 9311|      7|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9312|      7|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9313|      7|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9314|      7|            symbolTable.setFunctionExtensions("ballotAMD",        1, &E_GL_AMD_gcn_shader);
 9315|      7|        }
 9316|       |
 9317|     38|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9317:13): [True: 7, False: 31]
  ------------------
 9318|      7|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9319|      7|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9320|      7|        }
 9321|       |
 9322|     38|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9323|     38|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9324|     38|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9325|     38|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9326|     38|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9327|     38|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9328|     38|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9329|     38|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9330|       |
 9331|     38|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9332|     38|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9333|     38|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9334|     38|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9335|     38|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9336|       |        // Compatibility variables, vertex only
 9337|     38|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9337:13): [True: 38, False: 0]
  ------------------
 9338|     38|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9339|     38|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9340|     38|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9341|     38|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9342|     38|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9343|     38|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9344|     38|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9345|     38|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9346|     38|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9347|     38|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9348|     38|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9349|     38|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9350|     38|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9351|     38|        }
 9352|       |
 9353|     38|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9353:13): [True: 31, False: 7]
  ------------------
 9354|     31|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9354:17): [True: 31, False: 0]
  ------------------
 9355|     31|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9356|     31|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9357|     31|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9358|     31|                if (version == 310)
  ------------------
  |  Branch (9358:21): [True: 0, False: 31]
  ------------------
 9359|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9360|     31|            }
 9361|     31|            if (version == 310) {
  ------------------
  |  Branch (9361:17): [True: 0, False: 31]
  ------------------
 9362|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9363|     31|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9363:24): [True: 0, False: 31]
  |  Branch (9363:49): [True: 0, False: 0]
  ------------------
 9364|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9365|      0|            }
 9366|     31|        }
 9367|       |
 9368|     38|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9368:13): [True: 31, False: 7]
  |  Branch (9368:38): [True: 31, False: 0]
  ------------------
 9369|     31|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9370|     31|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9371|     31|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9372|     31|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9373|     31|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9374|     31|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9375|     31|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9376|     31|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9377|     31|        }
 9378|       |
 9379|     38|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9379:13): [True: 6, False: 32]
  ------------------
 9380|      6|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9381|      6|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9382|      6|        }
 9383|       |
 9384|     38|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9384:13): [True: 31, False: 7]
  ------------------
 9385|     31|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9386|     31|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9387|     31|        }
 9388|       |
 9389|       |        // E_GL_EXT_texture_array
 9390|     38|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9390:13): [True: 7, False: 31]
  |  Branch (9390:38): [True: 7, False: 0]
  ------------------
 9391|      7|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9392|      7|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9393|      7|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9394|      7|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9395|       |
 9396|      7|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9397|      7|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9398|      7|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9399|      7|        }
 9400|     38|        [[fallthrough]];
 9401|       |
 9402|     45|    case EShLangTessControl:
  ------------------
  |  Branch (9402:5): [True: 7, False: 129]
  ------------------
 9403|     45|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9403:13): [True: 31, False: 14]
  |  Branch (9403:38): [True: 0, False: 31]
  ------------------
 9404|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9405|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9406|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9407|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9408|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9409|      0|                                              &E_GL_OES_primitive_bounding_box);
 9410|       |
 9411|      0|            if (version >= 320) {
  ------------------
  |  Branch (9411:17): [True: 0, False: 0]
  ------------------
 9412|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9413|      0|            }
 9414|      0|        }
 9415|     45|        [[fallthrough]];
 9416|       |
 9417|     52|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9417:5): [True: 7, False: 129]
  ------------------
 9418|     59|    case EShLangGeometry:
  ------------------
  |  Branch (9418:5): [True: 7, False: 129]
  ------------------
 9419|     59|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9420|     59|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9421|       |
 9422|     59|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9423|     59|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9424|       |
 9425|     59|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9426|     59|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9427|       |
 9428|     59|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9429|       |
 9430|     59|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9431|     59|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9432|       |
 9433|     59|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9434|     59|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9435|       |
 9436|     59|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9437|     59|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9438|       |
 9439|       |        // GL_EXT_clip_cull_distance (ES) and GL_ARB_cull_distance (before 450); the
 9440|       |        // tessellation gl_in members are tied in the resource-dependent path below.
 9441|     59|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9441:13): [True: 31, False: 28]
  ------------------
 9442|     31|            symbolTable.setVariableExtensions("gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9443|     31|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9444|     31|            symbolTable.setVariableExtensions("gl_in",  "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9445|     31|            symbolTable.setVariableExtensions("gl_in",  "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9446|     31|            symbolTable.setVariableExtensions("gl_out", "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9447|     31|            symbolTable.setVariableExtensions("gl_out", "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9448|     31|        } else if (version < 450) {
  ------------------
  |  Branch (9448:20): [True: 4, False: 24]
  ------------------
 9449|      4|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9450|      4|            symbolTable.setVariableExtensions("gl_in",  "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9451|      4|            symbolTable.setVariableExtensions("gl_out", "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9452|      4|        }
 9453|       |
 9454|     59|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9455|     59|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9456|     59|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9457|     59|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9458|     59|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9459|       |
 9460|     59|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9460:13): [True: 52, False: 7]
  ------------------
 9461|     52|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9462|     52|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9463|     52|        }
 9464|     59|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9465|     59|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9466|     59|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9467|     59|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9468|     59|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9469|       |
 9470|     59|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9470:13): [True: 28, False: 31]
  |  Branch (9470:38): [True: 7, False: 21]
  |  Branch (9470:69): [True: 1, False: 6]
  ------------------
 9471|      1|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9472|      1|        }
 9473|     59|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9474|     59|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9475|     59|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9476|     59|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9477|     59|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9478|       |
 9479|     59|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9479:13): [True: 38, False: 21]
  |  Branch (9479:42): [True: 7, False: 14]
  ------------------
 9480|     45|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9481|     45|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9482|       |
 9483|     45|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9484|     45|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9485|     45|        }
 9486|     59|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9487|     59|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportIndex",           1, &E_GL_NV_viewport_array2);
 9488|     59|        symbolTable.setVariableExtensions("gl_out", "gl_Layer",                   1, &E_GL_NV_viewport_array2);
 9489|     59|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9490|     59|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9491|     59|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9492|     59|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9493|       |
 9494|     59|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9495|     59|        BuiltInVariable("gl_out", "gl_ViewportIndex",           EbvViewportIndex,           symbolTable);
 9496|     59|        BuiltInVariable("gl_out", "gl_Layer",                   EbvLayer,                   symbolTable);
 9497|     59|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9498|     59|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9499|     59|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9500|     59|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9501|       |
 9502|     59|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9503|     59|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9504|     59|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9505|     59|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9506|       |
 9507|     59|        if (version < 410)
  ------------------
  |  Branch (9507:13): [True: 35, False: 24]
  ------------------
 9508|     35|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9509|       |
 9510|       |        // Compatibility variables
 9511|       |
 9512|     59|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9513|     59|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9514|     59|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9515|     59|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9516|     59|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9517|     59|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9518|     59|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9519|       |
 9520|     59|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9521|     59|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9522|     59|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9523|     59|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9524|     59|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9525|     59|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9526|     59|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9527|       |
 9528|     59|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9529|     59|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9530|     59|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9531|     59|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9532|     59|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9533|     59|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9534|     59|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9535|       |
 9536|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9537|       |        // (Sometimes with an instance name, sometimes anonymous).
 9538|     59|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9538:13): [True: 31, False: 28]
  ------------------
 9539|     31|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9539:17): [True: 0, False: 31]
  ------------------
 9540|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9541|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9542|     31|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9542:24): [True: 0, False: 31]
  |  Branch (9542:61): [True: 0, False: 31]
  ------------------
 9543|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9544|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9545|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9546|      0|            }
 9547|     31|        }
 9548|       |
 9549|     59|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9549:14): [True: 28, False: 31]
  |  Branch (9549:39): [True: 28, False: 0]
  ------------------
 9550|     31|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9550:14): [True: 31, False: 0]
  |  Branch (9550:39): [True: 0, False: 31]
  ------------------
 9551|     28|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9552|     28|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9553|     28|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9554|     28|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9555|     28|        }
 9556|       |
 9557|     59|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9557:13): [True: 28, False: 31]
  ------------------
 9558|     28|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9559|     28|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9560|     28|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9561|     28|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9562|     28|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9563|     28|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9564|       |
 9565|     28|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9565:17): [True: 16, False: 12]
  ------------------
 9566|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9567|     16|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9568|     16|                if (language == EShLangFragment)
  ------------------
  |  Branch (9568:21): [True: 0, False: 16]
  ------------------
 9569|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9570|     16|            }
 9571|     12|            else
 9572|     12|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9573|     28|        }
 9574|       |
 9575|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9576|     59|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9576:13): [True: 28, False: 31]
  |  Branch (9576:38): [True: 4, False: 24]
  |  Branch (9576:55): [True: 1, False: 3]
  ------------------
 9577|      1|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9578|      1|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9579|      1|        }
 9580|       |        // GL_KHR_shader_subgroup
 9581|     59|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9581:14): [True: 31, False: 28]
  |  Branch (9581:39): [True: 0, False: 31]
  ------------------
 9582|     59|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9582:14): [True: 28, False: 31]
  |  Branch (9582:39): [True: 28, False: 0]
  ------------------
 9583|     28|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9584|     28|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9585|     28|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9586|     28|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9587|     28|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9588|     28|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9589|     28|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9590|       |
 9591|     28|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9592|     28|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9593|     28|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9594|     28|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9595|     28|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9596|     28|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9597|     28|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9598|       |
 9599|       |            // GL_NV_shader_sm_builtins
 9600|     28|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9601|     28|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9602|     28|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9603|     28|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9604|     28|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9605|     28|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9606|     28|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9607|     28|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9608|       |
 9609|       |            // GL_ARM_shader_core_builtins
 9610|     28|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9611|     28|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9612|     28|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9613|     28|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9614|     28|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9615|       |
 9616|     28|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9617|     28|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9618|     28|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9619|     28|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9620|     28|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9621|     28|        }
 9622|       |
 9623|     59|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9623:13): [True: 7, False: 52]
  |  Branch (9623:44): [True: 38, False: 14]
  ------------------
 9624|     45|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9624:18): [True: 31, False: 14]
  |  Branch (9624:43): [True: 0, False: 31]
  ------------------
 9625|     45|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9625:18): [True: 14, False: 31]
  |  Branch (9625:43): [True: 12, False: 2]
  ------------------
 9626|     12|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9627|     12|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9628|       |
 9629|     12|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9630|     12|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9631|     12|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9632|     12|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9633|     12|            }
 9634|     45|        }
 9635|     59|        break;
 9636|       |
 9637|     23|    case EShLangFragment:
  ------------------
  |  Branch (9637:5): [True: 23, False: 113]
  ------------------
 9638|     23|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9639|     23|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9640|     23|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9641|     23|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9641:13): [True: 23, False: 0]
  ------------------
 9642|     23|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9643|      0|        else {
 9644|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9645|      0|            if (symbol) {
  ------------------
  |  Branch (9645:17): [True: 0, False: 0]
  ------------------
 9646|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9647|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9648|      0|            }
 9649|      0|        }
 9650|     23|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9651|     23|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9652|     23|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9653|     23|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9654|       |
 9655|     23|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9656|     23|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9657|     23|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9657:13): [True: 20, False: 3]
  ------------------
 9658|     20|            symbolTable.setVariableExtensions("gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
 9659|     20|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
 9660|     20|        } else if (version < 450)
  ------------------
  |  Branch (9660:20): [True: 1, False: 2]
  ------------------
 9661|      1|            symbolTable.setVariableExtensions("gl_CullDistance", 1, &E_GL_ARB_cull_distance);
 9662|     23|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9663|       |
 9664|     23|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9664:13): [True: 3, False: 20]
  |  Branch (9664:38): [True: 3, False: 0]
  ------------------
 9665|      3|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9666|      3|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9667|      3|        }
 9668|       |
 9669|     23|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9669:13): [True: 3, False: 20]
  |  Branch (9669:38): [True: 1, False: 2]
  ------------------
 9670|      1|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9671|      1|        }
 9672|       |
 9673|     23|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9673:13): [True: 3, False: 20]
  |  Branch (9673:38): [True: 0, False: 3]
  ------------------
 9674|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9675|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9676|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9677|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9678|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9679|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9680|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9681|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9682|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9683|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9684|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9685|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9686|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9687|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9688|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9689|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9690|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9691|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9692|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9693|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9694|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9695|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9696|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9697|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9698|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9699|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9700|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9701|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9702|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9703|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9704|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9705|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9706|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9707|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9708|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9709|      0|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9710|      0|        }
 9711|       |
 9712|     23|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9712:14): [True: 3, False: 20]
  |  Branch (9712:39): [True: 3, False: 0]
  ------------------
 9713|     20|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9713:14): [True: 20, False: 0]
  |  Branch (9713:39): [True: 0, False: 20]
  ------------------
 9714|      3|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9715|      3|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9716|      3|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9717|       |
 9718|      3|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9718:17): [True: 3, False: 0]
  |  Branch (9718:42): [True: 1, False: 2]
  ------------------
 9719|      1|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9720|      1|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9721|       |
 9722|      1|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9723|       |
 9724|      1|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9725|      1|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9726|      1|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9727|      1|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9728|      2|            } else {
 9729|      2|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9730|       |
 9731|      2|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9731:21): [True: 0, False: 2]
  |  Branch (9731:46): [True: 0, False: 0]
  ------------------
 9732|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9733|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9734|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9735|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9736|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9737|      0|                }
 9738|      2|            }
 9739|      3|        }
 9740|       |
 9741|     23|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9742|     23|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9743|       |
 9744|       |        // Compatibility variables
 9745|       |
 9746|     23|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9747|     23|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9748|     23|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9749|     23|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9750|       |
 9751|     23|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9752|     23|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9753|     23|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9754|     23|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9755|       |
 9756|       |        // built-in functions
 9757|       |
 9758|     23|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9758:13): [True: 20, False: 3]
  ------------------
 9759|     20|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9759:17): [True: 20, False: 0]
  ------------------
 9760|     20|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9761|     20|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9762|     20|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9763|     20|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9764|     20|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9765|     20|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9766|     20|                if (version < 320)
  ------------------
  |  Branch (9766:21): [True: 20, False: 0]
  ------------------
 9767|     20|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9768|     20|            }
 9769|     20|            if (version == 100) {
  ------------------
  |  Branch (9769:17): [True: 20, False: 0]
  ------------------
 9770|     20|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9771|     20|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9772|     20|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9773|     20|            }
 9774|     20|            if (version == 310) {
  ------------------
  |  Branch (9774:17): [True: 0, False: 20]
  ------------------
 9775|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9776|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9777|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9778|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9779|      0|            }
 9780|     20|        } else if (version < 130) {
  ------------------
  |  Branch (9780:20): [True: 0, False: 3]
  ------------------
 9781|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9781:17): [True: 0, False: 0]
  ------------------
 9782|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9783|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9784|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9785|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9786|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9787|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9788|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9789|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9790|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9791|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9792|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9793|      0|            }
 9794|      0|        }
 9795|       |
 9796|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9797|     23|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9797:13): [True: 3, False: 20]
  |  Branch (9797:38): [True: 3, False: 0]
  ------------------
 9798|      3|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9799|      3|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9800|      3|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9801|      3|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9802|      3|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9803|      3|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9804|      3|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9805|      3|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9806|      3|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9807|      3|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9808|      3|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9809|      3|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9810|      3|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9811|      3|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9812|      3|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9813|      3|        }
 9814|       |
 9815|       |        // E_GL_ARB_shader_image_load_store
 9816|     23|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9816:13): [True: 3, False: 20]
  |  Branch (9816:38): [True: 1, False: 2]
  ------------------
 9817|      1|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9818|       |        // All the image access functions are protected by checks on the type of the first argument.
 9819|       |
 9820|       |        // E_GL_ARB_shader_atomic_counters
 9821|     23|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9821:13): [True: 3, False: 20]
  |  Branch (9821:38): [True: 1, False: 2]
  ------------------
 9822|      1|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9823|      1|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9824|      1|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9825|      1|        }
 9826|       |
 9827|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5
 9828|     23|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9828:13): [True: 3, False: 20]
  |  Branch (9828:38): [True: 1, False: 2]
  ------------------
 9829|      1|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9830|      1|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9831|      1|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9832|      1|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9833|      1|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9834|      1|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9835|      1|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9836|      1|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9837|      1|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9838|      1|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9839|      1|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9840|      1|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9841|      1|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9842|      1|        }
 9843|       |
 9844|       |        // E_GL_NV_gpu_shader5
 9845|     23|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9845:13): [True: 3, False: 20]
  |  Branch (9845:38): [True: 1, False: 2]
  ------------------
 9846|      1|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9847|      1|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9848|      1|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9849|      1|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9850|      1|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9851|      1|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9852|      1|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9853|      1|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9854|      1|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9855|      1|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9856|      1|        }
 9857|       |
 9858|       |        // E_GL_ARB_shader_atomic_counter_ops
 9859|     23|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9859:13): [True: 3, False: 20]
  |  Branch (9859:38): [True: 2, False: 1]
  ------------------
 9860|      2|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9861|      2|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9862|      2|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9863|      2|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9864|      2|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9865|      2|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9866|      2|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9867|      2|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9868|      2|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9869|      2|        }
 9870|       |
 9871|       |        // E_GL_ARB_derivative_control
 9872|     23|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9872:13): [True: 3, False: 20]
  |  Branch (9872:38): [True: 1, False: 2]
  ------------------
 9873|      1|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9874|      1|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9875|      1|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9876|      1|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9877|      1|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9878|      1|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9879|      1|        }
 9880|       |
 9881|       |        // E_GL_ARB_sparse_texture2
 9882|     23|        if (profile != EEsProfile)
  ------------------
  |  Branch (9882:13): [True: 3, False: 20]
  ------------------
 9883|      3|        {
 9884|      3|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9885|      3|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9886|      3|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9887|      3|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9888|      3|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9889|      3|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9890|      3|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9891|      3|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9892|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9893|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9894|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9895|      3|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9896|      3|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9897|      3|        }
 9898|       |
 9899|       |        // E_GL_ARB_sparse_texture_clamp
 9900|     23|        if (profile != EEsProfile)
  ------------------
  |  Branch (9900:13): [True: 3, False: 20]
  ------------------
 9901|      3|        {
 9902|      3|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9903|      3|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9904|      3|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9905|      3|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9906|      3|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9907|      3|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9908|      3|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9909|      3|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9910|      3|        }
 9911|       |
 9912|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9913|     23|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9913:13): [True: 3, False: 20]
  ------------------
 9914|      3|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9915|      3|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9916|      3|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9917|      3|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9918|      3|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9919|      3|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9920|      3|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9921|       |
 9922|      3|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9923|       |
 9924|      3|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9925|      3|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9926|      3|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9927|      3|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9928|      3|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9929|      3|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9930|      3|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9931|      3|        }
 9932|       |
 9933|       |        // E_GL_AMD_texture_gather_bias_lod
 9934|     23|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9934:13): [True: 3, False: 20]
  ------------------
 9935|      3|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9936|      3|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9937|      3|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9938|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9939|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9940|      3|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9941|      3|        }
 9942|       |
 9943|       |        // E_GL_AMD_shader_image_load_store_lod
 9944|     23|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9944:13): [True: 3, False: 20]
  ------------------
 9945|      3|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9946|      3|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9947|      3|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9948|      3|        }
 9949|     23|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9949:13): [True: 3, False: 20]
  |  Branch (9949:38): [True: 2, False: 1]
  ------------------
 9950|      2|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9951|      2|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9952|      2|        }
 9953|     23|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9953:14): [True: 3, False: 20]
  |  Branch (9953:39): [True: 2, False: 1]
  ------------------
 9954|     21|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9954:14): [True: 20, False: 1]
  |  Branch (9954:39): [True: 0, False: 20]
  ------------------
 9955|      2|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9956|      2|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9957|      2|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9958|      2|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9959|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9960|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9961|      2|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9962|      2|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9963|      2|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9964|      2|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9965|      2|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9966|      2|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9967|      2|        }
 9968|       |
 9969|     23|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9969:14): [True: 3, False: 20]
  |  Branch (9969:39): [True: 2, False: 1]
  ------------------
 9970|     21|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9970:14): [True: 20, False: 1]
  |  Branch (9970:39): [True: 0, False: 20]
  ------------------
 9971|      2|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9972|      2|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9973|      2|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9974|      2|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9975|      2|        }
 9976|       |
 9977|     23|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9978|       |
 9979|     23|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9980|     23|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9981|       |
 9982|     23|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9983|     23|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9984|       |
 9985|     23|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9985:13): [True: 20, False: 3]
  |  Branch (9985:38): [True: 20, False: 0]
  ------------------
 9986|     20|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9987|     20|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9988|     20|        }
 9989|       |
 9990|     23|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9990:13): [True: 20, False: 3]
  |  Branch (9990:38): [True: 20, False: 0]
  ------------------
 9991|     20|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9992|     20|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9993|     20|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9994|     20|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9995|     20|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9996|     20|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9997|     20|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9998|     20|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9999|     20|        }
10000|       |
10001|     23|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (10001:13): [True: 3, False: 20]
  |  Branch (10001:38): [True: 1, False: 2]
  ------------------
10002|      1|            const int numBitEncodingExts = 3;
10003|      1|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
10004|      1|                                                                E_GL_ARB_gpu_shader5,
10005|      1|                                                                E_GL_NV_gpu_shader5};
10006|      1|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
10007|      1|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
10008|      1|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
10009|      1|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
10010|       |
10011|      1|        }
10012|       |
10013|     23|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (10013:13): [True: 3, False: 20]
  |  Branch (10013:38): [True: 1, False: 2]
  ------------------
10014|      1|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
10015|      1|        }
10016|       |
10017|       |        // GL_ARB_shader_storage_buffer_object
10018|     23|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (10018:13): [True: 3, False: 20]
  |  Branch (10018:38): [True: 1, False: 2]
  ------------------
10019|      1|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
10020|      1|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
10021|      1|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
10022|      1|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
10023|      1|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
10024|      1|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
10025|      1|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
10026|      1|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
10027|      1|        }
10028|       |
10029|       |        // GL_ARB_shading_language_packing
10030|     23|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (10030:13): [True: 3, False: 20]
  |  Branch (10030:38): [True: 1, False: 2]
  ------------------
10031|      1|            const int numPackingExts = 3;
10032|      1|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
10033|      1|                                                                E_GL_ARB_gpu_shader5,
10034|      1|                                                                E_GL_NV_gpu_shader5};
10035|      1|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
10036|      1|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
10037|      1|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
10038|      1|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
10039|      1|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
10040|      1|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
10041|      1|        }
10042|     23|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (10042:13): [True: 3, False: 20]
  |  Branch (10042:38): [True: 1, False: 2]
  ------------------
10043|      1|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
10044|      1|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
10045|      1|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
10046|      1|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
10047|      1|        }
10048|       |
10049|     23|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10050|     23|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10051|     23|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10052|     23|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10053|     23|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (10053:13): [True: 2, False: 21]
  ------------------
10054|      2|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
10055|      2|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
10056|      2|        }
10057|       |
10058|       |        // GL_ARB_shader_ballot
10059|     23|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10059:13): [True: 3, False: 20]
  ------------------
10060|      3|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10061|      3|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10062|      3|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10063|      3|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10064|      3|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10065|      3|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10066|      3|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10067|       |
10068|      3|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10069|      3|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10070|      3|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10071|      3|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10072|      3|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10073|      3|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10074|       |
10075|      3|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10075:17): [True: 0, False: 3]
  ------------------
10076|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10077|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10078|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10078:21): [True: 0, False: 0]
  ------------------
10079|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10080|      0|            }
10081|      3|            else
10082|      3|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10083|      3|        }
10084|       |
10085|       |        // GL_EXT_expect_assume
10086|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10086:14): [True: 20, False: 3]
  |  Branch (10086:39): [True: 0, False: 20]
  ------------------
10087|     23|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10087:14): [True: 3, False: 20]
  |  Branch (10087:39): [True: 3, False: 0]
  ------------------
10088|      3|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
10089|      3|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
10090|      3|        }
10091|       |
10092|       |        // GL_KHR_shader_subgroup
10093|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10093:14): [True: 20, False: 3]
  |  Branch (10093:39): [True: 0, False: 20]
  ------------------
10094|     23|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10094:14): [True: 3, False: 20]
  |  Branch (10094:39): [True: 3, False: 0]
  ------------------
10095|      3|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10096|      3|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10097|      3|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10098|      3|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10099|      3|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10100|      3|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10101|      3|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10102|       |
10103|      3|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10104|      3|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10105|      3|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10106|      3|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10107|      3|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10108|      3|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10109|      3|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10110|       |
10111|      3|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
10112|      3|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
10113|      3|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
10114|      3|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
10115|      3|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
10116|      3|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
10117|      3|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
10118|      3|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
10119|      3|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
10120|      3|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
10121|      3|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
10122|      3|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
10123|      3|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
10124|      3|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
10125|      3|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10126|      3|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10127|      3|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10128|      3|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10129|      3|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
10130|      3|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
10131|      3|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10132|      3|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10133|      3|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
10134|      3|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
10135|      3|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10136|      3|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10137|      3|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10138|      3|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10139|      3|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10140|      3|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
10141|      3|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10142|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10143|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10144|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10145|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10146|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10147|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10148|      3|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10149|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10150|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10151|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10152|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10153|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10154|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10155|      3|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10156|      3|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10157|      3|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10158|      3|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10159|      3|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10160|      3|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10161|      3|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10162|      3|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10163|      3|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10164|      3|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10165|      3|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10166|      3|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10167|      3|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10168|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10169|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10170|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10171|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10172|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10173|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10174|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10175|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10176|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10177|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10178|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10179|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10180|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10181|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10182|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10183|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10184|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10185|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10186|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10187|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10188|      3|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10189|       |
10190|       |            // GL_NV_shader_sm_builtins
10191|      3|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10192|      3|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10193|      3|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10194|      3|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10195|      3|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10196|      3|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10197|      3|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10198|      3|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10199|       |
10200|       |            // GL_ARM_shader_core_builtins
10201|      3|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10202|      3|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10203|      3|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10204|      3|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10205|      3|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10206|       |
10207|      3|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10208|      3|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10209|      3|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10210|      3|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10211|      3|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10212|      3|        }
10213|       |
10214|     23|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10214:13): [True: 20, False: 3]
  ------------------
10215|     20|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10216|     20|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10217|     20|        }
10218|       |
10219|     23|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10219:13): [True: 0, False: 23]
  ------------------
10220|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10221|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10222|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10223|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10224|       |
10225|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10226|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10227|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10228|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10229|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10230|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10231|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10232|       |
10233|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10234|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10235|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10236|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10237|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10238|      0|        }
10239|       |
10240|     23|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10241|       |
10242|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10242:14): [True: 20, False: 3]
  |  Branch (10242:39): [True: 0, False: 20]
  ------------------
10243|     23|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10243:14): [True: 3, False: 20]
  |  Branch (10243:39): [True: 2, False: 1]
  ------------------
10244|      2|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10245|      2|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10246|       |
10247|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10248|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10249|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10250|      2|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10251|      2|        }
10252|       |
10253|       |        // GL_EXT_shader_quad_control
10254|     23|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10254:14): [True: 3, False: 20]
  |  Branch (10254:39): [True: 3, False: 0]
  ------------------
10255|     20|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10255:14): [True: 20, False: 0]
  |  Branch (10255:39): [True: 0, False: 20]
  ------------------
10256|      3|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10257|      3|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10258|      3|        }
10259|       |
10260|       |        // GL_EXT_shader_tile_image
10261|     23|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10262|     23|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10263|     23|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10264|       |
10265|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10265:14): [True: 20, False: 3]
  |  Branch (10265:39): [True: 0, False: 20]
  ------------------
10266|     23|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10266:14): [True: 3, False: 20]
  |  Branch (10266:39): [True: 3, False: 0]
  ------------------
10267|       |
10268|      3|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10269|      3|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10270|      3|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10271|      3|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10272|       |
10273|      3|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10274|      3|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10275|      3|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10276|      3|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10277|      3|        }
10278|       |
10279|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10279:14): [True: 20, False: 3]
  |  Branch (10279:39): [True: 0, False: 20]
  ------------------
10280|     23|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10280:14): [True: 3, False: 20]
  |  Branch (10280:39): [True: 0, False: 3]
  ------------------
10281|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10282|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10283|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10284|       |
10285|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10286|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10287|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10288|      0|        }
10289|       |
10290|     23|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10290:14): [True: 20, False: 3]
  |  Branch (10290:39): [True: 0, False: 20]
  ------------------
10291|     23|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (10291:14): [True: 3, False: 20]
  |  Branch (10291:39): [True: 3, False: 0]
  ------------------
10292|      3|            symbolTable.setFunctionExtensions("textureGather4x1QCOM", 1, &E_GL_QCOM_image_processing3);
10293|      3|            symbolTable.setFunctionExtensions("textureGatherV2QCOM", 1, &E_GL_QCOM_image_processing3);
10294|      3|            symbolTable.setFunctionExtensions("textureGatherH2QCOM", 1, &E_GL_QCOM_image_processing3);
10295|      3|            symbolTable.setFunctionExtensions("textureGatherDQCOM", 1, &E_GL_QCOM_image_processing3);
10296|      3|            symbolTable.setFunctionExtensions("textureGather4x1OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10297|      3|            symbolTable.setFunctionExtensions("textureGatherV2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10298|      3|            symbolTable.setFunctionExtensions("textureGatherH2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10299|      3|            symbolTable.setFunctionExtensions("textureGatherDOffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10300|      3|        }
10301|       |
10302|     23|        break;
10303|       |
10304|      6|    case EShLangCompute:
  ------------------
  |  Branch (10304:5): [True: 6, False: 130]
  ------------------
10305|      6|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10306|      6|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10307|      6|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10308|      6|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10309|      6|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10310|      6|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10311|      6|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10312|      6|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10313|       |
10314|      6|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10314:14): [True: 6, False: 0]
  |  Branch (10314:39): [True: 6, False: 0]
  ------------------
10315|      6|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10315:14): [True: 0, False: 0]
  |  Branch (10315:39): [True: 0, False: 0]
  ------------------
10316|      6|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10317|      6|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10318|      6|        }
10319|       |
10320|      6|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10320:13): [True: 6, False: 0]
  |  Branch (10320:38): [True: 0, False: 6]
  ------------------
10321|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10322|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10323|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10324|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10325|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10326|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10327|       |
10328|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10329|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10330|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10331|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10332|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10333|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10334|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10335|       |
10336|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10337|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10338|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10339|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10340|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10341|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10342|      0|        }
10343|       |
10344|      6|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10345|      6|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10346|      6|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10347|      6|        symbolTable.setFunctionExtensions("controlBarrierArrive",           1, &E_GL_EXT_split_barrier);
10348|      6|        symbolTable.setFunctionExtensions("controlBarrierWait",             1, &E_GL_EXT_split_barrier);
10349|       |
10350|       |        // GL_ARB_shader_ballot
10351|      6|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10351:13): [True: 6, False: 0]
  ------------------
10352|      6|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10353|      6|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10354|      6|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10355|      6|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10356|      6|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10357|      6|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10358|      6|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10359|       |
10360|      6|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10361|      6|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10362|      6|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10363|      6|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10364|      6|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10365|      6|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10366|       |
10367|      6|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10367:17): [True: 4, False: 2]
  ------------------
10368|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10369|      4|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10370|      4|                if (language == EShLangFragment)
  ------------------
  |  Branch (10370:21): [True: 0, False: 4]
  ------------------
10371|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10372|      4|            }
10373|      2|            else
10374|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10375|      6|        }
10376|       |
10377|       |        // GL_KHR_shader_subgroup
10378|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10378:14): [True: 0, False: 6]
  |  Branch (10378:39): [True: 0, False: 0]
  ------------------
10379|      6|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10379:14): [True: 6, False: 0]
  |  Branch (10379:39): [True: 6, False: 0]
  ------------------
10380|      6|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10381|      6|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10382|      6|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10383|      6|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10384|      6|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10385|      6|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10386|      6|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10387|       |
10388|      6|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10389|      6|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10390|      6|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10391|      6|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10392|      6|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10393|      6|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10394|      6|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10395|       |
10396|       |            // GL_NV_shader_sm_builtins
10397|      6|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10398|      6|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10399|      6|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10400|      6|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10401|      6|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10402|      6|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10403|      6|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10404|      6|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10405|       |
10406|       |            // GL_ARM_shader_core_builtins
10407|      6|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10408|      6|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10409|      6|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10410|      6|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10411|      6|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10412|       |
10413|      6|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10414|      6|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10415|      6|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10416|      6|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10417|      6|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10418|      6|        }
10419|       |
10420|       |        // GL_KHR_shader_subgroup
10421|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10421:14): [True: 0, False: 6]
  |  Branch (10421:39): [True: 0, False: 0]
  ------------------
10422|      6|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10422:14): [True: 6, False: 0]
  |  Branch (10422:39): [True: 6, False: 0]
  ------------------
10423|      6|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10424|      6|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10425|       |
10426|      6|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10427|      6|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10428|       |
10429|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10430|      6|        }
10431|       |
10432|      6|        {
10433|      6|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10434|      6|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10435|      6|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10436|      6|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10437|      6|        }
10438|       |
10439|      6|        {
10440|      6|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10441|      6|                std::vector<const char *> ret;
10442|      6|                if (strstr(name, "u64") != nullptr) {
10443|      6|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10444|      6|                } else {
10445|      6|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10446|      6|                }
10447|      6|                return ret;
10448|      6|            };
10449|      6|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10450|      6|                std::vector<const char *> ret;
10451|      6|                if (strstr(name, "u64") != nullptr) {
10452|      6|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10453|      6|                } else {
10454|      6|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10455|      6|                }
10456|      6|                return ret;
10457|      6|            };
10458|       |
10459|      6|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10460|      6|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10461|      6|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10462|       |
10463|      6|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10464|      6|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10465|       |
10466|      6|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10467|      6|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10468|      6|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10469|       |
10470|      6|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10471|      6|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10472|      6|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10473|      6|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10474|      6|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10475|      6|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10476|       |
10477|      6|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10478|      6|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10479|      6|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10480|      6|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10481|      6|        }
10482|       |
10483|      6|        {
10484|      6|            symbolTable.setFunctionExtensions("coopMatReduceEXT",           1, &E_GL_EXT_cooperative_matrix_maintenance1);
10485|      6|            symbolTable.setFunctionExtensions("coopMatPerElementEXT",       1, &E_GL_EXT_cooperative_matrix_maintenance1);
10486|      6|            symbolTable.setFunctionExtensions("coopMatTransposeEXT",        1, &E_GL_EXT_cooperative_matrix_maintenance1);
10487|      6|            symbolTable.setFunctionExtensions("coopMatGetCoordinateEXT",    1, &E_GL_EXT_cooperative_matrix_maintenance1);
10488|      6|        }
10489|       |
10490|      6|        {
10491|      6|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10492|      6|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10493|      6|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10494|      6|        }
10495|      6|        {
10496|      6|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10497|      6|                std::vector<const char *> ret;
10498|       |                // This looks for u64 as the last parameter (the offset)
10499|      6|                if (strstr(name, "u641;") != nullptr) {
10500|      6|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10501|      6|                } else {
10502|      6|                    ret.push_back(E_GL_NV_cooperative_vector);
10503|      6|                }
10504|      6|                return ret;
10505|      6|            };
10506|      6|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10507|      6|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10508|      6|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10509|      6|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10510|      6|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10511|      6|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10512|      6|        }
10513|       |
10514|      6|        {
10515|      6|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10516|      6|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10517|      6|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10518|      6|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10519|      6|        }
10520|       |
10521|      6|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10521:14): [True: 6, False: 0]
  |  Branch (10521:39): [True: 6, False: 0]
  |  Branch (10521:59): [True: 0, False: 0]
  |  Branch (10521:84): [True: 0, False: 0]
  ------------------
10522|      6|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10523|      6|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10523:17): [True: 6, False: 0]
  ------------------
10524|      6|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10525|      6|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10526|      6|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10527|      6|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10528|      6|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10529|      6|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10530|      6|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10531|      6|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10532|      6|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10533|      6|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10533:24): [True: 0, False: 0]
  |  Branch (10533:51): [True: 0, False: 0]
  ------------------
10534|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10535|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10536|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10537|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10538|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10539|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10540|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10541|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10542|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10543|      0|            }
10544|      6|        }
10545|       |
10546|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10546:14): [True: 0, False: 6]
  |  Branch (10546:39): [True: 0, False: 0]
  ------------------
10547|      6|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10547:14): [True: 6, False: 0]
  |  Branch (10547:39): [True: 6, False: 0]
  ------------------
10548|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10549|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10550|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10551|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10552|      6|        }
10553|       |
10554|      6|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10554:14): [True: 6, False: 0]
  |  Branch (10554:39): [True: 0, False: 6]
  ------------------
10555|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10556|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10557|      0|        }
10558|       |
10559|       |        // GL_EXT_integer_dot_product
10560|      6|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10560:14): [True: 0, False: 6]
  |  Branch (10560:39): [True: 0, False: 0]
  ------------------
10561|      6|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10561:14): [True: 6, False: 0]
  |  Branch (10561:39): [True: 6, False: 0]
  ------------------
10562|      6|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10563|      6|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10564|      6|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10565|      6|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10566|      6|        }
10567|       |
10568|      6|        {
10569|      6|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10570|      6|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10571|      6|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10572|      6|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10573|       |
10574|      6|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10575|      6|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10576|      6|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10577|      6|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10578|       |
10579|      6|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10580|      6|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10581|      6|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10582|      6|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10583|       |
10584|      6|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10585|      6|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10586|       |
10587|      6|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10588|      6|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10589|      6|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10590|      6|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10591|       |
10592|      6|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10593|      6|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10594|      6|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10595|      6|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10596|       |
10597|      6|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10598|      6|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10599|      6|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10600|      6|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10601|      6|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10602|      6|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10603|      6|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10604|      6|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10605|       |
10606|      6|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10607|      6|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10608|      6|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10609|      6|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10610|      6|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10611|      6|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10612|       |
10613|      6|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10614|      6|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10615|      6|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10616|      6|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10617|      6|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10618|      6|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10619|       |
10620|      6|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10621|      6|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10622|      6|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10623|      6|        }
10624|       |
10625|       |        // E_SPV_QCOM_tile_shading
10626|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10626:14): [True: 0, False: 6]
  |  Branch (10626:39): [True: 0, False: 0]
  ------------------
10627|      6|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10627:14): [True: 6, False: 0]
  |  Branch (10627:39): [True: 0, False: 6]
  ------------------
10628|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10629|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10630|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10631|       |
10632|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10633|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10634|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10635|      0|        }
10636|      6|        break;
10637|       |
10638|      6|    case EShLangRayGen:
  ------------------
  |  Branch (10638:5): [True: 6, False: 130]
  ------------------
10639|     12|    case EShLangIntersect:
  ------------------
  |  Branch (10639:5): [True: 6, False: 130]
  ------------------
10640|     18|    case EShLangAnyHit:
  ------------------
  |  Branch (10640:5): [True: 6, False: 130]
  ------------------
10641|     24|    case EShLangClosestHit:
  ------------------
  |  Branch (10641:5): [True: 6, False: 130]
  ------------------
10642|     30|    case EShLangMiss:
  ------------------
  |  Branch (10642:5): [True: 6, False: 130]
  ------------------
10643|     36|    case EShLangCallable:
  ------------------
  |  Branch (10643:5): [True: 6, False: 130]
  ------------------
10644|     36|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10644:13): [True: 36, False: 0]
  |  Branch (10644:38): [True: 0, False: 36]
  ------------------
10645|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10646|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10647|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10648|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10649|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10650|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10651|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10652|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10653|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10654|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10655|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10656|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10657|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10658|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10659|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10660|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10661|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10662|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10663|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10664|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10665|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10666|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10667|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10668|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10669|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10670|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10671|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10672|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10673|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10674|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10675|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10676|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10677|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10678|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10679|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10680|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10681|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10682|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10683|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10684|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10685|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10686|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10687|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10688|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10689|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10690|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10691|       |
10692|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10693|       |
10694|       |
10695|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10696|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10697|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10698|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10699|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10700|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10701|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10702|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10703|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10704|       |
10705|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10706|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10707|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10708|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10709|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10710|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10711|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10712|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10713|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10714|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10715|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10716|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10717|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10718|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10719|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10720|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10721|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10722|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10723|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10724|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10725|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10726|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10727|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10728|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10729|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10730|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10731|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10732|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10733|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10734|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10735|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10736|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10737|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10738|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10739|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10740|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10741|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10742|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10743|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10744|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10745|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10746|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10747|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10748|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10749|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10750|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10751|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10752|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10753|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10754|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10755|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10756|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10757|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10758|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10759|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10760|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10761|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10762|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10763|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10764|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10765|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10766|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10767|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10768|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10769|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10770|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10771|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10772|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10773|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10774|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10775|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10776|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10777|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10778|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10779|       |
10780|       |
10781|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10782|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10783|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10784|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10785|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10786|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10787|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10788|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10789|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10790|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10791|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10792|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10793|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10794|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10795|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10796|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10797|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10798|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10799|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10800|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10801|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10802|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10803|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10804|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10805|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10806|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10807|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10808|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10809|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10810|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10811|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10812|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10813|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10814|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10815|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10816|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10817|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10818|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10819|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10820|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10821|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10822|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10823|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10824|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10825|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10826|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10827|       |
10828|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10829|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10830|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10831|       |
10832|       |            // GL_ARB_shader_ballot
10833|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10834|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10835|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10836|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10837|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10838|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10839|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10840|       |
10841|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10842|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10843|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10844|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10845|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10846|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10847|       |
10848|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10848:17): [True: 0, False: 0]
  ------------------
10849|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10850|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10851|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10851:21): [True: 0, False: 0]
  ------------------
10852|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10853|      0|            }
10854|      0|            else
10855|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10856|       |
10857|       |            // GL_KHR_shader_subgroup
10858|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10859|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10860|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10861|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10862|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10863|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10864|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10865|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10866|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10867|       |
10868|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10869|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10870|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10871|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10872|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10873|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10874|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10875|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10876|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10877|       |
10878|       |            // GL_NV_shader_sm_builtins
10879|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10880|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10881|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10882|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10883|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10884|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10885|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10886|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10887|       |
10888|       |            // GL_ARM_shader_core_builtins
10889|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10890|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10891|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10892|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10893|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10894|       |
10895|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10896|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10897|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10898|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10899|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10900|      0|        }
10901|     36|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10901:14): [True: 0, False: 36]
  |  Branch (10901:39): [True: 0, False: 0]
  ------------------
10902|     36|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10902:14): [True: 36, False: 0]
  |  Branch (10902:39): [True: 36, False: 0]
  ------------------
10903|     36|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10904|     36|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10905|     36|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10906|     36|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10907|     36|        }
10908|     36|        break;
10909|       |
10910|      6|    case EShLangMesh:
  ------------------
  |  Branch (10910:5): [True: 6, False: 130]
  ------------------
10911|      6|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10911:14): [True: 6, False: 0]
  |  Branch (10911:39): [True: 6, False: 0]
  |  Branch (10911:59): [True: 0, False: 0]
  |  Branch (10911:84): [True: 0, False: 0]
  ------------------
10912|       |            // per-vertex builtins
10913|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10914|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10915|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10916|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10917|       |
10918|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10919|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10920|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10921|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10922|       |
10923|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10924|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10925|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10926|       |
10927|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10928|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10929|      6|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10930|       |
10931|       |            // per-primitive builtins
10932|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10933|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10934|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10935|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10936|       |
10937|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10938|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10939|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10940|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10941|       |
10942|       |            // per-view per-primitive builtins
10943|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10944|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10945|       |
10946|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10947|      6|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10948|       |
10949|       |            // other builtins
10950|      6|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10951|      6|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10952|      6|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10953|      6|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10954|      6|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10954:17): [True: 6, False: 0]
  ------------------
10955|      6|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10956|      6|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10957|      6|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10958|      6|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10959|      6|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10960|      6|            } else {
10961|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10962|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10963|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10964|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10965|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10966|      0|            }
10967|      6|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10968|      6|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10969|      6|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10970|      6|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10971|      6|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10972|      6|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10973|      6|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10974|      6|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10975|      6|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10976|       |
10977|       |            // builtin constants
10978|      6|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10979|      6|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10980|      6|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10981|      6|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10982|       |
10983|       |            // builtin functions
10984|      6|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10984:17): [True: 6, False: 0]
  ------------------
10985|      6|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10986|      6|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10987|      6|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10988|      6|            } else {
10989|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10990|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10991|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10992|      0|            }
10993|      6|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10994|      6|        }
10995|       |
10996|      6|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10996:13): [True: 6, False: 0]
  |  Branch (10996:38): [True: 6, False: 0]
  ------------------
10997|       |            // GL_EXT_Mesh_shader
10998|      6|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10999|      6|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
11000|      6|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
11001|      6|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
11002|       |
11003|      6|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
11004|      6|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
11005|      6|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
11006|      6|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11007|       |
11008|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
11009|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
11010|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
11011|      6|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
11012|       |
11013|      6|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
11014|      6|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
11015|      6|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
11016|      6|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
11017|       |
11018|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
11019|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
11020|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
11021|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
11022|       |
11023|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
11024|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
11025|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
11026|      6|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
11027|       |
11028|      6|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
11029|      6|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
11030|      6|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
11031|      6|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
11032|      6|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
11033|       |
11034|      6|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
11035|       |
11036|       |            // GL_EXT_device_group
11037|      6|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11038|      6|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11039|       |
11040|       |            // GL_ARB_shader_draw_parameters
11041|      6|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11042|      6|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11043|      6|            if (version >= 460) {
  ------------------
  |  Branch (11043:17): [True: 0, False: 6]
  ------------------
11044|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11045|      0|            }
11046|       |            // GL_EXT_multiview
11047|      6|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
11048|      6|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
11049|       |
11050|       |            // GL_ARB_shader_ballot
11051|      6|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11052|      6|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11053|      6|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11054|      6|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11055|      6|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11056|      6|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11057|      6|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11058|       |
11059|      6|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11060|      6|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11061|      6|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11062|      6|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11063|      6|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11064|      6|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11065|       |
11066|      6|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11066:17): [True: 4, False: 2]
  ------------------
11067|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11068|      4|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11069|      4|                if (language == EShLangFragment)
  ------------------
  |  Branch (11069:21): [True: 0, False: 4]
  ------------------
11070|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11071|      4|            }
11072|      2|            else
11073|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11074|      6|        }
11075|       |
11076|       |        // GL_KHR_shader_subgroup
11077|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11077:14): [True: 0, False: 6]
  |  Branch (11077:39): [True: 0, False: 0]
  ------------------
11078|      6|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11078:14): [True: 6, False: 0]
  |  Branch (11078:39): [True: 6, False: 0]
  ------------------
11079|      6|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11080|      6|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11081|      6|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11082|      6|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11083|      6|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11084|      6|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11085|      6|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11086|      6|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11087|      6|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11088|       |
11089|      6|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11090|      6|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11091|      6|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11092|      6|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11093|      6|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11094|      6|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11095|      6|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11096|      6|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11097|      6|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11098|       |
11099|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11100|       |
11101|       |            // GL_NV_shader_sm_builtins
11102|      6|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11103|      6|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11104|      6|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11105|      6|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11106|      6|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11107|      6|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11108|      6|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11109|      6|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11110|       |
11111|       |            // GL_ARM_shader_core_builtins
11112|      6|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11113|      6|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11114|      6|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11115|      6|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11116|      6|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11117|       |
11118|      6|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11119|      6|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11120|      6|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11121|      6|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11122|      6|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11123|      6|        }
11124|       |
11125|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11125:14): [True: 0, False: 6]
  |  Branch (11125:39): [True: 0, False: 0]
  ------------------
11126|      6|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11126:14): [True: 6, False: 0]
  |  Branch (11126:39): [True: 6, False: 0]
  ------------------
11127|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11128|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11129|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11130|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11131|      6|        }
11132|       |
11133|       |        // Builtins for GL_NV_displacment_micromap
11134|      6|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (11134:14): [True: 6, False: 0]
  |  Branch (11134:39): [True: 0, False: 6]
  ------------------
11135|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
11136|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
11137|      0|        }
11138|       |
11139|      6|        break;
11140|       |
11141|      6|    case EShLangTask:
  ------------------
  |  Branch (11141:5): [True: 6, False: 130]
  ------------------
11142|      6|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11142:14): [True: 6, False: 0]
  |  Branch (11142:39): [True: 6, False: 0]
  |  Branch (11142:59): [True: 0, False: 0]
  |  Branch (11142:84): [True: 0, False: 0]
  ------------------
11143|      6|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
11144|      6|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
11145|      6|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
11146|      6|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11146:17): [True: 6, False: 0]
  ------------------
11147|      6|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
11148|      6|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
11149|      6|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
11150|      6|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
11151|      6|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
11152|      6|            } else {
11153|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
11154|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
11155|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
11156|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
11157|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
11158|      0|            }
11159|       |
11160|      6|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
11161|      6|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
11162|      6|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
11163|      6|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
11164|      6|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
11165|      6|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
11166|      6|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
11167|      6|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
11168|       |
11169|      6|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
11170|      6|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
11171|       |
11172|      6|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11172:17): [True: 6, False: 0]
  ------------------
11173|      6|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11174|      6|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11175|      6|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11176|      6|            } else {
11177|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11178|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11179|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11180|      0|            }
11181|      6|        }
11182|       |
11183|      6|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11183:13): [True: 6, False: 0]
  |  Branch (11183:38): [True: 6, False: 0]
  ------------------
11184|       |            // GL_EXT_mesh_shader
11185|      6|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11186|      6|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11187|      6|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11188|       |
11189|       |            // GL_EXT_device_group
11190|      6|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11191|      6|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11192|       |
11193|       |            // GL_ARB_shader_draw_parameters
11194|      6|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11195|      6|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11196|      6|            if (version >= 460) {
  ------------------
  |  Branch (11196:17): [True: 0, False: 6]
  ------------------
11197|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11198|      0|            }
11199|       |
11200|       |            // GL_ARB_shader_ballot
11201|      6|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11202|      6|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11203|      6|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11204|      6|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11205|      6|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11206|      6|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11207|      6|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11208|       |
11209|      6|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11210|      6|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11211|      6|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11212|      6|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11213|      6|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11214|      6|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11215|       |
11216|      6|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11216:17): [True: 4, False: 2]
  ------------------
11217|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11218|      4|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11219|      4|                if (language == EShLangFragment)
  ------------------
  |  Branch (11219:21): [True: 0, False: 4]
  ------------------
11220|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11221|      4|            }
11222|      2|            else
11223|      2|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11224|      6|        }
11225|       |
11226|       |        // GL_KHR_shader_subgroup
11227|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11227:14): [True: 0, False: 6]
  |  Branch (11227:39): [True: 0, False: 0]
  ------------------
11228|      6|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11228:14): [True: 6, False: 0]
  |  Branch (11228:39): [True: 6, False: 0]
  ------------------
11229|      6|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11230|      6|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11231|      6|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11232|      6|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11233|      6|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11234|      6|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11235|      6|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11236|      6|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11237|      6|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11238|       |
11239|      6|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11240|      6|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11241|      6|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11242|      6|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11243|      6|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11244|      6|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11245|      6|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11246|      6|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11247|      6|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11248|       |
11249|      6|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11250|       |
11251|       |            // GL_NV_shader_sm_builtins
11252|      6|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11253|      6|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11254|      6|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11255|      6|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11256|      6|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11257|      6|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11258|      6|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11259|      6|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11260|       |
11261|       |            // GL_ARM_shader_core_builtins
11262|      6|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11263|      6|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11264|      6|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11265|      6|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11266|      6|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11267|       |
11268|      6|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11269|      6|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11270|      6|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11271|      6|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11272|      6|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11273|      6|        }
11274|      6|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11274:14): [True: 0, False: 6]
  |  Branch (11274:39): [True: 0, False: 0]
  ------------------
11275|      6|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11275:14): [True: 6, False: 0]
  |  Branch (11275:39): [True: 6, False: 0]
  ------------------
11276|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11277|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11278|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11279|      6|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11280|      6|        }
11281|      6|        break;
11282|       |
11283|      0|    default:
  ------------------
  |  Branch (11283:5): [True: 0, False: 136]
  ------------------
11284|      0|        assert(false && "Language not supported");
11285|      0|        break;
11286|    136|    }
11287|       |
11288|       |    //
11289|       |    // Next, identify which built-ins have a mapping to an operator.
11290|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11291|       |    // expected to be resolved through a library of functions, versus as
11292|       |    // operations.
11293|       |    //
11294|       |
11295|    136|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11296|       |
11297|    136|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11298|    136|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11299|    136|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11300|    136|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11301|    136|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11302|    136|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11303|    136|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11304|    136|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11305|    136|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11306|    136|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11307|       |
11308|    136|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11309|    136|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11310|       |
11311|    136|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11312|    136|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11313|    136|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11314|    136|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11315|       |
11316|    136|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11317|    136|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11318|       |
11319|    136|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11320|    136|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11321|    136|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11322|    136|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11323|       |
11324|    136|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11325|    136|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11326|    136|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11327|    136|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11328|       |
11329|    136|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11330|    136|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11331|    136|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11332|    136|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11333|    136|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11334|    136|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11335|       |
11336|    136|    symbolTable.relateToOperator("pack16",          EOpPack16);
11337|    136|    symbolTable.relateToOperator("pack32",          EOpPack32);
11338|    136|    symbolTable.relateToOperator("pack64",          EOpPack64);
11339|       |
11340|    136|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11341|    136|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11342|    136|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11343|       |
11344|    136|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11345|    136|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11346|    136|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11347|       |
11348|    136|    symbolTable.relateToOperator("controlBarrierArrive",  EOpControlBarrierArriveEXT);
11349|    136|    symbolTable.relateToOperator("controlBarrierWait",    EOpControlBarrierWaitEXT);
11350|       |
11351|    136|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11351:9): [True: 0, False: 136]
  ------------------
11352|       |        //
11353|       |        // functions signature have been replaced to take uint operations on buffer variables
11354|       |        // remap atomic counter functions to atomic operations
11355|       |        //
11356|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11357|      0|    }
11358|       |
11359|    136|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11360|    136|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11361|       |
11362|    136|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11363|    136|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11364|    136|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11365|       |
11366|    136|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11366:9): [True: 0, False: 136]
  ------------------
11367|       |        //
11368|       |        // functions signature have been replaced to take uint operations
11369|       |        // remap atomic counter functions to atomic operations
11370|       |        //
11371|       |        // these atomic counter functions do not match signatures of glsl
11372|       |        // atomic functions, so they will be remapped to semantically
11373|       |        // equivalent functions in the parser
11374|       |        //
11375|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11376|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11377|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11378|      0|    }
11379|       |
11380|    136|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11381|    136|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11382|       |
11383|    136|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11384|    136|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11385|       |
11386|    136|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11386:9): [True: 85, False: 51]
  |  Branch (11386:34): [True: 80, False: 5]
  ------------------
11387|     80|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11388|     80|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11389|     80|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11390|     80|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11391|     80|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11392|     80|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11393|     80|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11394|     80|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11395|     80|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11396|     80|    }
11397|       |
11398|    136|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11398:9): [True: 85, False: 51]
  |  Branch (11398:34): [True: 0, False: 85]
  ------------------
11399|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11400|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11401|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11402|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11403|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11404|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11405|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11406|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11407|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11408|      0|    }
11409|       |
11410|    136|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11410:9): [True: 0, False: 136]
  ------------------
11411|       |        //
11412|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11413|       |        // remap atomic counter functions to non-counter atomic ops so
11414|       |        // functions act as aliases to non-counter atomic ops
11415|       |        //
11416|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11417|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11418|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11419|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11420|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11421|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11422|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11423|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11424|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11425|      0|    }
11426|       |
11427|    136|    symbolTable.relateToOperator("fma",               EOpFma);
11428|    136|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11429|    136|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11430|    136|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11431|    136|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11432|    136|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11433|    136|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11434|    136|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11435|    136|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11436|    136|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11437|    136|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11438|    136|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11439|    136|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11440|       |
11441|    136|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11442|       |
11443|    136|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11444|    136|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11445|    136|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11446|    136|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11447|    136|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11448|    136|    symbolTable.relateToOperator("average",            EOpAverage);
11449|    136|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11450|    136|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11451|    136|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11452|    136|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11453|    136|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11454|    136|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11455|       |
11456|       |
11457|    136|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11457:9): [True: 136, Folded]
  ------------------
11458|    136|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11459|    136|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11460|    136|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11461|    136|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11462|    136|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11463|    136|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11464|    136|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11465|    136|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11466|    136|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11467|    136|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11468|    136|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11469|    136|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11470|    136|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11471|    136|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11472|       |
11473|    136|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11474|    136|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11475|       |
11476|    136|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11477|    136|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11478|    136|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11479|       |
11480|    136|        symbolTable.relateToOperator("noise1", EOpNoise);
11481|    136|        symbolTable.relateToOperator("noise2", EOpNoise);
11482|    136|        symbolTable.relateToOperator("noise3", EOpNoise);
11483|    136|        symbolTable.relateToOperator("noise4", EOpNoise);
11484|       |
11485|    136|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11486|    136|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11487|    136|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11488|    136|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11489|    136|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11490|       |
11491|    136|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11491:13): [True: 136, False: 0]
  |  Branch (11491:36): [True: 0, False: 136]
  ------------------
11492|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11493|       |
11494|    136|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11494:13): [True: 136, False: 0]
  |  Branch (11494:37): [True: 0, False: 136]
  ------------------
11495|    136|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11495:14): [True: 51, False: 85]
  |  Branch (11495:39): [True: 51, False: 0]
  ------------------
11496|       |
11497|     51|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11498|     51|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11499|     51|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11500|     51|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11501|     51|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11502|     51|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11503|       |
11504|     51|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11505|     51|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11506|     51|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11507|     51|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11508|     51|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11509|     51|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11510|     51|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11511|     51|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11512|       |
11513|     51|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11514|     51|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11515|     51|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11516|     51|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11517|     51|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11518|     51|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11519|     51|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11520|     51|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11521|     51|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11522|     51|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11523|       |
11524|     51|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11525|     51|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11526|     51|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11527|     51|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11528|     51|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11529|     51|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11530|     51|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11531|     51|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11532|     51|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11533|     51|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11534|     51|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11535|     51|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11536|     51|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11537|     51|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11538|     51|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11539|     51|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11540|     51|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11541|     51|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11542|     51|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11543|     51|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11544|     51|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11545|     51|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11546|     51|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11547|     51|        }
11548|       |
11549|    136|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11549:13): [True: 85, False: 51]
  ------------------
11550|     85|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11551|     85|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11552|     85|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11553|     85|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11554|     85|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11555|     85|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11556|     85|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11557|     85|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11558|     85|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11559|     85|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11560|     85|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11561|     85|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11562|     85|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11563|       |
11564|     85|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11565|     85|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11566|     85|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11567|     85|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11568|     85|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11569|     85|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11570|     85|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11571|     85|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11572|       |
11573|     85|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11574|     85|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11575|     85|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11576|       |
11577|     85|            if (version >= 430) {
  ------------------
  |  Branch (11577:17): [True: 80, False: 5]
  ------------------
11578|     80|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11579|     80|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11580|     80|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11581|     80|            }
11582|     85|            if (version >= 460) {
  ------------------
  |  Branch (11582:17): [True: 0, False: 85]
  ------------------
11583|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11584|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11585|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11586|      0|            }
11587|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11588|       |            // anyInvocationARB = anyThreadNV
11589|       |            // allInvocationsARB = allThreadsNV
11590|       |            // allInvocationsEqualARB = allThreadsEqualNV
11591|       |            // Thus we reuse the Op's
11592|     85|            if (version >= 150) {
  ------------------
  |  Branch (11592:17): [True: 85, False: 0]
  ------------------
11593|     85|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11594|     85|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11595|     85|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11596|     85|            }
11597|     85|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11598|     85|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11599|     85|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11600|     85|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11601|     85|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11602|     85|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11603|     85|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11604|     85|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11605|     85|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11606|     85|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11607|     85|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11608|     85|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11609|     85|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11610|     85|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11611|     85|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11612|     85|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11613|     85|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11614|     85|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11615|     85|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11616|     85|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11617|     85|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11618|     85|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11619|       |
11620|     85|            symbolTable.relateToOperator("min3",    EOpMin3);
11621|     85|            symbolTable.relateToOperator("max3",    EOpMax3);
11622|     85|            symbolTable.relateToOperator("mid3",    EOpMid3);
11623|       |
11624|     85|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11625|     85|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11626|     85|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11627|     85|            symbolTable.relateToOperator("ballotAMD",           EOpBallot);
11628|       |
11629|     85|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11630|     85|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11631|     85|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11632|     85|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11633|     85|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11634|     85|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11635|       |
11636|     85|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11637|     85|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11638|     85|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11639|       |
11640|     85|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11641|     85|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11642|     85|        }
11643|       |
11644|       |        // GL_EXT_integer_dot_product
11645|    136|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11645:14): [True: 51, False: 85]
  |  Branch (11645:39): [True: 0, False: 51]
  ------------------
11646|    136|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11646:14): [True: 85, False: 51]
  |  Branch (11646:39): [True: 80, False: 5]
  ------------------
11647|     80|            symbolTable.relateToOperator("dotEXT", EOpDot);
11648|     80|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11649|     80|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11650|     80|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11651|     80|        }
11652|       |
11653|       |        // GL_EXT_bfloat16
11654|    136|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11654:14): [True: 51, False: 85]
  |  Branch (11654:39): [True: 0, False: 51]
  ------------------
11655|    136|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11655:14): [True: 85, False: 51]
  |  Branch (11655:39): [True: 80, False: 5]
  ------------------
11656|     80|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11657|     80|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11658|     80|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11659|     80|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11660|       |
11661|     80|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11662|     80|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11663|     80|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11664|     80|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11665|       |
11666|     80|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11667|     80|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11668|     80|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11669|     80|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11670|       |
11671|     80|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11672|       |
11673|     80|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11674|     80|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11675|     80|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11676|     80|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11677|       |
11678|     80|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11679|     80|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11680|     80|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11681|     80|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11682|       |
11683|     80|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11684|     80|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11685|     80|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11686|     80|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11687|     80|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11688|     80|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11689|     80|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11690|     80|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11691|       |
11692|     80|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11693|     80|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11694|     80|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11695|     80|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11696|     80|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11697|     80|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11698|       |
11699|     80|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11700|     80|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11701|     80|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11702|     80|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11703|     80|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11704|     80|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11705|       |
11706|     80|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11707|     80|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11708|     80|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11709|     80|        }
11710|       |
11711|       |        // GL_KHR_shader_subgroup
11712|    136|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11712:14): [True: 51, False: 85]
  |  Branch (11712:39): [True: 0, False: 51]
  ------------------
11713|    136|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11713:14): [True: 85, False: 51]
  |  Branch (11713:39): [True: 85, False: 0]
  ------------------
11714|     85|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11715|     85|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11716|     85|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11717|     85|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11718|     85|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11719|     85|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11720|     85|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11721|     85|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11722|     85|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11723|     85|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11724|     85|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11725|     85|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11726|     85|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11727|     85|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11728|     85|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11729|     85|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11730|     85|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11731|     85|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11732|     85|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11733|     85|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11734|     85|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11735|     85|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11736|     85|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11737|     85|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11738|     85|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11739|     85|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11740|     85|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11741|     85|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11742|     85|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11743|     85|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11744|     85|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11745|     85|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11746|     85|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11747|     85|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11748|     85|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11749|     85|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11750|     85|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11751|     85|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11752|     85|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11753|     85|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11754|     85|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11755|     85|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11756|     85|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11757|     85|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11758|     85|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11759|     85|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11760|     85|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11761|     85|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11762|     85|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11763|     85|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11764|     85|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11765|     85|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11766|     85|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11767|     85|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11768|     85|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11769|     85|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11770|       |
11771|     85|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11772|     85|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11773|     85|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11774|     85|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11775|     85|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11776|     85|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11777|     85|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11778|     85|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11779|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11780|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11781|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11782|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11783|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11784|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11785|     85|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11786|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11787|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11788|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11789|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11790|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11791|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11792|     85|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11793|     85|        }
11794|       |
11795|    136|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11795:13): [True: 51, False: 85]
  ------------------
11796|     51|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11797|     51|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11798|     51|        }
11799|       |
11800|       |        // GL_EXT_shader_quad_control
11801|    136|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11801:14): [True: 51, False: 85]
  |  Branch (11801:39): [True: 0, False: 51]
  ------------------
11802|    136|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11802:14): [True: 85, False: 51]
  |  Branch (11802:39): [True: 85, False: 0]
  ------------------
11803|     85|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11804|     85|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11805|     85|        }
11806|       |
11807|    136|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11807:14): [True: 51, False: 85]
  |  Branch (11807:39): [True: 0, False: 51]
  ------------------
11808|    136|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11808:14): [True: 85, False: 51]
  |  Branch (11808:39): [True: 85, False: 0]
  ------------------
11809|     85|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11810|     85|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11811|     85|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11812|     85|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11813|       |
11814|     85|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11815|     85|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11816|     85|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11817|     85|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11818|     85|        }
11819|       |
11820|    136|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11820:14): [True: 51, False: 85]
  |  Branch (11820:39): [True: 0, False: 51]
  ------------------
11821|    136|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (11821:14): [True: 85, False: 51]
  |  Branch (11821:39): [True: 85, False: 0]
  ------------------
11822|     85|            symbolTable.relateToOperator("textureGather4x1QCOM", EOpTextureGather4x1QCOM);
11823|     85|            symbolTable.relateToOperator("textureGatherV2QCOM",  EOpTextureGatherV2QCOM);
11824|     85|            symbolTable.relateToOperator("textureGatherH2QCOM",  EOpTextureGatherH2QCOM);
11825|     85|            symbolTable.relateToOperator("textureGatherDQCOM",   EOpTextureGatherDQCOM);
11826|     85|            symbolTable.relateToOperator("textureGather4x1OffsetQCOM", EOpTextureGather4x1OffsetQCOM);
11827|     85|            symbolTable.relateToOperator("textureGatherV2OffsetQCOM",  EOpTextureGatherV2OffsetQCOM);
11828|     85|            symbolTable.relateToOperator("textureGatherH2OffsetQCOM",  EOpTextureGatherH2OffsetQCOM);
11829|     85|            symbolTable.relateToOperator("textureGatherDOffsetQCOM",   EOpTextureGatherDOffsetQCOM);
11830|     85|        }
11831|       |
11832|    136|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11832:13): [True: 85, False: 51]
  |  Branch (11832:38): [True: 85, False: 0]
  ------------------
11833|     85|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11834|     85|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11835|     85|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11836|     85|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11837|       |
11838|     85|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11839|     85|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11840|     85|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11841|     85|        }
11842|       |
11843|    136|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11844|    136|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11845|    136|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11846|    136|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11847|    136|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11848|    136|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11849|    136|    }
11850|       |
11851|    136|    switch(language) {
11852|     38|    case EShLangVertex:
  ------------------
  |  Branch (11852:5): [True: 38, False: 98]
  ------------------
11853|     38|        break;
11854|       |
11855|      7|    case EShLangTessControl:
  ------------------
  |  Branch (11855:5): [True: 7, False: 129]
  ------------------
11856|     14|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11856:5): [True: 7, False: 129]
  ------------------
11857|     14|        break;
11858|       |
11859|      7|    case EShLangGeometry:
  ------------------
  |  Branch (11859:5): [True: 7, False: 129]
  ------------------
11860|      7|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11861|      7|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11862|      7|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11863|      7|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11864|      7|        break;
11865|       |
11866|     23|    case EShLangFragment:
  ------------------
  |  Branch (11866:5): [True: 23, False: 113]
  ------------------
11867|     23|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11867:13): [True: 3, False: 20]
  |  Branch (11867:38): [True: 2, False: 1]
  ------------------
11868|      2|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11869|      2|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11870|      2|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11871|      2|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11872|      2|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11873|      2|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11874|      2|        }
11875|       |
11876|     23|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11876:13): [True: 3, False: 20]
  |  Branch (11876:38): [True: 0, False: 3]
  ------------------
11877|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11878|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11879|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11880|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11881|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11882|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11883|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11884|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11885|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11886|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11887|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11888|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11889|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11890|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11891|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11892|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11893|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11894|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11895|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11896|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11897|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11898|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11899|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11900|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11901|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11902|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11903|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11904|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11905|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11906|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11907|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11908|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11909|      0|        }
11910|       |
11911|     23|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11912|     23|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11913|     23|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11914|       |
11915|     23|        if (profile != EEsProfile)
  ------------------
  |  Branch (11915:13): [True: 3, False: 20]
  ------------------
11916|      3|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11917|       |
11918|     23|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11919|     23|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11920|       |
11921|     23|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11922|     23|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11923|     23|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11924|       |
11925|     23|        break;
11926|       |
11927|      6|    case EShLangCompute:
  ------------------
  |  Branch (11927:5): [True: 6, False: 130]
  ------------------
11928|      6|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11929|      6|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11929:14): [True: 6, False: 0]
  |  Branch (11929:39): [True: 6, False: 0]
  ------------------
11930|      6|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11930:14): [True: 0, False: 0]
  |  Branch (11930:39): [True: 0, False: 0]
  ------------------
11931|      6|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11932|      6|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11933|      6|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11934|      6|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11935|      6|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11936|      6|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11937|      6|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11938|      6|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11939|      6|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11940|      6|        }
11941|      6|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11942|      6|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11943|      6|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11944|       |
11945|      6|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11946|      6|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11947|      6|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11948|       |
11949|      6|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11950|      6|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11951|       |
11952|      6|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11953|      6|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11954|      6|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11955|       |
11956|      6|        symbolTable.relateToOperator("coopMatReduceEXT",           EOpCooperativeMatrixReduceNV);
11957|      6|        symbolTable.relateToOperator("coopMatPerElementEXT",       EOpCooperativeMatrixPerElementOpNV);
11958|      6|        symbolTable.relateToOperator("coopMatTransposeEXT",        EOpCooperativeMatrixTransposeNV);
11959|      6|        symbolTable.relateToOperator("coopMatGetCoordinateEXT",    EOpCooperativeMatrixGetCoordinateEXT);
11960|       |
11961|      6|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11962|      6|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11963|      6|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11964|      6|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11965|      6|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11966|      6|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11967|       |
11968|      6|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11969|      6|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11970|      6|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11971|      6|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11972|       |
11973|      6|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11974|      6|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11975|      6|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11976|       |
11977|      6|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11978|      6|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11979|      6|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11980|      6|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11981|       |
11982|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11982:13): [True: 6, False: 0]
  |  Branch (11982:38): [True: 0, False: 6]
  ------------------
11983|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11984|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11985|      0|        }
11986|      6|        break;
11987|       |
11988|      6|    case EShLangRayGen:
  ------------------
  |  Branch (11988:5): [True: 6, False: 130]
  ------------------
11989|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11989:13): [True: 6, False: 0]
  |  Branch (11989:38): [True: 0, False: 6]
  ------------------
11990|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11991|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11992|      0|        }
11993|      6|        [[fallthrough]];
11994|     12|    case EShLangClosestHit:
  ------------------
  |  Branch (11994:5): [True: 6, False: 130]
  ------------------
11995|     18|    case EShLangMiss:
  ------------------
  |  Branch (11995:5): [True: 6, False: 130]
  ------------------
11996|     18|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11996:13): [True: 18, False: 0]
  |  Branch (11996:38): [True: 0, False: 18]
  ------------------
11997|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11998|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11999|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
12000|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12001|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12002|       |
12003|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
12004|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
12005|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
12006|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
12007|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
12008|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
12009|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
12010|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
12011|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
12012|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
12013|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
12014|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
12015|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
12016|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
12017|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
12018|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
12019|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
12020|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
12021|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
12022|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
12023|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
12024|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
12025|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
12026|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
12027|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
12028|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
12029|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
12030|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
12031|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
12032|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
12033|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
12034|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
12035|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
12036|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
12037|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
12038|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
12039|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
12040|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
12041|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
12042|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
12043|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
12044|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
12045|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
12046|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
12047|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
12048|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
12049|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
12050|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
12051|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
12052|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
12053|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
12054|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
12055|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
12056|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
12057|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
12058|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
12059|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
12060|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
12061|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
12062|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
12063|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
12064|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
12065|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
12066|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
12067|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
12068|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
12069|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
12070|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
12071|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
12072|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
12073|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
12074|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
12075|      0|        }
12076|     18|        break;
12077|      6|    case EShLangIntersect:
  ------------------
  |  Branch (12077:5): [True: 6, False: 130]
  ------------------
12078|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12078:13): [True: 6, False: 0]
  |  Branch (12078:38): [True: 0, False: 6]
  ------------------
12079|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
12080|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
12081|      0|        }
12082|      6|        break;
12083|      6|    case EShLangAnyHit:
  ------------------
  |  Branch (12083:5): [True: 6, False: 130]
  ------------------
12084|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12084:13): [True: 6, False: 0]
  |  Branch (12084:38): [True: 0, False: 6]
  ------------------
12085|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
12086|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
12087|      0|        }
12088|      6|        break;
12089|      6|    case EShLangCallable:
  ------------------
  |  Branch (12089:5): [True: 6, False: 130]
  ------------------
12090|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12090:13): [True: 6, False: 0]
  |  Branch (12090:38): [True: 0, False: 6]
  ------------------
12091|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12092|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12093|      0|        }
12094|      6|        break;
12095|      6|    case EShLangMesh:
  ------------------
  |  Branch (12095:5): [True: 6, False: 130]
  ------------------
12096|      6|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12096:14): [True: 6, False: 0]
  |  Branch (12096:39): [True: 6, False: 0]
  |  Branch (12096:59): [True: 0, False: 0]
  |  Branch (12096:84): [True: 0, False: 0]
  ------------------
12097|      6|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
12098|      6|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12099|      6|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12100|      6|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12101|      6|        }
12102|       |
12103|      6|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12103:13): [True: 6, False: 0]
  |  Branch (12103:38): [True: 6, False: 0]
  ------------------
12104|      6|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
12105|      6|        }
12106|       |
12107|      6|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12107:13): [True: 6, False: 0]
  |  Branch (12107:38): [True: 0, False: 6]
  ------------------
12108|       |            // Builtins for GL_NV_displacement_micromap.
12109|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
12110|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
12111|      0|        }
12112|      6|        break;
12113|      6|    case EShLangTask:
  ------------------
  |  Branch (12113:5): [True: 6, False: 130]
  ------------------
12114|      6|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12114:14): [True: 6, False: 0]
  |  Branch (12114:39): [True: 6, False: 0]
  |  Branch (12114:59): [True: 0, False: 0]
  |  Branch (12114:84): [True: 0, False: 0]
  ------------------
12115|      6|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12116|      6|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12117|      6|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12118|      6|        }
12119|      6|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12119:13): [True: 6, False: 0]
  |  Branch (12119:38): [True: 6, False: 0]
  ------------------
12120|      6|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
12121|      6|        }
12122|      6|        break;
12123|       |
12124|      0|    default:
  ------------------
  |  Branch (12124:5): [True: 0, False: 136]
  ------------------
12125|       |        assert(false && "Language not supported");
12126|    136|    }
12127|    136|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
12139|     23|{
12140|     23|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (12140:9): [True: 3, False: 20]
  |  Branch (12140:34): [True: 2, False: 1]
  |  Branch (12140:52): [True: 0, False: 2]
  ------------------
12141|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
12142|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
12143|      0|    }
12144|     23|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (12144:9): [True: 3, False: 20]
  |  Branch (12144:34): [True: 3, False: 0]
  |  Branch (12144:52): [True: 1, False: 2]
  ------------------
12145|      1|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12146|      1|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12147|      1|    }
12148|     23|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (12148:9): [True: 3, False: 20]
  |  Branch (12148:34): [True: 3, False: 0]
  |  Branch (12148:52): [True: 1, False: 2]
  ------------------
12149|      1|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
12150|     23|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (12150:9): [True: 20, False: 3]
  |  Branch (12150:34): [True: 0, False: 20]
  ------------------
12151|      0|        symbolTable.setVariableExtensions("gl_MaxClipDistances", 1, &E_GL_EXT_clip_cull_distance);
12152|      0|        symbolTable.setVariableExtensions("gl_MaxCullDistances", 1, &E_GL_EXT_clip_cull_distance);
12153|      0|        symbolTable.setVariableExtensions("gl_MaxCombinedClipAndCullDistances", 1, &E_GL_EXT_clip_cull_distance);
12154|      0|    }
12155|     23|    if (profile != EEsProfile && version >= 130 && version < 450) {
  ------------------
  |  Branch (12155:9): [True: 3, False: 20]
  |  Branch (12155:34): [True: 3, False: 0]
  |  Branch (12155:52): [True: 1, False: 2]
  ------------------
12156|      1|        symbolTable.setVariableExtensions("gl_MaxCullDistances", 1, &E_GL_ARB_cull_distance);
12157|      1|        symbolTable.setVariableExtensions("gl_MaxCombinedClipAndCullDistances", 1, &E_GL_ARB_cull_distance);
12158|      1|    }
12159|       |
12160|     23|    switch(language) {
12161|      0|    case EShLangFragment:
  ------------------
  |  Branch (12161:5): [True: 0, False: 23]
  ------------------
12162|       |        // Set up gl_FragData based on current array size.
12163|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (12163:13): [True: 0, False: 0]
  |  Branch (12163:31): [True: 0, False: 0]
  |  Branch (12163:79): [True: 0, Folded]
  |  Branch (12163:105): [True: 0, False: 0]
  |  Branch (12163:130): [True: 0, False: 0]
  ------------------
12164|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (12164:38): [True: 0, False: 0]
  ------------------
12165|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
12166|      0|            TArraySizes* arraySizes = new TArraySizes;
12167|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
12168|      0|            fragData.transferArraySizes(arraySizes);
12169|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
12170|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
12171|      0|        }
12172|       |
12173|       |        // GL_EXT_blend_func_extended
12174|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (12174:13): [True: 0, False: 0]
  |  Branch (12174:38): [True: 0, False: 0]
  ------------------
12175|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
12176|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
12177|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
12178|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
12179|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
12180|      0|        }
12181|       |
12182|      0|        break;
12183|       |
12184|      0|    case EShLangTessControl:
  ------------------
  |  Branch (12184:5): [True: 0, False: 23]
  ------------------
12185|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (12185:5): [True: 0, False: 23]
  ------------------
12186|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
12187|       |        // these variables were added later than the others and need to be mapped now.
12188|       |
12189|       |        // standard members
12190|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
12191|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
12192|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
12193|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
12194|       |
12195|       |        // compatibility members
12196|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
12197|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
12198|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
12199|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
12200|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
12201|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
12202|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12203|       |
12204|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12205|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12206|       |
12207|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12208|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12209|       |
12210|       |        // extension requirements
12211|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12211:13): [True: 0, False: 0]
  ------------------
12212|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12213|      0|            symbolTable.setVariableExtensions("gl_in", "gl_ClipDistance", 1, &E_GL_EXT_clip_cull_distance);
12214|      0|            symbolTable.setVariableExtensions("gl_in", "gl_CullDistance", 1, &E_GL_EXT_clip_cull_distance);
12215|      0|        } else if (version < 450)
  ------------------
  |  Branch (12215:20): [True: 0, False: 0]
  ------------------
12216|      0|            symbolTable.setVariableExtensions("gl_in", "gl_CullDistance", 1, &E_GL_ARB_cull_distance);
12217|       |
12218|      0|        break;
12219|       |
12220|     23|    default:
  ------------------
  |  Branch (12220:5): [True: 23, False: 0]
  ------------------
12221|     23|        break;
12222|     23|    }
12223|     23|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|     82|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  3.13k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 3.13k, False: 82]
  ------------------
  512|  3.13k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 2.07k, False: 1.06k]
  ------------------
  513|  2.07k|                AddTabledBuiltin(decls, fn);
  514|  2.07k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 582, False: 1.48k]
  ------------------
  515|    582|                    AddLongVectorBuiltin(decls, fn);
  516|    582|                }
  517|  2.07k|            }
  518|  3.13k|        }
  519|     82|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  3.13k|{
  477|       |    // nullptr means always valid
  478|  3.13k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 1.84k, False: 1.29k]
  ------------------
  479|  1.84k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  2.58k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 2.58k, False: 1.06k]
  ------------------
  483|  2.58k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.29k, False: 1.29k]
  ------------------
  484|  1.29k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 228, False: 1.06k]
  |  Branch (484:49): [True: 0, False: 1.06k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|    228|                return true;
  486|  1.29k|        }
  487|  2.58k|    }
  488|       |
  489|  1.06k|    return false;
  490|  1.29k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  2.07k|{
  323|  2.07k|    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.07k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  4.46k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 2.39k, False: 2.07k]
  |  Branch (329:34): [True: 975, False: 3.49k]
  ------------------
  330|       |
  331|  2.39k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 2.07k, False: 325]
  |  Branch (331:27): [True: 38, False: 2.03k]
  ------------------
  332|     38|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  40.0k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 37.7k, False: 2.35k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  37.7k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 26.6k, False: 11.0k]
  ------------------
  338|  26.6k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  11.0k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 384, False: 10.6k]
  |  Branch (341:49): [True: 288, False: 96]
  ------------------
  342|    288|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  10.7k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 152, False: 10.5k]
  |  Branch (345:49): [True: 114, False: 38]
  ------------------
  346|    114|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  10.6k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.38k, False: 9.24k]
  |  Branch (349:31): [True: 346, False: 1.03k]
  |  Branch (349:72): [True: 308, False: 38]
  ------------------
  350|    308|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  10.3k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 2.75k, False: 7.56k]
  |  Branch (353:49): [True: 688, False: 2.06k]
  ------------------
  354|    688|                continue;
  355|       |
  356|       |            // return type
  357|  9.63k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 1.77k, False: 7.85k]
  ------------------
  358|  1.77k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  7.85k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 684, False: 7.16k]
  ------------------
  360|    684|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  7.16k|            else
  362|  7.16k|                decls.append(TypeString[type]);
  363|  9.63k|            decls.append(" ");
  364|  9.63k|            decls.append(function.name);
  365|  9.63k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  25.7k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 16.1k, False: 9.63k]
  ------------------
  369|  16.1k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 9.63k, False: 6.51k]
  |  Branch (369:57): [True: 28, False: 9.60k]
  ------------------
  370|     28|                    decls.append("out ");
  371|  16.1k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 9.63k, False: 6.51k]
  ------------------
  372|  9.63k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 96, False: 9.53k]
  ------------------
  373|     96|                        decls.append("coherent volatile nontemporal ");
  374|  9.63k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 96, False: 9.53k]
  ------------------
  375|     96|                        decls.append("inout ");
  376|  9.63k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 9.63k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  9.63k|                }
  379|  16.1k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 228, False: 15.9k]
  |  Branch (379:53): [True: 76, False: 152]
  ------------------
  380|     76|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  16.0k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 2.68k, False: 13.3k]
  |  Branch (381:37): [True: 1.07k, False: 1.61k]
  |  Branch (381:73): [True: 848, False: 228]
  ------------------
  382|  1.07k|                                                                                                       ClassLS2))) ||
  383|  1.84k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 1.07k, False: 764]
  |  Branch (383:73): [True: 156, False: 920]
  ------------------
  384|  1.68k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 1.07k, False: 608]
  |  Branch (384:73): [True: 228, False: 848]
  ------------------
  385|  1.45k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 494, False: 962]
  |  Branch (385:73): [True: 114, False: 380]
  ------------------
  386|  1.34k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  14.7k|                else
  388|  14.7k|                    decls.append(TypeString[type]);
  389|  16.1k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 6.51k, False: 9.63k]
  ------------------
  390|  6.51k|                    decls.append(",");
  391|  16.1k|            }
  392|  9.63k|            decls.append(");\n");
  393|  9.63k|        }
  394|  2.35k|    }
  395|  2.07k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  3.13k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|    582|{
  402|    582|    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|    582|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  1.24k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 659, False: 582]
  |  Branch (408:34): [True: 231, False: 1.01k]
  ------------------
  409|       |
  410|    659|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 582, False: 77]
  |  Branch (410:27): [True: 7, False: 575]
  ------------------
  411|      7|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  11.0k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 10.4k, False: 652]
  ------------------
  415|  10.4k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 7.82k, False: 2.60k]
  ------------------
  416|  7.82k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  2.60k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 1.80k, False: 804]
  ------------------
  420|  1.80k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    804|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 96, False: 708]
  ------------------
  424|     96|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    708|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 7, False: 701]
  ------------------
  428|      7|                continue;
  429|       |
  430|    701|            TString decl;
  431|       |            // return type
  432|    701|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 154, False: 547]
  ------------------
  433|    154|                decl.append("vector");
  434|    547|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 35, False: 512]
  ------------------
  435|     35|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|    512|            else
  437|    512|                decl.append("vector");
  438|    701|            decl.append(" ");
  439|    701|            decl.append(function.name);
  440|    701|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  1.91k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 1.21k, False: 701]
  ------------------
  444|  1.21k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 701, False: 512]
  |  Branch (444:57): [True: 7, False: 694]
  ------------------
  445|      7|                    decl.append("out ");
  446|  1.21k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 701, False: 512]
  ------------------
  447|    701|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 701]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    701|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 701]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    701|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 701]
  ------------------
  452|      0|                        decl.append("out ");
  453|    701|                }
  454|  1.21k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 57, False: 1.15k]
  |  Branch (454:53): [True: 19, False: 38]
  ------------------
  455|     19|                    decl.append("vector");
  456|  1.19k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 238, False: 956]
  |  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.06k|                else
  463|  1.06k|                    decl.append("vector");
  464|  1.21k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 512, False: 701]
  ------------------
  465|    512|                    decl.append(",");
  466|  1.21k|            }
  467|    701|            decl.append(");\n");
  468|       |
  469|    701|            decls.append(decl);
  470|    701|        }
  471|    652|    }
  472|    582|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  10.4k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    364|{
  538|    364|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 211, False: 153]
  |  Branch (538:38): [True: 0, False: 211]
  |  Branch (538:57): [True: 211, False: 0]
  |  Branch (538:80): [True: 0, False: 211]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    211|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 211]
  ------------------
  540|    364|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9158|  3.63k|{
 9159|  3.63k|    TSymbol* symbol = symbolTable.find(name);
 9160|  3.63k|    if (symbol == nullptr)
  ------------------
  |  Branch (9160:9): [True: 1.88k, False: 1.74k]
  ------------------
 9161|  1.88k|        return;
 9162|       |
 9163|  1.74k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9164|  1.74k|    symQualifier.builtIn = builtIn;
 9165|  1.74k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 9120|    442|{
 9121|    442|    TSymbol* symbol = symbolTable.find(name);
 9122|    442|    if (symbol == nullptr)
  ------------------
  |  Branch (9122:9): [True: 160, False: 282]
  ------------------
 9123|    160|        return;
 9124|       |
 9125|    282|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9126|    282|    symQualifier.storage = qualifier;
 9127|    282|    symQualifier.builtIn = builtIn;
 9128|    282|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9180|  2.02k|{
 9181|  2.02k|    TSymbol* symbol = symbolTable.find(blockName);
 9182|  2.02k|    if (symbol == nullptr)
  ------------------
  |  Branch (9182:9): [True: 1.67k, False: 349]
  ------------------
 9183|  1.67k|        return;
 9184|       |
 9185|    349|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9186|  1.83k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9186:21): [True: 1.72k, False: 115]
  ------------------
 9187|  1.72k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9187:13): [True: 234, False: 1.49k]
  ------------------
 9188|    234|            structure[i].type->getQualifier().builtIn = builtIn;
 9189|    234|            return;
 9190|    234|        }
 9191|  1.72k|    }
 9192|    349|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    136|{
  500|  10.7k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 10.7k, False: 136]
  ------------------
  501|  10.7k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  10.7k|    }
  503|    136|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    136|{
  500|    408|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 408, False: 136]
  ------------------
  501|    408|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    408|    }
  503|    136|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    136|{
  500|  5.30k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 5.30k, False: 136]
  ------------------
  501|  5.30k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  5.30k|    }
  503|    136|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10440|  1.00k|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10441|  1.00k|                std::vector<const char *> ret;
10442|  1.00k|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10442:21): [True: 540, False: 468]
  ------------------
10443|    540|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10444|    540|                } else {
10445|    468|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10446|    468|                }
10447|  1.00k|                return ret;
10448|  1.00k|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10449|     96|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10450|     96|                std::vector<const char *> ret;
10451|     96|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10451:21): [True: 48, False: 48]
  ------------------
10452|     48|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10453|     48|                } else {
10454|     48|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10455|     48|                }
10456|     96|                return ret;
10457|     96|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10496|  2.90k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10497|  2.90k|                std::vector<const char *> ret;
10498|       |                // This looks for u64 as the last parameter (the offset)
10499|  2.90k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10499:21): [True: 1.45k, False: 1.45k]
  ------------------
10500|  1.45k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10501|  1.45k|                } else {
10502|  1.45k|                    ret.push_back(E_GL_NV_cooperative_vector);
10503|  1.45k|                }
10504|  2.90k|                return ret;
10505|  2.90k|            };

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

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

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|    120|{
   72|    120|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|    120|    node->setLoc(loc);
   74|    120|    node->setConstArray(constArray);
   75|    120|    node->setConstSubtree(constSubtree);
   76|       |
   77|    120|    return node;
   78|    120|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|      6|{
   93|      6|    glslang::TSourceLoc loc; // just a null location
   94|      6|    loc.init();
   95|       |
   96|      6|    return addSymbol(variable, loc);
   97|      6|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|    120|{
  101|    120|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|    120|}
_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  119|     42|{
  120|       |    // No operations work on blocks
  121|     42|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (121:9): [True: 0, False: 42]
  |  Branch (121:55): [True: 0, False: 42]
  ------------------
  122|     42|        left->getType().getBasicType() == EbtString || right->getType().getBasicType() == EbtString)
  ------------------
  |  Branch (122:9): [True: 0, False: 42]
  |  Branch (122:56): [True: 0, False: 42]
  ------------------
  123|      0|        return nullptr;
  124|       |
  125|       |    // Convert "reference +/- int" and "reference - reference" to integer math
  126|     42|    if (op == EOpAdd || op == EOpSub) {
  ------------------
  |  Branch (126:9): [True: 29, False: 13]
  |  Branch (126:25): [True: 11, False: 2]
  ------------------
  127|       |
  128|       |        // No addressing math on struct with unsized array.
  129|     40|        if ((left->isReference() && left->getType().getReferentType()->containsUnsizedArray()) ||
  ------------------
  |  Branch (129:14): [True: 0, False: 40]
  |  Branch (129:37): [True: 0, False: 0]
  ------------------
  130|     40|            (right->isReference() && right->getType().getReferentType()->containsUnsizedArray())) {
  ------------------
  |  Branch (130:14): [True: 0, False: 40]
  |  Branch (130:38): [True: 0, False: 0]
  ------------------
  131|      0|            return nullptr;
  132|      0|        }
  133|       |
  134|     40|        if (left->isReference() && isTypeInt(right->getBasicType())) {
  ------------------
  |  Branch (134:13): [True: 0, False: 40]
  |  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|     40|    }
  147|       |
  148|     42|    if (op == EOpAdd && right->isReference() && isTypeInt(left->getBasicType())) {
  ------------------
  |  Branch (148:9): [True: 29, False: 13]
  |  Branch (148:25): [True: 0, False: 29]
  |  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|     42|    if (op == EOpSub && left->isReference() && right->isReference()) {
  ------------------
  |  Branch (162:9): [True: 11, False: 31]
  |  Branch (162:25): [True: 0, False: 11]
  |  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|     42|    if (left->isReference() || right->isReference())
  ------------------
  |  Branch (179:9): [True: 0, False: 42]
  |  Branch (179:32): [True: 0, False: 42]
  ------------------
  180|      0|        return nullptr;
  181|       |
  182|       |    // Try converting the children's base types to compatible types.
  183|     42|    auto children = addPairConversion(op, left, right);
  184|     42|    left = std::get<0>(children);
  185|     42|    right = std::get<1>(children);
  186|       |
  187|     42|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (187:9): [True: 11, False: 31]
  |  Branch (187:28): [True: 0, False: 31]
  ------------------
  188|     11|        return nullptr;
  189|       |
  190|       |    // Convert the children's type shape to be compatible.
  191|     31|    addBiShapeConversion(op, left, right);
  192|     31|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (192:9): [True: 0, False: 31]
  |  Branch (192:28): [True: 0, False: 31]
  ------------------
  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|     31|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  200|     31|    if (! promote(node))
  ------------------
  |  Branch (200:9): [True: 0, False: 31]
  ------------------
  201|      0|        return nullptr;
  202|       |
  203|     31|    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|     31|    TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion();
  210|     31|    TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion();
  211|     31|    if (leftTempConstant && rightTempConstant) {
  ------------------
  |  Branch (211:9): [True: 31, False: 0]
  |  Branch (211:29): [True: 31, False: 0]
  ------------------
  212|     31|        TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant);
  213|     31|        if (folded)
  ------------------
  |  Branch (213:13): [True: 31, False: 0]
  ------------------
  214|     31|            return folded;
  215|     31|    }
  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|     31|}
_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  235|     31|{
  236|       |    // build the node
  237|     31|    TIntermBinary* node = new TIntermBinary(op);
  238|     31|    node->setLoc(loc.line != 0 ? loc : left->getLoc());
  ------------------
  |  Branch (238:18): [True: 31, False: 0]
  ------------------
  239|     31|    node->setLeft(left);
  240|     31|    node->setRight(right);
  241|       |
  242|     31|    return node;
  243|     31|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|      9|{
  261|      9|    TIntermUnary* node = new TIntermUnary(op);
  262|      9|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 9, False: 0]
  ------------------
  263|      9|    node->setOperand(child);
  264|       |
  265|      9|    return node;
  266|      9|}
_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|    193|{
  358|    193|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 0, False: 193]
  ------------------
  359|      0|        return nullptr;
  360|       |
  361|    193|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 193]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|    193|    switch (op) {
  365|     71|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 71, False: 122]
  ------------------
  366|     71|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 5, False: 66]
  ------------------
  367|      5|            break; // HLSL can promote logical not
  368|      5|        }
  369|       |
  370|     66|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 66, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|     66|            return nullptr;
  372|     66|        }
  373|      0|        break;
  374|       |
  375|      0|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 0, False: 193]
  ------------------
  376|      0|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 193]
  ------------------
  377|      0|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 0, False: 193]
  ------------------
  378|      0|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 193]
  ------------------
  379|      3|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 3, False: 190]
  ------------------
  380|      3|        if (child->getType().getBasicType() == EbtStruct || child->getType().isArray())
  ------------------
  |  Branch (380:13): [True: 0, False: 3]
  |  Branch (380:61): [True: 0, False: 3]
  ------------------
  381|      0|            return nullptr;
  382|      3|        break;
  383|    119|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 119, False: 74]
  ------------------
  384|    193|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|    127|    TBasicType newType = EbtVoid;
  390|    127|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 127]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 127]
  ------------------
  393|     65|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 65, False: 62]
  ------------------
  394|     54|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 54, False: 73]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 127]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 127]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 127]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 127]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 127]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 127]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 127]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 127]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 127]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 127]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 127]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 127]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 127]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 127]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 127]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 127]
  ------------------
  411|      8|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 8, False: 119]
  ------------------
  412|    127|    }
  413|       |
  414|    127|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 119, False: 8]
  ------------------
  415|    119|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|    119|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 119]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|    119|        child = addConversion(op, newTType, child);
  424|    119|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 119]
  ------------------
  425|      0|            return nullptr;
  426|    119|    }
  427|       |
  428|       |    //
  429|       |    // For constructors, we are now done, it was all in the conversion.
  430|       |    // TODO: but, did this bypass constant folding?
  431|       |    //
  432|    127|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 127]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 127]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 127]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 127]
  ------------------
  437|     65|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 65, False: 62]
  ------------------
  438|    119|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 54, False: 73]
  ------------------
  439|    119|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 127]
  ------------------
  440|    119|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 127]
  ------------------
  441|    119|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 127]
  ------------------
  442|    119|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 0, False: 127]
  ------------------
  443|    119|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 127]
  ------------------
  444|    119|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 127]
  ------------------
  445|    119|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 127]
  ------------------
  446|    119|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 127]
  ------------------
  447|    119|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 127]
  ------------------
  448|    119|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 127]
  ------------------
  449|    119|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 127]
  ------------------
  450|    119|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 127]
  ------------------
  451|    119|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 127]
  ------------------
  452|    119|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 127]
  ------------------
  453|    119|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|    119|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 1, False: 118]
  ------------------
  455|      1|                unary_node->updatePrecision();
  456|    119|            return child;
  457|    119|        }
  458|      8|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 8, False: 119]
  ------------------
  459|    127|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|      8|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|      8|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 0, False: 8]
  ------------------
  467|      0|        return nullptr;
  468|       |
  469|      8|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|      8|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 8, False: 0]
  ------------------
  473|      8|        return node->getOperand()->getAsConstantUnion()->fold(op, node->getType());
  474|       |
  475|       |    // If it's a specialization constant, the result is too,
  476|       |    // if the operation is allowed for specialization constants.
  477|      0|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (477:9): [True: 0, False: 0]
  |  Branch (477:74): [True: 0, False: 0]
  ------------------
  478|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  479|       |
  480|       |    // If must propagate nonuniform, make a nonuniform.
  481|      0|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (481:9): [True: 0, False: 0]
  |  Branch (481:62): [True: 0, False: 0]
  ------------------
  482|      0|        node->getWritableType().getQualifier().nonUniform = true;
  483|       |
  484|      0|    return node;
  485|      8|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  527|     67|{
  528|     67|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|     67|    if (node != nullptr) {
  ------------------
  |  Branch (533:9): [True: 65, False: 2]
  ------------------
  534|     65|        aggNode = node->getAsAggregate();
  535|     65|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (535:13): [True: 28, False: 37]
  |  Branch (535:35): [True: 6, False: 31]
  ------------------
  536|       |            //
  537|       |            // Make an aggregate containing this node.
  538|       |            //
  539|     34|            aggNode = new TIntermAggregate();
  540|     34|            aggNode->getSequence().push_back(node);
  541|     34|        }
  542|     65|    } else
  543|      2|        aggNode = new TIntermAggregate();
  544|       |
  545|       |    //
  546|       |    // Set the operator.
  547|       |    //
  548|     67|    aggNode->setOperator(op);
  549|     67|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 67, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|     67|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 67, False: 0]
  ------------------
  551|       |
  552|     67|    aggNode->setType(type);
  553|       |
  554|     67|    return fold(aggNode);
  555|     67|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|  1.40k|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|  1.40k|    switch (node->getBasicType()) {
  563|      1|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 1, False: 1.40k]
  ------------------
  564|      1|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 1.40k]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 1.40k]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 1.40k]
  ------------------
  568|       |        // opaque types can be passed to functions
  569|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // HLSL can assign samplers directly (no constructor)
  573|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  |  Branch (573:45): [True: 0, False: 0]
  ------------------
  574|      0|            break;
  575|       |
  576|       |        // samplers can get assigned via a sampler constructor
  577|       |        // (well, not yet, but code in the rest of this function is ready for it)
  578|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  |  Branch (578:51): [True: 0, False: 0]
  ------------------
  579|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  |  Branch (579:49): [True: 0, False: 0]
  ------------------
  580|      0|            break;
  581|       |
  582|       |        // ARB_bindless_texture makes samplers and images l-values, so they can be
  583|       |        // initialized and assigned, which is what carries them in and out of functions.
  584|      0|        if (op == EOpAssign && node->getBasicType() == EbtSampler &&
  ------------------
  |  Branch (584:13): [True: 0, False: 0]
  |  Branch (584:32): [True: 0, False: 0]
  ------------------
  585|      0|            IsRequestedExtension(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (585:13): [True: 0, False: 0]
  ------------------
  586|      0|            break;
  587|       |
  588|       |        // otherwise, opaque types can't even be operated on, let alone converted
  589|      0|        return false;
  590|  1.40k|    default:
  ------------------
  |  Branch (590:5): [True: 1.40k, False: 1]
  ------------------
  591|  1.40k|        break;
  592|  1.40k|    }
  593|       |
  594|  1.40k|    return true;
  595|  1.40k|}
_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE:
  598|      1|{
  599|       |    // (bfloat16_t,fp8) <-> bool not supported
  600|      1|    if (((src == EbtBFloat16 || src == EbtFloatE5M2 || src == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(src)) && dst == EbtBool) ||
  ------------------
  |  Branch (600:11): [True: 0, False: 1]
  |  Branch (600:33): [True: 0, False: 1]
  |  Branch (600:56): [True: 0, False: 1]
  |  Branch (600:79): [True: 0, False: 1]
  |  Branch (600:115): [True: 0, False: 0]
  ------------------
  601|      1|        ((dst == EbtBFloat16 || dst == EbtFloatE5M2 || dst == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(dst)) && src == EbtBool)) {
  ------------------
  |  Branch (601:11): [True: 0, False: 1]
  |  Branch (601:33): [True: 0, False: 1]
  |  Branch (601:56): [True: 0, False: 1]
  |  Branch (601:79): [True: 0, False: 1]
  |  Branch (601:115): [True: 0, False: 0]
  ------------------
  602|      0|        return false;
  603|      0|    }
  604|       |
  605|       |    // no type conversions to microscaling types
  606|      1|    if (isTypeOcpMicroscalingFloat(dst) && src != dst) {
  ------------------
  |  Branch (606:9): [True: 0, False: 1]
  |  Branch (606:44): [True: 0, False: 0]
  ------------------
  607|      0|        return false;
  608|      0|    }
  609|       |
  610|      1|    if ((isTypeInt(dst) || isTypeFloat(dst) || dst == EbtBool) &&
  ------------------
  |  Branch (610:10): [True: 1, False: 0]
  |  Branch (610:28): [True: 0, False: 0]
  |  Branch (610:48): [True: 0, False: 0]
  ------------------
  611|      1|        (isTypeInt(src) || isTypeFloat(src) || src == EbtBool)) {
  ------------------
  |  Branch (611:10): [True: 1, False: 0]
  |  Branch (611:28): [True: 0, False: 0]
  |  Branch (611:48): [True: 0, False: 0]
  ------------------
  612|      1|        newOp = EOpConvNumeric;
  613|      1|        return true;
  614|      1|    }
  615|      0|    return false;
  616|      1|}
_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE:
  622|      1|{
  623|       |    //
  624|       |    // Add a new newNode for the conversion.
  625|       |    //
  626|       |
  627|      1|    bool convertToIntTypes = (convertTo == EbtInt8  || convertTo == EbtUint8  ||
  ------------------
  |  Branch (627:31): [True: 0, False: 1]
  |  Branch (627:56): [True: 0, False: 1]
  ------------------
  628|      1|                              convertTo == EbtInt16 || convertTo == EbtUint16 ||
  ------------------
  |  Branch (628:31): [True: 0, False: 1]
  |  Branch (628:56): [True: 0, False: 1]
  ------------------
  629|      1|                              convertTo == EbtInt   || convertTo == EbtUint   ||
  ------------------
  |  Branch (629:31): [True: 1, False: 0]
  |  Branch (629:56): [True: 0, False: 0]
  ------------------
  630|      0|                              convertTo == EbtInt64 || convertTo == EbtUint64);
  ------------------
  |  Branch (630:31): [True: 0, False: 0]
  |  Branch (630:56): [True: 0, False: 0]
  ------------------
  631|       |
  632|      1|    bool convertFromIntTypes = (node->getBasicType() == EbtInt8  || node->getBasicType() == EbtUint8  ||
  ------------------
  |  Branch (632:33): [True: 0, False: 1]
  |  Branch (632:69): [True: 0, False: 1]
  ------------------
  633|      1|                                node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16 ||
  ------------------
  |  Branch (633:33): [True: 0, False: 1]
  |  Branch (633:69): [True: 0, False: 1]
  ------------------
  634|      1|                                node->getBasicType() == EbtInt   || node->getBasicType() == EbtUint   ||
  ------------------
  |  Branch (634:33): [True: 0, False: 1]
  |  Branch (634:69): [True: 1, False: 0]
  ------------------
  635|      0|                                node->getBasicType() == EbtInt64 || node->getBasicType() == EbtUint64);
  ------------------
  |  Branch (635:33): [True: 0, False: 0]
  |  Branch (635:69): [True: 0, False: 0]
  ------------------
  636|       |
  637|      1|    bool convertToFloatTypes = (convertTo == EbtFloat16 || convertTo == EbtBFloat16 || convertTo == EbtFloat || convertTo == EbtDouble ||
  ------------------
  |  Branch (637:33): [True: 0, False: 1]
  |  Branch (637:60): [True: 0, False: 1]
  |  Branch (637:88): [True: 0, False: 1]
  |  Branch (637:113): [True: 0, False: 1]
  ------------------
  638|      1|                                convertTo == EbtFloatE5M2 || convertTo == EbtFloatE4M3);
  ------------------
  |  Branch (638:33): [True: 0, False: 1]
  |  Branch (638:62): [True: 0, False: 1]
  ------------------
  639|       |
  640|      1|    bool convertFromFloatTypes = (node->getBasicType() == EbtFloat16 ||
  ------------------
  |  Branch (640:35): [True: 0, False: 1]
  ------------------
  641|      1|                                  node->getBasicType() == EbtBFloat16 ||
  ------------------
  |  Branch (641:35): [True: 0, False: 1]
  ------------------
  642|      1|                                  node->getBasicType() == EbtFloat ||
  ------------------
  |  Branch (642:35): [True: 0, False: 1]
  ------------------
  643|      1|                                  node->getBasicType() == EbtDouble ||
  ------------------
  |  Branch (643:35): [True: 0, False: 1]
  ------------------
  644|      1|                                  node->getBasicType() == EbtFloatE5M2 ||
  ------------------
  |  Branch (644:35): [True: 0, False: 1]
  ------------------
  645|      1|                                  node->getBasicType() == EbtFloatE4M3 ||
  ------------------
  |  Branch (645:35): [True: 0, False: 1]
  ------------------
  646|      1|                                  isTypeOcpMicroscalingFloat(node->getBasicType()));
  ------------------
  |  Branch (646:35): [True: 0, False: 1]
  ------------------
  647|       |
  648|      1|    if (((convertTo == EbtInt8 || convertTo == EbtUint8) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (648:11): [True: 0, False: 1]
  |  Branch (648:35): [True: 0, False: 1]
  |  Branch (648:61): [True: 0, False: 0]
  ------------------
  649|      1|        ((node->getBasicType() == EbtInt8 || node->getBasicType() == EbtUint8) && ! convertToIntTypes)) {
  ------------------
  |  Branch (649:11): [True: 0, False: 1]
  |  Branch (649:46): [True: 0, False: 1]
  |  Branch (649:83): [True: 0, False: 0]
  ------------------
  650|      0|        if (! getArithemeticInt8Enabled()) {
  ------------------
  |  Branch (650:13): [True: 0, False: 0]
  ------------------
  651|      0|            return nullptr;
  652|      0|        }
  653|      0|    }
  654|       |
  655|      1|    if (((convertTo == EbtInt16 || convertTo == EbtUint16) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (655:11): [True: 0, False: 1]
  |  Branch (655:36): [True: 0, False: 1]
  |  Branch (655:63): [True: 0, False: 0]
  ------------------
  656|      1|        ((node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16) && ! convertToIntTypes)) {
  ------------------
  |  Branch (656:11): [True: 0, False: 1]
  |  Branch (656:47): [True: 0, False: 1]
  |  Branch (656:85): [True: 0, False: 0]
  ------------------
  657|      0|        if (! getArithemeticInt16Enabled()) {
  ------------------
  |  Branch (657:13): [True: 0, False: 0]
  ------------------
  658|      0|            return nullptr;
  659|      0|        }
  660|      0|    }
  661|       |
  662|      1|    if ((convertTo == EbtFloat16 && ! convertFromFloatTypes) ||
  ------------------
  |  Branch (662:10): [True: 0, False: 1]
  |  Branch (662:37): [True: 0, False: 0]
  ------------------
  663|      1|        (node->getBasicType() == EbtFloat16 && ! convertToFloatTypes)) {
  ------------------
  |  Branch (663:10): [True: 0, False: 1]
  |  Branch (663:48): [True: 0, False: 0]
  ------------------
  664|      0|        if (! getArithemeticFloat16Enabled()) {
  ------------------
  |  Branch (664:13): [True: 0, False: 0]
  ------------------
  665|      0|            return nullptr;
  666|      0|        }
  667|      0|    }
  668|       |
  669|      1|    TIntermUnary* newNode = nullptr;
  670|      1|    TOperator newOp = EOpNull;
  671|      1|    if (!buildConvertOp(convertTo, node->getBasicType(), newOp)) {
  ------------------
  |  Branch (671:9): [True: 0, False: 1]
  ------------------
  672|      0|        return nullptr;
  673|      0|    }
  674|       |
  675|      1|    TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows());
  676|      1|    if (node->getType().isLongVector()) {
  ------------------
  |  Branch (676:9): [True: 0, False: 1]
  ------------------
  677|      0|        newType.shallowCopy(node->getType());
  678|      0|        newType.setBasicType(convertTo);
  679|      0|        newType.makeTemporary();
  680|      0|        newType.getQualifier().clear();
  681|      0|    }
  682|      1|    newNode = addUnaryNode(newOp, node, node->getLoc(), newType);
  683|       |
  684|      1|    if (node->getAsConstantUnion()) {
  ------------------
  |  Branch (684:9): [True: 0, False: 1]
  ------------------
  685|       |        // 8/16-bit storage extensions don't support 8/16-bit constants, so don't fold conversions
  686|       |        // to those types
  687|      0|        if ((getArithemeticInt8Enabled() || !(convertTo == EbtInt8 || convertTo == EbtUint8)) &&
  ------------------
  |  Branch (687:14): [True: 0, False: 0]
  |  Branch (687:47): [True: 0, False: 0]
  |  Branch (687:71): [True: 0, False: 0]
  ------------------
  688|      0|            (getArithemeticInt16Enabled() || !(convertTo == EbtInt16 || convertTo == EbtUint16)) &&
  ------------------
  |  Branch (688:14): [True: 0, False: 0]
  |  Branch (688:48): [True: 0, False: 0]
  |  Branch (688:73): [True: 0, False: 0]
  ------------------
  689|      0|            (getArithemeticFloat16Enabled() || !(convertTo == EbtFloat16)))
  ------------------
  |  Branch (689:14): [True: 0, False: 0]
  |  Branch (689:48): [True: 0, False: 0]
  ------------------
  690|      0|        {
  691|      0|            TIntermTyped* folded = node->getAsConstantUnion()->fold(newOp, newType);
  692|      0|            if (folded)
  ------------------
  |  Branch (692:17): [True: 0, False: 0]
  ------------------
  693|      0|                return folded;
  694|      0|        }
  695|      0|    }
  696|       |
  697|       |    // Propagate specialization-constant-ness, if allowed
  698|      1|    if (node->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*newNode))
  ------------------
  |  Branch (698:9): [True: 0, False: 1]
  |  Branch (698:60): [True: 0, False: 0]
  ------------------
  699|      0|        newNode->getWritableType().getQualifier().makeSpecConstant();
  700|       |
  701|      1|    return newNode;
  702|      1|}
_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_:
  723|    100|{
  724|    100|    if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1))
  ------------------
  |  Branch (724:9): [True: 1, False: 99]
  |  Branch (724:44): [True: 0, False: 99]
  ------------------
  725|      1|        return std::make_tuple(nullptr, nullptr);
  726|       |
  727|     99|    if (node0->getType() != node1->getType()) {
  ------------------
  |  Branch (727:9): [True: 53, False: 46]
  ------------------
  728|       |        // If differing structure, then no conversions.
  729|     53|        if (node0->isStruct() || node1->isStruct())
  ------------------
  |  Branch (729:13): [True: 0, False: 53]
  |  Branch (729:34): [True: 0, False: 53]
  ------------------
  730|      0|            return std::make_tuple(nullptr, nullptr);
  731|       |
  732|       |        // If differing arrays, then no conversions.
  733|     53|        if (node0->getType().isArray() || node1->getType().isArray())
  ------------------
  |  Branch (733:13): [True: 0, False: 53]
  |  Branch (733:43): [True: 0, False: 53]
  ------------------
  734|      0|            return std::make_tuple(nullptr, nullptr);
  735|       |
  736|       |        // No implicit conversions for operations involving cooperative matrices
  737|     53|        if (node0->getType().isCoopMat() || node1->getType().isCoopMat())
  ------------------
  |  Branch (737:13): [True: 0, False: 53]
  |  Branch (737:45): [True: 0, False: 53]
  ------------------
  738|      0|            return std::make_tuple(node0, node1);
  739|     53|    }
  740|       |
  741|     99|    auto promoteTo = std::make_tuple(EbtNumTypes, EbtNumTypes);
  742|       |
  743|     99|    switch (op) {
  744|       |    //
  745|       |    // List all the binary ops that can implicitly convert one operand to the other's type;
  746|       |    // This implements the 'policy' for implicit type conversion.
  747|       |    //
  748|      0|    case EOpLessThan:
  ------------------
  |  Branch (748:5): [True: 0, False: 99]
  ------------------
  749|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (749:5): [True: 0, False: 99]
  ------------------
  750|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (750:5): [True: 0, False: 99]
  ------------------
  751|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (751:5): [True: 0, False: 99]
  ------------------
  752|      0|    case EOpEqual:
  ------------------
  |  Branch (752:5): [True: 0, False: 99]
  ------------------
  753|      0|    case EOpNotEqual:
  ------------------
  |  Branch (753:5): [True: 0, False: 99]
  ------------------
  754|       |
  755|     29|    case EOpAdd:
  ------------------
  |  Branch (755:5): [True: 29, False: 70]
  ------------------
  756|     40|    case EOpSub:
  ------------------
  |  Branch (756:5): [True: 11, False: 88]
  ------------------
  757|     41|    case EOpMul:
  ------------------
  |  Branch (757:5): [True: 1, False: 98]
  ------------------
  758|     41|    case EOpDiv:
  ------------------
  |  Branch (758:5): [True: 0, False: 99]
  ------------------
  759|     41|    case EOpMod:
  ------------------
  |  Branch (759:5): [True: 0, False: 99]
  ------------------
  760|       |
  761|     41|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (761:5): [True: 0, False: 99]
  ------------------
  762|     41|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (762:5): [True: 0, False: 99]
  ------------------
  763|     41|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (763:5): [True: 0, False: 99]
  ------------------
  764|     41|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (764:5): [True: 0, False: 99]
  ------------------
  765|       |
  766|     41|    case EOpAnd:
  ------------------
  |  Branch (766:5): [True: 0, False: 99]
  ------------------
  767|     41|    case EOpInclusiveOr:
  ------------------
  |  Branch (767:5): [True: 0, False: 99]
  ------------------
  768|     41|    case EOpExclusiveOr:
  ------------------
  |  Branch (768:5): [True: 0, False: 99]
  ------------------
  769|       |
  770|     99|    case EOpSequence:          // used by ?:
  ------------------
  |  Branch (770:5): [True: 58, False: 41]
  ------------------
  771|       |
  772|     99|        if (node0->getBasicType() == node1->getBasicType())
  ------------------
  |  Branch (772:13): [True: 83, False: 16]
  ------------------
  773|     83|            return std::make_tuple(node0, node1);
  774|       |
  775|     16|        promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op);
  776|     16|        if (std::get<0>(promoteTo) == EbtNumTypes || std::get<1>(promoteTo) == EbtNumTypes)
  ------------------
  |  Branch (776:13): [True: 10, False: 6]
  |  Branch (776:54): [True: 0, False: 6]
  ------------------
  777|     10|            return std::make_tuple(nullptr, nullptr);
  778|       |
  779|      6|        break;
  780|       |
  781|      6|    case EOpLogicalAnd:
  ------------------
  |  Branch (781:5): [True: 0, False: 99]
  ------------------
  782|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (782:5): [True: 0, False: 99]
  ------------------
  783|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (783:5): [True: 0, False: 99]
  ------------------
  784|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (784:13): [True: 0, False: 0]
  ------------------
  785|      0|            promoteTo = std::make_tuple(EbtBool, EbtBool);
  786|      0|        else
  787|      0|            return std::make_tuple(node0, node1);
  788|      0|        break;
  789|       |
  790|       |    // There are no conversions needed for GLSL; the shift amount just needs to be an
  791|       |    // integer type, as does the base.
  792|       |    // HLSL can promote bools to ints to make this work.
  793|      0|    case EOpLeftShift:
  ------------------
  |  Branch (793:5): [True: 0, False: 99]
  ------------------
  794|      0|    case EOpRightShift:
  ------------------
  |  Branch (794:5): [True: 0, False: 99]
  ------------------
  795|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (795:13): [True: 0, False: 0]
  ------------------
  796|      0|            TBasicType node0BasicType = node0->getBasicType();
  797|      0|            if (node0BasicType == EbtBool)
  ------------------
  |  Branch (797:17): [True: 0, False: 0]
  ------------------
  798|      0|                node0BasicType = EbtInt;
  799|      0|            if (node1->getBasicType() == EbtBool)
  ------------------
  |  Branch (799:17): [True: 0, False: 0]
  ------------------
  800|      0|                promoteTo = std::make_tuple(node0BasicType, EbtInt);
  801|      0|            else
  802|      0|                promoteTo = std::make_tuple(node0BasicType, node1->getBasicType());
  803|      0|        } else {
  804|      0|            if (isTypeInt(node0->getBasicType()) && isTypeInt(node1->getBasicType()))
  ------------------
  |  Branch (804:17): [True: 0, False: 0]
  |  Branch (804:53): [True: 0, False: 0]
  ------------------
  805|      0|                return std::make_tuple(node0, node1);
  806|      0|            else
  807|      0|                return std::make_tuple(nullptr, nullptr);
  808|      0|        }
  809|      0|        break;
  810|       |
  811|      0|    default:
  ------------------
  |  Branch (811:5): [True: 0, False: 99]
  ------------------
  812|      0|        if (node0->getType() == node1->getType())
  ------------------
  |  Branch (812:13): [True: 0, False: 0]
  ------------------
  813|      0|            return std::make_tuple(node0, node1);
  814|       |
  815|      0|        return std::make_tuple(nullptr, nullptr);
  816|     99|    }
  817|       |
  818|      6|    TIntermTyped* newNode0;
  819|      6|    TIntermTyped* newNode1;
  820|       |
  821|      6|    if (std::get<0>(promoteTo) != node0->getType().getBasicType()) {
  ------------------
  |  Branch (821:9): [True: 6, False: 0]
  ------------------
  822|      6|        if (node0->getAsConstantUnion())
  ------------------
  |  Branch (822:13): [True: 6, False: 0]
  ------------------
  823|      6|            newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion());
  824|      0|        else
  825|      0|            newNode0 = createConversion(std::get<0>(promoteTo), node0);
  826|      6|    } else
  827|      0|        newNode0 = node0;
  828|       |
  829|      6|    if (std::get<1>(promoteTo) != node1->getType().getBasicType()) {
  ------------------
  |  Branch (829:9): [True: 0, False: 6]
  ------------------
  830|      0|        if (node1->getAsConstantUnion())
  ------------------
  |  Branch (830:13): [True: 0, False: 0]
  ------------------
  831|      0|            newNode1 = promoteConstantUnion(std::get<1>(promoteTo), node1->getAsConstantUnion());
  832|      0|        else
  833|      0|            newNode1 = createConversion(std::get<1>(promoteTo), node1);
  834|      0|    } else
  835|      6|        newNode1 = node1;
  836|       |
  837|      6|    return std::make_tuple(newNode0, newNode1);
  838|     99|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  856|  1.21k|{
  857|  1.21k|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (857:9): [True: 0, False: 1.21k]
  ------------------
  858|      0|        return nullptr;
  859|       |
  860|       |    // Otherwise, if types are identical, no problem
  861|  1.21k|    if (type == node->getType())
  ------------------
  |  Branch (861:9): [True: 1.14k, False: 69]
  ------------------
  862|  1.14k|        return node;
  863|       |
  864|       |    // If one's a structure, then no conversions.
  865|     69|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (865:9): [True: 0, False: 69]
  |  Branch (865:28): [True: 0, False: 69]
  ------------------
  866|      0|        return nullptr;
  867|       |
  868|       |    // If one's an array, then no conversions.
  869|     69|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (869:9): [True: 0, False: 69]
  |  Branch (869:27): [True: 0, False: 69]
  ------------------
  870|      0|        return nullptr;
  871|       |
  872|       |    // A sampler or image converts to nothing but its own type, and identical types have
  873|       |    // already returned above. Only in bindless mode, so HLSL keeps its own rules.
  874|     69|    if ((type.getBasicType() == EbtSampler || node->getBasicType() == EbtSampler) &&
  ------------------
  |  Branch (874:10): [True: 0, False: 69]
  |  Branch (874:47): [True: 0, False: 69]
  ------------------
  875|      0|        IsRequestedExtension(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (875:9): [True: 0, False: 0]
  ------------------
  876|      0|        return nullptr;
  877|       |
  878|       |    // Reject implicit conversions to cooperative matrix types
  879|     69|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (879:9): [True: 0, False: 69]
  ------------------
  880|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (880:9): [True: 0, False: 0]
  ------------------
  881|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (881:9): [True: 0, False: 0]
  ------------------
  882|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (882:9): [True: 0, False: 0]
  ------------------
  883|      0|        return nullptr;
  884|       |
  885|     69|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (885:9): [True: 0, False: 69]
  ------------------
  886|     69|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (886:9): [True: 0, False: 69]
  ------------------
  887|      0|        return nullptr;
  888|       |
  889|       |    // Reject implicit conversions to cooperative vector types
  890|     69|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (890:9): [True: 0, False: 69]
  ------------------
  891|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (891:9): [True: 0, False: 0]
  ------------------
  892|      0|        return nullptr;
  893|       |
  894|       |    // Note: callers are responsible for other aspects of shape,
  895|       |    // like vector and matrix sizes.
  896|       |
  897|     69|    switch (op) {
  898|       |    //
  899|       |    // Explicit conversions (unary operations)
  900|       |    //
  901|      2|    case EOpConstructBool:
  ------------------
  |  Branch (901:5): [True: 2, False: 67]
  ------------------
  902|      2|    case EOpConstructFloat:
  ------------------
  |  Branch (902:5): [True: 0, False: 69]
  ------------------
  903|     10|    case EOpConstructInt:
  ------------------
  |  Branch (903:5): [True: 8, False: 61]
  ------------------
  904|     64|    case EOpConstructUint:
  ------------------
  |  Branch (904:5): [True: 54, False: 15]
  ------------------
  905|     64|    case EOpConstructDouble:
  ------------------
  |  Branch (905:5): [True: 0, False: 69]
  ------------------
  906|     64|    case EOpConstructFloat16:
  ------------------
  |  Branch (906:5): [True: 0, False: 69]
  ------------------
  907|     64|    case EOpConstructBFloat16:
  ------------------
  |  Branch (907:5): [True: 0, False: 69]
  ------------------
  908|     64|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (908:5): [True: 0, False: 69]
  ------------------
  909|     64|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (909:5): [True: 0, False: 69]
  ------------------
  910|     64|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (910:5): [True: 0, False: 69]
  ------------------
  911|     64|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (911:5): [True: 0, False: 69]
  ------------------
  912|     64|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (912:5): [True: 0, False: 69]
  ------------------
  913|     64|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (913:5): [True: 0, False: 69]
  ------------------
  914|     64|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (914:5): [True: 0, False: 69]
  ------------------
  915|     64|    case EOpConstructInt8:
  ------------------
  |  Branch (915:5): [True: 0, False: 69]
  ------------------
  916|     64|    case EOpConstructUint8:
  ------------------
  |  Branch (916:5): [True: 0, False: 69]
  ------------------
  917|     64|    case EOpConstructInt16:
  ------------------
  |  Branch (917:5): [True: 0, False: 69]
  ------------------
  918|     64|    case EOpConstructUint16:
  ------------------
  |  Branch (918:5): [True: 0, False: 69]
  ------------------
  919|     64|    case EOpConstructInt64:
  ------------------
  |  Branch (919:5): [True: 0, False: 69]
  ------------------
  920|     64|    case EOpConstructUint64:
  ------------------
  |  Branch (920:5): [True: 0, False: 69]
  ------------------
  921|     64|    case EOpConstructSaturated:
  ------------------
  |  Branch (921:5): [True: 0, False: 69]
  ------------------
  922|     64|        break;
  923|       |
  924|       |    //
  925|       |    // Implicit conversions
  926|       |    //
  927|      4|    case EOpLogicalNot:
  ------------------
  |  Branch (927:5): [True: 4, False: 65]
  ------------------
  928|       |
  929|      4|    case EOpFunctionCall:
  ------------------
  |  Branch (929:5): [True: 0, False: 69]
  ------------------
  930|       |
  931|      4|    case EOpReturn:
  ------------------
  |  Branch (931:5): [True: 0, False: 69]
  ------------------
  932|      4|    case EOpAssign:
  ------------------
  |  Branch (932:5): [True: 0, False: 69]
  ------------------
  933|      4|    case EOpAddAssign:
  ------------------
  |  Branch (933:5): [True: 0, False: 69]
  ------------------
  934|      4|    case EOpSubAssign:
  ------------------
  |  Branch (934:5): [True: 0, False: 69]
  ------------------
  935|      4|    case EOpMulAssign:
  ------------------
  |  Branch (935:5): [True: 0, False: 69]
  ------------------
  936|      4|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (936:5): [True: 0, False: 69]
  ------------------
  937|      4|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (937:5): [True: 0, False: 69]
  ------------------
  938|      4|    case EOpDivAssign:
  ------------------
  |  Branch (938:5): [True: 0, False: 69]
  ------------------
  939|      4|    case EOpModAssign:
  ------------------
  |  Branch (939:5): [True: 0, False: 69]
  ------------------
  940|      4|    case EOpAndAssign:
  ------------------
  |  Branch (940:5): [True: 0, False: 69]
  ------------------
  941|      4|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (941:5): [True: 0, False: 69]
  ------------------
  942|      4|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (942:5): [True: 0, False: 69]
  ------------------
  943|       |
  944|      4|    case EOpAtan:
  ------------------
  |  Branch (944:5): [True: 0, False: 69]
  ------------------
  945|      4|    case EOpClamp:
  ------------------
  |  Branch (945:5): [True: 0, False: 69]
  ------------------
  946|      4|    case EOpCross:
  ------------------
  |  Branch (946:5): [True: 0, False: 69]
  ------------------
  947|      4|    case EOpDistance:
  ------------------
  |  Branch (947:5): [True: 0, False: 69]
  ------------------
  948|      4|    case EOpDot:
  ------------------
  |  Branch (948:5): [True: 0, False: 69]
  ------------------
  949|      4|    case EOpDst:
  ------------------
  |  Branch (949:5): [True: 0, False: 69]
  ------------------
  950|      4|    case EOpFaceForward:
  ------------------
  |  Branch (950:5): [True: 0, False: 69]
  ------------------
  951|      4|    case EOpFma:
  ------------------
  |  Branch (951:5): [True: 0, False: 69]
  ------------------
  952|      4|    case EOpFrexp:
  ------------------
  |  Branch (952:5): [True: 0, False: 69]
  ------------------
  953|      4|    case EOpLdexp:
  ------------------
  |  Branch (953:5): [True: 0, False: 69]
  ------------------
  954|      4|    case EOpMix:
  ------------------
  |  Branch (954:5): [True: 0, False: 69]
  ------------------
  955|      4|    case EOpLit:
  ------------------
  |  Branch (955:5): [True: 0, False: 69]
  ------------------
  956|      4|    case EOpMax:
  ------------------
  |  Branch (956:5): [True: 0, False: 69]
  ------------------
  957|      4|    case EOpMin:
  ------------------
  |  Branch (957:5): [True: 0, False: 69]
  ------------------
  958|      4|    case EOpMod:
  ------------------
  |  Branch (958:5): [True: 0, False: 69]
  ------------------
  959|      4|    case EOpModf:
  ------------------
  |  Branch (959:5): [True: 0, False: 69]
  ------------------
  960|      4|    case EOpPow:
  ------------------
  |  Branch (960:5): [True: 0, False: 69]
  ------------------
  961|      4|    case EOpReflect:
  ------------------
  |  Branch (961:5): [True: 0, False: 69]
  ------------------
  962|      4|    case EOpRefract:
  ------------------
  |  Branch (962:5): [True: 0, False: 69]
  ------------------
  963|      4|    case EOpSmoothStep:
  ------------------
  |  Branch (963:5): [True: 0, False: 69]
  ------------------
  964|      4|    case EOpStep:
  ------------------
  |  Branch (964:5): [True: 0, False: 69]
  ------------------
  965|       |
  966|      4|    case EOpSequence:
  ------------------
  |  Branch (966:5): [True: 0, False: 69]
  ------------------
  967|      5|    case EOpConstructStruct:
  ------------------
  |  Branch (967:5): [True: 1, False: 68]
  ------------------
  968|      5|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (968:5): [True: 0, False: 69]
  ------------------
  969|      5|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (969:5): [True: 0, False: 69]
  ------------------
  970|      5|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (970:5): [True: 0, False: 69]
  ------------------
  971|       |
  972|      5|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (972:13): [True: 0, False: 5]
  |  Branch (972:35): [True: 0, False: 5]
  ------------------
  973|       |            // types must match to assign a reference
  974|      0|            if (type == node->getType())
  ------------------
  |  Branch (974:17): [True: 0, False: 0]
  ------------------
  975|      0|                return node;
  976|      0|            else
  977|      0|                return nullptr;
  978|      0|        }
  979|       |
  980|      5|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (980:13): [True: 1, False: 4]
  ------------------
  981|      1|            return node;
  982|       |
  983|      4|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (983:13): [True: 0, False: 4]
  ------------------
  984|      0|            return nullptr;
  985|      4|        break;
  986|       |
  987|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  988|       |    // integer type, as do the base/result.
  989|       |    // HLSL can convert the shift from a bool to an int.
  990|      4|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (990:5): [True: 0, False: 69]
  ------------------
  991|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (991:5): [True: 0, False: 69]
  ------------------
  992|      0|    {
  993|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (993:15): [True: 0, False: 0]
  |  Branch (993:47): [True: 0, False: 0]
  ------------------
  994|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  |  Branch (994:51): [True: 0, False: 0]
  ------------------
  995|      0|                return node;
  996|      0|            else
  997|      0|                return nullptr;
  998|      0|        }
  999|      0|        break;
 1000|      0|    }
 1001|       |
 1002|      0|    default:
  ------------------
  |  Branch (1002:5): [True: 0, False: 69]
  ------------------
 1003|       |        // default is to require a match; all exceptions should have case statements above
 1004|       |
 1005|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (1005:13): [True: 0, False: 0]
  ------------------
 1006|      0|            return node;
 1007|      0|        else
 1008|      0|            return nullptr;
 1009|     69|    }
 1010|       |
 1011|     68|    bool canPromoteConstant = true;
 1012|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
 1013|       |    // 16-bit types, so disable promotion for those types.
 1014|       |    // Many issues with this, from JohnK:
 1015|       |    //  - this isn't really right to discuss SPIR-V here
 1016|       |    //  - this could easily be entirely about scalars, so is overstepping
 1017|       |    //  - we should be looking at what the shader asked for, and saying whether or
 1018|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
 1019|       |    //    changing language sementics on the fly by asking what extensions are in use
 1020|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
 1021|     68|    switch (op) {
 1022|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1022:5): [True: 0, False: 68]
  ------------------
 1023|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1023:5): [True: 0, False: 68]
  ------------------
 1024|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1024:5): [True: 0, False: 68]
  ------------------
 1025|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1025:5): [True: 0, False: 68]
  ------------------
 1026|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1026:5): [True: 0, False: 68]
  ------------------
 1027|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1027:5): [True: 0, False: 68]
  ------------------
 1028|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1028:5): [True: 0, False: 68]
  ------------------
 1029|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1029:5): [True: 0, False: 68]
  ------------------
 1030|      0|        canPromoteConstant = true;
 1031|      0|        break;
 1032|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1032:5): [True: 0, False: 68]
  ------------------
 1033|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1033:30): [True: 0, False: 0]
  ------------------
 1034|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (1034:30): [True: 0, False: 0]
  ------------------
 1035|      0|        break;
 1036|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (1036:5): [True: 0, False: 68]
  ------------------
 1037|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1037:5): [True: 0, False: 68]
  ------------------
 1038|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1038:30): [True: 0, False: 0]
  ------------------
 1039|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1039:30): [True: 0, False: 0]
  ------------------
 1040|      0|        break;
 1041|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1041:5): [True: 0, False: 68]
  ------------------
 1042|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1042:5): [True: 0, False: 68]
  ------------------
 1043|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1043:30): [True: 0, False: 0]
  ------------------
 1044|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1044:30): [True: 0, False: 0]
  ------------------
 1045|      0|        break;
 1046|     68|    default:
  ------------------
  |  Branch (1046:5): [True: 68, False: 0]
  ------------------
 1047|     68|        break;
 1048|     68|    }
 1049|       |
 1050|     68|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1050:9): [True: 68, False: 0]
  |  Branch (1050:31): [True: 67, False: 1]
  ------------------
 1051|     67|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1052|       |
 1053|       |    //
 1054|       |    // Add a new newNode for the conversion.
 1055|       |    //
 1056|      1|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1057|       |
 1058|      1|    return newNode;
 1059|     68|}
_ZN7glslang13TIntermediate21addUniShapeConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
 1074|     40|{
 1075|       |    // some source languages don't do this
 1076|     40|    switch (getSource()) {
 1077|      2|    case EShSourceHlsl:
  ------------------
  |  Branch (1077:5): [True: 2, False: 38]
  ------------------
 1078|      2|        break;
 1079|     38|    case EShSourceGlsl:
  ------------------
  |  Branch (1079:5): [True: 38, False: 2]
  ------------------
 1080|     38|    default:
  ------------------
  |  Branch (1080:5): [True: 0, False: 40]
  ------------------
 1081|     38|        return node;
 1082|     40|    }
 1083|       |
 1084|       |    // some operations don't do this
 1085|      2|    switch (op) {
 1086|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (1086:5): [True: 0, False: 2]
  ------------------
 1087|      0|    case EOpReturn:
  ------------------
  |  Branch (1087:5): [True: 0, False: 2]
  ------------------
 1088|      0|        break;
 1089|       |
 1090|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1090:5): [True: 0, False: 2]
  ------------------
 1091|       |        // want to support vector *= scalar native ops in AST and lower, not smear, similarly for
 1092|       |        // matrix *= scalar, etc.
 1093|       |
 1094|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1094:5): [True: 0, False: 2]
  ------------------
 1095|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1095:5): [True: 0, False: 2]
  ------------------
 1096|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1096:5): [True: 0, False: 2]
  ------------------
 1097|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1097:5): [True: 0, False: 2]
  ------------------
 1098|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1098:5): [True: 0, False: 2]
  ------------------
 1099|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1099:5): [True: 0, False: 2]
  ------------------
 1100|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1100:5): [True: 0, False: 2]
  ------------------
 1101|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1101:5): [True: 0, False: 2]
  ------------------
 1102|      0|        if (node->getVectorSize() == 1)
  ------------------
  |  Branch (1102:13): [True: 0, False: 0]
  ------------------
 1103|      0|            return node;
 1104|      0|        break;
 1105|       |
 1106|      0|    case EOpAssign:
  ------------------
  |  Branch (1106:5): [True: 0, False: 2]
  ------------------
 1107|      0|        break;
 1108|       |
 1109|      2|    case EOpMix:
  ------------------
  |  Branch (1109:5): [True: 2, False: 0]
  ------------------
 1110|      2|        break;
 1111|       |
 1112|      0|    default:
  ------------------
  |  Branch (1112:5): [True: 0, False: 2]
  ------------------
 1113|      0|        return node;
 1114|      2|    }
 1115|       |
 1116|      2|    return addShapeConversion(type, node);
 1117|      2|}
_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_:
 1127|     69|{
 1128|       |    // some source languages don't do this
 1129|     69|    switch (getSource()) {
 1130|      5|    case EShSourceHlsl:
  ------------------
  |  Branch (1130:5): [True: 5, False: 64]
  ------------------
 1131|      5|        break;
 1132|     64|    case EShSourceGlsl:
  ------------------
  |  Branch (1132:5): [True: 64, False: 5]
  ------------------
 1133|     64|    default:
  ------------------
  |  Branch (1133:5): [True: 0, False: 69]
  ------------------
 1134|     64|        return;
 1135|     69|    }
 1136|       |
 1137|       |    // some operations don't do this
 1138|       |    // 'break' will mean attempt bidirectional conversion
 1139|      5|    switch (op) {
 1140|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1140:5): [True: 0, False: 5]
  ------------------
 1141|      0|    case EOpAssign:
  ------------------
  |  Branch (1141:5): [True: 0, False: 5]
  ------------------
 1142|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1142:5): [True: 0, False: 5]
  ------------------
 1143|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1143:5): [True: 0, False: 5]
  ------------------
 1144|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1144:5): [True: 0, False: 5]
  ------------------
 1145|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1145:5): [True: 0, False: 5]
  ------------------
 1146|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1146:5): [True: 0, False: 5]
  ------------------
 1147|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1147:5): [True: 0, False: 5]
  ------------------
 1148|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1148:5): [True: 0, False: 5]
  ------------------
 1149|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1149:5): [True: 0, False: 5]
  ------------------
 1150|       |        // switch to unidirectional conversion (the lhs can't change)
 1151|      0|        rhsNode = addUniShapeConversion(op, lhsNode->getType(), rhsNode);
 1152|      0|        return;
 1153|       |
 1154|      0|    case EOpMul:
  ------------------
  |  Branch (1154:5): [True: 0, False: 5]
  ------------------
 1155|       |        // matrix multiply does not change shapes
 1156|      0|        if (lhsNode->isMatrix() && rhsNode->isMatrix())
  ------------------
  |  Branch (1156:13): [True: 0, False: 0]
  |  Branch (1156:36): [True: 0, False: 0]
  ------------------
 1157|      0|            return;
 1158|      0|        [[fallthrough]];
 1159|      1|    case EOpAdd:
  ------------------
  |  Branch (1159:5): [True: 1, False: 4]
  ------------------
 1160|      2|    case EOpSub:
  ------------------
  |  Branch (1160:5): [True: 1, False: 4]
  ------------------
 1161|      2|    case EOpDiv:
  ------------------
  |  Branch (1161:5): [True: 0, False: 5]
  ------------------
 1162|       |        // want to support vector * scalar native ops in AST and lower, not smear, similarly for
 1163|       |        // matrix * vector, etc.
 1164|      2|        if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1164:13): [True: 2, False: 0]
  |  Branch (1164:46): [True: 0, False: 0]
  ------------------
 1165|      2|            return;
 1166|      0|        break;
 1167|       |
 1168|      0|    case EOpRightShift:
  ------------------
  |  Branch (1168:5): [True: 0, False: 5]
  ------------------
 1169|      0|    case EOpLeftShift:
  ------------------
  |  Branch (1169:5): [True: 0, False: 5]
  ------------------
 1170|       |        // can natively support the right operand being a scalar and the left a vector,
 1171|       |        // but not the reverse
 1172|      0|        if (rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1172:13): [True: 0, False: 0]
  ------------------
 1173|      0|            return;
 1174|      0|        break;
 1175|       |
 1176|      0|    case EOpLessThan:
  ------------------
  |  Branch (1176:5): [True: 0, False: 5]
  ------------------
 1177|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (1177:5): [True: 0, False: 5]
  ------------------
 1178|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (1178:5): [True: 0, False: 5]
  ------------------
 1179|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (1179:5): [True: 0, False: 5]
  ------------------
 1180|       |
 1181|      0|    case EOpEqual:
  ------------------
  |  Branch (1181:5): [True: 0, False: 5]
  ------------------
 1182|      0|    case EOpNotEqual:
  ------------------
  |  Branch (1182:5): [True: 0, False: 5]
  ------------------
 1183|       |
 1184|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (1184:5): [True: 0, False: 5]
  ------------------
 1185|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (1185:5): [True: 0, False: 5]
  ------------------
 1186|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (1186:5): [True: 0, False: 5]
  ------------------
 1187|       |
 1188|      0|    case EOpAnd:
  ------------------
  |  Branch (1188:5): [True: 0, False: 5]
  ------------------
 1189|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (1189:5): [True: 0, False: 5]
  ------------------
 1190|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (1190:5): [True: 0, False: 5]
  ------------------
 1191|       |
 1192|      3|    case EOpMix:
  ------------------
  |  Branch (1192:5): [True: 3, False: 2]
  ------------------
 1193|      3|        break;
 1194|       |
 1195|      0|    default:
  ------------------
  |  Branch (1195:5): [True: 0, False: 5]
  ------------------
 1196|      0|        return;
 1197|      5|    }
 1198|       |
 1199|       |    // Do bidirectional conversions
 1200|      3|    if (lhsNode->getType().isScalarOrVec1() || rhsNode->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (1200:9): [True: 3, False: 0]
  |  Branch (1200:48): [True: 0, False: 0]
  ------------------
 1201|      3|        if (lhsNode->getType().isScalarOrVec1())
  ------------------
  |  Branch (1201:13): [True: 3, False: 0]
  ------------------
 1202|      3|            lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1203|      0|        else
 1204|      0|            rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1205|      3|    }
 1206|      3|    lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1207|      3|    rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1208|      3|}
_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE:
 1220|     11|{
 1221|       |    // no conversion needed
 1222|     11|    if (node->getType() == type)
  ------------------
  |  Branch (1222:9): [True: 7, False: 4]
  ------------------
 1223|      7|        return node;
 1224|       |
 1225|       |    // structures and arrays don't change shape, either to or from
 1226|      4|    if (node->getType().isStruct() || node->getType().isArray() ||
  ------------------
  |  Branch (1226:9): [True: 0, False: 4]
  |  Branch (1226:39): [True: 0, False: 4]
  ------------------
 1227|      4|        type.isStruct() || type.isArray())
  ------------------
  |  Branch (1227:9): [True: 0, False: 4]
  |  Branch (1227:28): [True: 0, False: 4]
  ------------------
 1228|      0|        return node;
 1229|       |
 1230|       |    // The new node that handles the conversion
 1231|      4|    TOperator constructorOp = mapTypeToConstructorOp(type);
 1232|       |
 1233|      4|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1233:9): [True: 4, False: 0]
  ------------------
 1234|       |        // HLSL rules for scalar, vector and matrix conversions:
 1235|       |        // 1) scalar can become anything, initializing every component with its value
 1236|       |        // 2) vector and matrix can become scalar, first element is used (warning: truncation)
 1237|       |        // 3) matrix can become matrix with less rows and/or columns (warning: truncation)
 1238|       |        // 4) vector can become vector with less rows size (warning: truncation)
 1239|       |        // 5a) vector 4 can become 2x2 matrix (special case) (same packing layout, its a reinterpret)
 1240|       |        // 5b) 2x2 matrix can become vector 4 (special case) (same packing layout, its a reinterpret)
 1241|       |
 1242|      4|        const TType &sourceType = node->getType();
 1243|       |
 1244|       |        // rule 1 for scalar to matrix is special
 1245|      4|        if (sourceType.isScalarOrVec1() && type.isMatrix()) {
  ------------------
  |  Branch (1245:13): [True: 4, False: 0]
  |  Branch (1245:44): [True: 0, False: 4]
  ------------------
 1246|       |
 1247|       |            // HLSL semantics: the scalar (or vec1) is replicated to every component of the matrix.  Left to its
 1248|       |            // own devices, the constructor from a scalar would populate the diagonal.  This forces replication
 1249|       |            // to every matrix element.
 1250|       |
 1251|       |            // Note that if the node is complex (e.g, a function call), we don't want to duplicate it here
 1252|       |            // repeatedly, so we copy it to a temp, then use the temp.
 1253|      0|            const int matSize = type.computeNumComponents();
 1254|      0|            TIntermAggregate* rhsAggregate = new TIntermAggregate();
 1255|       |
 1256|      0|            const bool isSimple = (node->getAsSymbolNode() != nullptr) || (node->getAsConstantUnion() != nullptr);
  ------------------
  |  Branch (1256:35): [True: 0, False: 0]
  |  Branch (1256:75): [True: 0, False: 0]
  ------------------
 1257|       |
 1258|      0|            if (!isSimple) {
  ------------------
  |  Branch (1258:17): [True: 0, False: 0]
  ------------------
 1259|      0|                assert(0); // TODO: use node replicator service when available.
 1260|      0|            }
 1261|       |
 1262|      0|            for (int x = 0; x < matSize; ++x)
  ------------------
  |  Branch (1262:29): [True: 0, False: 0]
  ------------------
 1263|      0|                rhsAggregate->getSequence().push_back(node);
 1264|       |
 1265|      0|            return setAggregateOperator(rhsAggregate, constructorOp, type, node->getLoc());
 1266|      0|        }
 1267|       |
 1268|       |        // rule 1 and 2
 1269|      4|        if ((sourceType.isScalar() && !type.isScalar()) || (!sourceType.isScalar() && type.isScalar()))
  ------------------
  |  Branch (1269:14): [True: 4, False: 0]
  |  Branch (1269:39): [True: 4, False: 0]
  |  Branch (1269:61): [True: 0, False: 0]
  |  Branch (1269:87): [True: 0, False: 0]
  ------------------
 1270|      4|            return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1271|       |
 1272|       |        // rule 3 and 5b
 1273|      0|        if (sourceType.isMatrix()) {
  ------------------
  |  Branch (1273:13): [True: 0, False: 0]
  ------------------
 1274|       |            // rule 3
 1275|      0|            if (type.isMatrix()) {
  ------------------
  |  Branch (1275:17): [True: 0, False: 0]
  ------------------
 1276|      0|                if ((sourceType.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getMatrixRows()) &&
  ------------------
  |  Branch (1276:22): [True: 0, False: 0]
  |  Branch (1276:76): [True: 0, False: 0]
  ------------------
 1277|      0|                    sourceType.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrixRows())
  ------------------
  |  Branch (1277:21): [True: 0, False: 0]
  |  Branch (1277:75): [True: 0, False: 0]
  ------------------
 1278|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1279|       |            // rule 5b
 1280|      0|            } else if (type.isVector()) {
  ------------------
  |  Branch (1280:24): [True: 0, False: 0]
  ------------------
 1281|      0|                if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == 2)
  ------------------
  |  Branch (1281:21): [True: 0, False: 0]
  |  Branch (1281:50): [True: 0, False: 0]
  |  Branch (1281:85): [True: 0, False: 0]
  ------------------
 1282|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1283|      0|            }
 1284|      0|        }
 1285|       |
 1286|       |        // rule 4 and 5a
 1287|      0|        if (sourceType.isVector()) {
  ------------------
  |  Branch (1287:13): [True: 0, False: 0]
  ------------------
 1288|       |            // rule 4
 1289|      0|            if (type.isVector())
  ------------------
  |  Branch (1289:17): [True: 0, False: 0]
  ------------------
 1290|      0|            {
 1291|      0|                if (sourceType.getVectorSize() > type.getVectorSize())
  ------------------
  |  Branch (1291:21): [True: 0, False: 0]
  ------------------
 1292|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1293|       |            // rule 5a
 1294|      0|            } else if (type.isMatrix()) {
  ------------------
  |  Branch (1294:24): [True: 0, False: 0]
  ------------------
 1295|      0|                if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2)
  ------------------
  |  Branch (1295:21): [True: 0, False: 0]
  |  Branch (1295:56): [True: 0, False: 0]
  |  Branch (1295:85): [True: 0, False: 0]
  ------------------
 1296|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1297|      0|            }
 1298|      0|        }
 1299|      0|    }
 1300|       |
 1301|       |    // scalar -> vector or vec1 -> vector or
 1302|       |    // vector -> scalar or
 1303|       |    // bigger vector -> smaller vector
 1304|      0|    if ((node->getType().isScalarOrVec1() && type.isVector()) ||
  ------------------
  |  Branch (1304:10): [True: 0, False: 0]
  |  Branch (1304:46): [True: 0, False: 0]
  ------------------
 1305|      0|        (node->getType().isVector() && type.isScalar()) ||
  ------------------
  |  Branch (1305:10): [True: 0, False: 0]
  |  Branch (1305:40): [True: 0, False: 0]
  ------------------
 1306|      0|        (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize()))
  ------------------
  |  Branch (1306:10): [True: 0, False: 0]
  |  Branch (1306:30): [True: 0, False: 0]
  |  Branch (1306:49): [True: 0, False: 0]
  ------------------
 1307|      0|        return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1308|       |
 1309|      0|    return node;
 1310|      0|}
_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE:
 1484|     16|{
 1485|     16|    if ((isEsProfile() && version < 310 ) || version == 110)
  ------------------
  |  Branch (1485:10): [True: 0, False: 16]
  |  Branch (1485:27): [True: 0, False: 0]
  |  Branch (1485:46): [True: 0, False: 16]
  ------------------
 1486|      0|        return false;
 1487|       |
 1488|     16|    if (from == to)
  ------------------
  |  Branch (1488:9): [True: 0, False: 16]
  ------------------
 1489|      0|        return true;
 1490|       |
 1491|       |    // TODO: Move more policies into language-specific handlers.
 1492|       |    // Some languages allow more general (or potentially, more specific) conversions under some conditions.
 1493|     16|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1493:9): [True: 16, False: 0]
  ------------------
 1494|     16|        const bool fromConvertable = (from == EbtFloat || from == EbtDouble || from == EbtInt || from == EbtUint || from == EbtBool);
  ------------------
  |  Branch (1494:39): [True: 0, False: 16]
  |  Branch (1494:59): [True: 0, False: 16]
  |  Branch (1494:80): [True: 9, False: 7]
  |  Branch (1494:98): [True: 5, False: 2]
  |  Branch (1494:117): [True: 2, False: 0]
  ------------------
 1495|     16|        const bool toConvertable = (to == EbtFloat || to == EbtDouble || to == EbtInt || to == EbtUint || to == EbtBool);
  ------------------
  |  Branch (1495:37): [True: 0, False: 16]
  |  Branch (1495:55): [True: 0, False: 16]
  |  Branch (1495:74): [True: 5, False: 11]
  |  Branch (1495:90): [True: 5, False: 6]
  |  Branch (1495:107): [True: 6, False: 0]
  ------------------
 1496|       |
 1497|     16|        if (fromConvertable && toConvertable) {
  ------------------
  |  Branch (1497:13): [True: 16, False: 0]
  |  Branch (1497:32): [True: 16, False: 0]
  ------------------
 1498|     16|            switch (op) {
 1499|      0|            case EOpAndAssign:               // assignments can perform arbitrary conversions
  ------------------
  |  Branch (1499:13): [True: 0, False: 16]
  ------------------
 1500|      0|            case EOpInclusiveOrAssign:       // ...
  ------------------
  |  Branch (1500:13): [True: 0, False: 16]
  ------------------
 1501|      0|            case EOpExclusiveOrAssign:       // ...
  ------------------
  |  Branch (1501:13): [True: 0, False: 16]
  ------------------
 1502|      0|            case EOpAssign:                  // ...
  ------------------
  |  Branch (1502:13): [True: 0, False: 16]
  ------------------
 1503|      0|            case EOpAddAssign:               // ...
  ------------------
  |  Branch (1503:13): [True: 0, False: 16]
  ------------------
 1504|      0|            case EOpSubAssign:               // ...
  ------------------
  |  Branch (1504:13): [True: 0, False: 16]
  ------------------
 1505|      0|            case EOpMulAssign:               // ...
  ------------------
  |  Branch (1505:13): [True: 0, False: 16]
  ------------------
 1506|      0|            case EOpVectorTimesScalarAssign: // ...
  ------------------
  |  Branch (1506:13): [True: 0, False: 16]
  ------------------
 1507|      0|            case EOpMatrixTimesScalarAssign: // ...
  ------------------
  |  Branch (1507:13): [True: 0, False: 16]
  ------------------
 1508|      0|            case EOpDivAssign:               // ...
  ------------------
  |  Branch (1508:13): [True: 0, False: 16]
  ------------------
 1509|      0|            case EOpModAssign:               // ...
  ------------------
  |  Branch (1509:13): [True: 0, False: 16]
  ------------------
 1510|      0|            case EOpReturn:                  // function returns can also perform arbitrary conversions
  ------------------
  |  Branch (1510:13): [True: 0, False: 16]
  ------------------
 1511|      0|            case EOpFunctionCall:            // conversion of a calling parameter
  ------------------
  |  Branch (1511:13): [True: 0, False: 16]
  ------------------
 1512|      4|            case EOpLogicalNot:
  ------------------
  |  Branch (1512:13): [True: 4, False: 12]
  ------------------
 1513|      4|            case EOpLogicalAnd:
  ------------------
  |  Branch (1513:13): [True: 0, False: 16]
  ------------------
 1514|      4|            case EOpLogicalOr:
  ------------------
  |  Branch (1514:13): [True: 0, False: 16]
  ------------------
 1515|      4|            case EOpLogicalXor:
  ------------------
  |  Branch (1515:13): [True: 0, False: 16]
  ------------------
 1516|      4|            case EOpConstructStruct:
  ------------------
  |  Branch (1516:13): [True: 0, False: 16]
  ------------------
 1517|      4|                return true;
 1518|     12|            default:
  ------------------
  |  Branch (1518:13): [True: 12, False: 4]
  ------------------
 1519|     12|                break;
 1520|     16|            }
 1521|     16|        }
 1522|     16|    }
 1523|       |
 1524|     12|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1524:9): [True: 12, False: 0]
  ------------------
 1525|       |        // HLSL
 1526|     12|        if (from == EbtBool && (to == EbtInt || to == EbtUint || to == EbtFloat))
  ------------------
  |  Branch (1526:13): [True: 2, False: 10]
  |  Branch (1526:33): [True: 1, False: 1]
  |  Branch (1526:49): [True: 1, False: 0]
  |  Branch (1526:66): [True: 0, False: 0]
  ------------------
 1527|      2|            return true;
 1528|     12|    } else {
 1529|       |        // GLSL
 1530|      0|        if (isIntegralPromotion(from, to) ||
  ------------------
  |  Branch (1530:13): [True: 0, False: 0]
  ------------------
 1531|      0|            isFPPromotion(from, to) ||
  ------------------
  |  Branch (1531:13): [True: 0, False: 0]
  ------------------
 1532|      0|            isIntegralConversion(from, to) ||
  ------------------
  |  Branch (1532:13): [True: 0, False: 0]
  ------------------
 1533|      0|            isFPConversion(from, to) ||
  ------------------
  |  Branch (1533:13): [True: 0, False: 0]
  ------------------
 1534|      0|            isFPIntegralConversion(from, to)) {
  ------------------
  |  Branch (1534:13): [True: 0, False: 0]
  ------------------
 1535|       |
 1536|      0|            if (numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1536:17): [True: 0, False: 0]
  ------------------
 1537|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (1537:17): [True: 0, False: 0]
  ------------------
 1538|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (1538:17): [True: 0, False: 0]
  ------------------
 1539|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (1539:17): [True: 0, False: 0]
  ------------------
 1540|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (1540:17): [True: 0, False: 0]
  ------------------
 1541|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (1541:17): [True: 0, False: 0]
  ------------------
 1542|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (1542:17): [True: 0, False: 0]
  ------------------
 1543|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1543:17): [True: 0, False: 0]
  ------------------
 1544|      0|                return true;
 1545|      0|            }
 1546|      0|        }
 1547|      0|    }
 1548|       |
 1549|     10|    if (isEsProfile()) {
  ------------------
  |  Branch (1549:9): [True: 0, False: 10]
  ------------------
 1550|      0|        switch (to) {
 1551|      0|            case EbtFloat:
  ------------------
  |  Branch (1551:13): [True: 0, False: 0]
  ------------------
 1552|      0|                switch (from) {
 1553|      0|                case EbtInt:
  ------------------
  |  Branch (1553:17): [True: 0, False: 0]
  ------------------
 1554|      0|                case EbtUint:
  ------------------
  |  Branch (1554:17): [True: 0, False: 0]
  ------------------
 1555|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1556|      0|                default:
  ------------------
  |  Branch (1556:17): [True: 0, False: 0]
  ------------------
 1557|      0|                    return false;
 1558|      0|                }
 1559|      0|            case EbtUint:
  ------------------
  |  Branch (1559:13): [True: 0, False: 0]
  ------------------
 1560|      0|                switch (from) {
 1561|      0|                case EbtInt:
  ------------------
  |  Branch (1561:17): [True: 0, False: 0]
  ------------------
 1562|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1563|      0|                default:
  ------------------
  |  Branch (1563:17): [True: 0, False: 0]
  ------------------
 1564|      0|                    return false;
 1565|      0|                }
 1566|      0|            default:
  ------------------
  |  Branch (1566:13): [True: 0, False: 0]
  ------------------
 1567|      0|                return false;
 1568|      0|        }
 1569|     10|    } else {
 1570|     10|        switch (to) {
 1571|      0|        case EbtDouble:
  ------------------
  |  Branch (1571:9): [True: 0, False: 10]
  ------------------
 1572|      0|            switch (from) {
 1573|      0|            case EbtInt:
  ------------------
  |  Branch (1573:13): [True: 0, False: 0]
  ------------------
 1574|      0|            case EbtUint:
  ------------------
  |  Branch (1574:13): [True: 0, False: 0]
  ------------------
 1575|      0|            case EbtInt64:
  ------------------
  |  Branch (1575:13): [True: 0, False: 0]
  ------------------
 1576|      0|            case EbtUint64:
  ------------------
  |  Branch (1576:13): [True: 0, False: 0]
  ------------------
 1577|      0|            case EbtFloat:
  ------------------
  |  Branch (1577:13): [True: 0, False: 0]
  ------------------
 1578|      0|                return version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64);
  ------------------
  |  Branch (1578:24): [True: 0, False: 0]
  |  Branch (1578:42): [True: 0, False: 0]
  ------------------
 1579|      0|            case EbtInt16:
  ------------------
  |  Branch (1579:13): [True: 0, False: 0]
  ------------------
 1580|      0|            case EbtUint16:
  ------------------
  |  Branch (1580:13): [True: 0, False: 0]
  ------------------
 1581|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1581:25): [True: 0, False: 0]
  |  Branch (1581:43): [True: 0, False: 0]
  ------------------
 1582|      0|                                         (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1582:43): [True: 0, False: 0]
  ------------------
 1583|      0|                                          numericFeatures.contains(TNumericFeatures::gpu_shader_int16));
  ------------------
  |  Branch (1583:43): [True: 0, False: 0]
  ------------------
 1584|      0|            case EbtFloat16:
  ------------------
  |  Branch (1584:13): [True: 0, False: 0]
  ------------------
 1585|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1585:25): [True: 0, False: 0]
  |  Branch (1585:43): [True: 0, False: 0]
  ------------------
 1586|      0|                                        (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1586:42): [True: 0, False: 0]
  ------------------
 1587|      0|                                        numericFeatures.contains(TNumericFeatures::gpu_shader_half_float));
  ------------------
  |  Branch (1587:41): [True: 0, False: 0]
  ------------------
 1588|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1588:13): [True: 0, False: 0]
  ------------------
 1589|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1589:13): [True: 0, False: 0]
  ------------------
 1590|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1590:13): [True: 0, False: 0]
  ------------------
 1591|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1591:13): [True: 0, False: 0]
  ------------------
 1592|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1592:13): [True: 0, False: 0]
  ------------------
 1593|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1593:13): [True: 0, False: 0]
  ------------------
 1594|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1594:13): [True: 0, False: 0]
  ------------------
 1595|      0|                return true;
 1596|      0|            case EbtInt8:
  ------------------
  |  Branch (1596:13): [True: 0, False: 0]
  ------------------
 1597|      0|            case EbtUint8:
  ------------------
  |  Branch (1597:13): [True: 0, False: 0]
  ------------------
 1598|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1599|      0|            default:
  ------------------
  |  Branch (1599:13): [True: 0, False: 0]
  ------------------
 1600|      0|                return false;
 1601|      0|           }
 1602|      0|        case EbtFloat:
  ------------------
  |  Branch (1602:9): [True: 0, False: 10]
  ------------------
 1603|      0|            switch (from) {
 1604|      0|            case EbtInt:
  ------------------
  |  Branch (1604:13): [True: 0, False: 0]
  ------------------
 1605|      0|            case EbtUint:
  ------------------
  |  Branch (1605:13): [True: 0, False: 0]
  ------------------
 1606|      0|                 return true;
 1607|      0|            case EbtBool:
  ------------------
  |  Branch (1607:13): [True: 0, False: 0]
  ------------------
 1608|      0|                 return getSource() == EShSourceHlsl;
 1609|      0|            case EbtInt16:
  ------------------
  |  Branch (1609:13): [True: 0, False: 0]
  ------------------
 1610|      0|            case EbtUint16:
  ------------------
  |  Branch (1610:13): [True: 0, False: 0]
  ------------------
 1611|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1611:24): [True: 0, False: 0]
  ------------------
 1612|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1612:24): [True: 0, False: 0]
  ------------------
 1613|      0|            case EbtFloat16:
  ------------------
  |  Branch (1613:13): [True: 0, False: 0]
  ------------------
 1614|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_half_float) ||
  ------------------
  |  Branch (1614:24): [True: 0, False: 0]
  ------------------
 1615|      0|                    numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1615:21): [True: 0, False: 0]
  ------------------
 1616|      0|                    getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1616:21): [True: 0, False: 0]
  ------------------
 1617|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1617:13): [True: 0, False: 0]
  ------------------
 1618|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1618:13): [True: 0, False: 0]
  ------------------
 1619|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1619:13): [True: 0, False: 0]
  ------------------
 1620|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1620:13): [True: 0, False: 0]
  ------------------
 1621|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1621:13): [True: 0, False: 0]
  ------------------
 1622|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1622:13): [True: 0, False: 0]
  ------------------
 1623|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1623:13): [True: 0, False: 0]
  ------------------
 1624|      0|                return true;
 1625|      0|            case EbtInt8:
  ------------------
  |  Branch (1625:13): [True: 0, False: 0]
  ------------------
 1626|      0|            case EbtUint8:
  ------------------
  |  Branch (1626:13): [True: 0, False: 0]
  ------------------
 1627|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1628|      0|            default:
  ------------------
  |  Branch (1628:13): [True: 0, False: 0]
  ------------------
 1629|      0|                 return false;
 1630|      0|            }
 1631|      4|        case EbtUint:
  ------------------
  |  Branch (1631:9): [True: 4, False: 6]
  ------------------
 1632|      4|            switch (from) {
 1633|      4|            case EbtInt:
  ------------------
  |  Branch (1633:13): [True: 4, False: 0]
  ------------------
 1634|      4|                return version >= 400 || getSource() == EShSourceHlsl ||
  ------------------
  |  Branch (1634:24): [True: 4, False: 0]
  |  Branch (1634:42): [True: 0, False: 0]
  ------------------
 1635|      0|						IsRequestedExtension(E_GL_ARB_gpu_shader5) ||
  ------------------
  |  Branch (1635:7): [True: 0, False: 0]
  ------------------
 1636|      0|						numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1636:7): [True: 0, False: 0]
  ------------------
 1637|      0|            case EbtBool:
  ------------------
  |  Branch (1637:13): [True: 0, False: 4]
  ------------------
 1638|      0|                return getSource() == EShSourceHlsl;
 1639|      0|            case EbtInt16:
  ------------------
  |  Branch (1639:13): [True: 0, False: 4]
  ------------------
 1640|      0|            case EbtUint16:
  ------------------
  |  Branch (1640:13): [True: 0, False: 4]
  ------------------
 1641|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1641:24): [True: 0, False: 0]
  ------------------
 1642|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1642:24): [True: 0, False: 0]
  ------------------
 1643|      0|            case EbtInt8:
  ------------------
  |  Branch (1643:13): [True: 0, False: 4]
  ------------------
 1644|      0|            case EbtUint8:
  ------------------
  |  Branch (1644:13): [True: 0, False: 4]
  ------------------
 1645|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1646|      0|            default:
  ------------------
  |  Branch (1646:13): [True: 0, False: 4]
  ------------------
 1647|      0|                return false;
 1648|      4|            }
 1649|      4|        case EbtInt:
  ------------------
  |  Branch (1649:9): [True: 4, False: 6]
  ------------------
 1650|      4|            switch (from) {
 1651|      0|            case EbtBool:
  ------------------
  |  Branch (1651:13): [True: 0, False: 4]
  ------------------
 1652|      0|                return getSource() == EShSourceHlsl;
 1653|      0|            case EbtInt16:
  ------------------
  |  Branch (1653:13): [True: 0, False: 4]
  ------------------
 1654|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1654:24): [True: 0, False: 0]
  ------------------
 1655|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1655:24): [True: 0, False: 0]
  ------------------
 1656|      0|            case EbtInt8:
  ------------------
  |  Branch (1656:13): [True: 0, False: 4]
  ------------------
 1657|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1658|      4|            default:
  ------------------
  |  Branch (1658:13): [True: 4, False: 0]
  ------------------
 1659|      4|                return false;
 1660|      4|            }
 1661|      0|        case EbtUint64:
  ------------------
  |  Branch (1661:9): [True: 0, False: 10]
  ------------------
 1662|      0|            switch (from) {
 1663|      0|            case EbtInt:
  ------------------
  |  Branch (1663:13): [True: 0, False: 0]
  ------------------
 1664|      0|            case EbtUint:
  ------------------
  |  Branch (1664:13): [True: 0, False: 0]
  ------------------
 1665|      0|            case EbtInt64:
  ------------------
  |  Branch (1665:13): [True: 0, False: 0]
  ------------------
 1666|      0|                return true;
 1667|      0|            case EbtInt16:
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|            case EbtUint16:
  ------------------
  |  Branch (1668:13): [True: 0, False: 0]
  ------------------
 1669|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1669:24): [True: 0, False: 0]
  ------------------
 1670|      0|                	numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1670:18): [True: 0, False: 0]
  ------------------
 1671|      0|            case EbtInt8:
  ------------------
  |  Branch (1671:13): [True: 0, False: 0]
  ------------------
 1672|      0|            case EbtUint8:
  ------------------
  |  Branch (1672:13): [True: 0, False: 0]
  ------------------
 1673|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1674|      0|            default:
  ------------------
  |  Branch (1674:13): [True: 0, False: 0]
  ------------------
 1675|      0|                return false;
 1676|      0|            }
 1677|      0|        case EbtInt64:
  ------------------
  |  Branch (1677:9): [True: 0, False: 10]
  ------------------
 1678|      0|            switch (from) {
 1679|      0|            case EbtInt:
  ------------------
  |  Branch (1679:13): [True: 0, False: 0]
  ------------------
 1680|      0|                return true;
 1681|      0|            case EbtInt8:
  ------------------
  |  Branch (1681:13): [True: 0, False: 0]
  ------------------
 1682|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1683|      0|            case EbtInt16:
  ------------------
  |  Branch (1683:13): [True: 0, False: 0]
  ------------------
 1684|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1684:24): [True: 0, False: 0]
  ------------------
 1685|      0|				       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1685:12): [True: 0, False: 0]
  ------------------
 1686|      0|            default:
  ------------------
  |  Branch (1686:13): [True: 0, False: 0]
  ------------------
 1687|      0|                return false;
 1688|      0|            }
 1689|      0|        case EbtFloat16:
  ------------------
  |  Branch (1689:9): [True: 0, False: 10]
  ------------------
 1690|      0|            switch (from) {
 1691|      0|            case EbtInt16:
  ------------------
  |  Branch (1691:13): [True: 0, False: 0]
  ------------------
 1692|      0|            case EbtUint16:
  ------------------
  |  Branch (1692:13): [True: 0, False: 0]
  ------------------
 1693|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1694|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1694:13): [True: 0, False: 0]
  ------------------
 1695|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1695:13): [True: 0, False: 0]
  ------------------
 1696|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  ------------------
 1697|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1697:13): [True: 0, False: 0]
  ------------------
 1698|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1698:13): [True: 0, False: 0]
  ------------------
 1699|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1699:13): [True: 0, False: 0]
  ------------------
 1700|      0|                return true;
 1701|      0|            default:
  ------------------
  |  Branch (1701:13): [True: 0, False: 0]
  ------------------
 1702|      0|                break;
 1703|      0|            }
 1704|      0|            return false;
 1705|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1705:9): [True: 0, False: 10]
  ------------------
 1706|      0|            switch (from) {
 1707|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1707:13): [True: 0, False: 0]
  ------------------
 1708|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1708:13): [True: 0, False: 0]
  ------------------
 1709|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1710:13): [True: 0, False: 0]
  ------------------
 1711|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1711:13): [True: 0, False: 0]
  ------------------
 1712|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1712:13): [True: 0, False: 0]
  ------------------
 1713|      0|                return true;
 1714|      0|            default:
  ------------------
  |  Branch (1714:13): [True: 0, False: 0]
  ------------------
 1715|      0|                break;
 1716|      0|            }
 1717|      0|            return false;
 1718|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (1718:9): [True: 0, False: 10]
  ------------------
 1719|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (1719:9): [True: 0, False: 10]
  ------------------
 1720|      0|            switch (from) {
 1721|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1721:13): [True: 0, False: 0]
  ------------------
 1722|      0|                return true;
 1723|      0|            default:
  ------------------
  |  Branch (1723:13): [True: 0, False: 0]
  ------------------
 1724|      0|                break;
 1725|      0|            }
 1726|      0|            return false;
 1727|      0|        case EbtUint16:
  ------------------
  |  Branch (1727:9): [True: 0, False: 10]
  ------------------
 1728|      0|            switch (from) {
 1729|      0|            case EbtInt16:
  ------------------
  |  Branch (1729:13): [True: 0, False: 0]
  ------------------
 1730|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1731|      0|            default:
  ------------------
  |  Branch (1731:13): [True: 0, False: 0]
  ------------------
 1732|      0|                break;
 1733|      0|            }
 1734|      0|            return false;
 1735|      2|        default:
  ------------------
  |  Branch (1735:9): [True: 2, False: 8]
  ------------------
 1736|      2|            return false;
 1737|     10|        }
 1738|     10|    }
 1739|       |
 1740|      0|    return false;
 1741|     10|}
_ZNK7glslang13TIntermediate28getConversionDestinationTypeENS_10TBasicTypeES1_NS_9TOperatorE:
 1849|     16|{
 1850|     16|    TBasicType res0 = EbtNumTypes;
 1851|     16|    TBasicType res1 = EbtNumTypes;
 1852|       |
 1853|     16|    if ((isEsProfile() &&
  ------------------
  |  Branch (1853:10): [True: 10, False: 6]
  ------------------
 1854|     10|        (version < 310 || !numericFeatures.contains(TNumericFeatures::shader_implicit_conversions))) ||
  ------------------
  |  Branch (1854:10): [True: 10, False: 0]
  |  Branch (1854:27): [True: 0, False: 0]
  ------------------
 1855|      6|        version == 110)
  ------------------
  |  Branch (1855:9): [True: 0, False: 6]
  ------------------
 1856|     10|        return std::make_tuple(res0, res1);
 1857|       |
 1858|      6|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1858:9): [True: 6, False: 0]
  ------------------
 1859|      6|        if (canImplicitlyPromote(type1, type0, op)) {
  ------------------
  |  Branch (1859:13): [True: 0, False: 6]
  ------------------
 1860|      0|            res0 = type0;
 1861|      0|            res1 = type0;
 1862|      6|        } else if (canImplicitlyPromote(type0, type1, op)) {
  ------------------
  |  Branch (1862:20): [True: 6, False: 0]
  ------------------
 1863|      6|            res0 = type1;
 1864|      6|            res1 = type1;
 1865|      6|        }
 1866|      6|        return std::make_tuple(res0, res1);
 1867|      6|    }
 1868|       |
 1869|      0|    if ((type0 == EbtDouble && canImplicitlyPromote(type1, EbtDouble, op)) ||
  ------------------
  |  Branch (1869:10): [True: 0, False: 0]
  |  Branch (1869:32): [True: 0, False: 0]
  ------------------
 1870|      0|        (type1 == EbtDouble && canImplicitlyPromote(type0, EbtDouble, op)) ) {
  ------------------
  |  Branch (1870:10): [True: 0, False: 0]
  |  Branch (1870:32): [True: 0, False: 0]
  ------------------
 1871|      0|        res0 = EbtDouble;
 1872|      0|        res1 = EbtDouble;
 1873|      0|    } else if ((type0 == EbtFloat && canImplicitlyPromote(type1, EbtFloat, op)) ||
  ------------------
  |  Branch (1873:17): [True: 0, False: 0]
  |  Branch (1873:38): [True: 0, False: 0]
  ------------------
 1874|      0|               (type1 == EbtFloat && canImplicitlyPromote(type0, EbtFloat, op)) ) {
  ------------------
  |  Branch (1874:17): [True: 0, False: 0]
  |  Branch (1874:38): [True: 0, False: 0]
  ------------------
 1875|      0|        res0 = EbtFloat;
 1876|      0|        res1 = EbtFloat;
 1877|      0|    } else if ((type0 == EbtFloat16 && canImplicitlyPromote(type1, EbtFloat16, op)) ||
  ------------------
  |  Branch (1877:17): [True: 0, False: 0]
  |  Branch (1877:40): [True: 0, False: 0]
  ------------------
 1878|      0|               (type1 == EbtFloat16 && canImplicitlyPromote(type0, EbtFloat16, op)) ) {
  ------------------
  |  Branch (1878:17): [True: 0, False: 0]
  |  Branch (1878:40): [True: 0, False: 0]
  ------------------
 1879|      0|        res0 = EbtFloat16;
 1880|      0|        res1 = EbtFloat16;
 1881|      0|    } else if ((type0 == EbtBFloat16 && canImplicitlyPromote(type1, EbtBFloat16, op)) ||
  ------------------
  |  Branch (1881:17): [True: 0, False: 0]
  |  Branch (1881:41): [True: 0, False: 0]
  ------------------
 1882|      0|               (type1 == EbtBFloat16 && canImplicitlyPromote(type0, EbtBFloat16, op)) ) {
  ------------------
  |  Branch (1882:17): [True: 0, False: 0]
  |  Branch (1882:41): [True: 0, False: 0]
  ------------------
 1883|      0|        res0 = EbtBFloat16;
 1884|      0|        res1 = EbtBFloat16;
 1885|      0|    } else if (isTypeInt(type0) && isTypeInt(type1) &&
  ------------------
  |  Branch (1885:16): [True: 0, False: 0]
  |  Branch (1885:36): [True: 0, False: 0]
  ------------------
 1886|      0|               (canImplicitlyPromote(type0, type1, op) || canImplicitlyPromote(type1, type0, op))) {
  ------------------
  |  Branch (1886:17): [True: 0, False: 0]
  |  Branch (1886:59): [True: 0, False: 0]
  ------------------
 1887|      0|        if ((isTypeSignedInt(type0) && isTypeSignedInt(type1)) ||
  ------------------
  |  Branch (1887:14): [True: 0, False: 0]
  |  Branch (1887:40): [True: 0, False: 0]
  ------------------
 1888|      0|            (isTypeUnsignedInt(type0) && isTypeUnsignedInt(type1))) {
  ------------------
  |  Branch (1888:14): [True: 0, False: 0]
  |  Branch (1888:42): [True: 0, False: 0]
  ------------------
 1889|      0|            if (getTypeRank(type0) < getTypeRank(type1)) {
  ------------------
  |  Branch (1889:17): [True: 0, False: 0]
  ------------------
 1890|      0|                res0 = type1;
 1891|      0|                res1 = type1;
 1892|      0|            } else {
 1893|      0|                res0 = type0;
 1894|      0|                res1 = type0;
 1895|      0|            }
 1896|      0|        } else if (isTypeUnsignedInt(type0) && (getTypeRank(type0) > getTypeRank(type1))) {
  ------------------
  |  Branch (1896:20): [True: 0, False: 0]
  |  Branch (1896:48): [True: 0, False: 0]
  ------------------
 1897|      0|            res0 = type0;
 1898|      0|            res1 = type0;
 1899|      0|        } else if (isTypeUnsignedInt(type1) && (getTypeRank(type1) > getTypeRank(type0))) {
  ------------------
  |  Branch (1899:20): [True: 0, False: 0]
  |  Branch (1899:48): [True: 0, False: 0]
  ------------------
 1900|      0|            res0 = type1;
 1901|      0|            res1 = type1;
 1902|      0|        } else if (isTypeSignedInt(type0)) {
  ------------------
  |  Branch (1902:20): [True: 0, False: 0]
  ------------------
 1903|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type0, type1)) {
  ------------------
  |  Branch (1903:17): [True: 0, False: 0]
  ------------------
 1904|      0|                res0 = type0;
 1905|      0|                res1 = type0;
 1906|      0|            } else {
 1907|      0|                res0 = getCorrespondingUnsignedType(type0);
 1908|      0|                res1 = getCorrespondingUnsignedType(type0);
 1909|      0|            }
 1910|      0|        } else if (isTypeSignedInt(type1)) {
  ------------------
  |  Branch (1910:20): [True: 0, False: 0]
  ------------------
 1911|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type1, type0)) {
  ------------------
  |  Branch (1911:17): [True: 0, False: 0]
  ------------------
 1912|      0|                res0 = type1;
 1913|      0|                res1 = type1;
 1914|      0|            } else {
 1915|      0|                res0 = getCorrespondingUnsignedType(type1);
 1916|      0|                res1 = getCorrespondingUnsignedType(type1);
 1917|      0|            }
 1918|      0|        }
 1919|      0|    }
 1920|       |
 1921|      0|    return std::make_tuple(res0, res1);
 1922|      6|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1928|    530|{
 1929|    530|    TOperator op = EOpNull;
 1930|       |
 1931|    530|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1931:9): [True: 0, False: 530]
  ------------------
 1932|      0|        return EOpConstructNonuniform;
 1933|       |
 1934|    530|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1934:9): [True: 0, False: 530]
  ------------------
 1935|      0|        return EOpConstructCooperativeMatrixNV;
 1936|       |
 1937|    530|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1937:9): [True: 0, False: 530]
  ------------------
 1938|      0|        return EOpConstructCooperativeMatrixKHR;
 1939|       |
 1940|    530|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1940:9): [True: 0, False: 530]
  ------------------
 1941|      0|        return EOpConstructCooperativeVectorNV;
 1942|       |
 1943|    530|    switch (type.getBasicType()) {
 1944|      0|    case EbtStruct:
  ------------------
  |  Branch (1944:5): [True: 0, False: 530]
  ------------------
 1945|      0|        op = EOpConstructStruct;
 1946|      0|        break;
 1947|      0|    case EbtSampler:
  ------------------
  |  Branch (1947:5): [True: 0, False: 530]
  ------------------
 1948|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1948:13): [True: 0, False: 0]
  ------------------
 1949|      0|            op = EOpConstructTextureSampler;
 1950|      0|        break;
 1951|      0|    case EbtFloat:
  ------------------
  |  Branch (1951:5): [True: 0, False: 530]
  ------------------
 1952|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1952:13): [True: 0, False: 0]
  ------------------
 1953|      0|            switch (type.getMatrixCols()) {
 1954|      0|            case 2:
  ------------------
  |  Branch (1954:13): [True: 0, False: 0]
  ------------------
 1955|      0|                switch (type.getMatrixRows()) {
 1956|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1957:17): [True: 0, False: 0]
  ------------------
 1958|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1958:17): [True: 0, False: 0]
  ------------------
 1959|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1959:17): [True: 0, False: 0]
  ------------------
 1960|      0|                }
 1961|      0|                break;
 1962|      0|            case 3:
  ------------------
  |  Branch (1962:13): [True: 0, False: 0]
  ------------------
 1963|      0|                switch (type.getMatrixRows()) {
 1964|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1964:17): [True: 0, False: 0]
  ------------------
 1965|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1965:17): [True: 0, False: 0]
  ------------------
 1966|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1967:17): [True: 0, False: 0]
  ------------------
 1968|      0|                }
 1969|      0|                break;
 1970|      0|            case 4:
  ------------------
  |  Branch (1970:13): [True: 0, False: 0]
  ------------------
 1971|      0|                switch (type.getMatrixRows()) {
 1972|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1972:17): [True: 0, False: 0]
  ------------------
 1973|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1973:17): [True: 0, False: 0]
  ------------------
 1974|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1974:17): [True: 0, False: 0]
  ------------------
 1975|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1975:17): [True: 0, False: 0]
  ------------------
 1976|      0|                }
 1977|      0|                break;
 1978|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1978:13): [True: 0, False: 0]
  ------------------
 1979|      0|            }
 1980|      0|        } else {
 1981|      0|            switch(type.getVectorSize()) {
 1982|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1982:13): [True: 0, False: 0]
  ------------------
 1983|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1983:13): [True: 0, False: 0]
  ------------------
 1984|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1984:13): [True: 0, False: 0]
  ------------------
 1985|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1985:13): [True: 0, False: 0]
  ------------------
 1986|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1986:13): [True: 0, False: 0]
  ------------------
 1987|      0|            }
 1988|      0|        }
 1989|      0|        break;
 1990|    490|    case EbtInt:
  ------------------
  |  Branch (1990:5): [True: 490, False: 40]
  ------------------
 1991|    490|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1991:13): [True: 0, False: 490]
  ------------------
 1992|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1992:21): [True: 0, False: 0]
  ------------------
 1993|      0|            case 2:
  ------------------
  |  Branch (1993:13): [True: 0, False: 0]
  ------------------
 1994|      0|                switch (type.getMatrixRows()) {
 1995|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1995:17): [True: 0, False: 0]
  ------------------
 1996|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1996:17): [True: 0, False: 0]
  ------------------
 1997|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1997:17): [True: 0, False: 0]
  ------------------
 1998|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|                }
 2000|      0|                break;
 2001|      0|            case 3:
  ------------------
  |  Branch (2001:13): [True: 0, False: 0]
  ------------------
 2002|      0|                switch (type.getMatrixRows()) {
 2003|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (2003:17): [True: 0, False: 0]
  ------------------
 2004|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (2004:17): [True: 0, False: 0]
  ------------------
 2005|      0|                case 4: op = EOpConstructIMat3x4; 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 4:
  ------------------
  |  Branch (2009:13): [True: 0, False: 0]
  ------------------
 2010|      0|                switch (type.getMatrixRows()) {
 2011|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (2011:17): [True: 0, False: 0]
  ------------------
 2012|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (2012:17): [True: 0, False: 0]
  ------------------
 2013|      0|                case 4: op = EOpConstructIMat4x4; 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|            }
 2018|    490|        } else {
 2019|    490|            switch(type.getVectorSize()) {
 2020|    447|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (2020:13): [True: 447, False: 43]
  ------------------
 2021|     27|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (2021:13): [True: 27, False: 463]
  ------------------
 2022|     16|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (2022:13): [True: 16, False: 474]
  ------------------
 2023|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (2023:13): [True: 0, False: 490]
  ------------------
 2024|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2024:13): [True: 0, False: 490]
  ------------------
 2025|    490|            }
 2026|    490|        }
 2027|    490|        break;
 2028|    490|    case EbtUint:
  ------------------
  |  Branch (2028:5): [True: 40, False: 490]
  ------------------
 2029|     40|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2029:13): [True: 0, False: 40]
  ------------------
 2030|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2030:21): [True: 0, False: 0]
  ------------------
 2031|      0|            case 2:
  ------------------
  |  Branch (2031:13): [True: 0, False: 0]
  ------------------
 2032|      0|                switch (type.getMatrixRows()) {
 2033|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (2033:17): [True: 0, False: 0]
  ------------------
 2034|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (2034:17): [True: 0, False: 0]
  ------------------
 2035|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (2035:17): [True: 0, False: 0]
  ------------------
 2036|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2036:17): [True: 0, False: 0]
  ------------------
 2037|      0|                }
 2038|      0|                break;
 2039|      0|            case 3:
  ------------------
  |  Branch (2039:13): [True: 0, False: 0]
  ------------------
 2040|      0|                switch (type.getMatrixRows()) {
 2041|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (2041:17): [True: 0, False: 0]
  ------------------
 2042|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (2042:17): [True: 0, False: 0]
  ------------------
 2043|      0|                case 4: op = EOpConstructUMat3x4; 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 4:
  ------------------
  |  Branch (2047:13): [True: 0, False: 0]
  ------------------
 2048|      0|                switch (type.getMatrixRows()) {
 2049|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (2049:17): [True: 0, False: 0]
  ------------------
 2050|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (2050:17): [True: 0, False: 0]
  ------------------
 2051|      0|                case 4: op = EOpConstructUMat4x4; 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|            }
 2056|     40|        } else {
 2057|     40|            switch(type.getVectorSize()) {
 2058|      0|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2058:13): [True: 0, False: 40]
  ------------------
 2059|      4|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2059:13): [True: 4, False: 36]
  ------------------
 2060|     36|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2060:13): [True: 36, False: 4]
  ------------------
 2061|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2061:13): [True: 0, False: 40]
  ------------------
 2062|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2062:13): [True: 0, False: 40]
  ------------------
 2063|     40|            }
 2064|     40|        }
 2065|     40|        break;
 2066|     40|    case EbtBool:
  ------------------
  |  Branch (2066:5): [True: 0, False: 530]
  ------------------
 2067|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2067:13): [True: 0, False: 0]
  ------------------
 2068|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2068:21): [True: 0, False: 0]
  ------------------
 2069|      0|            case 2:
  ------------------
  |  Branch (2069:13): [True: 0, False: 0]
  ------------------
 2070|      0|                switch (type.getMatrixRows()) {
 2071|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2071:17): [True: 0, False: 0]
  ------------------
 2072|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2072:17): [True: 0, False: 0]
  ------------------
 2073|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2073:17): [True: 0, False: 0]
  ------------------
 2074|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2074:17): [True: 0, False: 0]
  ------------------
 2075|      0|                }
 2076|      0|                break;
 2077|      0|            case 3:
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|                switch (type.getMatrixRows()) {
 2079|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2079:17): [True: 0, False: 0]
  ------------------
 2080|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2080:17): [True: 0, False: 0]
  ------------------
 2081|      0|                case 4: op = EOpConstructBMat3x4; 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 4:
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|                switch (type.getMatrixRows()) {
 2087|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2087:17): [True: 0, False: 0]
  ------------------
 2088|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2088:17): [True: 0, False: 0]
  ------------------
 2089|      0|                case 4: op = EOpConstructBMat4x4; 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|            }
 2094|      0|        } else {
 2095|      0|            switch(type.getVectorSize()) {
 2096|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2096:13): [True: 0, False: 0]
  ------------------
 2097|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2097:13): [True: 0, False: 0]
  ------------------
 2098|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2098:13): [True: 0, False: 0]
  ------------------
 2099|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2099:13): [True: 0, False: 0]
  ------------------
 2100|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2100:13): [True: 0, False: 0]
  ------------------
 2101|      0|            }
 2102|      0|        }
 2103|      0|        break;
 2104|      0|    case EbtDouble:
  ------------------
  |  Branch (2104:5): [True: 0, False: 530]
  ------------------
 2105|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 0]
  ------------------
 2106|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2106:21): [True: 0, False: 0]
  ------------------
 2107|      0|            case 2:
  ------------------
  |  Branch (2107:13): [True: 0, False: 0]
  ------------------
 2108|      0|                switch (type.getMatrixRows()) {
 2109|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2109:17): [True: 0, False: 0]
  ------------------
 2110|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2110:17): [True: 0, False: 0]
  ------------------
 2111|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2111:17): [True: 0, False: 0]
  ------------------
 2112|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2112:17): [True: 0, False: 0]
  ------------------
 2113|      0|                }
 2114|      0|                break;
 2115|      0|            case 3:
  ------------------
  |  Branch (2115:13): [True: 0, False: 0]
  ------------------
 2116|      0|                switch (type.getMatrixRows()) {
 2117|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2117:17): [True: 0, False: 0]
  ------------------
 2118|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2118:17): [True: 0, False: 0]
  ------------------
 2119|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2119:17): [True: 0, False: 0]
  ------------------
 2120|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2120:17): [True: 0, False: 0]
  ------------------
 2121|      0|                }
 2122|      0|                break;
 2123|      0|            case 4:
  ------------------
  |  Branch (2123:13): [True: 0, False: 0]
  ------------------
 2124|      0|                switch (type.getMatrixRows()) {
 2125|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2125:17): [True: 0, False: 0]
  ------------------
 2126|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2126:17): [True: 0, False: 0]
  ------------------
 2127|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2127:17): [True: 0, False: 0]
  ------------------
 2128|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2128:17): [True: 0, False: 0]
  ------------------
 2129|      0|                }
 2130|      0|                break;
 2131|      0|            }
 2132|      0|        } else {
 2133|      0|            switch(type.getVectorSize()) {
 2134|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2134:13): [True: 0, False: 0]
  ------------------
 2135|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2135:13): [True: 0, False: 0]
  ------------------
 2136|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2136:13): [True: 0, False: 0]
  ------------------
 2137|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2137:13): [True: 0, False: 0]
  ------------------
 2138|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2138:13): [True: 0, False: 0]
  ------------------
 2139|      0|            }
 2140|      0|        }
 2141|      0|        break;
 2142|      0|    case EbtFloat16:
  ------------------
  |  Branch (2142:5): [True: 0, False: 530]
  ------------------
 2143|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2143:13): [True: 0, False: 0]
  ------------------
 2144|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2144:21): [True: 0, False: 0]
  ------------------
 2145|      0|            case 2:
  ------------------
  |  Branch (2145:13): [True: 0, False: 0]
  ------------------
 2146|      0|                switch (type.getMatrixRows()) {
 2147|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2147:17): [True: 0, False: 0]
  ------------------
 2148|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2148:17): [True: 0, False: 0]
  ------------------
 2149|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2149:17): [True: 0, False: 0]
  ------------------
 2150|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2150:17): [True: 0, False: 0]
  ------------------
 2151|      0|                }
 2152|      0|                break;
 2153|      0|            case 3:
  ------------------
  |  Branch (2153:13): [True: 0, False: 0]
  ------------------
 2154|      0|                switch (type.getMatrixRows()) {
 2155|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2155:17): [True: 0, False: 0]
  ------------------
 2156|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2156:17): [True: 0, False: 0]
  ------------------
 2157|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2157:17): [True: 0, False: 0]
  ------------------
 2158|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2158:17): [True: 0, False: 0]
  ------------------
 2159|      0|                }
 2160|      0|                break;
 2161|      0|            case 4:
  ------------------
  |  Branch (2161:13): [True: 0, False: 0]
  ------------------
 2162|      0|                switch (type.getMatrixRows()) {
 2163|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2163:17): [True: 0, False: 0]
  ------------------
 2164|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2164:17): [True: 0, False: 0]
  ------------------
 2165|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2165:17): [True: 0, False: 0]
  ------------------
 2166|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2166:17): [True: 0, False: 0]
  ------------------
 2167|      0|                }
 2168|      0|                break;
 2169|      0|            }
 2170|      0|        }
 2171|      0|        else {
 2172|      0|            switch (type.getVectorSize()) {
 2173|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2173:13): [True: 0, False: 0]
  ------------------
 2174|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2174:13): [True: 0, False: 0]
  ------------------
 2175|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2175:13): [True: 0, False: 0]
  ------------------
 2176|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2176:13): [True: 0, False: 0]
  ------------------
 2177|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2177:13): [True: 0, False: 0]
  ------------------
 2178|      0|            }
 2179|      0|        }
 2180|      0|        break;
 2181|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2181:5): [True: 0, False: 530]
  ------------------
 2182|      0|        switch (type.getVectorSize()) {
 2183|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2184:9): [True: 0, False: 0]
  ------------------
 2185|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2185:9): [True: 0, False: 0]
  ------------------
 2186|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2186:9): [True: 0, False: 0]
  ------------------
 2187|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2187:9): [True: 0, False: 0]
  ------------------
 2188|      0|        }
 2189|      0|        break;
 2190|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2190:5): [True: 0, False: 530]
  ------------------
 2191|      0|        switch (type.getVectorSize()) {
 2192|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2194:9): [True: 0, False: 0]
  ------------------
 2195|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2196:9): [True: 0, False: 0]
  ------------------
 2197|      0|        }
 2198|      0|        break;
 2199|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2199:5): [True: 0, False: 530]
  ------------------
 2200|      0|        switch (type.getVectorSize()) {
 2201|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2201:9): [True: 0, False: 0]
  ------------------
 2202|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2202:9): [True: 0, False: 0]
  ------------------
 2203|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2203:9): [True: 0, False: 0]
  ------------------
 2204|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2204:9): [True: 0, False: 0]
  ------------------
 2205|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2205:9): [True: 0, False: 0]
  ------------------
 2206|      0|        }
 2207|      0|        break;
 2208|      0|    case EbtFloatE2M1:
  ------------------
  |  Branch (2208:5): [True: 0, False: 530]
  ------------------
 2209|      0|        switch (type.getVectorSize()) {
 2210|      0|        case 1: op = EOpConstructFloatE2M1;  break;
  ------------------
  |  Branch (2210:9): [True: 0, False: 0]
  ------------------
 2211|      0|        case 2: op = EOpConstructFloatE2M1Vec2;  break;
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        case 3: op = EOpConstructFloatE2M1Vec3;  break;
  ------------------
  |  Branch (2212:9): [True: 0, False: 0]
  ------------------
 2213|      0|        case 4: op = EOpConstructFloatE2M1Vec4;  break;
  ------------------
  |  Branch (2213:9): [True: 0, False: 0]
  ------------------
 2214|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2214:9): [True: 0, False: 0]
  ------------------
 2215|      0|        }
 2216|      0|        break;
 2217|      0|    case EbtFloatE3M2:
  ------------------
  |  Branch (2217:5): [True: 0, False: 530]
  ------------------
 2218|      0|        switch (type.getVectorSize()) {
 2219|      0|        case 1: op = EOpConstructFloatE3M2;  break;
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        case 2: op = EOpConstructFloatE3M2Vec2;  break;
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        case 3: op = EOpConstructFloatE3M2Vec3;  break;
  ------------------
  |  Branch (2221:9): [True: 0, False: 0]
  ------------------
 2222|      0|        case 4: op = EOpConstructFloatE3M2Vec4;  break;
  ------------------
  |  Branch (2222:9): [True: 0, False: 0]
  ------------------
 2223|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2223:9): [True: 0, False: 0]
  ------------------
 2224|      0|        }
 2225|      0|        break;
 2226|      0|    case EbtFloatE2M3:
  ------------------
  |  Branch (2226:5): [True: 0, False: 530]
  ------------------
 2227|      0|        switch (type.getVectorSize()) {
 2228|      0|        case 1: op = EOpConstructFloatE2M3;  break;
  ------------------
  |  Branch (2228:9): [True: 0, False: 0]
  ------------------
 2229|      0|        case 2: op = EOpConstructFloatE2M3Vec2;  break;
  ------------------
  |  Branch (2229:9): [True: 0, False: 0]
  ------------------
 2230|      0|        case 3: op = EOpConstructFloatE2M3Vec3;  break;
  ------------------
  |  Branch (2230:9): [True: 0, False: 0]
  ------------------
 2231|      0|        case 4: op = EOpConstructFloatE2M3Vec4;  break;
  ------------------
  |  Branch (2231:9): [True: 0, False: 0]
  ------------------
 2232|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2232:9): [True: 0, False: 0]
  ------------------
 2233|      0|        }
 2234|      0|        break;
 2235|      0|    case EbtFloatUE8M0:
  ------------------
  |  Branch (2235:5): [True: 0, False: 530]
  ------------------
 2236|      0|        switch (type.getVectorSize()) {
 2237|      0|        case 1: op = EOpConstructFloatUE8M0;  break;
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        case 2: op = EOpConstructFloatUE8M0Vec2;  break;
  ------------------
  |  Branch (2238:9): [True: 0, False: 0]
  ------------------
 2239|      0|        case 3: op = EOpConstructFloatUE8M0Vec3;  break;
  ------------------
  |  Branch (2239:9): [True: 0, False: 0]
  ------------------
 2240|      0|        case 4: op = EOpConstructFloatUE8M0Vec4;  break;
  ------------------
  |  Branch (2240:9): [True: 0, False: 0]
  ------------------
 2241|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2241:9): [True: 0, False: 0]
  ------------------
 2242|      0|        }
 2243|      0|        break;
 2244|      0|    case EbtFloatMXINT8:
  ------------------
  |  Branch (2244:5): [True: 0, False: 530]
  ------------------
 2245|      0|        switch (type.getVectorSize()) {
 2246|      0|        case 1: op = EOpConstructFloatMXINT8;  break;
  ------------------
  |  Branch (2246:9): [True: 0, False: 0]
  ------------------
 2247|      0|        case 2: op = EOpConstructFloatMXINT8Vec2;  break;
  ------------------
  |  Branch (2247:9): [True: 0, False: 0]
  ------------------
 2248|      0|        case 3: op = EOpConstructFloatMXINT8Vec3;  break;
  ------------------
  |  Branch (2248:9): [True: 0, False: 0]
  ------------------
 2249|      0|        case 4: op = EOpConstructFloatMXINT8Vec4;  break;
  ------------------
  |  Branch (2249:9): [True: 0, False: 0]
  ------------------
 2250|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2250:9): [True: 0, False: 0]
  ------------------
 2251|      0|        }
 2252|      0|        break;
 2253|      0|    case EbtInt8:
  ------------------
  |  Branch (2253:5): [True: 0, False: 530]
  ------------------
 2254|      0|        switch(type.getVectorSize()) {
 2255|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2255:9): [True: 0, False: 0]
  ------------------
 2256|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2256:9): [True: 0, False: 0]
  ------------------
 2257|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2257:9): [True: 0, False: 0]
  ------------------
 2258|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2258:9): [True: 0, False: 0]
  ------------------
 2259|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2259:9): [True: 0, False: 0]
  ------------------
 2260|      0|        }
 2261|      0|        break;
 2262|      0|    case EbtUint8:
  ------------------
  |  Branch (2262:5): [True: 0, False: 530]
  ------------------
 2263|      0|        switch(type.getVectorSize()) {
 2264|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2265:9): [True: 0, False: 0]
  ------------------
 2266|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2266:9): [True: 0, False: 0]
  ------------------
 2267|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2267:9): [True: 0, False: 0]
  ------------------
 2268|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2268:9): [True: 0, False: 0]
  ------------------
 2269|      0|        }
 2270|      0|        break;
 2271|      0|    case EbtInt16:
  ------------------
  |  Branch (2271:5): [True: 0, False: 530]
  ------------------
 2272|      0|        switch(type.getVectorSize()) {
 2273|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2274:9): [True: 0, False: 0]
  ------------------
 2275|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2275:9): [True: 0, False: 0]
  ------------------
 2276|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2276:9): [True: 0, False: 0]
  ------------------
 2277|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2277:9): [True: 0, False: 0]
  ------------------
 2278|      0|        }
 2279|      0|        break;
 2280|      0|    case EbtUint16:
  ------------------
  |  Branch (2280:5): [True: 0, False: 530]
  ------------------
 2281|      0|        switch(type.getVectorSize()) {
 2282|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2282:9): [True: 0, False: 0]
  ------------------
 2283|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2284:9): [True: 0, False: 0]
  ------------------
 2285|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2286:9): [True: 0, False: 0]
  ------------------
 2287|      0|        }
 2288|      0|        break;
 2289|      0|    case EbtInt64:
  ------------------
  |  Branch (2289:5): [True: 0, False: 530]
  ------------------
 2290|      0|        switch(type.getVectorSize()) {
 2291|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2292:9): [True: 0, False: 0]
  ------------------
 2293|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2293:9): [True: 0, False: 0]
  ------------------
 2294|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2294:9): [True: 0, False: 0]
  ------------------
 2295|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2295:9): [True: 0, False: 0]
  ------------------
 2296|      0|        }
 2297|      0|        break;
 2298|      0|    case EbtUint64:
  ------------------
  |  Branch (2298:5): [True: 0, False: 530]
  ------------------
 2299|      0|        switch(type.getVectorSize()) {
 2300|      0|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2300:9): [True: 0, False: 0]
  ------------------
 2301|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2301:9): [True: 0, False: 0]
  ------------------
 2302|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2302:9): [True: 0, False: 0]
  ------------------
 2303|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2303:9): [True: 0, False: 0]
  ------------------
 2304|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2304:9): [True: 0, False: 0]
  ------------------
 2305|      0|        }
 2306|      0|        break;
 2307|      0|    case EbtReference:
  ------------------
  |  Branch (2307:5): [True: 0, False: 530]
  ------------------
 2308|      0|        op = EOpConstructReference;
 2309|      0|        break;
 2310|       |
 2311|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2311:5): [True: 0, False: 530]
  ------------------
 2312|      0|        op = EOpConstructAccStruct;
 2313|      0|        break;
 2314|      0|    default:
  ------------------
  |  Branch (2314:5): [True: 0, False: 530]
  ------------------
 2315|      0|        break;
 2316|    530|    }
 2317|       |
 2318|    530|    return op;
 2319|    530|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2329|  4.12k|{
 2330|  4.12k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2330:9): [True: 4.02k, False: 93]
  |  Branch (2330:28): [True: 3.92k, False: 101]
  ------------------
 2331|  3.92k|        return nullptr;
 2332|       |
 2333|    194|    TIntermAggregate* aggNode = nullptr;
 2334|    194|    if (left != nullptr)
  ------------------
  |  Branch (2334:9): [True: 93, False: 101]
  ------------------
 2335|     93|        aggNode = left->getAsAggregate();
 2336|    194|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2336:9): [True: 127, False: 67]
  |  Branch (2336:31): [True: 0, False: 67]
  ------------------
 2337|    127|        aggNode = new TIntermAggregate;
 2338|    127|        if (left != nullptr)
  ------------------
  |  Branch (2338:13): [True: 26, False: 101]
  ------------------
 2339|     26|            aggNode->getSequence().push_back(left);
 2340|    127|    }
 2341|       |
 2342|    194|    if (right != nullptr)
  ------------------
  |  Branch (2342:9): [True: 193, False: 1]
  ------------------
 2343|    193|        aggNode->getSequence().push_back(right);
 2344|       |
 2345|    194|    return aggNode;
 2346|  4.12k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2349|  3.97k|{
 2350|  3.97k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2351|  3.97k|    if (aggNode)
  ------------------
  |  Branch (2351:9): [True: 52, False: 3.92k]
  ------------------
 2352|     52|        aggNode->setLoc(loc);
 2353|       |
 2354|  3.97k|    return aggNode;
 2355|  3.97k|}
_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode:
 2397|      4|{
 2398|      4|    if (node == nullptr)
  ------------------
  |  Branch (2398:9): [True: 0, False: 4]
  ------------------
 2399|      0|        return nullptr;
 2400|       |
 2401|      4|    TIntermAggregate* aggNode = new TIntermAggregate;
 2402|      4|    aggNode->getSequence().push_back(node);
 2403|      4|    aggNode->setLoc(node->getLoc());
 2404|       |
 2405|      4|    return aggNode;
 2406|      4|}
_ZN7glslang13TIntermediate13makeAggregateERKNS_10TSourceLocE:
 2424|     11|{
 2425|     11|    TIntermAggregate* aggNode = new TIntermAggregate;
 2426|     11|    aggNode->setLoc(loc);
 2427|       |
 2428|     11|    return aggNode;
 2429|     11|}
_ZN7glslang13TIntermediate12addSelectionEPNS_12TIntermTypedES2_S2_RKNS_10TSourceLocE:
 2491|     58|{
 2492|       |    // If it's void, go to the if-then-else selection()
 2493|     58|    if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2493:9): [True: 0, False: 58]
  |  Branch (2493:49): [True: 0, False: 0]
  ------------------
 2494|      0|        TIntermNodePair pair = { trueBlock, falseBlock };
 2495|      0|        TIntermSelection* selection = addSelection(cond, pair, loc);
 2496|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2496:13): [True: 0, False: 0]
  ------------------
 2497|      0|            selection->setNoShortCircuit();
 2498|       |
 2499|      0|        return selection;
 2500|      0|    }
 2501|       |
 2502|       |    //
 2503|       |    // Get compatible types.
 2504|       |    //
 2505|     58|    auto children = addPairConversion(EOpSequence, trueBlock, falseBlock);
 2506|     58|    trueBlock = std::get<0>(children);
 2507|     58|    falseBlock = std::get<1>(children);
 2508|       |
 2509|     58|    if (trueBlock == nullptr || falseBlock == nullptr ||
  ------------------
  |  Branch (2509:9): [True: 0, False: 58]
  |  Branch (2509:33): [True: 0, False: 58]
  ------------------
 2510|     58|        trueBlock->getBasicType() == EbtString || falseBlock->getBasicType() == EbtString)
  ------------------
  |  Branch (2510:9): [True: 0, False: 58]
  |  Branch (2510:51): [True: 0, False: 58]
  ------------------
 2511|      0|        return nullptr;
 2512|       |
 2513|       |    // Handle a vector condition as a mix
 2514|     58|    if (!cond->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (2514:9): [True: 20, False: 38]
  ------------------
 2515|     20|        TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary,
 2516|     20|                               cond->getType().getVectorSize());
 2517|       |        // smear true/false operands as needed
 2518|     20|        trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock);
 2519|     20|        falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock);
 2520|       |
 2521|       |        // After conversion, types have to match.
 2522|     20|        if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2522:13): [True: 9, False: 11]
  ------------------
 2523|      9|            return nullptr;
 2524|       |
 2525|       |        // make the mix operation
 2526|     11|        TIntermAggregate* mix = makeAggregate(loc);
 2527|     11|        mix = growAggregate(mix, falseBlock);
 2528|     11|        mix = growAggregate(mix, trueBlock);
 2529|     11|        mix = growAggregate(mix, cond);
 2530|     11|        mix->setType(targetVectorType);
 2531|     11|        mix->setOp(EOpMix);
 2532|       |
 2533|     11|        return mix;
 2534|     20|    }
 2535|       |
 2536|       |    // Now have a scalar condition...
 2537|       |
 2538|       |    // Convert true and false expressions to matching types
 2539|     38|    addBiShapeConversion(EOpMix, trueBlock, falseBlock);
 2540|       |
 2541|       |    // After conversion, types have to match.
 2542|     38|    if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2542:9): [True: 25, False: 13]
  ------------------
 2543|     25|        return nullptr;
 2544|       |
 2545|       |    // Eliminate the selection when the condition is a scalar and all operands are constant.
 2546|     13|    if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnion()) {
  ------------------
  |  Branch (2546:9): [True: 13, False: 0]
  |  Branch (2546:39): [True: 13, False: 0]
  |  Branch (2546:74): [True: 11, False: 2]
  ------------------
 2547|     11|        if (cond->getAsConstantUnion()->getConstArray()[0].getBConst())
  ------------------
  |  Branch (2547:13): [True: 1, False: 10]
  ------------------
 2548|      1|            return trueBlock;
 2549|     10|        else
 2550|     10|            return falseBlock;
 2551|     11|    }
 2552|       |
 2553|       |    //
 2554|       |    // Make a selection node.
 2555|       |    //
 2556|      2|    TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType());
 2557|      2|    node->setLoc(loc);
 2558|      2|    node->getQualifier().precision = std::max(trueBlock->getQualifier().precision, falseBlock->getQualifier().precision);
 2559|       |
 2560|      2|    if ((cond->getQualifier().isConstant() && specConstantPropagates(*trueBlock, *falseBlock)) ||
  ------------------
  |  Branch (2560:10): [True: 2, False: 0]
  |  Branch (2560:47): [True: 0, False: 2]
  ------------------
 2561|      2|        (cond->getQualifier().isSpecConstant() && trueBlock->getQualifier().isConstant() &&
  ------------------
  |  Branch (2561:10): [True: 0, False: 2]
  |  Branch (2561:51): [True: 0, False: 0]
  ------------------
 2562|      0|                                                 falseBlock->getQualifier().isConstant()))
  ------------------
  |  Branch (2562:50): [True: 0, False: 0]
  ------------------
 2563|      0|        node->getQualifier().makeSpecConstant();
 2564|      2|    else
 2565|      2|        node->getQualifier().makeTemporary();
 2566|       |
 2567|      2|    if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2567:9): [True: 2, False: 0]
  ------------------
 2568|      2|        node->setNoShortCircuit();
 2569|       |
 2570|      2|    return node;
 2571|     13|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2580|  3.07k|{
 2581|  3.07k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2582|  3.07k|    node->getQualifier().storage = EvqConst;
 2583|  3.07k|    node->setLoc(loc);
 2584|  3.07k|    if (literal)
  ------------------
  |  Branch (2584:9): [True: 2.93k, False: 138]
  ------------------
 2585|  2.93k|        node->setLiteral();
 2586|       |
 2587|  3.07k|    return node;
 2588|  3.07k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2622|  2.56k|{
 2623|  2.56k|    TConstUnionArray unionArray(1);
 2624|  2.56k|    unionArray[0].setIConst(i);
 2625|       |
 2626|  2.56k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2627|  2.56k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2630|    375|{
 2631|    375|    TConstUnionArray unionArray(1);
 2632|    375|    unionArray[0].setUConst(u);
 2633|       |
 2634|    375|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2635|    375|}
_ZNK7glslang13TIntermediate16addConstantUnionEdNS_10TBasicTypeERKNS_10TSourceLocEb:
 2662|      8|{
 2663|      8|    assert(isTypeFloat(baseType));
 2664|       |
 2665|      8|    if (isEsProfile() && (baseType == EbtFloat || baseType == EbtFloat16)) {
  ------------------
  |  Branch (2665:9): [True: 8, False: 0]
  |  Branch (2665:27): [True: 8, False: 0]
  |  Branch (2665:51): [True: 0, False: 0]
  ------------------
 2666|      8|        int exponent = 0;
 2667|      8|        frexp(d, &exponent);
 2668|      8|        int minExp = baseType == EbtFloat ? -126 : -14;
  ------------------
  |  Branch (2668:22): [True: 8, False: 0]
  ------------------
 2669|      8|        int maxExp = baseType == EbtFloat ? 127 : 15;
  ------------------
  |  Branch (2669:22): [True: 8, False: 0]
  ------------------
 2670|      8|        if (exponent > maxExp) { //overflow, d = inf
  ------------------
  |  Branch (2670:13): [True: 0, False: 8]
  ------------------
 2671|      0|            d = std::numeric_limits<double>::infinity();
 2672|      8|        } else if (exponent < minExp) { //underflow, d = 0.0;
  ------------------
  |  Branch (2672:20): [True: 0, False: 8]
  ------------------
 2673|      0|            d = 0.0;
 2674|      0|        }
 2675|      8|    }
 2676|       |
 2677|      8|    TConstUnionArray unionArray(1);
 2678|      8|    unionArray[0].setDConst(d);
 2679|       |
 2680|      8|    return addConstantUnion(unionArray, TType(baseType, EvqConst), loc, literal);
 2681|      8|}
_ZN7glslang13TIntermediate11postProcessEP11TIntermNode11EShLanguage:
 2927|      2|{
 2928|      2|    if (root == nullptr)
  ------------------
  |  Branch (2928:9): [True: 0, False: 2]
  ------------------
 2929|      0|        return true;
 2930|       |
 2931|       |    // Finish off the top-level sequence
 2932|      2|    TIntermAggregate* aggRoot = root->getAsAggregate();
 2933|      2|    if (aggRoot && aggRoot->getOp() == EOpNull)
  ------------------
  |  Branch (2933:9): [True: 2, False: 0]
  |  Branch (2933:20): [True: 2, False: 0]
  ------------------
 2934|      2|        aggRoot->setOperator(EOpSequence);
 2935|       |
 2936|       |    // Propagate 'noContraction' label in backward from 'precise' variables.
 2937|      2|    glslang::PropagateNoContraction(*this);
 2938|       |
 2939|      2|    if (invertY && getSource() == EShSourceGlsl &&
  ------------------
  |  Branch (2939:9): [True: 0, False: 2]
  |  Branch (2939:20): [True: 0, False: 0]
  ------------------
 2940|      0|        (language == EShLangVertex ||
  ------------------
  |  Branch (2940:10): [True: 0, False: 0]
  ------------------
 2941|      0|         language == EShLangGeometry ||
  ------------------
  |  Branch (2941:10): [True: 0, False: 0]
  ------------------
 2942|      0|         language == EShLangTessEvaluation)) {
  ------------------
  |  Branch (2942:10): [True: 0, False: 0]
  ------------------
 2943|      0|        invertPositions(root);
 2944|      0|    }
 2945|       |
 2946|      2|    switch (textureSamplerTransformMode) {
  ------------------
  |  Branch (2946:13): [True: 2, False: 0]
  ------------------
 2947|      2|    case EShTexSampTransKeep:
  ------------------
  |  Branch (2947:5): [True: 2, False: 0]
  ------------------
 2948|      2|        break;
 2949|      0|    case EShTexSampTransUpgradeTextureRemoveSampler:
  ------------------
  |  Branch (2949:5): [True: 0, False: 2]
  ------------------
 2950|      0|        performTextureUpgradeAndSamplerRemovalTransformation(root);
 2951|      0|        break;
 2952|      0|    case EShTexSampTransCount:
  ------------------
  |  Branch (2952:5): [True: 0, False: 2]
  ------------------
 2953|      0|        assert(0);
 2954|      0|        break;
 2955|      2|    }
 2956|       |
 2957|      2|    return true;
 2958|      2|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2961|    100|{
 2962|       |    // Add top-level nodes for declarations that must be checked cross
 2963|       |    // compilation unit by a linker, yet might not have been referenced
 2964|       |    // by the AST.
 2965|       |    //
 2966|       |    // Almost entirely, translation of symbols is driven by what's present
 2967|       |    // in the AST traversal, not by translating the symbol table.
 2968|       |    //
 2969|       |    // However, there are some special cases:
 2970|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2971|       |    //    gl_InstanceID are also considered active vertex attributes."
 2972|       |    //  - Linker-based type mismatch error reporting needs to see all
 2973|       |    //    uniforms/ins/outs variables and blocks.
 2974|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2975|       |    //
 2976|       |
 2977|       |    // if (ftransformUsed) {
 2978|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2979|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2980|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2981|       |    //}
 2982|       |
 2983|    100|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2983:9): [True: 100, False: 0]
  ------------------
 2984|    100|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2985|    100|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2985:13): [True: 80, False: 20]
  |  Branch (2985:14): [True: 20, False: 80]
  |  Branch (2985:31): [True: 0, False: 20]
  |  Branch (2985:114): [True: 80, False: 20]
  ------------------
 2986|     80|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2987|    100|    }
 2988|       |
 2989|       |    // Add a child to the root node for the linker objects
 2990|    100|    linkage->setOperator(EOpLinkerObjects);
 2991|    100|    treeRoot = growAggregate(treeRoot, linkage);
 2992|    100|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 3000|    180|{
 3001|    180|    TSymbol* symbol = symbolTable.find(name);
 3002|    180|    if (symbol)
  ------------------
  |  Branch (3002:9): [True: 6, False: 174]
  ------------------
 3003|      6|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 3004|    180|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 3007|      6|{
 3008|      6|    const TVariable* variable = symbol.getAsVariable();
 3009|      6|    if (! variable) {
  ------------------
  |  Branch (3009:9): [True: 0, False: 6]
  ------------------
 3010|       |        // This must be a member of an anonymous block, and we need to add the whole block
 3011|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 3012|      0|        variable = &anon->getAnonContainer();
 3013|      0|    }
 3014|      6|    TIntermSymbol* node = addSymbol(*variable);
 3015|      6|    linkage = growAggregate(linkage, node);
 3016|      6|}
_ZN7glslang13TIntermediate14addToCallGraphER9TInfoSinkRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS_14pool_allocatorIcEEEESB_:
 3023|      2|{
 3024|       |    // Duplicates are okay, but faster to not keep them, and they come grouped by caller,
 3025|       |    // as long as new ones are push on the same end we check on for duplicates
 3026|      2|    for (TGraph::const_iterator call = callGraph.begin(); call != callGraph.end(); ++call) {
  ------------------
  |  Branch (3026:59): [True: 1, False: 1]
  ------------------
 3027|      1|        if (call->caller != caller)
  ------------------
  |  Branch (3027:13): [True: 0, False: 1]
  ------------------
 3028|      0|            break;
 3029|      1|        if (call->callee == callee)
  ------------------
  |  Branch (3029:13): [True: 1, False: 0]
  ------------------
 3030|      1|            return;
 3031|      1|    }
 3032|       |
 3033|      1|    callGraph.emplace_front(caller, callee);
 3034|      1|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3264|    117|{
 3265|    117|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3265:12): [True: 114, False: 3]
  |  Branch (3265:43): [True: 114, False: 0]
  ------------------
 3266|    117|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3276|     39|{
 3277|     39|    if (node == nullptr)
  ------------------
  |  Branch (3277:9): [True: 0, False: 39]
  ------------------
 3278|      0|        return false;
 3279|       |
 3280|     39|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3280:9): [True: 8, False: 31]
  ------------------
 3281|      8|        return promoteUnary(*node->getAsUnaryNode());
 3282|       |
 3283|     31|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3283:9): [True: 31, False: 0]
  ------------------
 3284|     31|        return promoteBinary(*node->getAsBinaryNode());
 3285|       |
 3286|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3286:9): [True: 0, False: 0]
  ------------------
 3287|      0|        return promoteAggregate(*node->getAsAggregate());
 3288|       |
 3289|      0|    return false;
 3290|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3296|      8|{
 3297|      8|    const TOperator op    = node.getOp();
 3298|      8|    TIntermTyped* operand = node.getOperand();
 3299|       |
 3300|      8|    switch (op) {
 3301|      5|    case EOpLogicalNot:
  ------------------
  |  Branch (3301:5): [True: 5, False: 3]
  ------------------
 3302|       |        // Convert operand to a boolean type
 3303|      5|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3303:13): [True: 4, False: 1]
  ------------------
 3304|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3305|      4|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3306|      4|            if (converted == nullptr)
  ------------------
  |  Branch (3306:17): [True: 0, False: 4]
  ------------------
 3307|      0|                return false;
 3308|       |
 3309|       |            // Use the result of converting the node to a bool.
 3310|      4|            node.setOperand(operand = converted); // also updates stack variable
 3311|      4|        }
 3312|      5|        break;
 3313|      5|    case EOpBitwiseNot:
  ------------------
  |  Branch (3313:5): [True: 0, False: 8]
  ------------------
 3314|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3314:13): [True: 0, False: 0]
  ------------------
 3315|      0|            return false;
 3316|      0|        break;
 3317|      3|    case EOpNegative:
  ------------------
  |  Branch (3317:5): [True: 3, False: 5]
  ------------------
 3318|      3|    case EOpPostIncrement:
  ------------------
  |  Branch (3318:5): [True: 0, False: 8]
  ------------------
 3319|      3|    case EOpPostDecrement:
  ------------------
  |  Branch (3319:5): [True: 0, False: 8]
  ------------------
 3320|      3|    case EOpPreIncrement:
  ------------------
  |  Branch (3320:5): [True: 0, False: 8]
  ------------------
 3321|      3|    case EOpPreDecrement:
  ------------------
  |  Branch (3321:5): [True: 0, False: 8]
  ------------------
 3322|      3|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3322:13): [True: 0, False: 3]
  ------------------
 3323|      0|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3323:13): [True: 0, False: 0]
  ------------------
 3324|      0|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3324:13): [True: 0, False: 0]
  ------------------
 3325|      0|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3325:13): [True: 0, False: 0]
  ------------------
 3326|       |
 3327|      0|            return false;
 3328|      3|        break;
 3329|      3|    default:
  ------------------
  |  Branch (3329:5): [True: 0, False: 8]
  ------------------
 3330|       |        // HLSL uses this path for initial function signature finding for built-ins
 3331|       |        // taking a single argument, which generally don't participate in
 3332|       |        // operator-based type promotion (type conversion will occur later).
 3333|       |        // For now, scalar argument cases are relying on the setType() call below.
 3334|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3334:13): [True: 0, False: 0]
  ------------------
 3335|      0|            break;
 3336|       |
 3337|       |        // GLSL only allows integer arguments for the cases identified above in the
 3338|       |        // case statements.
 3339|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3339:13): [True: 0, False: 0]
  ------------------
 3340|      0|            return false;
 3341|      8|    }
 3342|       |
 3343|      8|    node.setType(operand->getType());
 3344|      8|    node.getWritableType().getQualifier().makeTemporary();
 3345|       |
 3346|      8|    return true;
 3347|      8|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3351|      9|{
 3352|      9|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3352:9): [True: 4, False: 5]
  |  Branch (3352:37): [True: 0, False: 5]
  ------------------
 3353|      5|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3353:9): [True: 0, False: 5]
  ------------------
 3354|      4|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3354:13): [True: 0, False: 4]
  ------------------
 3355|      0|            getQualifier().precision = operand->getQualifier().precision;
 3356|      4|    }
 3357|      9|}
_ZN7glslang13TIntermediate13promoteBinaryERNS_13TIntermBinaryE:
 3363|     31|{
 3364|     31|    TOperator     op    = node.getOp();
 3365|     31|    TIntermTyped* left  = node.getLeft();
 3366|     31|    TIntermTyped* right = node.getRight();
 3367|       |
 3368|       |    // Arrays and structures have to be exact matches.
 3369|     31|    if ((left->isArray() || right->isArray() || left->getBasicType() == EbtStruct || right->getBasicType() == EbtStruct)
  ------------------
  |  Branch (3369:10): [True: 0, False: 31]
  |  Branch (3369:29): [True: 0, False: 31]
  |  Branch (3369:49): [True: 0, False: 31]
  |  Branch (3369:86): [True: 0, False: 31]
  ------------------
 3370|      0|        && left->getType() != right->getType())
  ------------------
  |  Branch (3370:12): [True: 0, False: 0]
  ------------------
 3371|      0|        return false;
 3372|       |
 3373|       |    // Base assumption:  just make the type the same as the left
 3374|       |    // operand.  Only deviations from this will be coded.
 3375|     31|    node.setType(left->getType());
 3376|     31|    node.getWritableType().getQualifier().clear();
 3377|       |
 3378|       |    // Composite and opaque types don't having pending operator changes, e.g.,
 3379|       |    // array, structure, and samplers.  Just establish final type and correctness.
 3380|     31|    if (left->isArray() || left->getBasicType() == EbtStruct || left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3380:9): [True: 0, False: 31]
  |  Branch (3380:28): [True: 0, False: 31]
  |  Branch (3380:65): [True: 0, False: 31]
  ------------------
 3381|      0|        switch (op) {
 3382|      0|        case EOpEqual:
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|      0|        case EOpNotEqual:
  ------------------
  |  Branch (3383:9): [True: 0, False: 0]
  ------------------
 3384|      0|            if (left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3384:17): [True: 0, False: 0]
  ------------------
 3385|       |                // can't compare samplers
 3386|      0|                return false;
 3387|      0|            } else {
 3388|       |                // Promote to conditional
 3389|      0|                node.setType(TType(EbtBool));
 3390|      0|            }
 3391|       |
 3392|      0|            return true;
 3393|       |
 3394|      0|        case EOpAssign:
  ------------------
  |  Branch (3394:9): [True: 0, False: 0]
  ------------------
 3395|       |            // Keep type from above
 3396|       |
 3397|      0|            return true;
 3398|       |
 3399|      0|        default:
  ------------------
  |  Branch (3399:9): [True: 0, False: 0]
  ------------------
 3400|      0|            return false;
 3401|      0|        }
 3402|      0|    }
 3403|       |
 3404|       |    //
 3405|       |    // We now have only scalars, vectors, and matrices to worry about.
 3406|       |    //
 3407|       |
 3408|       |    // HLSL implicitly promotes bool -> int for numeric operations.
 3409|       |    // (Implicit conversions to make the operands match each other's types were already done.)
 3410|     31|    if (getSource() == EShSourceHlsl &&
  ------------------
  |  Branch (3410:9): [True: 2, False: 29]
  ------------------
 3411|      2|        (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (3411:10): [True: 0, False: 2]
  |  Branch (3411:45): [True: 0, False: 2]
  ------------------
 3412|      0|        switch (op) {
 3413|      0|        case EOpLessThan:
  ------------------
  |  Branch (3413:9): [True: 0, False: 0]
  ------------------
 3414|      0|        case EOpGreaterThan:
  ------------------
  |  Branch (3414:9): [True: 0, False: 0]
  ------------------
 3415|      0|        case EOpLessThanEqual:
  ------------------
  |  Branch (3415:9): [True: 0, False: 0]
  ------------------
 3416|      0|        case EOpGreaterThanEqual:
  ------------------
  |  Branch (3416:9): [True: 0, False: 0]
  ------------------
 3417|       |
 3418|      0|        case EOpRightShift:
  ------------------
  |  Branch (3418:9): [True: 0, False: 0]
  ------------------
 3419|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3419:9): [True: 0, False: 0]
  ------------------
 3420|       |
 3421|      0|        case EOpMod:
  ------------------
  |  Branch (3421:9): [True: 0, False: 0]
  ------------------
 3422|       |
 3423|      0|        case EOpAnd:
  ------------------
  |  Branch (3423:9): [True: 0, False: 0]
  ------------------
 3424|      0|        case EOpInclusiveOr:
  ------------------
  |  Branch (3424:9): [True: 0, False: 0]
  ------------------
 3425|      0|        case EOpExclusiveOr:
  ------------------
  |  Branch (3425:9): [True: 0, False: 0]
  ------------------
 3426|       |
 3427|      0|        case EOpAdd:
  ------------------
  |  Branch (3427:9): [True: 0, False: 0]
  ------------------
 3428|      0|        case EOpSub:
  ------------------
  |  Branch (3428:9): [True: 0, False: 0]
  ------------------
 3429|      0|        case EOpDiv:
  ------------------
  |  Branch (3429:9): [True: 0, False: 0]
  ------------------
 3430|      0|        case EOpMul:
  ------------------
  |  Branch (3430:9): [True: 0, False: 0]
  ------------------
 3431|      0|            if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3431:17): [True: 0, False: 0]
  ------------------
 3432|      0|                left  = createConversion(EbtInt, left);
 3433|      0|            if (right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3433:17): [True: 0, False: 0]
  ------------------
 3434|      0|                right = createConversion(EbtInt, right);
 3435|      0|            if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (3435:17): [True: 0, False: 0]
  |  Branch (3435:36): [True: 0, False: 0]
  ------------------
 3436|      0|                return false;
 3437|      0|            node.setLeft(left);
 3438|      0|            node.setRight(right);
 3439|       |
 3440|       |            // Update the original base assumption on result type..
 3441|      0|            node.setType(left->getType());
 3442|      0|            node.getWritableType().getQualifier().clear();
 3443|       |
 3444|      0|            break;
 3445|       |
 3446|      0|        default:
  ------------------
  |  Branch (3446:9): [True: 0, False: 0]
  ------------------
 3447|      0|            break;
 3448|      0|        }
 3449|      0|    }
 3450|       |
 3451|     31|    const bool hasCoopMat = left->getType().isCoopMat() || right->getType().isCoopMat();
  ------------------
  |  Branch (3451:29): [True: 0, False: 31]
  |  Branch (3451:60): [True: 0, False: 31]
  ------------------
 3452|     31|    const bool hasLimitedFloatCoopMat =
 3453|     31|        (left->getType().isCoopMat() &&
  ------------------
  |  Branch (3453:10): [True: 0, False: 31]
  ------------------
 3454|      0|         (left->getType().containsBFloat16() || left->getType().contains8BitFloat())) ||
  ------------------
  |  Branch (3454:11): [True: 0, False: 0]
  |  Branch (3454:49): [True: 0, False: 0]
  ------------------
 3455|     31|        (right->getType().isCoopMat() &&
  ------------------
  |  Branch (3455:10): [True: 0, False: 31]
  ------------------
 3456|      0|         (right->getType().containsBFloat16() || right->getType().contains8BitFloat()));
  ------------------
  |  Branch (3456:11): [True: 0, False: 0]
  |  Branch (3456:50): [True: 0, False: 0]
  ------------------
 3457|       |
 3458|     31|    if (hasLimitedFloatCoopMat && op != EOpAssign)
  ------------------
  |  Branch (3458:9): [True: 0, False: 31]
  |  Branch (3458:35): [True: 0, False: 0]
  ------------------
 3459|      0|        return false;
 3460|       |
 3461|       |    // Do general type checks against individual operands (comparing left and right is coming up, checking mixed shapes after that)
 3462|     31|    switch (op) {
 3463|      0|    case EOpLessThan:
  ------------------
  |  Branch (3463:5): [True: 0, False: 31]
  ------------------
 3464|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3464:5): [True: 0, False: 31]
  ------------------
 3465|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3465:5): [True: 0, False: 31]
  ------------------
 3466|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3466:5): [True: 0, False: 31]
  ------------------
 3467|       |        // Relational comparisons need numeric types and will promote to scalar Boolean.
 3468|      0|        if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3468:13): [True: 0, False: 0]
  ------------------
 3469|      0|            return false;
 3470|       |
 3471|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3472|      0|        break;
 3473|       |
 3474|      0|    case EOpEqual:
  ------------------
  |  Branch (3474:5): [True: 0, False: 31]
  ------------------
 3475|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3475:5): [True: 0, False: 31]
  ------------------
 3476|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (3476:13): [True: 0, False: 0]
  ------------------
 3477|      0|            const int resultWidth = std::max(left->getVectorSize(), right->getVectorSize());
 3478|       |
 3479|       |            // In HLSL, == or != on vectors means component-wise comparison.
 3480|      0|            if (resultWidth > 1) {
  ------------------
  |  Branch (3480:17): [True: 0, False: 0]
  ------------------
 3481|      0|                op = (op == EOpEqual) ? EOpVectorEqual : EOpVectorNotEqual;
  ------------------
  |  Branch (3481:22): [True: 0, False: 0]
  ------------------
 3482|      0|                node.setOp(op);
 3483|      0|            }
 3484|       |
 3485|      0|            node.setType(TType(EbtBool, EvqTemporary, resultWidth));
 3486|      0|        } else {
 3487|       |            // All the above comparisons result in a bool (but not the vector compares)
 3488|      0|            node.setType(TType(EbtBool));
 3489|      0|        }
 3490|      0|        break;
 3491|       |
 3492|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3492:5): [True: 0, False: 31]
  ------------------
 3493|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3493:5): [True: 0, False: 31]
  ------------------
 3494|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3494:5): [True: 0, False: 31]
  ------------------
 3495|       |        // logical ops operate only on Booleans or vectors of Booleans.
 3496|      0|        if (left->getBasicType() != EbtBool || left->isMatrix())
  ------------------
  |  Branch (3496:13): [True: 0, False: 0]
  |  Branch (3496:48): [True: 0, False: 0]
  ------------------
 3497|      0|                return false;
 3498|       |
 3499|      0|        if (getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (3499:13): [True: 0, False: 0]
  ------------------
 3500|       |            // logical ops operate only on scalar Booleans and will promote to scalar Boolean.
 3501|      0|            if (left->isVector())
  ------------------
  |  Branch (3501:17): [True: 0, False: 0]
  ------------------
 3502|      0|                return false;
 3503|      0|        }
 3504|       |
 3505|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3506|      0|        break;
 3507|       |
 3508|      0|    case EOpRightShift:
  ------------------
  |  Branch (3508:5): [True: 0, False: 31]
  ------------------
 3509|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3509:5): [True: 0, False: 31]
  ------------------
 3510|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3510:5): [True: 0, False: 31]
  ------------------
 3511|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3511:5): [True: 0, False: 31]
  ------------------
 3512|       |
 3513|      0|    case EOpMod:
  ------------------
  |  Branch (3513:5): [True: 0, False: 31]
  ------------------
 3514|      0|    case EOpModAssign:
  ------------------
  |  Branch (3514:5): [True: 0, False: 31]
  ------------------
 3515|       |
 3516|      0|    case EOpAnd:
  ------------------
  |  Branch (3516:5): [True: 0, False: 31]
  ------------------
 3517|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3517:5): [True: 0, False: 31]
  ------------------
 3518|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3518:5): [True: 0, False: 31]
  ------------------
 3519|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3519:5): [True: 0, False: 31]
  ------------------
 3520|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3520:5): [True: 0, False: 31]
  ------------------
 3521|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3521:5): [True: 0, False: 31]
  ------------------
 3522|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3522:13): [True: 0, False: 0]
  ------------------
 3523|      0|            break;
 3524|       |
 3525|       |        // Check for integer-only operands.
 3526|      0|        if (!isTypeInt(left->getBasicType()) && !isTypeInt(right->getBasicType()))
  ------------------
  |  Branch (3526:13): [True: 0, False: 0]
  |  Branch (3526:49): [True: 0, False: 0]
  ------------------
 3527|      0|            return false;
 3528|      0|        if (left->isMatrix() || right->isMatrix())
  ------------------
  |  Branch (3528:13): [True: 0, False: 0]
  |  Branch (3528:33): [True: 0, False: 0]
  ------------------
 3529|      0|            return false;
 3530|       |
 3531|      0|        break;
 3532|       |
 3533|     29|    case EOpAdd:
  ------------------
  |  Branch (3533:5): [True: 29, False: 2]
  ------------------
 3534|     30|    case EOpSub:
  ------------------
  |  Branch (3534:5): [True: 1, False: 30]
  ------------------
 3535|     30|    case EOpDiv:
  ------------------
  |  Branch (3535:5): [True: 0, False: 31]
  ------------------
 3536|     31|    case EOpMul:
  ------------------
  |  Branch (3536:5): [True: 1, False: 30]
  ------------------
 3537|     31|    case EOpAddAssign:
  ------------------
  |  Branch (3537:5): [True: 0, False: 31]
  ------------------
 3538|     31|    case EOpSubAssign:
  ------------------
  |  Branch (3538:5): [True: 0, False: 31]
  ------------------
 3539|     31|    case EOpMulAssign:
  ------------------
  |  Branch (3539:5): [True: 0, False: 31]
  ------------------
 3540|     31|    case EOpDivAssign:
  ------------------
  |  Branch (3540:5): [True: 0, False: 31]
  ------------------
 3541|       |        // check for non-Boolean operands
 3542|     31|        if (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3542:13): [True: 0, False: 31]
  |  Branch (3542:48): [True: 0, False: 31]
  ------------------
 3543|      0|            return false;
 3544|     31|        break;
 3545|       |
 3546|     31|    default:
  ------------------
  |  Branch (3546:5): [True: 0, False: 31]
  ------------------
 3547|      0|        break;
 3548|     31|    }
 3549|       |
 3550|       |    // Compare left and right, and finish with the cases where the operand types must match
 3551|     31|    switch (op) {
 3552|      0|    case EOpLessThan:
  ------------------
  |  Branch (3552:5): [True: 0, False: 31]
  ------------------
 3553|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3553:5): [True: 0, False: 31]
  ------------------
 3554|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3554:5): [True: 0, False: 31]
  ------------------
 3555|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3555:5): [True: 0, False: 31]
  ------------------
 3556|       |
 3557|      0|    case EOpEqual:
  ------------------
  |  Branch (3557:5): [True: 0, False: 31]
  ------------------
 3558|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3558:5): [True: 0, False: 31]
  ------------------
 3559|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (3559:5): [True: 0, False: 31]
  ------------------
 3560|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (3560:5): [True: 0, False: 31]
  ------------------
 3561|       |
 3562|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3562:5): [True: 0, False: 31]
  ------------------
 3563|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3563:5): [True: 0, False: 31]
  ------------------
 3564|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3564:5): [True: 0, False: 31]
  ------------------
 3565|      0|        return left->getType() == right->getType();
 3566|       |
 3567|      0|    case EOpMod:
  ------------------
  |  Branch (3567:5): [True: 0, False: 31]
  ------------------
 3568|      0|    case EOpModAssign:
  ------------------
  |  Branch (3568:5): [True: 0, False: 31]
  ------------------
 3569|       |
 3570|      0|    case EOpAnd:
  ------------------
  |  Branch (3570:5): [True: 0, False: 31]
  ------------------
 3571|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3571:5): [True: 0, False: 31]
  ------------------
 3572|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3572:5): [True: 0, False: 31]
  ------------------
 3573|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3573:5): [True: 0, False: 31]
  ------------------
 3574|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3574:5): [True: 0, False: 31]
  ------------------
 3575|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3575:5): [True: 0, False: 31]
  ------------------
 3576|       |
 3577|     29|    case EOpAdd:
  ------------------
  |  Branch (3577:5): [True: 29, False: 2]
  ------------------
 3578|     30|    case EOpSub:
  ------------------
  |  Branch (3578:5): [True: 1, False: 30]
  ------------------
 3579|     30|    case EOpDiv:
  ------------------
  |  Branch (3579:5): [True: 0, False: 31]
  ------------------
 3580|       |
 3581|     30|    case EOpAddAssign:
  ------------------
  |  Branch (3581:5): [True: 0, False: 31]
  ------------------
 3582|     30|    case EOpSubAssign:
  ------------------
  |  Branch (3582:5): [True: 0, False: 31]
  ------------------
 3583|     30|    case EOpDivAssign:
  ------------------
  |  Branch (3583:5): [True: 0, False: 31]
  ------------------
 3584|       |        // Quick out in case the types do match
 3585|     30|        if (left->getType() == right->getType())
  ------------------
  |  Branch (3585:13): [True: 27, False: 3]
  ------------------
 3586|     27|            return true;
 3587|       |
 3588|      3|        [[fallthrough]];
 3589|       |
 3590|      4|    case EOpMul:
  ------------------
  |  Branch (3590:5): [True: 1, False: 30]
  ------------------
 3591|      4|    case EOpMulAssign:
  ------------------
  |  Branch (3591:5): [True: 0, False: 31]
  ------------------
 3592|       |        // At least the basic type has to match
 3593|      4|        if (left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3593:13): [True: 0, False: 4]
  ------------------
 3594|      0|            return false;
 3595|      4|        break;
 3596|       |
 3597|      4|    default:
  ------------------
  |  Branch (3597:5): [True: 0, False: 31]
  ------------------
 3598|      0|        break;
 3599|     31|    }
 3600|       |
 3601|      4|    if (hasCoopMat) {
  ------------------
  |  Branch (3601:9): [True: 0, False: 4]
  ------------------
 3602|       |        // Operations on two cooperative matrices must have identical types
 3603|      0|        if (left->getType().isCoopMat() && right->getType().isCoopMat() &&
  ------------------
  |  Branch (3603:13): [True: 0, False: 0]
  |  Branch (3603:44): [True: 0, False: 0]
  ------------------
 3604|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3604:13): [True: 0, False: 0]
  ------------------
 3605|      0|            return false;
 3606|      0|        }
 3607|      0|        switch (op) {
 3608|      0|        case EOpMul:
  ------------------
  |  Branch (3608:9): [True: 0, False: 0]
  ------------------
 3609|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3609:9): [True: 0, False: 0]
  ------------------
 3610|       |            // Mul not supported in NV_cooperative_matrix
 3611|      0|            if (left->getType().isCoopMatNV() && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3611:17): [True: 0, False: 0]
  |  Branch (3611:50): [True: 0, False: 0]
  ------------------
 3612|      0|                return false;
 3613|      0|            }
 3614|       |            // NV_cooperative_matrix supports MulAssign is for mat*=scalar only.
 3615|       |            // KHR_cooperative_matrix supports it for mat*=mat as well.
 3616|      0|            if (op == EOpMulAssign && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3616:17): [True: 0, False: 0]
  |  Branch (3616:39): [True: 0, False: 0]
  ------------------
 3617|      0|                return false;
 3618|      0|            }
 3619|       |            // Use MatrixTimesScalar if either operand is not a matrix. Otherwise use Mul.
 3620|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3620:17): [True: 0, False: 0]
  |  Branch (3620:49): [True: 0, False: 0]
  ------------------
 3621|      0|                node.setOp(op == EOpMulAssign ? EOpMatrixTimesScalarAssign : EOpMatrixTimesScalar);
  ------------------
  |  Branch (3621:28): [True: 0, False: 0]
  ------------------
 3622|      0|            }
 3623|       |            // In case of scalar*matrix, take the result type from the matrix.
 3624|      0|            if (right->getType().isCoopMat()) {
  ------------------
  |  Branch (3624:17): [True: 0, False: 0]
  ------------------
 3625|      0|                node.setType(right->getType());
 3626|      0|            }
 3627|      0|            return true;
 3628|      0|        case EOpAdd:
  ------------------
  |  Branch (3628:9): [True: 0, False: 0]
  ------------------
 3629|      0|        case EOpSub:
  ------------------
  |  Branch (3629:9): [True: 0, False: 0]
  ------------------
 3630|      0|        case EOpDiv:
  ------------------
  |  Branch (3630:9): [True: 0, False: 0]
  ------------------
 3631|      0|        case EOpAssign:
  ------------------
  |  Branch (3631:9): [True: 0, False: 0]
  ------------------
 3632|       |            // These require both to be cooperative matrices
 3633|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3633:17): [True: 0, False: 0]
  |  Branch (3633:49): [True: 0, False: 0]
  ------------------
 3634|      0|                return false;
 3635|      0|            }
 3636|      0|            return true;
 3637|      0|        default:
  ------------------
  |  Branch (3637:9): [True: 0, False: 0]
  ------------------
 3638|      0|            break;
 3639|      0|        }
 3640|      0|        return false;
 3641|      0|    }
 3642|       |
 3643|      4|    if (left->getType().isCoopVecNV() || right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3643:9): [True: 0, False: 4]
  |  Branch (3643:42): [True: 0, False: 4]
  ------------------
 3644|       |        // Operations on two cooperative vectors must have identical types
 3645|      0|        if (left->getType().isCoopVecNV() && right->getType().isCoopVecNV() &&
  ------------------
  |  Branch (3645:13): [True: 0, False: 0]
  |  Branch (3645:46): [True: 0, False: 0]
  ------------------
 3646|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3646:13): [True: 0, False: 0]
  ------------------
 3647|      0|            return false;
 3648|      0|        }
 3649|      0|        switch (op) {
 3650|      0|        case EOpMul:
  ------------------
  |  Branch (3650:9): [True: 0, False: 0]
  ------------------
 3651|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3651:9): [True: 0, False: 0]
  ------------------
 3652|       |            // Use VectorTimesScalar if either operand is not a vector. Otherwise use Mul.
 3653|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3653:17): [True: 0, False: 0]
  |  Branch (3653:51): [True: 0, False: 0]
  ------------------
 3654|      0|                node.setOp(op == EOpMulAssign ? EOpVectorTimesScalarAssign : EOpVectorTimesScalar);
  ------------------
  |  Branch (3654:28): [True: 0, False: 0]
  ------------------
 3655|      0|            }
 3656|       |            // In case of scalar*vector, take the result type from the vector.
 3657|      0|            if (right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3657:17): [True: 0, False: 0]
  ------------------
 3658|      0|                node.setType(right->getType());
 3659|      0|            }
 3660|      0|            return true;
 3661|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3661:9): [True: 0, False: 0]
  ------------------
 3662|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (3662:9): [True: 0, False: 0]
  ------------------
 3663|      0|        case EOpRightShift:
  ------------------
  |  Branch (3663:9): [True: 0, False: 0]
  ------------------
 3664|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (3664:9): [True: 0, False: 0]
  ------------------
 3665|      0|        case EOpAdd:
  ------------------
  |  Branch (3665:9): [True: 0, False: 0]
  ------------------
 3666|      0|        case EOpSub:
  ------------------
  |  Branch (3666:9): [True: 0, False: 0]
  ------------------
 3667|      0|        case EOpDiv:
  ------------------
  |  Branch (3667:9): [True: 0, False: 0]
  ------------------
 3668|      0|        case EOpAssign:
  ------------------
  |  Branch (3668:9): [True: 0, False: 0]
  ------------------
 3669|       |            // These require both to be cooperative vectors
 3670|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3670:17): [True: 0, False: 0]
  |  Branch (3670:51): [True: 0, False: 0]
  ------------------
 3671|      0|                return false;
 3672|      0|            }
 3673|      0|            return true;
 3674|      0|        default:
  ------------------
  |  Branch (3674:9): [True: 0, False: 0]
  ------------------
 3675|      0|            break;
 3676|      0|        }
 3677|      0|        return false;
 3678|      0|    }
 3679|       |
 3680|      4|    bool vectorAndLongVectorMatch = TType::vectorAndLongVectorMatch(left->getType(), right->getType());
 3681|       |
 3682|       |    // Finish handling the case, for all ops, where both operands are scalars.
 3683|      4|    if (left->isScalar() && right->isScalar())
  ------------------
  |  Branch (3683:9): [True: 4, False: 0]
  |  Branch (3683:29): [True: 1, False: 3]
  ------------------
 3684|      1|        return true;
 3685|       |
 3686|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3687|      3|    if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize() && right->getVectorSize() > 1)
  ------------------
  |  Branch (3687:9): [True: 0, False: 3]
  |  Branch (3687:29): [True: 0, False: 0]
  |  Branch (3687:50): [True: 0, False: 0]
  |  Branch (3687:101): [True: 0, False: 0]
  ------------------
 3688|      0|        return false;
 3689|       |
 3690|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3691|      3|    if (left->getType().isLongVector() && right->getType().isLongVector() && !left->getType().sameLongVectorShape(right->getType()))
  ------------------
  |  Branch (3691:9): [True: 0, False: 3]
  |  Branch (3691:43): [True: 0, False: 0]
  |  Branch (3691:78): [True: 0, False: 0]
  ------------------
 3692|      0|        return false;
 3693|       |
 3694|       |    //
 3695|       |    // We now have a mix of scalars, vectors, or matrices, for non-relational operations.
 3696|       |    //
 3697|       |
 3698|       |    // Can these two operands be combined, what is the resulting type?
 3699|      3|    TBasicType basicType = left->getBasicType();
 3700|      3|    switch (op) {
 3701|      0|    case EOpMul:
  ------------------
  |  Branch (3701:5): [True: 0, False: 3]
  ------------------
 3702|      0|        if (!left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3702:13): [True: 0, False: 0]
  |  Branch (3702:34): [True: 0, False: 0]
  ------------------
 3703|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3703:17): [True: 0, False: 0]
  ------------------
 3704|      0|                if (left->getVectorSize() != right->getMatrixRows())
  ------------------
  |  Branch (3704:21): [True: 0, False: 0]
  ------------------
 3705|      0|                    return false;
 3706|      0|                node.setOp(op = EOpVectorTimesMatrix);
 3707|      0|                node.setType(TType(basicType, EvqTemporary, right->getMatrixCols()));
 3708|      0|            } else {
 3709|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3710|      0|                node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), right->getMatrixRows()));
 3711|      0|            }
 3712|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3712:20): [True: 0, False: 0]
  |  Branch (3712:40): [True: 0, False: 0]
  ------------------
 3713|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3713:17): [True: 0, False: 0]
  ------------------
 3714|      0|                if (left->getMatrixCols() != right->getVectorSize())
  ------------------
  |  Branch (3714:21): [True: 0, False: 0]
  ------------------
 3715|      0|                    return false;
 3716|      0|                node.setOp(op = EOpMatrixTimesVector);
 3717|      0|                node.setType(TType(basicType, EvqTemporary, left->getMatrixRows()));
 3718|      0|            } else {
 3719|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3720|      0|            }
 3721|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3721:20): [True: 0, False: 0]
  |  Branch (3721:40): [True: 0, False: 0]
  ------------------
 3722|      0|            if (left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3722:17): [True: 0, False: 0]
  ------------------
 3723|      0|                return false;
 3724|      0|            node.setOp(op = EOpMatrixTimesMatrix);
 3725|      0|            node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), left->getMatrixRows()));
 3726|      0|        } else if (! left->isMatrix() && ! right->isMatrix()) {
  ------------------
  |  Branch (3726:20): [True: 0, False: 0]
  |  Branch (3726:42): [True: 0, False: 0]
  ------------------
 3727|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3727:17): [True: 0, False: 0]
  |  Branch (3727:37): [True: 0, False: 0]
  ------------------
 3728|      0|                ; // leave as component product
 3729|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3729:24): [True: 0, False: 0]
  |  Branch (3729:44): [True: 0, False: 0]
  ------------------
 3730|      0|                node.setOp(op = EOpVectorTimesScalar);
 3731|      0|                if (right->isVector())
  ------------------
  |  Branch (3731:21): [True: 0, False: 0]
  ------------------
 3732|      0|                    node.setType(TType(basicType, EvqTemporary, right->getVectorSize()));
 3733|      0|            }
 3734|      0|        } else {
 3735|      0|            return false;
 3736|      0|        }
 3737|      0|        break;
 3738|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3738:5): [True: 0, False: 3]
  ------------------
 3739|      0|        if (! left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3739:13): [True: 0, False: 0]
  |  Branch (3739:35): [True: 0, False: 0]
  ------------------
 3740|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3740:17): [True: 0, False: 0]
  ------------------
 3741|      0|                if (left->getVectorSize() != right->getMatrixRows() || left->getVectorSize() != right->getMatrixCols())
  ------------------
  |  Branch (3741:21): [True: 0, False: 0]
  |  Branch (3741:72): [True: 0, False: 0]
  ------------------
 3742|      0|                    return false;
 3743|      0|                node.setOp(op = EOpVectorTimesMatrixAssign);
 3744|      0|            } else {
 3745|      0|                return false;
 3746|      0|            }
 3747|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3747:20): [True: 0, False: 0]
  |  Branch (3747:40): [True: 0, False: 0]
  ------------------
 3748|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3748:17): [True: 0, False: 0]
  ------------------
 3749|      0|                return false;
 3750|      0|            } else {
 3751|      0|                node.setOp(op = EOpMatrixTimesScalarAssign);
 3752|      0|            }
 3753|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3753:20): [True: 0, False: 0]
  |  Branch (3753:40): [True: 0, False: 0]
  ------------------
 3754|      0|            if (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3754:17): [True: 0, False: 0]
  |  Branch (3754:68): [True: 0, False: 0]
  ------------------
 3755|      0|                return false;
 3756|      0|            node.setOp(op = EOpMatrixTimesMatrixAssign);
 3757|      0|        } else if (!left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3757:20): [True: 0, False: 0]
  |  Branch (3757:41): [True: 0, False: 0]
  ------------------
 3758|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3758:17): [True: 0, False: 0]
  |  Branch (3758:37): [True: 0, False: 0]
  ------------------
 3759|       |                // leave as component product
 3760|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3760:24): [True: 0, False: 0]
  |  Branch (3760:44): [True: 0, False: 0]
  ------------------
 3761|      0|                if (! left->isVector())
  ------------------
  |  Branch (3761:21): [True: 0, False: 0]
  ------------------
 3762|      0|                    return false;
 3763|      0|                node.setOp(op = EOpVectorTimesScalarAssign);
 3764|      0|            }
 3765|      0|        } else {
 3766|      0|            return false;
 3767|      0|        }
 3768|      0|        break;
 3769|       |
 3770|      0|    case EOpRightShift:
  ------------------
  |  Branch (3770:5): [True: 0, False: 3]
  ------------------
 3771|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3771:5): [True: 0, False: 3]
  ------------------
 3772|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3772:5): [True: 0, False: 3]
  ------------------
 3773|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3773:5): [True: 0, False: 3]
  ------------------
 3774|      0|        if (right->isVector() && (! left->isVector() || right->getVectorSize() != left->getVectorSize()))
  ------------------
  |  Branch (3774:13): [True: 0, False: 0]
  |  Branch (3774:35): [True: 0, False: 0]
  |  Branch (3774:57): [True: 0, False: 0]
  ------------------
 3775|      0|            return false;
 3776|      0|        break;
 3777|       |
 3778|      0|    case EOpAssign:
  ------------------
  |  Branch (3778:5): [True: 0, False: 3]
  ------------------
 3779|      0|        if ((left->getVectorSize() != right->getVectorSize() || left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()) &&
  ------------------
  |  Branch (3779:14): [True: 0, False: 0]
  |  Branch (3779:65): [True: 0, False: 0]
  |  Branch (3779:116): [True: 0, False: 0]
  ------------------
 3780|      0|            !vectorAndLongVectorMatch)
  ------------------
  |  Branch (3780:13): [True: 0, False: 0]
  ------------------
 3781|      0|            return false;
 3782|      0|        [[fallthrough]];
 3783|       |
 3784|      3|    case EOpAdd:
  ------------------
  |  Branch (3784:5): [True: 3, False: 0]
  ------------------
 3785|      3|    case EOpSub:
  ------------------
  |  Branch (3785:5): [True: 0, False: 3]
  ------------------
 3786|      3|    case EOpDiv:
  ------------------
  |  Branch (3786:5): [True: 0, False: 3]
  ------------------
 3787|      3|    case EOpMod:
  ------------------
  |  Branch (3787:5): [True: 0, False: 3]
  ------------------
 3788|      3|    case EOpAnd:
  ------------------
  |  Branch (3788:5): [True: 0, False: 3]
  ------------------
 3789|      3|    case EOpInclusiveOr:
  ------------------
  |  Branch (3789:5): [True: 0, False: 3]
  ------------------
 3790|      3|    case EOpExclusiveOr:
  ------------------
  |  Branch (3790:5): [True: 0, False: 3]
  ------------------
 3791|      3|    case EOpAddAssign:
  ------------------
  |  Branch (3791:5): [True: 0, False: 3]
  ------------------
 3792|      3|    case EOpSubAssign:
  ------------------
  |  Branch (3792:5): [True: 0, False: 3]
  ------------------
 3793|      3|    case EOpDivAssign:
  ------------------
  |  Branch (3793:5): [True: 0, False: 3]
  ------------------
 3794|      3|    case EOpModAssign:
  ------------------
  |  Branch (3794:5): [True: 0, False: 3]
  ------------------
 3795|      3|    case EOpAndAssign:
  ------------------
  |  Branch (3795:5): [True: 0, False: 3]
  ------------------
 3796|      3|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3796:5): [True: 0, False: 3]
  ------------------
 3797|      3|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3797:5): [True: 0, False: 3]
  ------------------
 3798|       |
 3799|      3|        if ((left->isMatrix() && right->isVector()) ||
  ------------------
  |  Branch (3799:14): [True: 0, False: 3]
  |  Branch (3799:34): [True: 0, False: 0]
  ------------------
 3800|      3|            (left->isVector() && right->isMatrix()) ||
  ------------------
  |  Branch (3800:14): [True: 0, False: 3]
  |  Branch (3800:34): [True: 0, False: 0]
  ------------------
 3801|      3|            left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3801:13): [True: 0, False: 3]
  ------------------
 3802|      0|            return false;
 3803|      3|        if (left->isMatrix() && right->isMatrix() && (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()))
  ------------------
  |  Branch (3803:13): [True: 0, False: 3]
  |  Branch (3803:33): [True: 0, False: 0]
  |  Branch (3803:55): [True: 0, False: 0]
  |  Branch (3803:106): [True: 0, False: 0]
  ------------------
 3804|      0|            return false;
 3805|      3|        if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize())
  ------------------
  |  Branch (3805:13): [True: 0, False: 3]
  |  Branch (3805:33): [True: 0, False: 0]
  |  Branch (3805:54): [True: 0, False: 0]
  ------------------
 3806|      0|            return false;
 3807|      3|        if ((right->isVector() || right->isMatrix()) && !vectorAndLongVectorMatch) {
  ------------------
  |  Branch (3807:14): [True: 3, False: 0]
  |  Branch (3807:35): [True: 0, False: 0]
  |  Branch (3807:57): [True: 3, False: 0]
  ------------------
 3808|      3|            node.getWritableType().shallowCopy(right->getType());
 3809|      3|            node.getWritableType().getQualifier().makeTemporary();
 3810|      3|        }
 3811|      3|        break;
 3812|       |
 3813|      0|    default:
  ------------------
  |  Branch (3813:5): [True: 0, False: 3]
  ------------------
 3814|      0|        return false;
 3815|      3|    }
 3816|       |
 3817|       |    //
 3818|       |    // One more check for assignment.
 3819|       |    //
 3820|      3|    switch (op) {
 3821|       |    // The resulting type has to match the left operand.
 3822|      0|    case EOpAssign:
  ------------------
  |  Branch (3822:5): [True: 0, False: 3]
  ------------------
 3823|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3823:5): [True: 0, False: 3]
  ------------------
 3824|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3824:5): [True: 0, False: 3]
  ------------------
 3825|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3825:5): [True: 0, False: 3]
  ------------------
 3826|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3826:5): [True: 0, False: 3]
  ------------------
 3827|      0|    case EOpModAssign:
  ------------------
  |  Branch (3827:5): [True: 0, False: 3]
  ------------------
 3828|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3828:5): [True: 0, False: 3]
  ------------------
 3829|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3829:5): [True: 0, False: 3]
  ------------------
 3830|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3830:5): [True: 0, False: 3]
  ------------------
 3831|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3831:5): [True: 0, False: 3]
  ------------------
 3832|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3832:5): [True: 0, False: 3]
  ------------------
 3833|      0|        if (node.getType() != left->getType())
  ------------------
  |  Branch (3833:13): [True: 0, False: 0]
  ------------------
 3834|      0|            return false;
 3835|      0|        break;
 3836|      3|    default:
  ------------------
  |  Branch (3836:5): [True: 3, False: 0]
  ------------------
 3837|      3|        break;
 3838|      3|    }
 3839|       |
 3840|      3|    return true;
 3841|      3|}
_ZN7glslang13TIntermBinary15updatePrecisionEv:
 3938|     31|{
 3939|     31|     if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3939:10): [True: 30, False: 1]
  |  Branch (3939:38): [True: 1, False: 0]
  ------------------
 3940|     31|         getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3940:10): [True: 0, False: 0]
  ------------------
 3941|     31|       if (op == EOpRightShift || op == EOpLeftShift) {
  ------------------
  |  Branch (3941:12): [True: 0, False: 31]
  |  Branch (3941:35): [True: 0, False: 31]
  ------------------
 3942|       |         // For shifts get precision from left side only and thus no need to propagate
 3943|      0|         getQualifier().precision = left->getQualifier().precision;
 3944|     31|       } else {
 3945|     31|         getQualifier().precision = std::max(right->getQualifier().precision, left->getQualifier().precision);
 3946|     31|         if (getQualifier().precision != EpqNone) {
  ------------------
  |  Branch (3946:14): [True: 0, False: 31]
  ------------------
 3947|      0|           left->propagatePrecision(getQualifier().precision);
 3948|      0|           right->propagatePrecision(getQualifier().precision);
 3949|      0|         }
 3950|     31|       }
 3951|     31|    }
 3952|     31|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 4009|     73|{
 4010|     73|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 4011|     73|    int size = node->getType().computeNumComponents();
 4012|       |
 4013|     73|    TConstUnionArray leftUnionArray(size);
 4014|       |
 4015|    147|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4015:19): [True: 74, False: 73]
  ------------------
 4016|       |
 4017|     74|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4018|     74|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4019|       |
 4020|     74|#define TO_ALL(Get)   \
 4021|     74|        switch (promoteTo) { \
 4022|     74|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4023|     74|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4024|     74|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4025|     74|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4026|     74|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4027|     74|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4028|     74|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4029|     74|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4030|     74|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4031|     74|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4032|     74|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4033|     74|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4034|     74|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4035|     74|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4036|     74|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4037|     74|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4038|     74|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4039|     74|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4040|     74|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4041|     74|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4042|     74|        default: return node; \
 4043|     74|        }
 4044|       |
 4045|     74|        switch (node->getType().getBasicType()) {
 4046|      7|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      7|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4035|      7|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      7|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 7, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 7]
  |  |  ------------------
  |  | 4043|      7|        }
  ------------------
  |  Branch (4046:9): [True: 7, False: 67]
  ------------------
 4047|     65|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4021|     65|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4039|     58|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|     58|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 58, False: 7]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4041|      7|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      7|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 7, False: 58]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 65]
  |  |  ------------------
  |  | 4043|     65|        }
  ------------------
  |  Branch (4047:9): [True: 65, False: 9]
  ------------------
 4048|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4048:9): [True: 0, False: 74]
  ------------------
 4049|      2|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 4021|      2|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4035|      1|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      1|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 1, False: 1]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4039|      1|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      1|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 1, False: 1]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4043|      2|        }
  ------------------
  |  Branch (4049:9): [True: 2, False: 72]
  ------------------
 4050|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4050:9): [True: 0, False: 74]
  ------------------
 4051|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4051:9): [True: 0, False: 74]
  ------------------
 4052|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4052:9): [True: 0, False: 74]
  ------------------
 4053|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4053:9): [True: 0, False: 74]
  ------------------
 4054|      0|        case EbtFloatE2M1: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4054:9): [True: 0, False: 74]
  ------------------
 4055|      0|        case EbtFloatE3M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4055:9): [True: 0, False: 74]
  ------------------
 4056|      0|        case EbtFloatE2M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4056:9): [True: 0, False: 74]
  ------------------
 4057|      0|        case EbtFloatUE8M0: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4057:9): [True: 0, False: 74]
  ------------------
 4058|      0|        case EbtFloatMXINT8: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4058:9): [True: 0, False: 74]
  ------------------
 4059|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4059:9): [True: 0, False: 74]
  ------------------
 4060|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4060:9): [True: 0, False: 74]
  ------------------
 4061|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4061:9): [True: 0, False: 74]
  ------------------
 4062|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4062:9): [True: 0, False: 74]
  ------------------
 4063|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4063:9): [True: 0, False: 74]
  ------------------
 4064|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4064:9): [True: 0, False: 74]
  ------------------
 4065|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 4021|      0|        switch (promoteTo) { \
  |  | 4022|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4031:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4032|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4032:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4033|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4033:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4034|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4034:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4035|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4035:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4036|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4036:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4037|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4037:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4038|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4038:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4039|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4039:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4040|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4017|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4040:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4041|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4018|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4041:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4042|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4042:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4043|      0|        }
  ------------------
  |  Branch (4065:9): [True: 0, False: 74]
  ------------------
 4066|      0|        default: return node;
  ------------------
  |  Branch (4066:9): [True: 0, False: 74]
  ------------------
 4067|     74|        }
 4068|     74|    }
 4069|       |
 4070|     73|    const TType& t = node->getType();
 4071|       |
 4072|     73|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4073|     73|                            node->getLoc());
 4074|     73|}
_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_:
 4087|      2|{
 4088|      2|    return (node1.getType().getQualifier().isSpecConstant() && node2.getType().getQualifier().isConstant()) ||
  ------------------
  |  Branch (4088:13): [True: 0, False: 2]
  |  Branch (4088:64): [True: 0, False: 0]
  ------------------
 4089|      2|           (node2.getType().getQualifier().isSpecConstant() && node1.getType().getQualifier().isConstant());
  ------------------
  |  Branch (4089:13): [True: 0, False: 2]
  |  Branch (4089:64): [True: 0, False: 0]
  ------------------
 4090|      2|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|  1.27k|{
   56|  1.27k|    const int maxSize = MaxTokenLength + 200;
   57|  1.27k|    char szExtraInfo[maxSize];
   58|       |
   59|  1.27k|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|  1.27k|    infoSink.info.prefix(prefix);
   62|  1.27k|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|  1.27k|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|  1.27k|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 952, False: 318]
  ------------------
   66|    952|        ++numErrors;
   67|    952|    }
   68|  1.27k|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|  2.09M|{
   73|  2.09M|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 2.09M, False: 812]
  ------------------
   74|  2.09M|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|    812|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 1, False: 811]
  |  Branch (76:38): [True: 1, False: 0]
  ------------------
   77|      1|        return;
   78|    811|    va_list args;
   79|    811|    va_start(args, szExtraInfoFormat);
   80|    811|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|    811|    va_end(args);
   82|       |
   83|    811|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 793, False: 18]
  ------------------
   84|    793|        currentScanner->setEndOfInput();
   85|    811|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|    356|{
   90|    356|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 38, False: 318]
  ------------------
   91|     38|        return;
   92|    318|    va_list args;
   93|    318|    va_start(args, szExtraInfoFormat);
   94|    318|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|    318|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|    141|{
  101|    141|    va_list args;
  102|    141|    va_start(args, szExtraInfoFormat);
  103|    141|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|    141|    va_end(args);
  105|       |
  106|    141|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 103, False: 38]
  ------------------
  107|    103|        currentScanner->setEndOfInput();
  108|    141|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  241|  1.45k|{
  242|  1.45k|    if (! node)
  ------------------
  |  Branch (242:9): [True: 0, False: 1.45k]
  ------------------
  243|      0|        return;
  244|       |
  245|  1.45k|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  246|  1.45k|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  247|       |
  248|  1.45k|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (248:9): [True: 0, False: 1.45k]
  ------------------
  249|      0|        const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  250|       |
  251|      0|        if (symNode != nullptr)
  ------------------
  |  Branch (251:13): [True: 0, False: 0]
  ------------------
  252|      0|            error(loc, "can't read from writeonly object: ", op, "%s", symNode->getName().c_str());
  253|      0|        else if (binaryNode &&
  ------------------
  |  Branch (253:18): [True: 0, False: 0]
  ------------------
  254|      0|                (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct ||
  ------------------
  |  Branch (254:18): [True: 0, False: 0]
  ------------------
  255|      0|                 binaryNode->getAsOperator()->getOp() == EOpIndexDirect) &&
  ------------------
  |  Branch (255:18): [True: 0, False: 0]
  ------------------
  256|      0|                leftMostTypeNode != nullptr && leftMostTypeNode->getAsSymbolNode() != nullptr)
  ------------------
  |  Branch (256:17): [True: 0, False: 0]
  |  Branch (256:48): [True: 0, False: 0]
  ------------------
  257|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (257:16): [True: 0, False: 0]
  ------------------
  258|      0|                error(loc, "can't read from writeonly object: ", op, "%s", leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str());
  259|      0|            else
  260|      0|                error(loc, "can't read from writeonly object: ", op, "%s", leftMostTypeNode->getAsSymbolNode()->getName().c_str());
  261|      0|        else
  262|      0|            error(loc, "can't read from writeonly object: ", op, "");
  263|       |
  264|  1.45k|    } else {
  265|  1.45k|        if (binaryNode) {
  ------------------
  |  Branch (265:13): [True: 0, False: 1.45k]
  ------------------
  266|      0|            switch (binaryNode->getOp()) {
  267|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (267:13): [True: 0, False: 0]
  ------------------
  268|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (268:13): [True: 0, False: 0]
  ------------------
  269|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (269:13): [True: 0, False: 0]
  ------------------
  270|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (270:13): [True: 0, False: 0]
  ------------------
  271|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (271:13): [True: 0, False: 0]
  ------------------
  272|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  273|      0|                break;
  274|      0|            default:
  ------------------
  |  Branch (274:13): [True: 0, False: 0]
  ------------------
  275|      0|                break;
  276|      0|            }
  277|      0|        }
  278|  1.45k|    }
  279|  1.45k|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  288|  3.98k|{
  289|  3.98k|    if (!parsingBuiltins)
  ------------------
  |  Branch (289:9): [True: 2, False: 3.98k]
  ------------------
  290|      2|        linkageSymbols.push_back(&symbol);
  291|  3.98k|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  581|     27|{
  582|       |    // Too long?
  583|     27|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (583:9): [True: 0, False: 27]
  ------------------
  584|      0|        error(loc, "vector swizzle too long", compString.c_str(), "");
  585|       |
  586|       |    // Use this to test that all swizzle characters are from the same swizzle-namespace-set
  587|     27|    enum {
  588|     27|        exyzw,
  589|     27|        ergba,
  590|     27|        estpq,
  591|     27|        ebadswizzle,
  592|     27|    } fieldSet[MaxSwizzleSelectors];
  593|       |
  594|       |    // Decode the swizzle string.
  595|     27|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  596|     83|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (596:21): [True: 56, False: 27]
  ------------------
  597|     56|        switch (compString[i])  {
  598|      0|        case 'x':
  ------------------
  |  Branch (598:9): [True: 0, False: 56]
  ------------------
  599|      0|            selector.push_back(0);
  600|      0|            fieldSet[i] = exyzw;
  601|      0|            break;
  602|      0|        case 'r':
  ------------------
  |  Branch (602:9): [True: 0, False: 56]
  ------------------
  603|      0|            selector.push_back(0);
  604|      0|            fieldSet[i] = ergba;
  605|      0|            break;
  606|     54|        case 's':
  ------------------
  |  Branch (606:9): [True: 54, False: 2]
  ------------------
  607|     54|            selector.push_back(0);
  608|     54|            fieldSet[i] = estpq;
  609|     54|            break;
  610|       |
  611|      0|        case 'y':
  ------------------
  |  Branch (611:9): [True: 0, False: 56]
  ------------------
  612|      0|            selector.push_back(1);
  613|      0|            fieldSet[i] = exyzw;
  614|      0|            break;
  615|      0|        case 'g':
  ------------------
  |  Branch (615:9): [True: 0, False: 56]
  ------------------
  616|      0|            selector.push_back(1);
  617|      0|            fieldSet[i] = ergba;
  618|      0|            break;
  619|      0|        case 't':
  ------------------
  |  Branch (619:9): [True: 0, False: 56]
  ------------------
  620|      0|            selector.push_back(1);
  621|      0|            fieldSet[i] = estpq;
  622|      0|            break;
  623|       |
  624|      0|        case 'z':
  ------------------
  |  Branch (624:9): [True: 0, False: 56]
  ------------------
  625|      0|            selector.push_back(2);
  626|      0|            fieldSet[i] = exyzw;
  627|      0|            break;
  628|      0|        case 'b':
  ------------------
  |  Branch (628:9): [True: 0, False: 56]
  ------------------
  629|      0|            selector.push_back(2);
  630|      0|            fieldSet[i] = ergba;
  631|      0|            break;
  632|      0|        case 'p':
  ------------------
  |  Branch (632:9): [True: 0, False: 56]
  ------------------
  633|      0|            selector.push_back(2);
  634|      0|            fieldSet[i] = estpq;
  635|      0|            break;
  636|       |
  637|      0|        case 'w':
  ------------------
  |  Branch (637:9): [True: 0, False: 56]
  ------------------
  638|      0|            selector.push_back(3);
  639|      0|            fieldSet[i] = exyzw;
  640|      0|            break;
  641|      0|        case 'a':
  ------------------
  |  Branch (641:9): [True: 0, False: 56]
  ------------------
  642|      0|            selector.push_back(3);
  643|      0|            fieldSet[i] = ergba;
  644|      0|            break;
  645|      0|        case 'q':
  ------------------
  |  Branch (645:9): [True: 0, False: 56]
  ------------------
  646|      0|            selector.push_back(3);
  647|      0|            fieldSet[i] = estpq;
  648|      0|            break;
  649|       |
  650|      2|        default:
  ------------------
  |  Branch (650:9): [True: 2, False: 54]
  ------------------
  651|      2|            fieldSet[i] = ebadswizzle;
  652|      2|            break;
  653|     56|        }
  654|     56|    }
  655|       |
  656|       |    // Additional error checking.
  657|     81|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (657:21): [True: 54, False: 27]
  ------------------
  658|     54|        if (fieldSet[i] == ebadswizzle) {
  ------------------
  |  Branch (658:13): [True: 0, False: 54]
  ------------------
  659|      0|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  660|      0|            selector.resize(i);
  661|      0|            break;
  662|      0|        }
  663|       |
  664|     54|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (664:13): [True: 0, False: 54]
  ------------------
  665|      0|            error(loc, "vector swizzle selection out of range",  compString.c_str(), "");
  666|      0|            selector.resize(i);
  667|      0|            break;
  668|      0|        }
  669|       |
  670|     54|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (670:13): [True: 27, False: 27]
  |  Branch (670:22): [True: 0, False: 27]
  ------------------
  671|      0|            error(loc, "vector swizzle selectors not from the same set", compString.c_str(), "");
  672|      0|            selector.resize(i);
  673|      0|            break;
  674|      0|        }
  675|     54|    }
  676|       |
  677|       |    // Ensure it is valid.
  678|     27|    if (selector.size() == 0)
  ------------------
  |  Branch (678:9): [True: 0, False: 27]
  ------------------
  679|      0|        selector.push_back(0);
  680|     27|}
_ZN7glslang17TParseContextBase6finishEv:
  800|    426|{
  801|    426|    if (parsingBuiltins)
  ------------------
  |  Branch (801:9): [True: 326, False: 100]
  ------------------
  802|    326|        return;
  803|       |
  804|    100|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (804:39): [True: 0, False: 100]
  ------------------
  805|      0|    {
  806|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  807|      0|        TType& type = symbol->getWritableType();
  808|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (808:38): [True: 0, False: 0]
  ------------------
  809|      0|        {
  810|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (810:17): [True: 0, False: 0]
  ------------------
  811|      0|            {
  812|      0|                typeLoc.type->getSampler() = TSampler{};
  813|      0|                typeLoc.type->setBasicType(EbtInt);
  814|      0|                TString fieldName("/*");
  815|      0|                fieldName.append(typeLoc.type->getFieldName());
  816|      0|                fieldName.append("*/");
  817|      0|                typeLoc.type->setFieldName(fieldName);
  818|      0|            }
  819|      0|        }
  820|      0|    }
  821|       |
  822|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  823|    100|    TIntermAggregate* linkage = new TIntermAggregate;
  824|    100|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i) {
  ------------------
  |  Branch (824:43): [True: 0, False: 100]
  ------------------
  825|      0|        hideUnavailableMembers(**i);
  826|      0|        intermediate.addSymbolLinkageNode(linkage, **i);
  827|      0|    }
  828|    100|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  829|    100|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   60|    266|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   61|    266|                              infoSink, forwardCompatible, messages, entryPoint),
   62|    266|            inMain(false),
   63|    266|            blockName(nullptr),
   64|    266|            limits(resources.limits),
   65|    266|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   66|    266|            khrDerivativeLayoutQualifierSpecified(false)
   67|    266|{
   68|       |    // decide whether precision qualifiers should be ignored or respected
   69|    266|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (69:9): [True: 164, False: 102]
  |  Branch (69:26): [True: 60, False: 42]
  ------------------
   70|    224|        precisionManager.respectPrecisionQualifiers();
   71|    224|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (71:13): [True: 20, False: 204]
  |  Branch (71:34): [True: 0, False: 20]
  |  Branch (71:65): [True: 0, False: 0]
  |  Branch (71:83): [True: 0, False: 0]
  ------------------
   72|      0|            precisionManager.warnAboutDefaults();
   73|    224|    }
   74|       |
   75|    266|    setPrecisionDefaults();
   76|       |
   77|    266|    globalUniformDefaults.clear();
   78|    266|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   79|    266|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (79:43): [True: 0, False: 266]
  ------------------
   80|       |
   81|    266|    globalBufferDefaults.clear();
   82|    266|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   83|    266|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (83:42): [True: 0, False: 266]
  ------------------
   84|       |
   85|    266|    globalInputDefaults.clear();
   86|    266|    globalOutputDefaults.clear();
   87|       |
   88|    266|    globalSharedDefaults.clear();
   89|    266|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   90|    266|    globalSharedDefaults.layoutPacking = ElpStd430;
   91|       |
   92|       |    // "Shaders in the transform
   93|       |    // feedback capturing mode have an initial global default of
   94|       |    //     layout(xfb_buffer = 0) out;"
   95|    266|    if (language == EShLangVertex ||
  ------------------
  |  Branch (95:9): [True: 122, False: 144]
  ------------------
   96|    144|        language == EShLangTessControl ||
  ------------------
  |  Branch (96:9): [True: 7, False: 137]
  ------------------
   97|    137|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (97:9): [True: 7, False: 130]
  ------------------
   98|    130|        language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 7, False: 123]
  ------------------
   99|    143|        globalOutputDefaults.layoutXfbBuffer = 0;
  100|       |
  101|    266|    if (language == EShLangGeometry)
  ------------------
  |  Branch (101:9): [True: 7, False: 259]
  ------------------
  102|      7|        globalOutputDefaults.layoutStream = 0;
  103|       |
  104|    266|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (104:9): [True: 266, False: 0]
  |  Branch (104:34): [True: 0, False: 266]
  |  Branch (104:60): [True: 0, False: 0]
  ------------------
  105|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  106|    266|}
_ZN7glslang13TParseContextD2Ev:
  109|    266|{
  110|    266|    delete [] atomicUintOffsets;
  111|    266|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  116|    266|{
  117|       |    // Set all precision defaults to EpqNone, which is correct for all types
  118|       |    // when not obeying precision qualifiers, and correct for types that don't
  119|       |    // have defaults (thus getting an error on use) when obeying precision
  120|       |    // qualifiers.
  121|       |
  122|  10.6k|    for (int type = 0; type < EbtNumTypes; ++type)
  ------------------
  |  Branch (122:24): [True: 10.3k, False: 266]
  ------------------
  123|  10.3k|        defaultPrecision[type] = EpqNone;
  124|       |
  125|  2.98M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (125:24): [True: 2.98M, False: 266]
  ------------------
  126|  2.98M|        defaultSamplerPrecision[type] = EpqNone;
  127|       |
  128|       |    // replace with real precision defaults for those that have them
  129|    266|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (129:9): [True: 224, False: 42]
  ------------------
  130|    224|        if (isEsProfile()) {
  ------------------
  |  Branch (130:13): [True: 164, False: 60]
  ------------------
  131|       |            // Most don't have defaults, a few default to lowp.
  132|    164|            TSampler sampler;
  133|    164|            sampler.set(EbtFloat, Esd2D);
  134|    164|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  135|    164|            sampler.set(EbtFloat, EsdCube);
  136|    164|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  137|    164|            sampler.set(EbtFloat, Esd2D);
  138|    164|            sampler.setExternal(true);
  139|    164|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  140|    164|        }
  141|       |
  142|       |        // If we are parsing built-in computational variables/functions, it is meaningful to record
  143|       |        // whether the built-in has no precision qualifier, as that ambiguity
  144|       |        // is used to resolve the precision from the supplied arguments/operands instead.
  145|       |        // So, we don't actually want to replace EpqNone with a default precision for built-ins.
  146|    224|        if (! parsingBuiltins) {
  ------------------
  |  Branch (146:13): [True: 20, False: 204]
  ------------------
  147|     20|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (147:17): [True: 20, False: 0]
  |  Branch (147:34): [True: 0, False: 20]
  ------------------
  148|      0|                defaultPrecision[EbtInt] = EpqMedium;
  149|      0|                defaultPrecision[EbtUint] = EpqMedium;
  150|     20|            } else {
  151|     20|                defaultPrecision[EbtInt] = EpqHigh;
  152|     20|                defaultPrecision[EbtUint] = EpqHigh;
  153|     20|                defaultPrecision[EbtFloat] = EpqHigh;
  154|     20|            }
  155|       |
  156|     20|            if (!isEsProfile()) {
  ------------------
  |  Branch (156:17): [True: 0, False: 20]
  ------------------
  157|       |                // Non-ES profile
  158|       |                // All sampler precisions default to highp.
  159|      0|                for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (159:36): [True: 0, False: 0]
  ------------------
  160|      0|                    defaultSamplerPrecision[type] = EpqHigh;
  161|      0|            }
  162|     20|        }
  163|       |
  164|    224|        defaultPrecision[EbtSampler] = EpqLow;
  165|    224|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  166|    224|    }
  167|    266|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  170|     23|{
  171|     23|    resources = r;
  172|     23|    intermediate.setLimits(r);
  173|       |
  174|     23|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 23]
  ------------------
  175|     23|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 23]
  ------------------
  176|     23|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 23]
  ------------------
  177|     23|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 23]
  ------------------
  178|     23|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (178:22): [True: 0, False: 23]
  ------------------
  179|     23|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (179:22): [True: 0, False: 23]
  ------------------
  180|       |
  181|       |
  182|       |    // "Each binding point tracks its own current default offset for
  183|       |    // inheritance of subsequent variables using the same binding. The initial state of compilation is that all
  184|       |    // binding points have an offset of 0."
  185|     23|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  186|     46|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (186:21): [True: 23, False: 23]
  ------------------
  187|     23|        atomicUintOffsets[b] = 0;
  188|     23|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  198|    266|{
  199|    266|    currentScanner = &input;
  200|    266|    ppContext.setInput(input, versionWillBeError);
  201|    266|    yyparse(this);
  202|       |
  203|    266|    finish();
  204|       |
  205|    266|    return numErrors == 0;
  206|    266|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  213|     60|{
  214|     60|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (214:9): [True: 37, False: 23]
  |  Branch (214:43): [True: 0, False: 23]
  ------------------
  215|     37|        error(getCurrentLoc(), "", "", "%s", s);
  216|     23|    else
  217|     23|        error(getCurrentLoc(), "compilation terminated", "", "");
  218|     60|}
_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  470|     70|{
  471|     70|    TIntermTyped* node = nullptr;
  472|       |
  473|       |    // Error check for requiring specific extensions present.
  474|     70|    if (symbol && symbol->getNumExtensions())
  ------------------
  |  Branch (474:9): [True: 4, False: 66]
  |  Branch (474:19): [True: 0, False: 4]
  ------------------
  475|      0|        requireExtensions(loc, symbol->getNumExtensions(), symbol->getExtensions(), symbol->getName().c_str());
  476|       |
  477|     70|    if (symbol && symbol->isReadOnly()) {
  ------------------
  |  Branch (477:9): [True: 4, False: 66]
  |  Branch (477:19): [True: 0, False: 4]
  ------------------
  478|       |        // All shared things containing an unsized array must be copied up
  479|       |        // on first use, so that all future references will share its array structure,
  480|       |        // so that editing the implicit size will effect all nodes consuming it,
  481|       |        // and so that editing the implicit size won't change the shared one.
  482|       |        //
  483|       |        // If this is a variable or a block, check it and all it contains, but if this
  484|       |        // is a member of an anonymous block, check the whole block, as the whole block
  485|       |        // will need to be copied up if it contains an unsized array.
  486|       |        //
  487|       |        // This check is being done before the block-name check further down, so guard
  488|       |        // for that too.
  489|      0|        if (!symbol->getType().isUnusableName()) {
  ------------------
  |  Branch (489:13): [True: 0, False: 0]
  ------------------
  490|      0|            if (symbol->getType().containsUnsizedArray() ||
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                (symbol->getAsAnonMember() &&
  ------------------
  |  Branch (491:18): [True: 0, False: 0]
  ------------------
  492|      0|                 symbol->getAsAnonMember()->getAnonContainer().getType().containsUnsizedArray()))
  ------------------
  |  Branch (492:18): [True: 0, False: 0]
  ------------------
  493|      0|                makeEditable(symbol);
  494|      0|        }
  495|      0|    }
  496|       |
  497|     70|    const TVariable* variable;
  498|     70|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (498:31): [True: 4, False: 66]
  ------------------
  499|     70|    if (anon) {
  ------------------
  |  Branch (499:9): [True: 0, False: 70]
  ------------------
  500|       |        // It was a member of an anonymous container.
  501|       |
  502|       |        // Create a subtree for its dereference.
  503|      0|        variable = anon->getAnonContainer().getAsVariable();
  504|      0|        TIntermTyped* container = intermediate.addSymbol(*variable, loc);
  505|      0|        TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc);
  506|      0|        node = intermediate.addIndex(EOpIndexDirectStruct, container, constNode, loc);
  507|       |
  508|      0|        node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type);
  509|      0|        if (node->getType().hiddenMember())
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  ------------------
  510|      0|            error(loc, "member of nameless block was not redeclared", string->c_str(), "");
  511|     70|    } else {
  512|       |        // Not a member of an anonymous container.
  513|       |
  514|       |        // The symbol table search was done in the lexical phase.
  515|       |        // See if it was a variable.
  516|     70|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (516:20): [True: 4, False: 66]
  ------------------
  517|     70|        if (variable) {
  ------------------
  |  Branch (517:13): [True: 4, False: 66]
  ------------------
  518|      4|            if (variable->getType().isUnusableName()) {
  ------------------
  |  Branch (518:17): [True: 0, False: 4]
  ------------------
  519|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  520|      0|                variable = nullptr;
  521|      0|            }
  522|       |
  523|      4|            if (language == EShLangMesh && variable) {
  ------------------
  |  Branch (523:17): [True: 0, False: 4]
  |  Branch (523:44): [True: 0, False: 0]
  ------------------
  524|      0|                TLayoutGeometry primitiveType = intermediate.getOutputPrimitive();
  525|      0|                if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
  ------------------
  |  Branch (525:22): [True: 0, False: 0]
  |  Branch (525:88): [True: 0, False: 0]
  ------------------
  526|      0|                    (variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
  ------------------
  |  Branch (526:22): [True: 0, False: 0]
  |  Branch (526:84): [True: 0, False: 0]
  ------------------
  527|      0|                    (variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
  ------------------
  |  Branch (527:22): [True: 0, False: 0]
  |  Branch (527:85): [True: 0, False: 0]
  ------------------
  528|      0|                    error(loc, "cannot be used (output primitive type mismatch)", string->c_str(), "");
  529|      0|                    variable = nullptr;
  530|      0|                }
  531|      0|            }
  532|     66|        } else {
  533|     66|            if (symbol)
  ------------------
  |  Branch (533:17): [True: 0, False: 66]
  ------------------
  534|      0|                error(loc, "variable name expected", string->c_str(), "");
  535|     66|        }
  536|       |
  537|       |        // Recovery, if it wasn't found or was not a variable.
  538|     70|        if (! variable) {
  ------------------
  |  Branch (538:13): [True: 66, False: 4]
  ------------------
  539|     66|            bool builtIn = false;
  540|     66|            TVector<const TFunction*> candidateList;
  541|     66|            symbolTable.findFunctionNameList(*string + "(", candidateList, builtIn);
  542|       |
  543|       |            // If it's a function, pass the name/mangledName
  544|     66|            if (!candidateList.empty() && !builtIn) {
  ------------------
  |  Branch (544:17): [True: 0, False: 66]
  |  Branch (544:43): [True: 0, False: 0]
  ------------------
  545|      0|                variable = new TVariable(&candidateList[0]->getName(), &candidateList[0]->getMangledName(), TType(EbtFunction));
  546|     66|            } else {
  547|     66|                variable = new TVariable(string, TType(EbtVoid));
  548|     66|            }
  549|     66|        }
  550|       |
  551|       |        // Track use of gl_RayFlagsForceOpacityMicromap2StateEXT before the front-end
  552|       |        // constant fold loses the name. Referencing this built-in is the GLSL-level
  553|       |        // signal that the SPIR-V RayFlags bit ForceOpacityMicromap2StateKHR (0x400)
  554|       |        // will reach a trace / ray-query call, which requires the
  555|       |        // RayTracingOpacityMicromapEXT capability.
  556|     70|        if (variable->getName() == "gl_RayFlagsForceOpacityMicromap2StateEXT")
  ------------------
  |  Branch (556:13): [True: 0, False: 70]
  ------------------
  557|      0|            intermediate.setUsesOpacityMicromap2StateFlag();
  558|       |
  559|     70|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (559:13): [True: 0, False: 70]
  ------------------
  560|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  561|     70|        else
  562|     70|            node = intermediate.addSymbol(*variable, loc);
  563|     70|    }
  564|       |
  565|     70|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (565:9): [True: 0, False: 70]
  ------------------
  566|      0|        intermediate.addIoAccessed(*string);
  567|       |
  568|     70|    if (variable->getType().isReference() &&
  ------------------
  |  Branch (568:9): [True: 0, False: 70]
  ------------------
  569|      0|        variable->getType().getQualifier().bufferReferenceNeedsVulkanMemoryModel()) {
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        intermediate.setUseVulkanMemoryModel();
  571|      0|    }
  572|       |
  573|     70|    return node;
  574|     70|}
_ZN7glslang13TParseContext24handleBracketDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedES5_:
  580|      1|{
  581|      1|    int64_t indexValue = 0;
  582|      1|    if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (582:9): [True: 1, False: 0]
  ------------------
  583|      1|        if (index->getType().contains64BitInt()) {
  ------------------
  |  Branch (583:13): [True: 0, False: 1]
  ------------------
  584|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getI64Const();
  585|      1|        } else if (index->getType().getBasicType() == EbtUint) {
  ------------------
  |  Branch (585:20): [True: 0, False: 1]
  ------------------
  586|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getUConst();
  587|      1|        } else {
  588|      1|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst();
  589|      1|        }
  590|      1|    }
  591|       |    // basic type checks...
  592|      1|    variableCheck(base);
  593|       |
  594|      1|    if (! base->isArray() && ! base->isMatrix() && ! base->isVector() && ! base->getType().isCoopMat() &&
  ------------------
  |  Branch (594:9): [True: 1, False: 0]
  |  Branch (594:30): [True: 1, False: 0]
  |  Branch (594:52): [True: 1, False: 0]
  |  Branch (594:74): [True: 1, False: 0]
  ------------------
  595|      1|        ! base->isReference() && ! base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (595:9): [True: 1, False: 0]
  |  Branch (595:34): [True: 1, False: 0]
  ------------------
  596|      1|        if (base->getAsSymbolNode())
  ------------------
  |  Branch (596:13): [True: 1, False: 0]
  ------------------
  597|      1|            error(loc, " left of '[' is not of type array, matrix, or vector ", base->getAsSymbolNode()->getName().c_str(), "");
  598|      0|        else
  599|      0|            error(loc, " left of '[' is not of type array, matrix, or vector ", "expression", "");
  600|       |
  601|       |        // Insert dummy error-recovery result
  602|      1|        return intermediate.addConstantUnion(0.0, EbtFloat, loc);
  603|      1|    }
  604|       |
  605|      0|    if (!base->isArray() && base->isVector()) {
  ------------------
  |  Branch (605:9): [True: 0, False: 0]
  |  Branch (605:29): [True: 0, False: 0]
  ------------------
  606|      0|        if (base->getType().contains16BitFloat())
  ------------------
  |  Branch (606:13): [True: 0, False: 0]
  ------------------
  607|      0|            requireFloat16Arithmetic(loc, "[", "does not operate on types containing float16");
  608|      0|        if (base->getType().contains16BitInt())
  ------------------
  |  Branch (608:13): [True: 0, False: 0]
  ------------------
  609|      0|            requireInt16Arithmetic(loc, "[", "does not operate on types containing (u)int16");
  610|      0|        if (base->getType().contains8BitInt())
  ------------------
  |  Branch (610:13): [True: 0, False: 0]
  ------------------
  611|      0|            requireInt8Arithmetic(loc, "[", "does not operate on types containing (u)int8");
  612|      0|    }
  613|       |
  614|       |    // check for constant folding
  615|      0|    if (base->getType().getQualifier().isFrontEndConstant() && index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (615:9): [True: 0, False: 0]
  |  Branch (615:64): [True: 0, False: 0]
  ------------------
  616|       |        // both base and index are front-end constants
  617|      0|        checkIndex(loc, base->getType(), indexValue);
  618|      0|        return intermediate.foldDereference(base, indexValue, loc);
  619|      0|    }
  620|       |
  621|       |    // at least one of base and index is not a front-end constant variable...
  622|      0|    TIntermTyped* result = nullptr;
  623|       |
  624|      0|    if (base->isReference() && ! base->isArray()) {
  ------------------
  |  Branch (624:9): [True: 0, False: 0]
  |  Branch (624:32): [True: 0, False: 0]
  ------------------
  625|      0|        requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference indexing");
  626|      0|        if (base->getType().getReferentType()->containsUnsizedArray()) {
  ------------------
  |  Branch (626:13): [True: 0, False: 0]
  ------------------
  627|      0|            error(loc, "cannot index reference to buffer containing an unsized array", "", "");
  628|      0|            result = nullptr;
  629|      0|        } else {
  630|      0|            result = intermediate.addBinaryMath(EOpAdd, base, index, loc);
  631|      0|            if (result != nullptr)
  ------------------
  |  Branch (631:17): [True: 0, False: 0]
  ------------------
  632|      0|                result->setType(base->getType());
  633|      0|        }
  634|      0|        if (result == nullptr) {
  ------------------
  |  Branch (634:13): [True: 0, False: 0]
  ------------------
  635|      0|            error(loc, "cannot index buffer reference", "", "");
  636|      0|            result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
  637|      0|        }
  638|      0|        return result;
  639|      0|    }
  640|      0|    if (base->getAsSymbolNode() && isIoResizeArray(base->getType()))
  ------------------
  |  Branch (640:9): [True: 0, False: 0]
  |  Branch (640:36): [True: 0, False: 0]
  ------------------
  641|      0|        handleIoResizeArrayAccess(loc, base);
  642|       |
  643|      0|    if (index->getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (643:9): [True: 0, False: 0]
  ------------------
  644|      0|        checkIndex(loc, base->getType(), indexValue);
  645|       |
  646|      0|    if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (646:9): [True: 0, False: 0]
  ------------------
  647|      0|        if (base->getType().isUnsizedArray()) {
  ------------------
  |  Branch (647:13): [True: 0, False: 0]
  ------------------
  648|      0|            base->getWritableType().updateImplicitArraySize(indexValue + 1);
  649|      0|            base->getWritableType().setImplicitlySized(true);
  650|      0|            if (base->getQualifier().builtIn == EbvClipDistance &&
  ------------------
  |  Branch (650:17): [True: 0, False: 0]
  ------------------
  651|      0|                indexValue >= resources.maxClipDistances) {
  ------------------
  |  Branch (651:17): [True: 0, False: 0]
  ------------------
  652|      0|                error(loc, "gl_ClipDistance", "[", "array index out of range '%lld'", (long long)indexValue);
  653|      0|            }
  654|      0|            else if (base->getQualifier().builtIn == EbvCullDistance &&
  ------------------
  |  Branch (654:22): [True: 0, False: 0]
  ------------------
  655|      0|                indexValue >= resources.maxCullDistances) {
  ------------------
  |  Branch (655:17): [True: 0, False: 0]
  ------------------
  656|      0|                error(loc, "gl_CullDistance", "[", "array index out of range '%lld'", (long long)indexValue);
  657|      0|            }
  658|      0|            else if (base->getQualifier().builtIn == EbvSampleMask &&
  ------------------
  |  Branch (658:22): [True: 0, False: 0]
  ------------------
  659|      0|                indexValue >= (resources.maxSamples + 31) / 32) {
  ------------------
  |  Branch (659:17): [True: 0, False: 0]
  ------------------
  660|      0|                error(loc, "gl_SampleMask", "[", "array index out of range '%lld'", (long long)indexValue);
  661|      0|            }
  662|       |            // For 2D per-view builtin arrays, update the inner dimension size in parent type
  663|      0|            if (base->getQualifier().isPerView() && base->getQualifier().builtIn != EbvNone) {
  ------------------
  |  Branch (663:17): [True: 0, False: 0]
  |  Branch (663:53): [True: 0, False: 0]
  ------------------
  664|      0|                TIntermBinary* binaryNode = base->getAsBinaryNode();
  665|      0|                if (binaryNode) {
  ------------------
  |  Branch (665:21): [True: 0, False: 0]
  ------------------
  666|      0|                    TType& leftType = binaryNode->getLeft()->getWritableType();
  667|      0|                    TArraySizes& arraySizes = *leftType.getArraySizes();
  668|      0|                    assert(arraySizes.getNumDims() == 2);
  669|      0|                    assert(indexValue < std::numeric_limits<int>::max());
  670|      0|                    arraySizes.setDimSize(1, std::max(arraySizes.getDimSize(1), (int)indexValue + 1));
  671|      0|                }
  672|      0|            }
  673|      0|        } else
  674|      0|            checkIndex(loc, base->getType(), indexValue);
  675|      0|        result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
  676|      0|    } else {
  677|      0|        if (base->getType().isUnsizedArray()) {
  ------------------
  |  Branch (677:13): [True: 0, False: 0]
  ------------------
  678|       |            // we have a variable index into an unsized array, which is okay,
  679|       |            // depending on the situation
  680|      0|            if (base->getAsSymbolNode() && isIoResizeArray(base->getType()))
  ------------------
  |  Branch (680:17): [True: 0, False: 0]
  |  Branch (680:44): [True: 0, False: 0]
  ------------------
  681|      0|                error(loc, "", "[", "array must be sized by a redeclaration or layout qualifier before being indexed with a variable");
  682|      0|            else {
  683|       |                // it is okay for a run-time sized array
  684|      0|                checkRuntimeSizable(loc, *base);
  685|      0|            }
  686|      0|            base->getWritableType().setArrayVariablyIndexed();
  687|      0|        }
  688|      0|        if (base->getBasicType() == EbtBlock) {
  ------------------
  |  Branch (688:13): [True: 0, False: 0]
  ------------------
  689|      0|            if (base->getQualifier().storage == EvqBuffer)
  ------------------
  |  Branch (689:17): [True: 0, False: 0]
  ------------------
  690|      0|                requireProfile(base->getLoc(), ~EEsProfile, "variable indexing buffer block array");
  691|      0|            else if (base->getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (691:22): [True: 0, False: 0]
  ------------------
  692|      0|                profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5,
  693|      0|                                "variable indexing uniform block array");
  694|      0|                profileRequires(base->getLoc(), ECoreProfile, 400, Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5,
  695|      0|                                "variable indexing uniform block array");
  696|       |
  697|      0|            }
  698|      0|            else {
  699|       |                // input/output blocks either don't exist or can't be variably indexed
  700|      0|            }
  701|      0|        } else if (language == EShLangFragment && base->getQualifier().isPipeOutput() && base->getQualifier().builtIn != EbvSampleMask)
  ------------------
  |  Branch (701:20): [True: 0, False: 0]
  |  Branch (701:51): [True: 0, False: 0]
  |  Branch (701:90): [True: 0, False: 0]
  ------------------
  702|      0|            requireProfile(base->getLoc(), ~EEsProfile, "variable indexing fragment shader output array");
  703|      0|        else if (base->getBasicType() == EbtSampler && version >= 130) {
  ------------------
  |  Branch (703:18): [True: 0, False: 0]
  |  Branch (703:56): [True: 0, False: 0]
  ------------------
  704|      0|            const char* explanation = "variable indexing sampler array";
  705|      0|            requireProfile(base->getLoc(), EEsProfile | ECoreProfile | ECompatibilityProfile, explanation);
  706|      0|            profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, explanation);
  707|      0|            profileRequires(base->getLoc(), ECoreProfile | ECompatibilityProfile, 400, Num_AEP_core_gpu_shader5,
  708|      0|                            AEP_core_gpu_shader5, explanation);
  709|      0|        }
  710|       |
  711|      0|        result = intermediate.addIndex(EOpIndexIndirect, base, index, loc);
  712|      0|    }
  713|       |
  714|       |    // Insert valid dereferenced result type
  715|      0|    TType newType(base->getType(), 0);
  716|      0|    if (base->getType().getQualifier().isConstant() && index->getQualifier().isConstant()) {
  ------------------
  |  Branch (716:9): [True: 0, False: 0]
  |  Branch (716:56): [True: 0, False: 0]
  ------------------
  717|      0|        newType.getQualifier().storage = EvqConst;
  718|       |        // If base or index is a specialization constant, the result should also be a specialization constant.
  719|      0|        if (base->getType().getQualifier().isSpecConstant() || index->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (719:13): [True: 0, False: 0]
  |  Branch (719:64): [True: 0, False: 0]
  ------------------
  720|      0|            newType.getQualifier().makeSpecConstant();
  721|      0|        }
  722|      0|    } else {
  723|      0|        newType.getQualifier().storage = EvqTemporary;
  724|      0|        newType.getQualifier().specConstant = false;
  725|      0|    }
  726|      0|    result->setType(newType);
  727|       |
  728|      0|    inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
  729|       |
  730|       |    // Propagate nonuniform
  731|      0|    if (base->getQualifier().isNonUniform() || index->getQualifier().isNonUniform())
  ------------------
  |  Branch (731:9): [True: 0, False: 0]
  |  Branch (731:48): [True: 0, False: 0]
  ------------------
  732|      0|        result->getWritableType().getQualifier().nonUniform = true;
  733|       |
  734|      0|    if (anyIndexLimits)
  ------------------
  |  Branch (734:9): [True: 0, False: 0]
  ------------------
  735|      0|        handleIndexLimits(loc, base, index);
  736|       |
  737|      0|    return result;
  738|      0|}
_ZNK7glslang13TParseContext15isIoResizeArrayERKNS_5TTypeE:
  773|     59|{
  774|     59|    return type.isArray() &&
  ------------------
  |  Branch (774:12): [True: 38, False: 21]
  ------------------
  775|     38|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (775:14): [True: 7, False: 31]
  |  Branch (775:48): [True: 7, False: 0]
  ------------------
  776|     31|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (776:14): [True: 7, False: 24]
  |  Branch (776:48): [True: 7, False: 0]
  ------------------
  777|      7|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (777:17): [True: 7, False: 0]
  ------------------
  778|     24|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (778:14): [True: 0, False: 24]
  |  Branch (778:45): [True: 0, False: 0]
  ------------------
  779|      0|                (type.getQualifier().pervertexNV || type.getQualifier().pervertexEXT)) ||
  ------------------
  |  Branch (779:18): [True: 0, False: 0]
  |  Branch (779:53): [True: 0, False: 0]
  ------------------
  780|     24|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (780:14): [True: 24, False: 0]
  |  Branch (780:41): [True: 24, False: 0]
  ------------------
  781|     24|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (781:17): [True: 24, False: 0]
  ------------------
  782|     59|}
_ZN7glslang13TParseContext14fixIoArraySizeERKNS_10TSourceLocERNS_5TTypeE:
  786|     21|{
  787|     21|    if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (787:9): [True: 21, False: 0]
  |  Branch (787:29): [True: 0, False: 0]
  |  Branch (787:58): [True: 0, False: 0]
  ------------------
  788|     21|        return;
  789|       |
  790|     21|    assert(! isIoResizeArray(type));
  791|       |
  792|      0|    if (type.getQualifier().storage != EvqVaryingIn || type.getQualifier().patch)
  ------------------
  |  Branch (792:9): [True: 0, False: 0]
  |  Branch (792:56): [True: 0, False: 0]
  ------------------
  793|      0|        return;
  794|       |
  795|      0|    if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (795:9): [True: 0, False: 0]
  |  Branch (795:43): [True: 0, False: 0]
  ------------------
  796|      0|        if (type.getOuterArraySize() != resources.maxPatchVertices) {
  ------------------
  |  Branch (796:13): [True: 0, False: 0]
  ------------------
  797|      0|            if (type.isSizedArray())
  ------------------
  |  Branch (797:17): [True: 0, False: 0]
  ------------------
  798|      0|                error(loc, "tessellation input array size must be gl_MaxPatchVertices or implicitly sized", "[]", "");
  799|      0|            type.changeOuterArraySize(resources.maxPatchVertices);
  800|      0|        }
  801|      0|    }
  802|      0|}
_ZN7glslang13TParseContext12ioArrayCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  808|  3.79k|{
  809|  3.79k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (809:9): [True: 3.79k, False: 0]
  |  Branch (809:29): [True: 0, False: 3.79k]
  ------------------
  810|      0|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (810:13): [True: 0, False: 0]
  |  Branch (810:58): [True: 0, False: 0]
  ------------------
  811|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), "%s", identifier.c_str());
  812|      0|    }
  813|  3.79k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  842|     38|{
  843|     38|    int requiredSize = 0;
  844|     38|    TString featureString;
  845|     38|    size_t listSize = ioArraySymbolResizeList.size();
  846|     38|    size_t i = 0;
  847|       |
  848|       |    // If tailOnly = true, only check the last array symbol in the list.
  849|     38|    if (tailOnly) {
  ------------------
  |  Branch (849:9): [True: 38, False: 0]
  ------------------
  850|     38|        i = listSize - 1;
  851|     38|    }
  852|     38|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (852:38): [True: 38, False: 0]
  ------------------
  853|     38|        TType &type = ioArraySymbolResizeList[i]->getWritableType();
  854|       |
  855|       |        // As I/O array sizes don't change, fetch requiredSize only once,
  856|       |        // except for mesh shaders which could have different I/O array sizes based on type qualifiers.
  857|     38|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (857:13): [True: 38, False: 0]
  |  Branch (857:31): [True: 0, False: 0]
  ------------------
  858|     38|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  859|     38|            if (requiredSize == 0)
  ------------------
  |  Branch (859:17): [True: 38, False: 0]
  ------------------
  860|     38|                break;
  861|      0|            firstIteration = false;
  862|      0|        }
  863|       |
  864|      0|        checkIoArrayConsistency(loc, requiredSize, featureString.c_str(), type,
  865|      0|                                ioArraySymbolResizeList[i]->getName());
  866|      0|    }
  867|     38|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  870|     38|{
  871|     38|    int expectedSize = 0;
  872|     38|    TString str = "unknown";
  873|     38|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (873:32): [True: 0, False: 38]
  ------------------
  874|       |
  875|     38|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (875:9): [True: 7, False: 31]
  ------------------
  876|      7|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  877|      7|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  878|      7|    }
  879|     31|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (879:14): [True: 7, False: 24]
  ------------------
  880|      7|        expectedSize = maxVertices;
  881|      7|        str = "vertices";
  882|     24|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (882:16): [True: 0, False: 24]
  ------------------
  883|       |        // Number of vertices for Fragment shader is always three.
  884|      0|        expectedSize = 3;
  885|      0|        str = "vertices";
  886|     24|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (886:16): [True: 24, False: 0]
  ------------------
  887|     24|        unsigned int maxPrimitives =
  888|     24|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (888:13): [True: 0, False: 24]
  ------------------
  889|     24|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (889:13): [True: 0, False: 24]
  ------------------
  890|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  891|      0|            str = "max_primitives*";
  892|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  893|      0|        }
  894|     24|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (894:18): [True: 0, False: 24]
  |  Branch (894:73): [True: 0, False: 24]
  ------------------
  895|     24|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (895:18): [True: 0, False: 24]
  ------------------
  896|      0|            expectedSize = maxPrimitives;
  897|      0|            str = "max_primitives";
  898|      0|        }
  899|     24|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (899:18): [True: 12, False: 12]
  ------------------
  900|     12|            expectedSize = maxPrimitives;
  901|     12|            str = "max_primitives";
  902|     12|        }
  903|     12|        else {
  904|     12|            expectedSize = maxVertices;
  905|     12|            str = "max_vertices";
  906|     12|        }
  907|     24|    }
  908|     38|    if (featureString)
  ------------------
  |  Branch (908:9): [True: 38, False: 0]
  ------------------
  909|     38|        *featureString = str;
  910|     38|    return expectedSize;
  911|     38|}
_ZN7glslang13TParseContext16handleBinaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedES8_:
  936|     39|{
  937|     39|    rValueErrorCheck(loc, str, left->getAsTyped());
  938|     39|    rValueErrorCheck(loc, str, right->getAsTyped());
  939|       |
  940|     39|    bool allowed = true;
  941|     39|    switch (op) {
  942|       |    // TODO: Bring more source language-specific checks up from intermediate.cpp
  943|       |    // to the specific parse helpers for that source language.
  944|      0|    case EOpLessThan:
  ------------------
  |  Branch (944:5): [True: 0, False: 39]
  ------------------
  945|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (945:5): [True: 0, False: 39]
  ------------------
  946|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (946:5): [True: 0, False: 39]
  ------------------
  947|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (947:5): [True: 0, False: 39]
  ------------------
  948|      0|        if (! left->isScalar() || ! right->isScalar())
  ------------------
  |  Branch (948:13): [True: 0, False: 0]
  |  Branch (948:35): [True: 0, False: 0]
  ------------------
  949|      0|            allowed = false;
  950|      0|        break;
  951|     39|    default:
  ------------------
  |  Branch (951:5): [True: 39, False: 0]
  ------------------
  952|     39|        break;
  953|     39|    }
  954|       |
  955|     39|    if (((left->getType().contains16BitFloat() || right->getType().contains16BitFloat()) && !float16Arithmetic()) ||
  ------------------
  |  Branch (955:11): [True: 0, False: 39]
  |  Branch (955:51): [True: 0, False: 39]
  |  Branch (955:93): [True: 0, False: 0]
  ------------------
  956|     39|        ((left->getType().contains16BitInt() || right->getType().contains16BitInt()) && !int16Arithmetic()) ||
  ------------------
  |  Branch (956:11): [True: 0, False: 39]
  |  Branch (956:49): [True: 0, False: 39]
  |  Branch (956:89): [True: 0, False: 0]
  ------------------
  957|     39|        ((left->getType().contains8BitInt() || right->getType().contains8BitInt()) && !int8Arithmetic()) ||
  ------------------
  |  Branch (957:11): [True: 0, False: 39]
  |  Branch (957:48): [True: 0, False: 39]
  |  Branch (957:87): [True: 0, False: 0]
  ------------------
  958|     39|        (left->getType().containsBFloat16() || right->getType().containsBFloat16()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 39]
  |  Branch (958:48): [True: 0, False: 39]
  ------------------
  959|     39|        (left->getType().contains8BitFloat() || right->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 39]
  |  Branch (959:49): [True: 0, False: 39]
  ------------------
  960|     39|        (left->getType().containsOcpMicroscalingFloat() || right->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (960:10): [True: 0, False: 39]
  |  Branch (960:60): [True: 0, False: 39]
  ------------------
  961|      0|        allowed = false;
  962|      0|    }
  963|       |
  964|     39|    TIntermTyped* result = nullptr;
  965|     39|    if (allowed) {
  ------------------
  |  Branch (965:9): [True: 39, False: 0]
  ------------------
  966|     39|        if ((left->isReference() || right->isReference()))
  ------------------
  |  Branch (966:14): [True: 0, False: 39]
  |  Branch (966:37): [True: 0, False: 39]
  ------------------
  967|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference math");
  968|     39|        result = intermediate.addBinaryMath(op, left, right, loc);
  969|     39|    }
  970|       |
  971|     39|    if (result == nullptr) {
  ------------------
  |  Branch (971:9): [True: 10, False: 29]
  ------------------
  972|     10|        bool enhanced = intermediate.getEnhancedMsgs();
  973|     10|        binaryOpError(loc, str, left->getCompleteString(enhanced), right->getCompleteString(enhanced));
  974|     10|    }
  975|       |
  976|     39|    return result;
  977|     39|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  981|     69|{
  982|     69|    rValueErrorCheck(loc, str, childNode);
  983|       |
  984|     69|    bool allowed = true;
  985|     69|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (985:10): [True: 0, False: 69]
  |  Branch (985:55): [True: 0, False: 0]
  ------------------
  986|     69|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (986:10): [True: 0, False: 69]
  |  Branch (986:53): [True: 0, False: 0]
  ------------------
  987|     69|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (987:10): [True: 0, False: 69]
  |  Branch (987:52): [True: 0, False: 0]
  ------------------
  988|     69|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (988:9): [True: 0, False: 69]
  ------------------
  989|     69|        (childNode->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (989:9): [True: 0, False: 69]
  ------------------
  990|     69|        (childNode->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (990:9): [True: 0, False: 69]
  ------------------
  991|      0|        allowed = false;
  992|      0|    }
  993|       |
  994|     69|    TIntermTyped* result = nullptr;
  995|     69|    if (allowed)
  ------------------
  |  Branch (995:9): [True: 69, False: 0]
  ------------------
  996|     69|        result = intermediate.addUnaryMath(op, childNode, loc);
  997|       |
  998|     69|    if (result)
  ------------------
  |  Branch (998:9): [True: 3, False: 66]
  ------------------
  999|      3|        return result;
 1000|     66|    else {
 1001|     66|        bool enhanced = intermediate.getEnhancedMsgs();
 1002|     66|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
 1003|     66|    }
 1004|       |
 1005|     66|    return childNode;
 1006|     69|}
_ZN7glslang13TParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1012|     26|{
 1013|     26|    variableCheck(base);
 1014|       |
 1015|       |    //
 1016|       |    // .length() can't be resolved until we later see the function-calling syntax.
 1017|       |    // Save away the name in the AST for now.  Processing is completed in
 1018|       |    // handleLengthMethod().
 1019|       |    //
 1020|     26|    if (field == "length" || field == "length64") {
  ------------------
  |  Branch (1020:9): [True: 0, False: 26]
  |  Branch (1020:30): [True: 0, False: 26]
  ------------------
 1021|      0|        if (base->isArray()) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  ------------------
 1022|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, (TString(".") + field).c_str());
 1023|      0|            profileRequires(loc, EEsProfile, 300, nullptr, (TString(".") + field).c_str());
 1024|      0|        } else if (base->isVector() || base->isMatrix()) {
  ------------------
  |  Branch (1024:20): [True: 0, False: 0]
  |  Branch (1024:40): [True: 0, False: 0]
  ------------------
 1025|      0|            const char* feature = ".length() on vectors and matrices";
 1026|      0|            requireProfile(loc, ~EEsProfile, feature);
 1027|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, feature);
 1028|      0|        } else if (!base->getType().isCoopMat() && !base->getType().isCoopVecOrLongVector()) {
  ------------------
  |  Branch (1028:20): [True: 0, False: 0]
  |  Branch (1028:52): [True: 0, False: 0]
  ------------------
 1029|      0|            bool enhanced = intermediate.getEnhancedMsgs();
 1030|      0|            error(loc, "does not operate on this type:", field.c_str(), "%s", base->getType().getCompleteString(enhanced).c_str());
 1031|      0|            return base;
 1032|      0|        }
 1033|       |
 1034|      0|        if (field == "length") {
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  ------------------
 1035|      0|            return intermediate.addMethod(base, TType(EbtInt), &field, loc);
 1036|      0|        } else {
 1037|      0|            requireExtensions(loc, 1, &E_GL_EXT_shader_64bit_indexing, "length64");
 1038|      0|            return intermediate.addMethod(base, TType(EbtInt64), &field, loc);
 1039|      0|        }
 1040|      0|    }
 1041|       |
 1042|       |    // It's not .length() if we get to here.
 1043|       |
 1044|     26|    if (base->isArray()) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 26]
  ------------------
 1045|      0|        error(loc, "cannot apply to an array:", ".", "%s", field.c_str());
 1046|       |
 1047|      0|        return base;
 1048|      0|    }
 1049|       |
 1050|     26|    if (base->getType().isCoopMat()) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 26]
  ------------------
 1051|      0|        error(loc, "cannot apply to a cooperative matrix type:", ".", "%s", field.c_str());
 1052|      0|        return base;
 1053|      0|    }
 1054|       |
 1055|       |    // It's neither an array nor .length() if we get here,
 1056|       |    // leaving swizzles and struct/block dereferences.
 1057|       |
 1058|     26|    TIntermTyped* result = base;
 1059|     26|    if ((base->isVector() || base->isScalar()) &&
  ------------------
  |  Branch (1059:10): [True: 0, False: 26]
  |  Branch (1059:30): [True: 26, False: 0]
  ------------------
 1060|     26|        (base->isFloatingDomain() || base->isIntegerDomain() || base->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (1060:10): [True: 0, False: 26]
  |  Branch (1060:38): [True: 26, False: 0]
  |  Branch (1060:65): [True: 0, False: 0]
  ------------------
 1061|     26|        result = handleDotSwizzle(loc, base, field);
 1062|     26|    } else if (base->isStruct() || base->isReference()) {
  ------------------
  |  Branch (1062:16): [True: 0, False: 0]
  |  Branch (1062:36): [True: 0, False: 0]
  ------------------
 1063|      0|        const TTypeList* fields = base->isReference() ?
  ------------------
  |  Branch (1063:35): [True: 0, False: 0]
  ------------------
 1064|      0|                                  base->getType().getReferentType()->getStruct() :
 1065|      0|                                  base->getType().getStruct();
 1066|      0|        bool fieldFound = false;
 1067|      0|        int member;
 1068|      0|        for (member = 0; member < (int)fields->size(); ++member) {
  ------------------
  |  Branch (1068:26): [True: 0, False: 0]
  ------------------
 1069|      0|            if ((*fields)[member].type->getFieldName() == field) {
  ------------------
  |  Branch (1069:17): [True: 0, False: 0]
  ------------------
 1070|      0|                fieldFound = true;
 1071|      0|                break;
 1072|      0|            }
 1073|      0|        }
 1074|       |
 1075|      0|        if (fieldFound) {
  ------------------
  |  Branch (1075:13): [True: 0, False: 0]
  ------------------
 1076|      0|            if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  |  Branch (1076:43): [True: 0, False: 0]
  ------------------
 1077|      0|                result = vkRelaxedRemapDotDereference(loc, *base, *(*fields)[member].type, field);
 1078|       |
 1079|      0|            if (result == base)
  ------------------
  |  Branch (1079:17): [True: 0, False: 0]
  ------------------
 1080|      0|            {
 1081|      0|                if (base->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (1081:21): [True: 0, False: 0]
  ------------------
 1082|      0|                    result = intermediate.foldDereference(base, member, loc);
 1083|      0|                else {
 1084|      0|                    blockMemberExtensionCheck(loc, base, member, field);
 1085|      0|                    TIntermTyped* index = intermediate.addConstantUnion(member, loc);
 1086|      0|                    result = intermediate.addIndex(EOpIndexDirectStruct, base, index, loc);
 1087|      0|                    result->setType(*(*fields)[member].type);
 1088|      0|                    if ((*fields)[member].type->getQualifier().isIo())
  ------------------
  |  Branch (1088:25): [True: 0, False: 0]
  ------------------
 1089|      0|                        intermediate.addIoAccessed(field);
 1090|      0|                }
 1091|      0|            }
 1092|       |
 1093|      0|            inheritMemoryQualifiers(base->getQualifier(), result->getWritableType().getQualifier());
 1094|      0|        } else {
 1095|      0|            auto baseSymbol = base;
 1096|      0|            while (baseSymbol->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (1096:20): [True: 0, False: 0]
  ------------------
 1097|      0|                auto binaryNode = baseSymbol->getAsBinaryNode();
 1098|      0|                if (binaryNode == nullptr) break;
  ------------------
  |  Branch (1098:21): [True: 0, False: 0]
  ------------------
 1099|      0|                baseSymbol = binaryNode->getLeft();
 1100|      0|            }
 1101|      0|            if (baseSymbol->getAsSymbolNode() != nullptr) {
  ------------------
  |  Branch (1101:17): [True: 0, False: 0]
  ------------------
 1102|      0|                TString structName;
 1103|      0|                structName.append("\'").append(baseSymbol->getAsSymbolNode()->getName().c_str()).append("\'");
 1104|      0|                error(loc, "no such field in structure", field.c_str(), "%s", structName.c_str());
 1105|      0|            } else {
 1106|      0|                error(loc, "no such field in structure", field.c_str(), "");
 1107|      0|            }
 1108|      0|        }
 1109|      0|    } else
 1110|      0|        error(loc, "does not apply to this type:", field.c_str(),
 1111|      0|          "%s", base->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 1112|       |
 1113|       |    // Propagate noContraction up the dereference chain
 1114|     26|    if (base->getQualifier().isNoContraction())
  ------------------
  |  Branch (1114:9): [True: 0, False: 26]
  ------------------
 1115|      0|        result->getWritableType().getQualifier().setNoContraction();
 1116|       |
 1117|       |    // Propagate nonuniform
 1118|     26|    if (base->getQualifier().isNonUniform())
  ------------------
  |  Branch (1118:9): [True: 0, False: 26]
  ------------------
 1119|      0|        result->getWritableType().getQualifier().nonUniform = true;
 1120|       |
 1121|     26|    return result;
 1122|     26|}
_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1128|     26|{
 1129|     26|    TIntermTyped* result = base;
 1130|     26|    if (base->isScalar()) {
  ------------------
  |  Branch (1130:9): [True: 26, False: 0]
  ------------------
 1131|     26|        const char* dotFeature = "scalar swizzle";
 1132|     26|        requireProfile(loc, ~EEsProfile, dotFeature);
 1133|     26|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature);
 1134|     26|    }
 1135|       |
 1136|     26|    TSwizzleSelectors<TVectorSelector> selectors;
 1137|     26|    parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
 1138|       |
 1139|     26|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitFloat())
  ------------------
  |  Branch (1139:9): [True: 0, False: 26]
  |  Branch (1139:29): [True: 0, False: 0]
  |  Branch (1139:54): [True: 0, False: 0]
  ------------------
 1140|      0|        requireFloat16Arithmetic(loc, ".", "can't swizzle types containing float16");
 1141|     26|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitInt())
  ------------------
  |  Branch (1141:9): [True: 0, False: 26]
  |  Branch (1141:29): [True: 0, False: 0]
  |  Branch (1141:54): [True: 0, False: 0]
  ------------------
 1142|      0|        requireInt16Arithmetic(loc, ".", "can't swizzle types containing (u)int16");
 1143|     26|    if (base->isVector() && selectors.size() != 1 && base->getType().contains8BitInt())
  ------------------
  |  Branch (1143:9): [True: 0, False: 26]
  |  Branch (1143:29): [True: 0, False: 0]
  |  Branch (1143:54): [True: 0, False: 0]
  ------------------
 1144|      0|        requireInt8Arithmetic(loc, ".", "can't swizzle types containing (u)int8");
 1145|       |
 1146|     26|    if (base->isScalar()) {
  ------------------
  |  Branch (1146:9): [True: 26, False: 0]
  ------------------
 1147|     26|        if (selectors.size() == 1)
  ------------------
  |  Branch (1147:13): [True: 0, False: 26]
  ------------------
 1148|      0|            return result;
 1149|     26|        else {
 1150|     26|            TType type(base->getBasicType(), EvqTemporary, selectors.size());
 1151|       |            // Swizzle operations propagate specialization-constantness
 1152|     26|            if (base->getQualifier().isSpecConstant())
  ------------------
  |  Branch (1152:17): [True: 0, False: 26]
  ------------------
 1153|      0|                type.getQualifier().makeSpecConstant();
 1154|     26|            return addConstructor(loc, base, type);
 1155|     26|        }
 1156|     26|    }
 1157|       |
 1158|      0|    if (base->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1158:9): [True: 0, False: 0]
  ------------------
 1159|      0|	rValueErrorCheck(loc, ".", base);
 1160|      0|        result = intermediate.foldSwizzle(base, selectors, loc);
 1161|      0|    } else {
 1162|      0|        if (selectors.size() == 1) {
  ------------------
  |  Branch (1162:13): [True: 0, False: 0]
  ------------------
 1163|      0|            TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc);
 1164|      0|            result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
 1165|      0|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision));
 1166|      0|        } else {
 1167|      0|            TIntermTyped* index = intermediate.addSwizzle(selectors, loc);
 1168|      0|            result = intermediate.addIndex(EOpVectorSwizzle, base, index, loc);
 1169|      0|            result->setType(TType(base->getBasicType(), EvqTemporary, base->getType().getQualifier().precision, selectors.size()));
 1170|      0|        }
 1171|       |        // Swizzle operations propagate specialization-constantness
 1172|      0|        if (base->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (1172:13): [True: 0, False: 0]
  ------------------
 1173|      0|            result->getWritableType().getQualifier().makeSpecConstant();
 1174|      0|    }
 1175|       |
 1176|      0|    return result;
 1177|     26|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1226|  92.1k|{
 1227|       |    // ES can't declare prototypes inside functions
 1228|  92.1k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1228:9): [True: 0, False: 92.1k]
  ------------------
 1229|      0|        requireProfile(loc, ~EEsProfile, "local function declaration");
 1230|       |
 1231|       |    //
 1232|       |    // Multiple declarations of the same function name are allowed.
 1233|       |    //
 1234|       |    // If this is a definition, the definition production code will check for redefinitions
 1235|       |    // (we don't know at this point if it's a definition or not).
 1236|       |    //
 1237|       |    // Redeclarations (full signature match) are allowed.  But, return types and parameter qualifiers must also match.
 1238|       |    //  - except ES 100, which only allows a single prototype
 1239|       |    //
 1240|       |    // ES 100 does not allow redefining, but does allow overloading of built-in functions.
 1241|       |    // ES 300 does not allow redefining or overloading of built-in functions.
 1242|       |    //
 1243|  92.1k|    bool builtIn;
 1244|  92.1k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1245|  92.1k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1245:9): [True: 807, False: 91.2k]
  |  Branch (1245:19): [True: 807, False: 0]
  |  Branch (1245:46): [True: 807, False: 0]
  ------------------
 1246|    807|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1247|       |    // Check the validity of using spirv_literal qualifier
 1248|   343k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1248:21): [True: 251k, False: 92.1k]
  ------------------
 1249|   251k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1249:13): [True: 0, False: 251k]
  |  Branch (1249:66): [True: 0, False: 0]
  ------------------
 1250|      0|            error(loc, "'spirv_literal' can only be used on functions defined with 'spirv_instruction' for argument",
 1251|      0|                  function.getName().c_str(), "%d", i + 1);
 1252|   251k|    }
 1253|       |
 1254|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1255|       |    // respect this redeclared one.
 1256|  92.1k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1256:9): [True: 807, False: 91.2k]
  |  Branch (1256:19): [True: 807, False: 0]
  |  Branch (1256:30): [True: 0, False: 807]
  ------------------
 1257|      0|        symbol = nullptr;
 1258|  92.1k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1258:32): [True: 807, False: 91.2k]
  ------------------
 1259|  92.1k|    if (prevDec) {
  ------------------
  |  Branch (1259:9): [True: 807, False: 91.2k]
  ------------------
 1260|    807|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1260:13): [True: 0, False: 807]
  |  Branch (1260:40): [True: 0, False: 0]
  ------------------
 1261|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1262|    807|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 807]
  ------------------
 1263|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1264|      0|                  "spirv_instruction");
 1265|      0|        }
 1266|    807|        bool parameterTypesDiffer = false;
 1267|  2.85k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1267:25): [True: 2.04k, False: 807]
  ------------------
 1268|  2.04k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1268:17): [True: 0, False: 2.04k]
  ------------------
 1269|      0|                error(loc, "overloaded functions must have the same parameter storage qualifiers for argument", function[i].type->getStorageQualifierString(), "%d", i+1);
 1270|       |
 1271|  2.04k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1271:17): [True: 0, False: 2.04k]
  ------------------
 1272|      0|                error(loc, "overloaded functions must have the same parameter precision qualifiers for argument", function[i].type->getPrecisionQualifierString(), "%d", i+1);
 1273|       |
 1274|  2.04k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1274:17): [True: 0, False: 2.04k]
  ------------------
 1275|      0|                parameterTypesDiffer = true;
 1276|  2.04k|        }
 1277|    807|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1277:13): [True: 807, False: 0]
  |  Branch (1277:38): [True: 0, False: 807]
  ------------------
 1278|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1279|       |
 1280|    807|        function.addFunctionControl(prevDec->getFunctionControl());
 1281|    807|        unsigned functionControl = function.getFunctionControl();
 1282|    807|        if (function.hasIncompatibleFunctionControl())
  ------------------
  |  Branch (1282:13): [True: 0, False: 807]
  ------------------
 1283|      0|            error(loc, "function attributes are incompatible", function.getName().c_str(), "");
 1284|    807|        if (!builtIn)
  ------------------
  |  Branch (1284:13): [True: 0, False: 807]
  ------------------
 1285|      0|            symbol->getAsFunction()->setFunctionControl(functionControl);
 1286|    807|    }
 1287|       |
 1288|  92.1k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1289|       |
 1290|  92.1k|    if (prototype) {
  ------------------
  |  Branch (1290:9): [True: 92.1k, False: 0]
  ------------------
 1291|       |        // All built-in functions are defined, even though they don't have a body.
 1292|       |        // Count their prototype as a definition instead.
 1293|  92.1k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1293:13): [True: 92.1k, False: 0]
  ------------------
 1294|  92.1k|            function.setDefined();
 1295|      0|        else {
 1296|      0|            if (prevDec && ! builtIn)
  ------------------
  |  Branch (1296:17): [True: 0, False: 0]
  |  Branch (1296:28): [True: 0, False: 0]
  ------------------
 1297|      0|                symbol->getAsFunction()->setPrototyped();  // need a writable one, but like having prevDec as a const
 1298|      0|            function.setPrototyped();
 1299|      0|        }
 1300|  92.1k|    }
 1301|       |
 1302|       |    // This insert won't actually insert it if it's a duplicate signature, but it will still check for
 1303|       |    // other forms of name collisions.
 1304|  92.1k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1304:9): [True: 0, False: 92.1k]
  ------------------
 1305|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1306|       |
 1307|       |    //
 1308|       |    // If this is a redeclaration, it could also be a definition,
 1309|       |    // in which case, we need to use the parameter names from this one, and not the one that's
 1310|       |    // being redeclared.  So, pass back this declaration, not the one in the symbol table.
 1311|       |    //
 1312|  92.1k|    return &function;
 1313|  92.1k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1418|     46|{
 1419|     46|    TIntermTyped* result = nullptr;
 1420|       |
 1421|     46|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1421:9): [True: 12, False: 34]
  |  Branch (1421:35): [True: 0, False: 12]
  ------------------
 1422|       |        // allow calls that are invalid in Vulkan Semantics to be invisibily
 1423|       |        // remapped to equivalent valid functions
 1424|      0|        result = vkRelaxedRemapFunctionCall(loc, function, arguments);
 1425|      0|        if (result)
  ------------------
  |  Branch (1425:13): [True: 0, False: 0]
  ------------------
 1426|      0|            return result;
 1427|      0|    }
 1428|       |
 1429|     46|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1429:9): [True: 0, False: 46]
  ------------------
 1430|      0|        result = handleLengthMethod(loc, function, arguments);
 1431|     46|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1431:14): [True: 41, False: 5]
  ------------------
 1432|       |        //
 1433|       |        // Then this should be a constructor.
 1434|       |        // Don't go through the symbol table for constructors.
 1435|       |        // Their parameters will be verified algorithmically.
 1436|       |        //
 1437|     41|        TType type(EbtVoid);  // use this to get the type back
 1438|     41|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1438:13): [True: 40, False: 1]
  ------------------
 1439|       |            //
 1440|       |            // It's a constructor, of type 'type'.
 1441|       |            //
 1442|     40|            result = addConstructor(loc, arguments, type);
 1443|     40|            if (result == nullptr)
  ------------------
  |  Branch (1443:17): [True: 1, False: 39]
  ------------------
 1444|      1|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1445|     40|        }
 1446|     41|    } else {
 1447|       |        //
 1448|       |        // Find it in the symbol table.
 1449|       |        //
 1450|      5|        const TFunction* fnCandidate;
 1451|      5|        bool builtIn {false};
 1452|      5|        fnCandidate = findFunction(loc, *function, builtIn);
 1453|      5|        if (fnCandidate) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 5]
  ------------------
 1454|       |            // This is a declared function that might map to
 1455|       |            //  - a built-in operator,
 1456|       |            //  - a built-in function not mapped to an operator, or
 1457|       |            //  - a user function.
 1458|       |
 1459|       |            // Error check for a function requiring specific extensions present.
 1460|      0|            if (builtIn &&
  ------------------
  |  Branch (1460:17): [True: 0, False: 0]
  ------------------
 1461|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1461:18): [True: 0, False: 0]
  |  Branch (1461:71): [True: 0, False: 0]
  ------------------
 1462|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1463|       |
 1464|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1464:17): [True: 0, False: 0]
  |  Branch (1464:28): [True: 0, False: 0]
  ------------------
 1465|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1466|       |
 1467|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1467:17): [True: 0, False: 0]
  |  Branch (1467:28): [True: 0, False: 0]
  ------------------
 1468|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1469|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  |  Branch (1469:28): [True: 0, False: 0]
  ------------------
 1470|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1471|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1471:17): [True: 0, False: 0]
  |  Branch (1471:28): [True: 0, False: 0]
  ------------------
 1472|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1473|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  |  Branch (1473:29): [True: 0, False: 0]
  |  Branch (1473:79): [True: 0, False: 0]
  ------------------
 1474|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1474:21): [True: 0, False: 0]
  |  Branch (1474:77): [True: 0, False: 0]
  ------------------
 1475|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1476|      0|            }
 1477|      0|            bool hasLongVectorArg = false;
 1478|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|       |                // Make sure qualifications work for these arguments.
 1480|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1481|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1481:33): [True: 0, False: 0]
  ------------------
 1482|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1483|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1484|       |                    // means take 'arguments' itself as the one argument.
 1485|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1485:25): [True: 0, False: 0]
  ------------------
 1486|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  ------------------
 1487|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1488|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1489|      0|                            aggregate = new TIntermAggregate;
 1490|      0|                            aggregate->getSequence().push_back(arguments);
 1491|      0|                            arguments = aggregate;
 1492|      0|                        }
 1493|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1493:29): [True: 0, False: 0]
  ------------------
 1494|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1495|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1496|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1496:45): [True: 0, False: 0]
  ------------------
 1497|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1498|      0|                            }
 1499|      0|                            assert(defaultValue && "unsupported default value construct");
 1500|      0|                            aggregate->getSequence().push_back(defaultValue);
 1501|      0|                        }
 1502|      0|                    }
 1503|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1503:40): [True: 0, False: 0]
  |  Branch (1503:89): [True: 0, False: 0]
  ------------------
 1504|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1505|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1505:25): [True: 0, False: 0]
  ------------------
 1506|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1506:29): [True: 0, False: 0]
  ------------------
 1507|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1508|      0|                    }
 1509|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1509:25): [True: 0, False: 0]
  ------------------
 1510|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  ------------------
 1511|      0|                            error(arguments->getLoc(),
 1512|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1513|      0|                                  "spirv_literal", "");
 1514|      0|                        }
 1515|      0|                    }
 1516|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1517|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1518|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1518:52): [True: 0, False: 0]
  |  Branch (1518:86): [True: 0, False: 0]
  ------------------
 1519|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:52): [True: 0, False: 0]
  |  Branch (1519:81): [True: 0, False: 0]
  |  Branch (1519:109): [True: 0, False: 0]
  ------------------
 1520|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1521|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1521:29): [True: 0, False: 0]
  |  Branch (1521:53): [True: 0, False: 0]
  ------------------
 1522|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1523|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1523:29): [True: 0, False: 0]
  |  Branch (1523:57): [True: 0, False: 0]
  |  Branch (1523:91): [True: 0, False: 0]
  ------------------
 1524|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1525|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1525:29): [True: 0, False: 0]
  |  Branch (1525:63): [True: 0, False: 0]
  |  Branch (1525:97): [True: 0, False: 0]
  ------------------
 1526|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1527|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1527:29): [True: 0, False: 0]
  |  Branch (1527:68): [True: 0, False: 0]
  |  Branch (1527:107): [True: 0, False: 0]
  |  Branch (1527:141): [True: 0, False: 0]
  ------------------
 1528|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1529|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1529:29): [True: 0, False: 0]
  |  Branch (1529:66): [True: 0, False: 0]
  |  Branch (1529:103): [True: 0, False: 0]
  |  Branch (1529:142): [True: 0, False: 0]
  |  Branch (1529:176): [True: 0, False: 0]
  ------------------
 1530|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1531|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1531:29): [True: 0, False: 0]
  |  Branch (1531:65): [True: 0, False: 0]
  |  Branch (1531:101): [True: 0, False: 0]
  |  Branch (1531:138): [True: 0, False: 0]
  |  Branch (1531:177): [True: 0, False: 0]
  |  Branch (1531:211): [True: 0, False: 0]
  ------------------
 1532|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1533|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1533:29): [True: 0, False: 0]
  |  Branch (1533:54): [True: 0, False: 0]
  ------------------
 1534|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1535|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1535:29): [True: 0, False: 0]
  |  Branch (1535:55): [True: 0, False: 0]
  ------------------
 1536|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1537|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1537:29): [True: 0, False: 0]
  |  Branch (1537:57): [True: 0, False: 0]
  ------------------
 1538|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1539|       |                        // Don't check 'restrict', it is different than the rest:
 1540|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1541|       |                        // lacks the restrict qualifier..."
 1542|      0|                    }
 1543|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1543:25): [True: 0, False: 0]
  |  Branch (1543:37): [True: 0, False: 0]
  ------------------
 1544|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1545|       |                        // and at least one format is unknown
 1546|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1546:29): [True: 0, False: 0]
  |  Branch (1546:64): [True: 0, False: 0]
  ------------------
 1547|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1547:67): [True: 0, False: 0]
  ------------------
 1548|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1549|      0|                    }
 1550|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1550:25): [True: 0, False: 0]
  |  Branch (1550:36): [True: 0, False: 0]
  ------------------
 1551|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1552|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1552:25): [True: 0, False: 0]
  |  Branch (1552:36): [True: 0, False: 0]
  ------------------
 1553|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1554|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1554:25): [True: 0, False: 0]
  |  Branch (1554:36): [True: 0, False: 0]
  ------------------
 1555|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1556|       |
 1557|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1558|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1558:25): [True: 0, False: 0]
  |  Branch (1558:36): [True: 0, False: 0]
  ------------------
 1559|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1559:25): [True: 0, False: 0]
  |  Branch (1559:35): [True: 0, False: 0]
  ------------------
 1560|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1561|       |
 1562|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1563|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1563:25): [True: 0, False: 0]
  |  Branch (1563:37): [True: 0, False: 0]
  ------------------
 1564|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1564:37): [True: 0, False: 0]
  ------------------
 1565|      0|                        i == 1) {
  ------------------
  |  Branch (1565:25): [True: 0, False: 0]
  ------------------
 1566|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1567|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1567:29): [True: 0, False: 0]
  |  Branch (1567:53): [True: 0, False: 0]
  ------------------
 1568|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage",
 1569|      0|                                  fnCandidate->getName().c_str(), "");
 1570|      0|                        }
 1571|      0|                    }
 1572|       |
 1573|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  ------------------
 1574|      0|                        hasLongVectorArg = true;
 1575|      0|                    }
 1576|       |
 1577|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1578|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1579|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1580|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1581|       |                    // shared variable.
 1582|      0|                }
 1583|       |
 1584|       |                // Convert 'in' arguments
 1585|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1586|      0|            }
 1587|       |
 1588|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1588:17): [True: 0, False: 0]
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|       |                // A function call mapped to a built-in operation.
 1590|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1591|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1591:24): [True: 0, False: 0]
  ------------------
 1592|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1593|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1594|      0|            } else {
 1595|       |                // This is a function call not mapped to built-in operator.
 1596|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1597|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1598|      0|                TIntermAggregate* call = result->getAsAggregate();
 1599|      0|                call->setName(fnCandidate->getMangledName());
 1600|       |
 1601|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1602|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1603|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1604|      0|                if (! builtIn) {
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|                    call->setUserDefined();
 1606|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1606:25): [True: 0, False: 0]
  ------------------
 1607|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1608|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1609|      0|                    } else
 1610|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1611|      0|                }
 1612|       |
 1613|      0|                if (builtIn)
  ------------------
  |  Branch (1613:21): [True: 0, False: 0]
  ------------------
 1614|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1615|      0|                else
 1616|      0|                    userFunctionCallCheck(loc, *call);
 1617|      0|            }
 1618|       |
 1619|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 0]
  |  Branch (1619:37): [True: 0, False: 0]
  ------------------
 1620|      0|                TType longVectorResultType(EbtVoid);
 1621|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1622|      0|                result->setType(longVectorResultType);
 1623|      0|            }
 1624|       |
 1625|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1626|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1627|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1628|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1628:17): [True: 0, False: 0]
  ------------------
 1629|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1630|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1630:33): [True: 0, False: 0]
  ------------------
 1631|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1632|      0|                    qualifierList.push_back(qual);
 1633|      0|                }
 1634|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1635|      0|            }
 1636|       |
 1637|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1638|       |
 1639|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1640|       |
 1641|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1641:17): [True: 0, False: 0]
  ------------------
 1642|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1642:16): [True: 0, False: 0]
  ------------------
 1643|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1643:26): [True: 0, False: 0]
  ------------------
 1644|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1645|      0|                else
 1646|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1647|      0|            }
 1648|       |
 1649|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 0]
  ------------------
 1650|       |                // result type is taken from the first parameter
 1651|      0|                TIntermAggregate* aggregate = result->getAsAggregate();
 1652|      0|                if (aggregate != nullptr && aggregate->getSequence().size() == 2)
  ------------------
  |  Branch (1652:21): [True: 0, False: 0]
  |  Branch (1652:45): [True: 0, False: 0]
  ------------------
 1653|      0|                    result->setType(aggregate->getSequence()[0]->getAsTyped()->getType());
 1654|      0|                else if (aggregate == nullptr)
  ------------------
  |  Branch (1654:26): [True: 0, False: 0]
  ------------------
 1655|       |                    // a call with the wrong argument count folds away from an aggregate and
 1656|       |                    // never reaches builtInOpCheck; reject it here before SPIR-V generation
 1657|      0|                    error(loc, "requires exactly two parameters", "", "");
 1658|      0|            }
 1659|      0|        }
 1660|      5|    }
 1661|       |
 1662|       |    // generic error recovery
 1663|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1664|     46|    if (result == nullptr)
  ------------------
  |  Branch (1664:9): [True: 7, False: 39]
  ------------------
 1665|      7|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1666|       |
 1667|     46|    return result;
 1668|     46|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4422|    383|{
 4423|    383|    TType type(publicType);
 4424|    383|    type.getQualifier().precision = EpqNone;
 4425|       |
 4426|    383|    if (type.isArray()) {
  ------------------
  |  Branch (4426:9): [True: 2, False: 381]
  ------------------
 4427|      2|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4428|      2|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4429|      2|    }
 4430|       |
 4431|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4432|       |    // uvec2 imgHandle;
 4433|       |    // imageLoad(image1D(imgHandle), 0);
 4434|    383|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4434:9): [True: 0, False: 383]
  |  Branch (4434:27): [True: 0, False: 0]
  ------------------
 4435|      0|    {
 4436|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4437|      0|    }
 4438|       |
 4439|    383|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4440|       |
 4441|    383|    if (op == EOpNull) {
  ------------------
  |  Branch (4441:9): [True: 0, False: 383]
  ------------------
 4442|      0|        if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4442:13): [True: 0, False: 0]
  |  Branch (4442:47): [True: 0, False: 0]
  ------------------
 4443|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4444|      0|        else
 4445|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4446|      0|        op = EOpConstructFloat;
 4447|      0|        TType errorType(EbtFloat);
 4448|      0|        type.shallowCopy(errorType);
 4449|      0|    }
 4450|       |
 4451|    383|    TString empty("");
 4452|       |
 4453|    383|    return new TFunction(&empty, type, op);
 4454|    383|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4458|  13.7k|{
 4459|  13.7k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4459:9): [True: 8.64k, False: 5.11k]
  ------------------
 4460|  8.64k|        qualifier.precision = precision;
 4461|  13.7k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4466|  13.7k|{
 4467|  13.7k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4467:9): [True: 0, False: 13.7k]
  ------------------
 4468|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4469|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4470|      0|        precisionManager.defaultWarningGiven();
 4471|      0|    }
 4472|  13.7k|}
_ZN7glslang13TParseContext12unaryOpErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4487|     66|{
 4488|     66|   error(loc, " wrong operand type", op,
 4489|     66|          "no operation '%s' exists that takes an operand of type %s (or there is no acceptable conversion)",
 4490|     66|          op, operand.c_str());
 4491|     66|}
_ZN7glslang13TParseContext13binaryOpErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEESC_:
 4497|     44|{
 4498|     44|    error(loc, " wrong operand types:", op,
 4499|     44|            "no operation '%s' exists that takes a left-hand operand of type '%s' and "
 4500|     44|            "a right operand of type '%s' (or there is no acceptable conversion)",
 4501|     44|            op, left.c_str(), right.c_str());
 4502|     44|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4510|  2.99k|{
 4511|  2.99k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4512|  2.99k|    if (! symbol)
  ------------------
  |  Branch (4512:9): [True: 2.98k, False: 8]
  ------------------
 4513|  2.98k|        return;
 4514|       |
 4515|      8|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4515:9): [True: 4, False: 4]
  ------------------
 4516|      4|        const char *extraInfoFormat = "";
 4517|      4|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4517:13): [True: 0, False: 4]
  |  Branch (4517:39): [True: 0, False: 0]
  ------------------
 4518|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4519|      4|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4519:20): [True: 0, False: 4]
  |  Branch (4519:46): [True: 0, False: 0]
  ------------------
 4520|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4521|      0|        }
 4522|      4|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), "%s", extraInfoFormat);
 4523|       |
 4524|       |        // Add to symbol table to prevent future error messages on the same name
 4525|      4|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4525:13): [True: 4, False: 0]
  ------------------
 4526|      4|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4527|      4|            symbolTable.insert(*fakeVariable);
 4528|       |
 4529|       |            // substitute a symbol node for this new variable
 4530|      4|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4531|      4|        }
 4532|      4|    } else {
 4533|      4|        switch (symbol->getQualifier().storage) {
 4534|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4534:9): [True: 0, False: 4]
  ------------------
 4535|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4536|      0|            break;
 4537|      4|        default: break; // some compilers want this
  ------------------
  |  Branch (4537:9): [True: 4, False: 0]
  ------------------
 4538|      4|        }
 4539|      4|    }
 4540|      8|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4669|  1.45k|{
 4670|       |    // Let the base class check errors
 4671|  1.45k|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4672|       |
 4673|  1.45k|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4674|  1.45k|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4674:11): [True: 0, False: 1.45k]
  |  Branch (4674:22): [True: 0, False: 0]
  ------------------
 4675|  1.45k|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4675:13): [True: 0, False: 1.45k]
  |  Branch (4675:24): [True: 0, False: 0]
  ------------------
 4676|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, "%s", symNode->getName().c_str());
 4677|       |
 4678|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4679|  1.45k|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4679:8): [True: 0, False: 1.45k]
  ------------------
 4680|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4680:10): [True: 0, False: 0]
  |  Branch (4680:43): [True: 0, False: 0]
  ------------------
 4681|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4682|  1.45k|}
_ZN7glslang13TParseContext12integerCheckEPKNS_12TIntermTypedEPKc:
 4699|      1|{
 4700|      1|    auto from_type = node->getBasicType();
 4701|      1|    if ((from_type == EbtInt || from_type == EbtUint ||
  ------------------
  |  Branch (4701:10): [True: 1, False: 0]
  |  Branch (4701:33): [True: 0, False: 0]
  ------------------
 4702|      0|         intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) ||
  ------------------
  |  Branch (4702:10): [True: 0, False: 0]
  ------------------
 4703|      1|         intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar())
  ------------------
  |  Branch (4703:10): [True: 0, False: 0]
  |  Branch (4703:77): [True: 1, False: 0]
  ------------------
 4704|      1|        return;
 4705|       |
 4706|      0|    error(node->getLoc(), "scalar integer expression required", token, "");
 4707|      0|}
_ZN7glslang13TParseContext15arrayIndexCheckEPKNS_12TIntermTypedEPKc:
 4714|      1|{
 4715|      1|    auto from_type = node->getBasicType();
 4716|       |
 4717|      1|    if ((from_type == EbtInt64 || from_type == EbtUint64) &&
  ------------------
  |  Branch (4717:10): [True: 0, False: 1]
  |  Branch (4717:35): [True: 0, False: 1]
  ------------------
 4718|      0|        extensionTurnedOn(E_GL_EXT_shader_64bit_indexing))
  ------------------
  |  Branch (4718:9): [True: 0, False: 0]
  ------------------
 4719|      0|        return;
 4720|       |
 4721|      1|    integerCheck(node, token);
 4722|      1|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4729|  13.4k|{
 4730|  13.4k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4730:9): [True: 0, False: 13.4k]
  ------------------
 4731|      0|        error(loc, "not allowed in nested scope", token, "");
 4732|  13.4k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4738|  53.8k|{
 4739|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4740|       |    // declared in a shader; this results in a compile-time error."
 4741|  53.8k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4741:9): [True: 29, False: 53.8k]
  ------------------
 4742|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4743|     29|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4743:13): [True: 0, False: 29]
  |  Branch (4743:45): [True: 0, False: 0]
  ------------------
 4744|      0|            return;
 4745|       |
 4746|     29|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4746:13): [True: 0, False: 29]
  |  Branch (4746:40): [True: 0, False: 0]
  ------------------
 4747|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4748|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4749|       |
 4750|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4751|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4752|       |        // reserved; using such a name does not itself result in an error, but may result
 4753|       |        // in undefined behavior."
 4754|       |        // however, before that, ES tests required an error.
 4755|     29|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4755:13): [True: 0, False: 29]
  |  Branch (4755:55): [True: 0, False: 0]
  ------------------
 4756|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4757|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4757:17): [True: 0, False: 0]
  |  Branch (4757:34): [True: 0, False: 0]
  ------------------
 4758|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4759|      0|            else
 4760|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4761|      0|        }
 4762|     29|    }
 4763|  53.8k|}
_ZN7glslang13TParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
 4769|      4|{
 4770|       |    // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4771|       |    // "All macro names containing two consecutive underscores ( __ ) are reserved;
 4772|       |    // defining such a name does not itself result in an error, but may result in
 4773|       |    // undefined behavior.  All macro names prefixed with "GL_" ("GL" followed by a
 4774|       |    // single underscore) are also reserved, and defining such a name results in a
 4775|       |    // compile-time error."
 4776|       |    // however, before that, ES tests required an error.
 4777|      4|    if (strncmp(identifier, "GL_", 3) == 0 && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4777:9): [True: 0, False: 4]
  |  Branch (4777:47): [True: 0, False: 0]
  ------------------
 4778|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "GL_".
 4779|      0|        ppError(loc, "names beginning with \"GL_\" can't be (un)defined:", op,  "%s", identifier);
 4780|      4|    else if (strncmp(identifier, "defined", 8) == 0)
  ------------------
  |  Branch (4780:14): [True: 0, False: 4]
  ------------------
 4781|      0|        if (relaxedErrors())
  ------------------
  |  Branch (4781:13): [True: 0, False: 0]
  ------------------
 4782|      0|            ppWarn(loc, "\"defined\" is (un)defined:", op,  "%s", identifier);
 4783|      0|        else
 4784|      0|            ppError(loc, "\"defined\" can't be (un)defined:", op,  "%s", identifier);
 4785|      4|    else if (strstr(identifier, "__") != nullptr && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4785:14): [True: 0, False: 4]
  |  Branch (4785:53): [True: 0, False: 0]
  ------------------
 4786|       |        // The extension GL_EXT_spirv_intrinsics allows us to declare macros prefixed with "__".
 4787|      0|        if (isEsProfile() && version >= 300 &&
  ------------------
  |  Branch (4787:13): [True: 0, False: 0]
  |  Branch (4787:30): [True: 0, False: 0]
  ------------------
 4788|      0|            (strcmp(identifier, "__LINE__") == 0 ||
  ------------------
  |  Branch (4788:14): [True: 0, False: 0]
  ------------------
 4789|      0|             strcmp(identifier, "__FILE__") == 0 ||
  ------------------
  |  Branch (4789:14): [True: 0, False: 0]
  ------------------
 4790|      0|             strcmp(identifier, "__VERSION__") == 0))
  ------------------
  |  Branch (4790:14): [True: 0, False: 0]
  ------------------
 4791|      0|            ppError(loc, "predefined names can't be (un)defined:", op,  "%s", identifier);
 4792|      0|        else {
 4793|      0|            if (isEsProfile() && version < 300 && !relaxedErrors())
  ------------------
  |  Branch (4793:17): [True: 0, False: 0]
  |  Branch (4793:34): [True: 0, False: 0]
  |  Branch (4793:51): [True: 0, False: 0]
  ------------------
 4794|      0|                ppError(loc, "names containing consecutive underscores are reserved, and an error if version < 300:", op, "%s", identifier);
 4795|      0|            else
 4796|      0|                ppWarn(loc, "names containing consecutive underscores are reserved:", op, "%s", identifier);
 4797|      0|        }
 4798|      0|    }
 4799|      4|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4807|  1.46k|{
 4808|  1.46k|    const char* message = "line continuation";
 4809|       |
 4810|  1.46k|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4810:37): [True: 366, False: 1.09k]
  |  Branch (4810:54): [True: 0, False: 366]
  ------------------
 4811|  1.46k|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4811:37): [True: 1.09k, False: 366]
  |  Branch (4811:56): [True: 1.09k, False: 0]
  |  Branch (4811:74): [True: 0, False: 0]
  ------------------
 4812|       |
 4813|  1.46k|    if (endOfComment) {
  ------------------
  |  Branch (4813:9): [True: 331, False: 1.13k]
  ------------------
 4814|    331|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4814:13): [True: 11, False: 320]
  ------------------
 4815|     11|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4816|    320|        else
 4817|    320|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4818|       |
 4819|    331|        return lineContinuationAllowed;
 4820|    331|    }
 4821|       |
 4822|  1.13k|    if (relaxedErrors()) {
  ------------------
  |  Branch (4822:9): [True: 25, False: 1.10k]
  ------------------
 4823|     25|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4823:13): [True: 25, False: 0]
  ------------------
 4824|     25|            warn(loc, "not allowed in this version", message, "");
 4825|     25|        return true;
 4826|  1.10k|    } else {
 4827|  1.10k|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4828|  1.10k|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4829|  1.10k|    }
 4830|       |
 4831|  1.10k|    return lineContinuationAllowed;
 4832|  1.13k|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4835|  3.95k|{
 4836|  3.95k|    return identifier.compare(0, 3, "gl_") == 0;
 4837|  3.95k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4859|     41|{
 4860|       |    // See if the constructor does not establish the main type, only requalifies
 4861|       |    // it, in which case the type comes from the argument instead of from the
 4862|       |    // constructor function.
 4863|     41|    switch (op) {
 4864|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4864:5): [True: 0, False: 41]
  ------------------
 4865|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4865:13): [True: 0, False: 0]
  |  Branch (4865:32): [True: 0, False: 0]
  ------------------
 4866|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4867|      0|            type.getQualifier().makeTemporary();
 4868|      0|            type.getQualifier().nonUniform = true;
 4869|      0|        }
 4870|      0|        break;
 4871|     41|    default:
  ------------------
  |  Branch (4871:5): [True: 41, False: 0]
  ------------------
 4872|     41|        type.shallowCopy(function.getType());
 4873|     41|        break;
 4874|     41|    }
 4875|       |
 4876|     41|    TString constructorString;
 4877|     41|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4877:9): [True: 0, False: 41]
  ------------------
 4878|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4879|     41|    else
 4880|     41|        constructorString.append("constructor");
 4881|       |
 4882|       |    // See if it's a matrix
 4883|     41|    bool constructingMatrix = false;
 4884|     41|    switch (op) {
 4885|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4885:5): [True: 0, False: 41]
  ------------------
 4886|      0|        return constructorTextureSamplerError(loc, function);
 4887|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4887:5): [True: 0, False: 41]
  ------------------
 4888|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4888:5): [True: 0, False: 41]
  ------------------
 4889|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4889:5): [True: 0, False: 41]
  ------------------
 4890|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4890:5): [True: 0, False: 41]
  ------------------
 4891|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4891:5): [True: 0, False: 41]
  ------------------
 4892|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4892:5): [True: 0, False: 41]
  ------------------
 4893|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4893:5): [True: 0, False: 41]
  ------------------
 4894|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4894:5): [True: 0, False: 41]
  ------------------
 4895|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4895:5): [True: 0, False: 41]
  ------------------
 4896|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4896:5): [True: 0, False: 41]
  ------------------
 4897|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4897:5): [True: 0, False: 41]
  ------------------
 4898|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4898:5): [True: 0, False: 41]
  ------------------
 4899|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4899:5): [True: 0, False: 41]
  ------------------
 4900|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4900:5): [True: 0, False: 41]
  ------------------
 4901|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4901:5): [True: 0, False: 41]
  ------------------
 4902|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4902:5): [True: 0, False: 41]
  ------------------
 4903|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4903:5): [True: 0, False: 41]
  ------------------
 4904|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4904:5): [True: 0, False: 41]
  ------------------
 4905|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4905:5): [True: 0, False: 41]
  ------------------
 4906|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4906:5): [True: 0, False: 41]
  ------------------
 4907|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4907:5): [True: 0, False: 41]
  ------------------
 4908|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4908:5): [True: 0, False: 41]
  ------------------
 4909|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4909:5): [True: 0, False: 41]
  ------------------
 4910|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4910:5): [True: 0, False: 41]
  ------------------
 4911|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4911:5): [True: 0, False: 41]
  ------------------
 4912|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4912:5): [True: 0, False: 41]
  ------------------
 4913|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4913:5): [True: 0, False: 41]
  ------------------
 4914|      0|        constructingMatrix = true;
 4915|      0|        break;
 4916|     41|    default:
  ------------------
  |  Branch (4916:5): [True: 41, False: 0]
  ------------------
 4917|     41|        break;
 4918|     41|    }
 4919|       |
 4920|       |    //
 4921|       |    // Walk the arguments for first-pass checks and collection of information.
 4922|       |    //
 4923|       |
 4924|     41|    int size = 0;
 4925|     41|    bool constType = true;
 4926|     41|    bool specConstType = false;   // value is only valid if constType is true
 4927|     41|    bool full = false;
 4928|     41|    bool overFull = false;
 4929|     41|    bool matrixInMatrix = false;
 4930|     41|    bool arrayArg = false;
 4931|     41|    bool floatArgument = false;
 4932|     41|    bool intArgument = false;
 4933|    134|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4933:23): [True: 93, False: 41]
  ------------------
 4934|     93|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4934:13): [True: 0, False: 93]
  ------------------
 4935|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4935:17): [True: 0, False: 0]
  ------------------
 4936|       |                // Can't construct from an unsized array.
 4937|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4938|      0|                return true;
 4939|      0|            }
 4940|      0|            arrayArg = true;
 4941|      0|        }
 4942|     93|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4942:13): [True: 0, False: 93]
  ------------------
 4943|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4944|      0|            return true;
 4945|      0|        }
 4946|     93|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4946:13): [True: 0, False: 93]
  |  Branch (4946:35): [True: 0, False: 0]
  ------------------
 4947|      0|            matrixInMatrix = true;
 4948|       |
 4949|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4950|       |        // again, there is an extra argument.
 4951|     93|        if (full) {
  ------------------
  |  Branch (4951:13): [True: 0, False: 93]
  ------------------
 4952|       |            // For vectors and matrices, it's okay to have too many components
 4953|       |            // available, but not okay to have unused arguments.
 4954|      0|            overFull = true;
 4955|      0|        }
 4956|       |
 4957|     93|        size += function[arg].type->computeNumComponents();
 4958|     93|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4958:13): [True: 93, False: 0]
  |  Branch (4958:41): [True: 91, False: 2]
  |  Branch (4958:61): [True: 39, False: 52]
  ------------------
 4959|     39|            full = true;
 4960|       |
 4961|     93|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4961:13): [True: 8, False: 85]
  ------------------
 4962|      8|            constType = false;
 4963|     93|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4963:13): [True: 0, False: 93]
  ------------------
 4964|      0|            specConstType = true;
 4965|     93|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4965:13): [True: 7, False: 86]
  ------------------
 4966|      7|            floatArgument = true;
 4967|     93|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4967:13): [True: 86, False: 7]
  ------------------
 4968|     86|            intArgument = true;
 4969|     93|        if (type.isStruct()) {
  ------------------
  |  Branch (4969:13): [True: 0, False: 93]
  ------------------
 4970|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4970:17): [True: 0, False: 0]
  ------------------
 4971|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4972|      0|            }
 4973|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4973:17): [True: 0, False: 0]
  ------------------
 4974|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4975|      0|            }
 4976|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4976:17): [True: 0, False: 0]
  ------------------
 4977|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4978|      0|            }
 4979|      0|        }
 4980|     93|    }
 4981|     41|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4981:9): [True: 0, False: 41]
  ------------------
 4982|      0|        constType = false;
 4983|       |
 4984|     41|    switch (op) {
 4985|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4985:5): [True: 0, False: 41]
  ------------------
 4986|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4986:5): [True: 0, False: 41]
  ------------------
 4987|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4987:5): [True: 0, False: 41]
  ------------------
 4988|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4988:5): [True: 0, False: 41]
  ------------------
 4989|      0|        if (type.isArray())
  ------------------
  |  Branch (4989:13): [True: 0, False: 0]
  ------------------
 4990|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4991|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4991:13): [True: 0, False: 0]
  |  Branch (4991:32): [True: 0, False: 0]
  ------------------
 4992|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4993|      0|        break;
 4994|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4994:5): [True: 0, False: 41]
  ------------------
 4995|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4995:5): [True: 0, False: 41]
  ------------------
 4996|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4996:5): [True: 0, False: 41]
  ------------------
 4997|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4997:5): [True: 0, False: 41]
  ------------------
 4998|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4998:5): [True: 0, False: 41]
  ------------------
 4999|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4999:5): [True: 0, False: 41]
  ------------------
 5000|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (5000:5): [True: 0, False: 41]
  ------------------
 5001|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (5001:5): [True: 0, False: 41]
  ------------------
 5002|      0|        if (type.isArray())
  ------------------
  |  Branch (5002:13): [True: 0, False: 0]
  ------------------
 5003|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 5004|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (5004:13): [True: 0, False: 0]
  |  Branch (5004:32): [True: 0, False: 0]
  ------------------
 5005|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 5006|      0|        break;
 5007|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (5007:5): [True: 0, False: 41]
  ------------------
 5008|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (5008:5): [True: 0, False: 41]
  ------------------
 5009|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (5009:5): [True: 0, False: 41]
  ------------------
 5010|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (5010:5): [True: 0, False: 41]
  ------------------
 5011|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (5011:5): [True: 0, False: 41]
  ------------------
 5012|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (5012:5): [True: 0, False: 41]
  ------------------
 5013|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (5013:5): [True: 0, False: 41]
  ------------------
 5014|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (5014:5): [True: 0, False: 41]
  ------------------
 5015|      0|        if (type.isArray())
  ------------------
  |  Branch (5015:13): [True: 0, False: 0]
  ------------------
 5016|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 5017|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (5017:13): [True: 0, False: 0]
  |  Branch (5017:32): [True: 0, False: 0]
  ------------------
 5018|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 5019|      0|        break;
 5020|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (5020:5): [True: 0, False: 41]
  ------------------
 5021|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (5021:5): [True: 0, False: 41]
  ------------------
 5022|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (5022:5): [True: 0, False: 41]
  ------------------
 5023|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (5023:5): [True: 0, False: 41]
  ------------------
 5024|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (5024:5): [True: 0, False: 41]
  ------------------
 5025|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (5025:5): [True: 0, False: 41]
  ------------------
 5026|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (5026:5): [True: 0, False: 41]
  ------------------
 5027|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (5027:5): [True: 0, False: 41]
  ------------------
 5028|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (5028:5): [True: 0, False: 41]
  ------------------
 5029|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (5029:5): [True: 0, False: 41]
  ------------------
 5030|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (5030:5): [True: 0, False: 41]
  ------------------
 5031|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (5031:5): [True: 0, False: 41]
  ------------------
 5032|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (5032:5): [True: 0, False: 41]
  ------------------
 5033|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (5033:5): [True: 0, False: 41]
  ------------------
 5034|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (5034:5): [True: 0, False: 41]
  ------------------
 5035|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (5035:5): [True: 0, False: 41]
  ------------------
 5036|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (5036:5): [True: 0, False: 41]
  ------------------
 5037|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (5037:5): [True: 0, False: 41]
  ------------------
 5038|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (5038:5): [True: 0, False: 41]
  ------------------
 5039|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (5039:5): [True: 0, False: 41]
  ------------------
 5040|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (5040:13): [True: 0, False: 0]
  |  Branch (5040:27): [True: 0, False: 0]
  ------------------
 5041|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (5041:29): [True: 0, False: 0]
  ------------------
 5042|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (5042:36): [True: 0, False: 0]
  ------------------
 5043|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (5043:21): [True: 0, False: 0]
  ------------------
 5044|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 5045|      0|                    return true;
 5046|      0|                }
 5047|      0|            }
 5048|      0|        }
 5049|      0|        break;
 5050|     41|    default:
  ------------------
  |  Branch (5050:5): [True: 41, False: 0]
  ------------------
 5051|     41|        break;
 5052|     41|    }
 5053|       |
 5054|       |    // inherit constness from children
 5055|     41|    if (constType) {
  ------------------
  |  Branch (5055:9): [True: 33, False: 8]
  ------------------
 5056|     33|        bool makeSpecConst;
 5057|       |        // Finish pinning down spec-const semantics
 5058|     33|        if (specConstType) {
  ------------------
  |  Branch (5058:13): [True: 0, False: 33]
  ------------------
 5059|      0|            switch (op) {
 5060|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (5060:13): [True: 0, False: 0]
  ------------------
 5061|      0|            case EOpConstructInt:
  ------------------
  |  Branch (5061:13): [True: 0, False: 0]
  ------------------
 5062|      0|            case EOpConstructUint:
  ------------------
  |  Branch (5062:13): [True: 0, False: 0]
  ------------------
 5063|      0|            case EOpConstructBool:
  ------------------
  |  Branch (5063:13): [True: 0, False: 0]
  ------------------
 5064|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (5064:13): [True: 0, False: 0]
  ------------------
 5065|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (5065:13): [True: 0, False: 0]
  ------------------
 5066|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (5066:13): [True: 0, False: 0]
  ------------------
 5067|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (5067:13): [True: 0, False: 0]
  ------------------
 5068|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (5068:13): [True: 0, False: 0]
  ------------------
 5069|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (5069:13): [True: 0, False: 0]
  ------------------
 5070|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (5070:13): [True: 0, False: 0]
  ------------------
 5071|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (5071:13): [True: 0, False: 0]
  ------------------
 5072|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (5072:13): [True: 0, False: 0]
  ------------------
 5073|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (5073:13): [True: 0, False: 0]
  ------------------
 5074|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (5074:13): [True: 0, False: 0]
  ------------------
 5075|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (5075:13): [True: 0, False: 0]
  ------------------
 5076|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (5076:13): [True: 0, False: 0]
  ------------------
 5077|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (5077:13): [True: 0, False: 0]
  ------------------
 5078|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (5078:13): [True: 0, False: 0]
  ------------------
 5079|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (5079:13): [True: 0, False: 0]
  ------------------
 5080|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (5080:13): [True: 0, False: 0]
  ------------------
 5081|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (5081:13): [True: 0, False: 0]
  ------------------
 5082|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (5082:13): [True: 0, False: 0]
  ------------------
 5083|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (5083:13): [True: 0, False: 0]
  ------------------
 5084|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (5084:13): [True: 0, False: 0]
  ------------------
 5085|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (5085:13): [True: 0, False: 0]
  ------------------
 5086|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (5086:13): [True: 0, False: 0]
  ------------------
 5087|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (5087:13): [True: 0, False: 0]
  ------------------
 5088|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (5088:13): [True: 0, False: 0]
  ------------------
 5089|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (5089:13): [True: 0, False: 0]
  ------------------
 5090|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (5090:13): [True: 0, False: 0]
  ------------------
 5091|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (5091:13): [True: 0, False: 0]
  ------------------
 5092|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (5092:13): [True: 0, False: 0]
  ------------------
 5093|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (5093:13): [True: 0, False: 0]
  ------------------
 5094|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (5094:13): [True: 0, False: 0]
  ------------------
 5095|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (5095:13): [True: 0, False: 0]
  ------------------
 5096|       |                // This was the list of valid ones, if they aren't converting from float
 5097|       |                // and aren't making an array.
 5098|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (5098:33): [True: 0, False: 0]
  |  Branch (5098:52): [True: 0, False: 0]
  ------------------
 5099|      0|                break;
 5100|       |
 5101|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (5101:13): [True: 0, False: 0]
  ------------------
 5102|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (5102:13): [True: 0, False: 0]
  ------------------
 5103|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (5103:13): [True: 0, False: 0]
  ------------------
 5104|       |                // This was the list of valid ones, if they aren't converting from int
 5105|       |                // and aren't making an array.
 5106|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (5106:33): [True: 0, False: 0]
  |  Branch (5106:50): [True: 0, False: 0]
  ------------------
 5107|      0|                break;
 5108|       |
 5109|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (5109:13): [True: 0, False: 0]
  ------------------
 5110|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (5110:13): [True: 0, False: 0]
  ------------------
 5111|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (5111:13): [True: 0, False: 0]
  ------------------
 5112|      0|                {
 5113|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 5114|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (5114:25): [True: 0, False: 0]
  ------------------
 5115|      0|                        makeSpecConst = true;
 5116|      0|                    } else {
 5117|      0|                        makeSpecConst = false;
 5118|      0|                    }
 5119|      0|                }
 5120|      0|                break;
 5121|       |
 5122|      0|            default:
  ------------------
  |  Branch (5122:13): [True: 0, False: 0]
  ------------------
 5123|       |                // anything else wasn't white-listed in the spec as a conversion
 5124|      0|                makeSpecConst = false;
 5125|      0|                break;
 5126|      0|            }
 5127|      0|        } else
 5128|     33|            makeSpecConst = false;
 5129|       |
 5130|     33|        if (makeSpecConst)
  ------------------
  |  Branch (5130:13): [True: 0, False: 33]
  ------------------
 5131|      0|            type.getQualifier().makeSpecConstant();
 5132|     33|        else if (specConstType)
  ------------------
  |  Branch (5132:18): [True: 0, False: 33]
  ------------------
 5133|      0|            type.getQualifier().makeTemporary();
 5134|     33|        else
 5135|     33|            type.getQualifier().storage = EvqConst;
 5136|     33|    }
 5137|       |
 5138|     41|    if (type.isArray()) {
  ------------------
  |  Branch (5138:9): [True: 2, False: 39]
  ------------------
 5139|      2|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (5139:13): [True: 0, False: 2]
  ------------------
 5140|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 5141|      0|            return true;
 5142|      0|        }
 5143|       |
 5144|      2|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (5144:13): [True: 0, False: 2]
  ------------------
 5145|       |            // auto adapt the constructor type to the number of arguments
 5146|      0|            type.changeOuterArraySize(function.getParamCount());
 5147|      2|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (5147:20): [True: 1, False: 1]
  ------------------
 5148|      1|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 5149|      1|            return true;
 5150|      1|        }
 5151|       |
 5152|      1|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (5152:13): [True: 0, False: 1]
  ------------------
 5153|       |            // Types have to match, but we're still making the type.
 5154|       |            // Finish making the type, and the comparison is done later
 5155|       |            // when checking for conversion.
 5156|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 5157|       |
 5158|       |            // At least the dimensionalities have to match.
 5159|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (5159:17): [True: 0, False: 0]
  ------------------
 5160|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (5160:21): [True: 0, False: 0]
  ------------------
 5161|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 5162|      0|                return true;
 5163|      0|            }
 5164|       |
 5165|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (5165:17): [True: 0, False: 0]
  ------------------
 5166|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 5167|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 5168|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (5168:33): [True: 0, False: 0]
  ------------------
 5169|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (5169:25): [True: 0, False: 0]
  ------------------
 5170|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 5171|      0|                    }
 5172|      0|                }
 5173|      0|            }
 5174|      0|        }
 5175|      1|    }
 5176|       |
 5177|     40|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (5177:9): [True: 0, False: 40]
  |  Branch (5177:21): [True: 0, False: 0]
  |  Branch (5177:49): [True: 0, False: 0]
  ------------------
 5178|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 5179|      0|        return true;
 5180|      0|    }
 5181|       |
 5182|     40|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (5182:9): [True: 0, False: 40]
  |  Branch (5182:27): [True: 0, False: 0]
  ------------------
 5183|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 5184|       |
 5185|       |        // "If a matrix argument is given to a matrix constructor,
 5186|       |        // it is a compile-time error to have any other arguments."
 5187|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (5187:13): [True: 0, False: 0]
  ------------------
 5188|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 5189|      0|        return false;
 5190|      0|    }
 5191|       |
 5192|     40|    if (overFull) {
  ------------------
  |  Branch (5192:9): [True: 0, False: 40]
  ------------------
 5193|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 5194|      0|        return true;
 5195|      0|    }
 5196|       |
 5197|     40|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (5197:9): [True: 0, False: 40]
  |  Branch (5197:37): [True: 0, False: 0]
  |  Branch (5197:57): [True: 0, False: 0]
  ------------------
 5198|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 5199|      0|        return true;
 5200|      0|    }
 5201|       |
 5202|     40|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (5202:9): [True: 0, False: 40]
  |  Branch (5202:32): [True: 0, False: 0]
  ------------------
 5203|      0|        return true;
 5204|      0|    }
 5205|       |
 5206|     40|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (5206:10): [True: 40, False: 0]
  |  Branch (5206:38): [True: 30, False: 10]
  |  Branch (5206:51): [True: 0, False: 30]
  ------------------
 5207|     40|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (5207:10): [True: 0, False: 40]
  |  Branch (5207:38): [True: 0, False: 0]
  ------------------
 5208|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 5209|      0|        return true;
 5210|      0|    }
 5211|       |
 5212|     40|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (5212:9): [True: 0, False: 40]
  |  Branch (5212:29): [True: 0, False: 0]
  ------------------
 5213|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 5214|      0|        return true;
 5215|      0|    }
 5216|     40|    if (type.isCoopMat() &&
  ------------------
  |  Branch (5216:9): [True: 0, False: 40]
  ------------------
 5217|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (5217:11): [True: 0, False: 0]
  |  Branch (5217:43): [True: 0, False: 0]
  ------------------
 5218|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 5219|      0|        return true;
 5220|      0|    }
 5221|       |
 5222|     40|    TIntermTyped* typed = node->getAsTyped();
 5223|     40|    if (typed == nullptr) {
  ------------------
  |  Branch (5223:9): [True: 0, False: 40]
  ------------------
 5224|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 5225|      0|        return true;
 5226|      0|    }
 5227|       |
 5228|     40|    if (type.isCoopMat() && typed->getType().isCoopMat()) {
  ------------------
  |  Branch (5228:9): [True: 0, False: 40]
  |  Branch (5228:29): [True: 0, False: 0]
  ------------------
 5229|      0|        static constexpr int CM_UseA = 0;   // == gl_MatrixUseA
 5230|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 5231|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 5232|       |
 5233|      0|        int dstUse = type.getCoopMatKHRuse();
 5234|      0|        int srcUse = typed->getType().getCoopMatKHRuse();
 5235|       |
 5236|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (5236:13): [True: 0, False: 0]
  ------------------
 5237|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5237:38): [True: 0, False: 0]
  ------------------
 5238|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB)) ||
  ------------------
  |  Branch (5238:38): [True: 0, False: 0]
  |  Branch (5238:62): [True: 0, False: 0]
  |  Branch (5238:83): [True: 0, False: 0]
  ------------------
 5239|      0|                                    (dstUse == CM_UseAcc && (srcUse == CM_UseA || srcUse == CM_UseB));
  ------------------
  |  Branch (5239:38): [True: 0, False: 0]
  |  Branch (5239:62): [True: 0, False: 0]
  |  Branch (5239:83): [True: 0, False: 0]
  ------------------
 5240|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5240:17): [True: 0, False: 0]
  |  Branch (5240:61): [True: 0, False: 0]
  ------------------
 5241|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5242|      0|                return true;
 5243|      0|            }
 5244|      0|        } else if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5244:20): [True: 0, False: 0]
  ------------------
 5245|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5245:38): [True: 0, False: 0]
  ------------------
 5246|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB));
  ------------------
  |  Branch (5246:38): [True: 0, False: 0]
  |  Branch (5246:62): [True: 0, False: 0]
  |  Branch (5246:83): [True: 0, False: 0]
  ------------------
 5247|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5247:17): [True: 0, False: 0]
  |  Branch (5247:61): [True: 0, False: 0]
  ------------------
 5248|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5249|      0|                return true;
 5250|      0|            }
 5251|      0|        } else {
 5252|      0|            if (!type.sameCoopMatShapeAndUse(typed->getType())) {
  ------------------
  |  Branch (5252:17): [True: 0, False: 0]
  ------------------
 5253|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5254|      0|                return true;
 5255|      0|            }
 5256|      0|        }
 5257|      0|    }
 5258|       |
 5259|     40|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (5259:9): [True: 40, False: 0]
  |  Branch (5259:37): [True: 40, False: 0]
  |  Branch (5259:69): [True: 0, False: 40]
  ------------------
 5260|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5260:13): [True: 0, False: 0]
  |  Branch (5260:40): [True: 0, False: 0]
  ------------------
 5261|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5262|      0|        }
 5263|      0|        else {
 5264|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 5265|      0|            return true;
 5266|      0|        }
 5267|      0|    }
 5268|     40|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (5268:9): [True: 40, False: 0]
  |  Branch (5268:37): [True: 0, False: 40]
  ------------------
 5269|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 5270|      0|        return true;
 5271|      0|    }
 5272|     40|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (5272:9): [True: 0, False: 40]
  ------------------
 5273|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 5274|      0|        return true;
 5275|      0|    }
 5276|       |
 5277|     40|    return false;
 5278|     40|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 5366|  4.44k|{
 5367|  4.44k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (5367:9): [True: 0, False: 4.44k]
  ------------------
 5368|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 5369|      0|        return true;
 5370|      0|    }
 5371|       |
 5372|  4.44k|    return false;
 5373|  4.44k|}
_ZN7glslang13TParseContext9boolCheckERKNS_10TSourceLocEPKNS_12TIntermTypedE:
 5377|     54|{
 5378|     54|    if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector())
  ------------------
  |  Branch (5378:9): [True: 54, False: 0]
  |  Branch (5378:44): [True: 0, False: 0]
  |  Branch (5378:63): [True: 0, False: 0]
  |  Branch (5378:83): [True: 0, False: 0]
  ------------------
 5379|     54|        error(loc, "boolean expression expected", "", "");
 5380|     54|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5390|  3.92k|{
 5391|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5392|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5393|  3.92k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5393:9): [True: 0, False: 3.92k]
  |  Branch (5393:46): [True: 0, False: 0]
  ------------------
 5394|      0|        if (version < 300) {
  ------------------
  |  Branch (5394:13): [True: 0, False: 0]
  ------------------
 5395|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5396|      0|        } else {
 5397|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5398|      0|        }
 5399|      0|    }
 5400|  3.92k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5400:9): [True: 0, False: 3.92k]
  ------------------
 5401|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5402|      0|    }
 5403|       |
 5404|  3.92k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5404:9): [True: 130, False: 3.79k]
  ------------------
 5405|    130|        return;
 5406|       |
 5407|  3.79k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5407:9): [True: 0, False: 3.79k]
  |  Branch (5407:45): [True: 0, False: 0]
  ------------------
 5408|       |        // For bindless texture, sampler can be declared as an struct member
 5409|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5409:13): [True: 0, False: 0]
  ------------------
 5410|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5410:17): [True: 0, False: 0]
  ------------------
 5411|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5412|      0|            else
 5413|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5414|      0|        }
 5415|      0|        else {
 5416|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5417|      0|        }
 5418|      0|    }
 5419|  3.79k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5419:14): [True: 0, False: 3.79k]
  |  Branch (5419:51): [True: 0, False: 0]
  ------------------
 5420|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5421|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5421:13): [True: 0, False: 0]
  ------------------
 5422|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5422:17): [True: 0, False: 0]
  ------------------
 5423|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5424|      0|            else
 5425|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5426|      0|        }
 5427|      0|        else {
 5428|       |            // non-uniform sampler
 5429|       |            // not yet:  okay if it has an initializer
 5430|       |            // if (! initializer)
 5431|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5431:17): [True: 0, False: 0]
  |  Branch (5431:56): [True: 0, False: 0]
  ------------------
 5432|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5433|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5433:22): [True: 0, False: 0]
  ------------------
 5434|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5435|      0|        }
 5436|      0|    }
 5437|  3.79k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5437:14): [True: 0, False: 3.79k]
  |  Branch (5437:36): [True: 0, False: 0]
  ------------------
 5438|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", "%s", identifier.c_str());
 5439|      0|    }
 5440|  3.79k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5443|  3.92k|{
 5444|  3.92k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5444:9): [True: 130, False: 3.79k]
  ------------------
 5445|    130|        return;
 5446|       |
 5447|  3.79k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5447:9): [True: 0, False: 3.79k]
  |  Branch (5447:45): [True: 0, False: 0]
  ------------------
 5448|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5449|  3.79k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5449:14): [True: 0, False: 3.79k]
  |  Branch (5449:54): [True: 0, False: 0]
  ------------------
 5450|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5451|  3.79k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5454|  3.92k|{
 5455|  3.92k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5455:9): [True: 130, False: 3.79k]
  ------------------
 5456|    130|        return;
 5457|       |
 5458|  3.79k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5458:9): [True: 0, False: 3.79k]
  |  Branch (5458:45): [True: 0, False: 0]
  ------------------
 5459|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5460|  3.79k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5460:14): [True: 0, False: 3.79k]
  |  Branch (5460:53): [True: 0, False: 0]
  ------------------
 5461|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5462|      0|            type.getBasicTypeString().c_str(), "%s", identifier.c_str());
 5463|       |
 5464|  3.79k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5467|  3.92k|{
 5468|  3.92k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5468:9): [True: 47, False: 3.87k]
  |  Branch (5468:45): [True: 0, False: 47]
  ------------------
 5469|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), "%s", identifier.c_str());
 5470|  3.92k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5470:16): [True: 0, False: 3.92k]
  ------------------
 5471|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5472|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5472:13): [True: 0, False: 0]
  |  Branch (5472:39): [True: 0, False: 0]
  ------------------
 5473|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", "%s", identifier.c_str());
 5474|      0|        }
 5475|      0|    }
 5476|  3.92k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5478|  3.92k|{
 5479|  3.92k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5479:9): [True: 47, False: 3.87k]
  |  Branch (5479:45): [True: 0, False: 47]
  ------------------
 5480|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), "%s", identifier.c_str());
 5481|  3.92k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5481:16): [True: 0, False: 3.92k]
  ------------------
 5482|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5483|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5483:13): [True: 0, False: 0]
  |  Branch (5483:39): [True: 0, False: 0]
  ------------------
 5484|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", "%s", identifier.c_str());
 5485|      0|        }
 5486|      0|    }
 5487|  3.92k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5490|  3.92k|{
 5491|  3.92k|    if (parsingBuiltins)
  ------------------
  |  Branch (5491:9): [True: 3.92k, False: 0]
  ------------------
 5492|  3.92k|        return;
 5493|       |
 5494|      0|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5494:9): [True: 0, False: 0]
  ------------------
 5495|      0|        return;
 5496|       |
 5497|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5497:9): [True: 0, False: 0]
  ------------------
 5498|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5499|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5499:13): [True: 0, False: 0]
  |  Branch (5499:38): [True: 0, False: 0]
  ------------------
 5500|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5501|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5502|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5502:13): [True: 0, False: 0]
  |  Branch (5502:38): [True: 0, False: 0]
  |  Branch (5502:76): [True: 0, False: 0]
  ------------------
 5503|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5504|      0|    }
 5505|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5511|    150|{
 5512|    150|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5513|    150|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5514|    150|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5514:9): [True: 0, False: 150]
  ------------------
 5515|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5516|      0|        publicType.qualifier.nonUniform = false;
 5517|      0|    }
 5518|    150|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5518:9): [True: 0, False: 150]
  ------------------
 5519|      0|        error(publicType.loc, "not allowed on block or structure members",
 5520|      0|              "patch", "");
 5521|      0|    }
 5522|    150|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5528|  9.34k|{
 5529|  9.34k|    bool nonuniformOkay = false;
 5530|       |
 5531|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5532|  9.34k|    switch (qualifier.storage) {
 5533|  2.29k|    case EvqIn:
  ------------------
  |  Branch (5533:5): [True: 2.29k, False: 7.05k]
  ------------------
 5534|  2.29k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5535|  2.29k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5536|  2.29k|        qualifier.storage = EvqVaryingIn;
 5537|  2.29k|        nonuniformOkay = true;
 5538|  2.29k|        break;
 5539|    267|    case EvqOut:
  ------------------
  |  Branch (5539:5): [True: 267, False: 9.08k]
  ------------------
 5540|    267|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5541|    267|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5542|    267|        qualifier.storage = EvqVaryingOut;
 5543|    267|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5543:13): [True: 0, False: 267]
  ------------------
 5544|      0|            qualifier.invariant = true;
 5545|    267|        break;
 5546|      0|    case EvqInOut:
  ------------------
  |  Branch (5546:5): [True: 0, False: 9.34k]
  ------------------
 5547|      0|        qualifier.storage = EvqVaryingIn;
 5548|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5549|      0|        break;
 5550|  5.23k|    case EvqGlobal:
  ------------------
  |  Branch (5550:5): [True: 5.23k, False: 4.11k]
  ------------------
 5551|  5.26k|    case EvqTemporary:
  ------------------
  |  Branch (5551:5): [True: 30, False: 9.31k]
  ------------------
 5552|  5.26k|        nonuniformOkay = true;
 5553|  5.26k|        break;
 5554|    130|    case EvqUniform:
  ------------------
  |  Branch (5554:5): [True: 130, False: 9.21k]
  ------------------
 5555|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5556|       |        // the std430 qualifier on a uniform block will fail to compile.
 5557|       |        // Only check the global declaration: layout(std430) uniform;
 5558|    130|        if (blockName == nullptr &&
  ------------------
  |  Branch (5558:13): [True: 100, False: 30]
  ------------------
 5559|    100|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5559:13): [True: 0, False: 100]
  ------------------
 5560|      0|        {
 5561|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5562|      0|        }
 5563|       |
 5564|    130|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5564:13): [True: 130, False: 0]
  |  Branch (5564:38): [True: 0, False: 130]
  ------------------
 5565|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5565:14): [True: 0, False: 0]
  |  Branch (5565:58): [True: 0, False: 0]
  ------------------
 5566|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5567|       |
 5568|    130|        break;
 5569|  1.40k|    default:
  ------------------
  |  Branch (5569:5): [True: 1.40k, False: 7.94k]
  ------------------
 5570|  1.40k|        break;
 5571|  9.34k|    }
 5572|       |
 5573|  9.34k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5573:9): [True: 1.79k, False: 7.55k]
  |  Branch (5573:28): [True: 0, False: 1.79k]
  ------------------
 5574|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5575|       |
 5576|  9.34k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5576:9): [True: 0, False: 9.34k]
  ------------------
 5577|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5578|       |
 5579|  9.34k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5579:9): [True: 0, False: 9.34k]
  ------------------
 5580|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5581|       |
 5582|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5583|  9.34k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5583:9): [True: 9.19k, False: 150]
  |  Branch (5583:27): [True: 120, False: 30]
  ------------------
 5584|  9.31k|        invariantCheck(loc, qualifier);
 5585|       |
 5586|  9.34k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5586:9): [True: 0, False: 9.34k]
  ------------------
 5587|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5587:13): [True: 0, False: 0]
  ------------------
 5588|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5589|      0|        intermediate.setReqFullQuadsMode();
 5590|      0|    }
 5591|       |
 5592|  9.34k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5592:9): [True: 0, False: 9.34k]
  ------------------
 5593|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5593:13): [True: 0, False: 0]
  ------------------
 5594|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5595|      0|        intermediate.setQuadDerivMode();
 5596|      0|    }
 5597|  9.34k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5603|  96.1k|{
 5604|  96.1k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5604:9): [True: 0, False: 96.1k]
  ------------------
 5605|      0|        return;
 5606|       |
 5607|  96.1k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5607:11): [True: 106, False: 96.0k]
  |  Branch (5607:33): [True: 0, False: 106]
  |  Branch (5607:71): [True: 96.1k, False: 0]
  |  Branch (5607:100): [True: 1, False: 96.1k]
  ------------------
 5608|      1|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5608:13): [True: 0, False: 1]
  |  Branch (5608:62): [True: 0, False: 0]
  |  Branch (5608:88): [True: 0, False: 0]
  ------------------
 5609|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5610|      1|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5610:20): [True: 0, False: 1]
  |  Branch (5610:44): [True: 0, False: 0]
  |  Branch (5610:84): [True: 0, False: 0]
  ------------------
 5611|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5612|      0|        }
 5613|      1|    }
 5614|       |
 5615|  96.1k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5615:9): [True: 0, False: 96.1k]
  ------------------
 5616|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5616:9): [True: 0, False: 0]
  ------------------
 5617|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5617:9): [True: 0, False: 0]
  ------------------
 5618|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5618:9): [True: 0, False: 0]
  ------------------
 5619|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5620|       |
 5621|  96.1k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5621:9): [True: 93.8k, False: 2.28k]
  |  Branch (5621:46): [True: 3.64k, False: 90.1k]
  ------------------
 5622|  3.64k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5622:9): [True: 0, False: 3.64k]
  |  Branch (5622:60): [True: 0, False: 0]
  ------------------
 5623|      0|        version < 400) {
  ------------------
  |  Branch (5623:9): [True: 0, False: 0]
  ------------------
 5624|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5625|      0|    }
 5626|  96.1k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5626:9): [True: 93.8k, False: 2.28k]
  |  Branch (5626:46): [True: 93.6k, False: 215]
  ------------------
 5627|  93.6k|        return;
 5628|       |
 5629|  2.49k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5629:9): [True: 0, False: 2.49k]
  ------------------
 5630|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5631|       |
 5632|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5633|       |
 5634|  2.49k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5634:9): [True: 2.39k, False: 104]
  |  Branch (5634:44): [True: 0, False: 104]
  ------------------
 5635|  2.39k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5636|  2.39k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5637|  2.39k|    }
 5638|       |
 5639|  2.49k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5639:9): [True: 2.40k, False: 91]
  |  Branch (5639:28): [True: 2.40k, False: 0]
  |  Branch (5639:68): [True: 2.40k, False: 0]
  |  Branch (5639:98): [True: 2.40k, False: 0]
  ------------------
 5640|  2.40k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5640:13): [True: 2.30k, False: 104]
  ------------------
 5641|    104|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5641:13): [True: 0, False: 104]
  ------------------
 5642|    104|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5642:14): [True: 0, False: 104]
  |  Branch (5642:40): [True: 0, False: 0]
  ------------------
 5643|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5643:40): [True: 0, False: 0]
  ------------------
 5644|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5644:40): [True: 0, False: 0]
  ------------------
 5645|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5645:40): [True: 0, False: 0]
  ------------------
 5646|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5646:40): [True: 0, False: 0]
  ------------------
 5647|  2.30k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5647:40): [True: 0, False: 0]
  ------------------
 5648|  2.30k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5648:17): [True: 2.13k, False: 165]
  |  Branch (5648:54): [True: 0, False: 2.13k]
  ------------------
 5649|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), "%s", GetStorageQualifierString(qualifier.storage));
 5650|  2.30k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5650:22): [True: 165, False: 2.13k]
  |  Branch (5650:60): [True: 36, False: 129]
  |  Branch (5650:89): [True: 0, False: 36]
  ------------------
 5651|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), "%s", GetStorageQualifierString(qualifier.storage));
 5652|  2.30k|        }
 5653|  2.40k|    }
 5654|       |
 5655|  2.49k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5655:9): [True: 28, False: 2.47k]
  |  Branch (5655:32): [True: 0, False: 28]
  ------------------
 5656|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5657|       |
 5658|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5659|  2.49k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() &&
  ------------------
  |  Branch (5659:9): [True: 0, False: 2.49k]
  |  Branch (5659:43): [True: 0, False: 0]
  ------------------
 5660|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5660:9): [True: 0, False: 0]
  |  Branch (5660:42): [True: 0, False: 0]
  ------------------
 5661|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5661:9): [True: 0, False: 0]
  ------------------
 5662|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5663|       |
 5664|  2.49k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5664:9): [True: 0, False: 2.49k]
  |  Branch (5664:38): [True: 0, False: 0]
  ------------------
 5665|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5666|       |
 5667|  2.49k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5667:9): [True: 0, False: 2.49k]
  |  Branch (5667:37): [True: 0, False: 0]
  ------------------
 5668|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5669|       |
 5670|  2.49k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5670:9): [True: 2.28k, False: 215]
  ------------------
 5671|  2.28k|        switch (language) {
 5672|    200|        case EShLangVertex:
  ------------------
  |  Branch (5672:9): [True: 200, False: 2.08k]
  ------------------
 5673|    200|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5673:17): [True: 0, False: 200]
  ------------------
 5674|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5675|      0|                return;
 5676|      0|            }
 5677|    200|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5677:17): [True: 0, False: 200]
  ------------------
 5678|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5679|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5680|      0|            }
 5681|    200|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5681:17): [True: 0, False: 200]
  ------------------
 5682|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5683|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);
 5684|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5685|      0|			}
 5686|    200|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5686:17): [True: 0, False: 200]
  |  Branch (5686:44): [True: 0, False: 200]
  |  Branch (5686:75): [True: 0, False: 200]
  |  Branch (5686:99): [True: 0, False: 200]
  ------------------
 5687|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5688|    200|            break;
 5689|    124|        case EShLangFragment:
  ------------------
  |  Branch (5689:9): [True: 124, False: 2.16k]
  ------------------
 5690|    124|            if (publicType.userDef) {
  ------------------
  |  Branch (5690:17): [True: 0, False: 124]
  ------------------
 5691|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5692|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5693|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5693:21): [True: 0, False: 0]
  ------------------
 5694|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5695|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5695:21): [True: 0, False: 0]
  ------------------
 5696|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5697|      0|            }
 5698|    124|            break;
 5699|    180|       case EShLangCompute:
  ------------------
  |  Branch (5699:8): [True: 180, False: 2.10k]
  ------------------
 5700|    180|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5700:17): [True: 0, False: 180]
  ------------------
 5701|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5702|    180|            break;
 5703|    183|       case EShLangTessControl:
  ------------------
  |  Branch (5703:8): [True: 183, False: 2.10k]
  ------------------
 5704|    183|            if (qualifier.patch)
  ------------------
  |  Branch (5704:17): [True: 0, False: 183]
  ------------------
 5705|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5706|    183|            break;
 5707|  1.59k|        default:
  ------------------
  |  Branch (5707:9): [True: 1.59k, False: 687]
  ------------------
 5708|  1.59k|            break;
 5709|  2.28k|        }
 5710|  2.28k|    } else {
 5711|       |        // qualifier.storage == EvqVaryingOut
 5712|    215|        switch (language) {
 5713|     48|        case EShLangVertex:
  ------------------
  |  Branch (5713:9): [True: 48, False: 167]
  ------------------
 5714|     48|            if (publicType.userDef) {
  ------------------
  |  Branch (5714:17): [True: 0, False: 48]
  ------------------
 5715|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5716|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5717|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5717:21): [True: 0, False: 0]
  ------------------
 5718|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5719|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5719:21): [True: 0, False: 0]
  ------------------
 5720|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5721|      0|            }
 5722|       |
 5723|     48|            break;
 5724|      6|        case EShLangFragment:
  ------------------
  |  Branch (5724:9): [True: 6, False: 209]
  ------------------
 5725|      6|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5726|      6|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5726:17): [True: 0, False: 6]
  ------------------
 5727|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5728|      0|                return;
 5729|      0|            }
 5730|      6|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5730:17): [True: 0, False: 6]
  ------------------
 5731|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5732|      0|                return;
 5733|      0|            }
 5734|      6|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5734:17): [True: 0, False: 6]
  ------------------
 5735|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5736|      6|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5736:17): [True: 0, False: 6]
  ------------------
 5737|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5738|      6|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5738:17): [True: 0, False: 6]
  |  Branch (5738:54): [True: 0, False: 6]
  |  Branch (5738:90): [True: 0, False: 6]
  ------------------
 5739|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5740|      6|        break;
 5741|       |
 5742|      0|        case EShLangCompute:
  ------------------
  |  Branch (5742:9): [True: 0, False: 215]
  ------------------
 5743|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5744|      0|            break;
 5745|     42|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5745:9): [True: 42, False: 173]
  ------------------
 5746|     42|            if (qualifier.patch)
  ------------------
  |  Branch (5746:17): [True: 0, False: 42]
  ------------------
 5747|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5748|     42|            break;
 5749|    119|        default:
  ------------------
  |  Branch (5749:9): [True: 119, False: 96]
  ------------------
 5750|    119|            break;
 5751|    215|        }
 5752|    215|    }
 5753|  2.49k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5765|  40.9k|{
 5766|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5767|  40.9k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5767:9): [True: 28, False: 40.9k]
  |  Branch (5767:30): [True: 0, False: 28]
  ------------------
 5768|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5769|       |
 5770|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5771|  40.9k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5771:9): [True: 91, False: 40.8k]
  |  Branch (5771:34): [True: 0, False: 91]
  ------------------
 5772|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5773|       |
 5774|       |    // Ordering
 5775|  40.9k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5775:9): [True: 32.0k, False: 8.97k]
  |  Branch (5775:22): [True: 31.8k, False: 180]
  |  Branch (5775:40): [True: 1.15k, False: 30.6k]
  ------------------
 5776|  30.8k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5776:22): [True: 180, False: 30.6k]
  |  Branch (5776:39): [True: 180, False: 0]
  ------------------
 5777|  1.33k|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5777:20): [True: 1.33k, False: 0]
  ------------------
 5778|       |        // non-function parameters
 5779|  1.33k|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5779:13): [True: 0, False: 1.33k]
  |  Branch (5779:39): [True: 0, False: 0]
  |  Branch (5779:56): [True: 0, False: 0]
  |  Branch (5779:81): [True: 0, False: 0]
  |  Branch (5779:102): [True: 0, False: 0]
  |  Branch (5779:133): [True: 0, False: 0]
  ------------------
 5780|      0|            error(loc, "precise qualifier must appear first", "", "");
 5781|  1.33k|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5781:13): [True: 0, False: 1.33k]
  |  Branch (5781:31): [True: 0, False: 0]
  |  Branch (5781:56): [True: 0, False: 0]
  |  Branch (5781:77): [True: 0, False: 0]
  |  Branch (5781:108): [True: 0, False: 0]
  ------------------
 5782|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5783|  1.33k|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5783:18): [True: 0, False: 1.33k]
  |  Branch (5783:44): [True: 0, False: 0]
  |  Branch (5783:65): [True: 0, False: 0]
  |  Branch (5783:96): [True: 0, False: 0]
  ------------------
 5784|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5785|  1.33k|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5785:18): [True: 0, False: 1.33k]
  |  Branch (5785:40): [True: 0, False: 0]
  |  Branch (5785:71): [True: 0, False: 0]
  ------------------
 5786|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5787|  1.33k|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5787:18): [True: 345, False: 990]
  |  Branch (5787:49): [True: 0, False: 345]
  ------------------
 5788|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5789|       |
 5790|       |        // function parameters
 5791|  1.33k|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5791:13): [True: 0, False: 1.33k]
  |  Branch (5791:39): [True: 0, False: 0]
  |  Branch (5791:66): [True: 0, False: 0]
  |  Branch (5791:90): [True: 0, False: 0]
  ------------------
 5792|      0|            error(loc, "precise qualifier must appear first", "", "");
 5793|  1.33k|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5793:13): [True: 0, False: 1.33k]
  |  Branch (5793:41): [True: 0, False: 0]
  |  Branch (5793:65): [True: 0, False: 0]
  ------------------
 5794|      0|            error(loc, "in/out must appear before const", "", "");
 5795|  1.33k|    }
 5796|       |
 5797|       |    // Storage qualification
 5798|  40.9k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5798:9): [True: 29.1k, False: 11.8k]
  |  Branch (5798:40): [True: 8.97k, False: 2.85k]
  ------------------
 5799|  38.1k|        dst.storage = src.storage;
 5800|  2.85k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5800:15): [True: 2.05k, False: 798]
  |  Branch (5800:40): [True: 0, False: 2.05k]
  ------------------
 5801|  2.85k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5801:15): [True: 244, False: 2.60k]
  |  Branch (5801:40): [True: 0, False: 244]
  ------------------
 5802|      0|        dst.storage = EvqInOut;
 5803|  2.85k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5803:15): [True: 2.05k, False: 798]
  |  Branch (5803:42): [True: 0, False: 2.05k]
  ------------------
 5804|  2.85k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5804:15): [True: 524, False: 2.32k]
  |  Branch (5804:42): [True: 0, False: 524]
  ------------------
 5805|      0|        dst.storage = EvqConstReadOnly;
 5806|  2.85k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5806:14): [True: 2.37k, False: 480]
  ------------------
 5807|  2.37k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5807:14): [True: 0, False: 2.37k]
  ------------------
 5808|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5809|       |
 5810|       |    // Precision qualifiers
 5811|  40.9k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5811:9): [True: 32.0k, False: 8.97k]
  |  Branch (5811:20): [True: 1.52k, False: 30.4k]
  |  Branch (5811:48): [True: 0, False: 1.52k]
  ------------------
 5812|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5813|  40.9k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5813:9): [True: 40.7k, False: 180]
  |  Branch (5813:38): [True: 0, False: 180]
  |  Branch (5813:47): [True: 0, False: 0]
  ------------------
 5814|  40.7k|        dst.precision = src.precision;
 5815|       |
 5816|  40.9k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5816:9): [True: 32.0k, False: 8.97k]
  |  Branch (5816:21): [True: 12.3k, False: 19.6k]
  |  Branch (5816:38): [True: 0, False: 12.3k]
  |  Branch (5816:60): [True: 0, False: 12.3k]
  |  Branch (5816:87): [True: 0, False: 12.3k]
  |  Branch (5816:112): [True: 0, False: 12.3k]
  |  Branch (5816:136): [True: 0, False: 12.3k]
  ------------------
 5817|  32.0k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5817:21): [True: 0, False: 32.0k]
  |  Branch (5817:44): [True: 0, False: 0]
  |  Branch (5817:60): [True: 0, False: 0]
  |  Branch (5817:87): [True: 0, False: 0]
  |  Branch (5817:112): [True: 0, False: 0]
  |  Branch (5817:136): [True: 0, False: 0]
  ------------------
 5818|  32.0k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5818:21): [True: 0, False: 32.0k]
  |  Branch (5818:49): [True: 0, False: 0]
  |  Branch (5818:65): [True: 0, False: 0]
  |  Branch (5818:87): [True: 0, False: 0]
  |  Branch (5818:112): [True: 0, False: 0]
  |  Branch (5818:136): [True: 0, False: 0]
  ------------------
 5819|  32.0k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5819:21): [True: 0, False: 32.0k]
  |  Branch (5819:47): [True: 0, False: 0]
  |  Branch (5819:63): [True: 0, False: 0]
  |  Branch (5819:85): [True: 0, False: 0]
  |  Branch (5819:112): [True: 0, False: 0]
  |  Branch (5819:136): [True: 0, False: 0]
  ------------------
 5820|  32.0k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5820:21): [True: 0, False: 32.0k]
  |  Branch (5820:47): [True: 0, False: 0]
  |  Branch (5820:63): [True: 0, False: 0]
  |  Branch (5820:85): [True: 0, False: 0]
  |  Branch (5820:112): [True: 0, False: 0]
  |  Branch (5820:137): [True: 0, False: 0]
  ------------------
 5821|  32.0k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5821:21): [True: 0, False: 32.0k]
  |  Branch (5821:48): [True: 0, False: 0]
  |  Branch (5821:64): [True: 0, False: 0]
  |  Branch (5821:86): [True: 0, False: 0]
  |  Branch (5821:113): [True: 0, False: 0]
  |  Branch (5821:138): [True: 0, False: 0]
  ------------------
 5822|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5823|      0|            GetPrecisionQualifierString(src.precision), "");
 5824|      0|    }
 5825|       |
 5826|       |    // Layout qualifiers
 5827|  40.9k|    mergeObjectLayoutQualifiers(dst, src, false);
 5828|       |
 5829|       |    // individual qualifiers
 5830|  40.9k|    bool repeated = false;
 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5832|  40.9k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5833|  40.9k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5834|  40.9k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5835|  40.9k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 147, False: 40.8k]
  |  |  |  Branch (5831:61): [True: 0, False: 147]
  |  |  ------------------
  ------------------
 5836|  40.9k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5837|  40.9k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5838|  40.9k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5839|  40.9k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5840|  40.9k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 12, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 12]
  |  |  ------------------
  ------------------
 5841|  40.9k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5842|  40.9k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5843|  40.9k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 28, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 5844|  40.9k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5845|  40.9k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 13.2k, False: 27.6k]
  |  |  |  Branch (5831:61): [True: 0, False: 13.2k]
  |  |  ------------------
  ------------------
 5846|  40.9k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5847|  40.9k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5848|  40.9k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5849|  40.9k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5850|  40.9k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5851|  40.9k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5852|  40.9k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 25.0k, False: 15.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 25.0k]
  |  |  ------------------
  ------------------
 5853|  40.9k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 660, False: 40.3k]
  |  |  |  Branch (5831:61): [True: 0, False: 660]
  |  |  ------------------
  ------------------
 5854|  40.9k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5855|  40.9k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 5.72k, False: 35.2k]
  |  |  |  Branch (5831:61): [True: 0, False: 5.72k]
  |  |  ------------------
  ------------------
 5856|  40.9k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 3.84k, False: 37.1k]
  |  |  |  Branch (5831:61): [True: 0, False: 3.84k]
  |  |  ------------------
  ------------------
 5857|  40.9k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5831|  40.9k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5831:48): [True: 0, False: 40.9k]
  |  |  |  Branch (5831:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5858|       |
 5859|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5860|  40.9k|    dst.spirvStorageClass = src.spirvStorageClass;
 5861|       |
 5862|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5863|  40.9k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5863:9): [True: 0, False: 40.9k]
  ------------------
 5864|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5864:13): [True: 0, False: 0]
  ------------------
 5865|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5866|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5867|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5867:33): [True: 0, False: 0]
  ------------------
 5868|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5868:21): [True: 0, False: 0]
  ------------------
 5869|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5870|      0|                else
 5871|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5872|      0|            }
 5873|       |
 5874|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5874:35): [True: 0, False: 0]
  ------------------
 5875|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5875:21): [True: 0, False: 0]
  ------------------
 5876|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5877|      0|                else
 5878|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5879|      0|            }
 5880|       |
 5881|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5881:39): [True: 0, False: 0]
  ------------------
 5882|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5882:21): [True: 0, False: 0]
  ------------------
 5883|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5884|      0|                else
 5885|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5886|      0|            }
 5887|      0|        } else {
 5888|      0|            dst.spirvDecorate = src.spirvDecorate;
 5889|      0|        }
 5890|      0|    }
 5891|       |
 5892|  40.9k|    if (repeated)
  ------------------
  |  Branch (5892:9): [True: 0, False: 40.9k]
  ------------------
 5893|      0|        error(loc, "replicated qualifiers", "", "");
 5894|  40.9k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5932|  32.3k|{
 5933|  32.3k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5933:25): [True: 10.5k, False: 21.7k]
  ------------------
 5934|  32.3k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5934:25): [True: 3.87k, False: 28.4k]
  ------------------
 5935|  32.3k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5935:25): [True: 284, False: 32.0k]
  ------------------
 5936|  32.3k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5936:25): [True: 9.82k, False: 22.4k]
  ------------------
 5937|  32.3k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5937:25): [True: 2.18k, False: 30.1k]
  ------------------
 5938|       |
 5939|  32.3k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5940|  32.3k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5941|  32.3k|    assert(flattened < maxSamplerIndex);
 5942|       |
 5943|  32.3k|    return flattened;
 5944|  32.3k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5947|   348k|{
 5948|   348k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5948:9): [True: 31.8k, False: 316k]
  ------------------
 5949|  31.8k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5950|   316k|    else
 5951|   316k|        return defaultPrecision[publicType.basicType];
 5952|   348k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5955|   347k|{
 5956|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5957|       |    // later by context.
 5958|   347k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5958:9): [True: 116k, False: 231k]
  |  Branch (5958:40): [True: 231k, False: 1]
  ------------------
 5959|   347k|        return;
 5960|       |
 5961|      1|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5961:9): [True: 0, False: 1]
  |  Branch (5961:38): [True: 0, False: 0]
  |  Branch (5961:72): [True: 0, False: 0]
  ------------------
 5962|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5963|       |
 5964|      1|    if (hasTypeParameter)
  ------------------
  |  Branch (5964:9): [True: 0, False: 1]
  ------------------
 5965|      0|        return;
 5966|       |
 5967|      1|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5967:9): [True: 0, False: 1]
  |  Branch (5967:33): [True: 0, False: 1]
  |  Branch (5967:56): [True: 0, False: 1]
  |  Branch (5967:78): [True: 1, False: 0]
  |  Branch (5967:104): [True: 0, False: 0]
  ------------------
 5968|      1|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5968:13): [True: 0, False: 1]
  ------------------
 5969|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5969:17): [True: 0, False: 0]
  ------------------
 5970|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5971|      0|            else
 5972|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5973|      0|            qualifier.precision = EpqMedium;
 5974|      0|            defaultPrecision[baseType] = EpqMedium;
 5975|      0|        }
 5976|      1|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5976:16): [True: 0, False: 0]
  ------------------
 5977|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5978|      1|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5981|   251k|{
 5982|       |    // getBindlessMode() is only set once a bindless construct has been parsed, so it is
 5983|       |    // still false for a function declared above the first one. Ask the extension instead.
 5984|   251k|    const bool bindlessHandle =
 5985|   251k|        type.getBasicType() == EbtSampler && intermediate.IsRequestedExtension(E_GL_ARB_bindless_texture);
  ------------------
  |  Branch (5985:9): [True: 31.8k, False: 219k]
  |  Branch (5985:46): [True: 0, False: 31.8k]
  ------------------
 5986|   251k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !bindlessHandle)
  ------------------
  |  Branch (5986:10): [True: 9.90k, False: 241k]
  |  Branch (5986:33): [True: 648, False: 240k]
  |  Branch (5986:59): [True: 0, False: 10.5k]
  |  Branch (5986:78): [True: 0, False: 0]
  ------------------
 5987|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5988|   251k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5988:9): [True: 0, False: 251k]
  |  Branch (5988:29): [True: 0, False: 0]
  ------------------
 5989|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5990|   251k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5990:9): [True: 0, False: 251k]
  |  Branch (5990:29): [True: 0, False: 0]
  ------------------
 5991|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5992|   251k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5992:9): [True: 0, False: 251k]
  |  Branch (5992:29): [True: 0, False: 0]
  ------------------
 5993|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5994|   251k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5997|    376|{
 5998|    376|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5998:9): [True: 0, False: 376]
  ------------------
 5999|      0|        return true;
 6000|       |
 6001|    376|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (6001:9): [True: 94, False: 282]
  ------------------
 6002|     94|        const TTypeList& structure = *type.getStruct();
 6003|    376|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (6003:34): [True: 282, False: 94]
  ------------------
 6004|    282|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (6004:17): [True: 0, False: 282]
  ------------------
 6005|      0|                return true;
 6006|    282|        }
 6007|     94|    }
 6008|       |
 6009|    376|    return false;
 6010|    376|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 6017|  1.24k|{
 6018|  1.24k|    bool isConst = false;
 6019|  1.24k|    sizePair.node = nullptr;
 6020|       |
 6021|  1.24k|    int size = 1;
 6022|       |
 6023|  1.24k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 6024|  1.24k|    if (constant) {
  ------------------
  |  Branch (6024:9): [True: 1.24k, False: 0]
  ------------------
 6025|       |        // handle true (non-specialization) constant
 6026|  1.24k|        size = constant->getConstArray()[0].getIConst();
 6027|  1.24k|        isConst = true;
 6028|  1.24k|    } else {
 6029|       |        // see if it's a specialization constant instead
 6030|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (6030:13): [True: 0, False: 0]
  ------------------
 6031|      0|            isConst = true;
 6032|      0|            sizePair.node = expr;
 6033|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 6034|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (6034:17): [True: 0, False: 0]
  |  Branch (6034:27): [True: 0, False: 0]
  ------------------
 6035|      0|                size = symbol->getConstArray()[0].getIConst();
 6036|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (6036:20): [True: 0, False: 0]
  |  Branch (6036:46): [True: 0, False: 0]
  ------------------
 6037|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (6037:20): [True: 0, False: 0]
  ------------------
 6038|      0|            isConst = true;
 6039|      0|            size = 1;
 6040|      0|            sizePair.node = expr->getAsUnaryNode();
 6041|      0|        }
 6042|      0|    }
 6043|       |
 6044|  1.24k|    sizePair.size = size;
 6045|       |
 6046|  1.24k|    if (isTypeParameter) {
  ------------------
  |  Branch (6046:9): [True: 72, False: 1.17k]
  ------------------
 6047|     72|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (6047:13): [True: 0, False: 72]
  ------------------
 6048|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (6048:17): [True: 0, False: 0]
  |  Branch (6048:31): [True: 0, False: 0]
  |  Branch (6048:65): [True: 0, False: 0]
  |  Branch (6048:100): [True: 0, False: 0]
  ------------------
 6049|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 6050|      0|                return;
 6051|      0|            }
 6052|     72|        } else {
 6053|     72|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6053:17): [True: 0, False: 72]
  |  Branch (6053:31): [True: 0, False: 72]
  |  Branch (6053:65): [True: 0, False: 0]
  ------------------
 6054|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 6055|      0|                return;
 6056|      0|            }
 6057|     72|        }
 6058|     72|        if (size < 0) {
  ------------------
  |  Branch (6058:13): [True: 0, False: 72]
  ------------------
 6059|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 6060|      0|            return;
 6061|      0|        }
 6062|  1.17k|    } else {
 6063|  1.17k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (6063:13): [True: 0, False: 1.17k]
  |  Branch (6063:27): [True: 0, False: 1.17k]
  |  Branch (6063:61): [True: 0, False: 0]
  ------------------
 6064|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 6065|      0|            return;
 6066|      0|        }
 6067|  1.17k|        if (size <= 0) {
  ------------------
  |  Branch (6067:13): [True: 0, False: 1.17k]
  ------------------
 6068|      0|            error(loc, sizeType, "", "must be a positive integer");
 6069|      0|            return;
 6070|      0|        }
 6071|  1.17k|    }
 6072|  1.24k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 6080|    148|{
 6081|    148|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (6081:9): [True: 0, False: 148]
  ------------------
 6082|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 6083|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 6084|      0|    }
 6085|       |
 6086|    148|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (6086:9): [True: 35, False: 113]
  |  Branch (6086:46): [True: 0, False: 35]
  ------------------
 6087|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 6088|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 6089|      0|    }
 6090|       |
 6091|    148|    return false;
 6092|    148|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 6101|    148|{
 6102|    148|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (6102:9): [True: 113, False: 35]
  |  Branch (6102:57): [True: 24, False: 89]
  ------------------
 6103|     24|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6103:13): [True: 0, False: 24]
  ------------------
 6104|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 6105|     24|        else if (type.isStruct())
  ------------------
  |  Branch (6105:18): [True: 0, False: 24]
  ------------------
 6106|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 6107|     24|    }
 6108|    148|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (6108:9): [True: 35, False: 113]
  |  Branch (6108:56): [True: 9, False: 26]
  ------------------
 6109|      9|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6109:13): [True: 0, False: 9]
  ------------------
 6110|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 6111|      9|        else if (type.isStruct())
  ------------------
  |  Branch (6111:18): [True: 0, False: 9]
  ------------------
 6112|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 6113|      9|    }
 6114|    148|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (6114:9): [True: 113, False: 35]
  |  Branch (6114:57): [True: 3, False: 110]
  ------------------
 6115|      3|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (6115:13): [True: 0, False: 3]
  ------------------
 6116|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 6117|      3|    }
 6118|       |
 6119|    148|    return false;
 6120|    148|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 6126|  8.28k|{
 6127|  8.28k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (6127:9): [True: 0, False: 8.28k]
  |  Branch (6127:29): [True: 0, False: 0]
  ------------------
 6128|      0|        error(loc, "array size required", "", "");
 6129|  8.28k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 6132|     59|{
 6133|     59|    const TTypeList& structure = *type.getStruct();
 6134|    260|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (6134:21): [True: 201, False: 59]
  ------------------
 6135|    201|        const TType& member = *structure[m].type;
 6136|    201|        if (member.isArray())
  ------------------
  |  Branch (6136:13): [True: 0, False: 201]
  ------------------
 6137|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 6138|    201|    }
 6139|     59|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 6143|    346|{
 6144|    346|    assert(arraySizes);
 6145|       |
 6146|       |    // always allow special built-in ins/outs sized to topologies
 6147|    346|    if (parsingBuiltins)
  ------------------
  |  Branch (6147:9): [True: 346, False: 0]
  ------------------
 6148|    346|        return;
 6149|       |
 6150|       |    // initializer must be a sized array, in which case
 6151|       |    // allow the initializer to set any unknown array sizes
 6152|      0|    if (initializer != nullptr) {
  ------------------
  |  Branch (6152:9): [True: 0, False: 0]
  ------------------
 6153|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (6153:13): [True: 0, False: 0]
  ------------------
 6154|      0|            error(loc, "array initializer must be sized", "[]", "");
 6155|      0|        return;
 6156|      0|    }
 6157|       |
 6158|       |    // No environment allows any non-outer-dimension to be implicitly sized
 6159|      0|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (6159:9): [True: 0, False: 0]
  ------------------
 6160|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 6161|      0|        arraySizes->clearInnerUnsized();
 6162|      0|    }
 6163|       |
 6164|      0|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (6164:9): [True: 0, False: 0]
  ------------------
 6165|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (6165:10): [True: 0, False: 0]
  |  Branch (6165:47): [True: 0, False: 0]
  |  Branch (6165:81): [True: 0, False: 0]
  |  Branch (6165:115): [True: 0, False: 0]
  ------------------
 6166|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 6167|       |
 6168|       |    // desktop always allows outer-dimension-unsized variable arrays,
 6169|      0|    if (!isEsProfile())
  ------------------
  |  Branch (6169:9): [True: 0, False: 0]
  ------------------
 6170|      0|        return;
 6171|       |
 6172|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 6173|       |    // with very few exceptions
 6174|       |
 6175|       |    // implicitly-sized io exceptions:
 6176|      0|    switch (language) {
 6177|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6177:5): [True: 0, False: 0]
  ------------------
 6178|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (6178:13): [True: 0, False: 0]
  ------------------
 6179|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6179:18): [True: 0, False: 0]
  |  Branch (6179:35): [True: 0, False: 0]
  ------------------
 6180|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (6180:17): [True: 0, False: 0]
  ------------------
 6181|      0|                return;
 6182|      0|        break;
 6183|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6183:5): [True: 0, False: 0]
  ------------------
 6184|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (6184:14): [True: 0, False: 0]
  ------------------
 6185|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (6185:14): [True: 0, False: 0]
  |  Branch (6185:52): [True: 0, False: 0]
  ------------------
 6186|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6186:18): [True: 0, False: 0]
  |  Branch (6186:35): [True: 0, False: 0]
  ------------------
 6187|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6187:17): [True: 0, False: 0]
  ------------------
 6188|      0|                return;
 6189|      0|        break;
 6190|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6190:5): [True: 0, False: 0]
  ------------------
 6191|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (6191:14): [True: 0, False: 0]
  |  Branch (6191:51): [True: 0, False: 0]
  ------------------
 6192|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6192:14): [True: 0, False: 0]
  ------------------
 6193|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6193:18): [True: 0, False: 0]
  |  Branch (6193:35): [True: 0, False: 0]
  ------------------
 6194|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6194:17): [True: 0, False: 0]
  ------------------
 6195|      0|                return;
 6196|      0|        break;
 6197|      0|    case EShLangMesh:
  ------------------
  |  Branch (6197:5): [True: 0, False: 0]
  ------------------
 6198|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6198:13): [True: 0, False: 0]
  ------------------
 6199|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6199:18): [True: 0, False: 0]
  |  Branch (6199:35): [True: 0, False: 0]
  ------------------
 6200|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (6200:17): [True: 0, False: 0]
  ------------------
 6201|      0|                return;
 6202|      0|        break;
 6203|      0|    default:
  ------------------
  |  Branch (6203:5): [True: 0, False: 0]
  ------------------
 6204|      0|        break;
 6205|      0|    }
 6206|       |
 6207|       |    // last member of ssbo block exception:
 6208|      0|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (6208:9): [True: 0, False: 0]
  |  Branch (6208:43): [True: 0, False: 0]
  ------------------
 6209|      0|        return;
 6210|       |
 6211|       |    // GL_EXT_descriptor_heap arrays, and the last member of a GL_EXT_structured_descriptor_heap heap block
 6212|      0|    if (qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (6212:9): [True: 0, False: 0]
  ------------------
 6213|      0|        return;
 6214|      0|    if ((qualifier.storage == EvqResourceHeap || qualifier.storage == EvqSamplerHeap) && lastMember)
  ------------------
  |  Branch (6214:10): [True: 0, False: 0]
  |  Branch (6214:50): [True: 0, False: 0]
  |  Branch (6214:90): [True: 0, False: 0]
  ------------------
 6215|      0|        return;
 6216|       |
 6217|      0|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (6217:9): [True: 0, False: 0]
  |  Branch (6217:44): [True: 0, False: 0]
  |  Branch (6217:58): [True: 0, False: 0]
  ------------------
 6218|      0|        return;
 6219|       |
 6220|      0|    arraySizeRequiredCheck(loc, *arraySizes);
 6221|      0|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 6224|  12.9k|{
 6225|  12.9k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (6225:9): [True: 4.13k, False: 8.79k]
  |  Branch (6225:29): [True: 8.75k, False: 36]
  ------------------
 6226|  12.8k|        return;
 6227|       |
 6228|     36|    const char* feature = "arrays of arrays";
 6229|       |
 6230|     36|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 6231|     36|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 6232|     36|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 6233|     36|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 6240|    148|{
 6241|    148|    if (symbol == nullptr) {
  ------------------
  |  Branch (6241:9): [True: 148, False: 0]
  ------------------
 6242|    148|        bool currentScope;
 6243|    148|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6244|       |
 6245|    148|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6245:13): [True: 0, False: 148]
  |  Branch (6245:23): [True: 0, False: 0]
  |  Branch (6245:50): [True: 0, False: 0]
  ------------------
 6246|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6247|      0|            symbol = nullptr;
 6248|      0|            return;
 6249|      0|        }
 6250|    148|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6250:13): [True: 148, False: 0]
  |  Branch (6250:34): [True: 0, False: 0]
  ------------------
 6251|       |            //
 6252|       |            // Successfully process a new definition.
 6253|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6254|       |            //
 6255|    148|            symbol = new TVariable(&identifier, type);
 6256|    148|            symbolTable.insert(*symbol);
 6257|    148|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6257:17): [True: 148, False: 0]
  ------------------
 6258|    148|                trackLinkage(*symbol);
 6259|       |
 6260|    148|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6260:17): [True: 0, False: 148]
  ------------------
 6261|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (6261:21): [True: 0, False: 0]
  ------------------
 6262|      0|                    ioArraySymbolResizeList.push_back(symbol);
 6263|      0|                    checkIoArraysConsistency(loc, true);
 6264|      0|                } else
 6265|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 6266|      0|            }
 6267|       |
 6268|    148|            return;
 6269|    148|        }
 6270|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6270:13): [True: 0, False: 0]
  ------------------
 6271|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6272|      0|            symbol = nullptr;
 6273|      0|            return;
 6274|      0|        }
 6275|      0|    }
 6276|       |
 6277|       |    //
 6278|       |    // Process a redeclaration.
 6279|       |    //
 6280|       |
 6281|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (6281:9): [True: 0, False: 0]
  ------------------
 6282|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6283|      0|        return;
 6284|      0|    }
 6285|       |
 6286|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6287|      0|    TType& existingType = symbol->getWritableType();
 6288|       |
 6289|      0|    if (! existingType.isArray()) {
  ------------------
  |  Branch (6289:9): [True: 0, False: 0]
  ------------------
 6290|      0|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 6291|      0|        return;
 6292|      0|    }
 6293|       |
 6294|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (6294:9): [True: 0, False: 0]
  ------------------
 6295|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 6296|      0|        return;
 6297|      0|    }
 6298|       |
 6299|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (6299:9): [True: 0, False: 0]
  ------------------
 6300|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 6301|      0|        return;
 6302|      0|    }
 6303|       |
 6304|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6304:9): [True: 0, False: 0]
  ------------------
 6305|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 6306|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (6306:16): [True: 0, False: 0]
  |  Branch (6306:41): [True: 0, False: 0]
  ------------------
 6307|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 6308|      0|        return;
 6309|      0|    }
 6310|       |
 6311|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 6312|       |
 6313|      0|    existingType.updateArraySizes(type);
 6314|       |
 6315|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (6315:9): [True: 0, False: 0]
  ------------------
 6316|      0|        checkIoArraysConsistency(loc);
 6317|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 6391|  4.00k|{
 6392|       |    // see if member is a per-view attribute
 6393|  4.00k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6393:9): [True: 3.97k, False: 30]
  ------------------
 6394|  3.97k|        return;
 6395|       |
 6396|     30|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6396:10): [True: 30, False: 0]
  |  Branch (6396:27): [True: 30, False: 0]
  |  Branch (6396:47): [True: 0, False: 0]
  |  Branch (6396:65): [True: 0, False: 0]
  ------------------
 6397|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6398|     30|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6398:28): [True: 30, False: 0]
  ------------------
 6399|       |        // For block members, outermost array dimension is the view dimension.
 6400|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6401|       |        // and 2nd outermost is the view dimension.
 6402|     30|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6402:23): [True: 30, False: 0]
  ------------------
 6403|     30|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6404|       |
 6405|     30|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6405:13): [True: 0, False: 30]
  |  Branch (6405:48): [True: 0, False: 0]
  ------------------
 6406|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6407|     30|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6407:18): [True: 30, False: 0]
  ------------------
 6408|     30|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6409|     30|    }
 6410|      0|    else {
 6411|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6412|      0|    }
 6413|     30|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6433|  2.84k|{
 6434|       |    //
 6435|       |    // Make the qualifier make sense, given that there is not an initializer.
 6436|       |    //
 6437|  2.84k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6437:9): [True: 0, False: 2.84k]
  ------------------
 6438|  2.84k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6438:9): [True: 0, False: 2.84k]
  ------------------
 6439|      0|        type.getQualifier().makeTemporary();
 6440|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6441|      0|    }
 6442|  2.84k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6456|  3.92k|{
 6457|  3.92k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6457:9): [True: 0, False: 3.92k]
  |  Branch (6457:38): [True: 3.92k, False: 0]
  |  Branch (6457:70): [True: 0, False: 0]
  ------------------
 6458|  3.92k|        return nullptr;
 6459|       |
 6460|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6460:26): [True: 0, False: 0]
  |  Branch (6460:45): [True: 0, False: 0]
  |  Branch (6460:63): [True: 0, False: 0]
  ------------------
 6461|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6461:26): [True: 0, False: 0]
  ------------------
 6462|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6462:27): [True: 0, False: 0]
  |  Branch (6462:45): [True: 0, False: 0]
  ------------------
 6463|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth)) ||
  ------------------
  |  Branch (6463:28): [True: 0, False: 0]
  |  Branch (6463:60): [True: 0, False: 0]
  ------------------
 6464|      0|                          ((identifier == "gl_ClipDistance" || identifier == "gl_CullDistance") &&
  ------------------
  |  Branch (6464:29): [True: 0, False: 0]
  |  Branch (6464:64): [True: 0, False: 0]
  ------------------
 6465|      0|                           extensionTurnedOn(E_GL_EXT_clip_cull_distance))));
  ------------------
  |  Branch (6465:28): [True: 0, False: 0]
  ------------------
 6466|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6466:9): [True: 0, False: 0]
  |  Branch (6466:24): [True: 0, False: 0]
  ------------------
 6467|      0|        return nullptr;
 6468|       |
 6469|       |    // Special case when using GL_ARB_separate_shader_objects
 6470|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6471|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6471:9): [True: 0, False: 0]
  |  Branch (6471:27): [True: 0, False: 0]
  |  Branch (6471:45): [True: 0, False: 0]
  ------------------
 6472|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6472:13): [True: 0, False: 0]
  ------------------
 6473|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6473:13): [True: 0, False: 0]
  ------------------
 6474|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6474:13): [True: 0, False: 0]
  ------------------
 6475|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6475:13): [True: 0, False: 0]
  ------------------
 6476|      0|            ssoPre150 = true;
 6477|      0|    }
 6478|       |
 6479|       |    // Potentially redeclaring a built-in variable...
 6480|       |
 6481|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6481:9): [True: 0, False: 0]
  ------------------
 6482|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6482:10): [True: 0, False: 0]
  |  Branch (6482:54): [True: 0, False: 0]
  |  Branch (6482:70): [True: 0, False: 0]
  |  Branch (6482:89): [True: 0, False: 0]
  ------------------
 6483|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6483:10): [True: 0, False: 0]
  |  Branch (6483:54): [True: 0, False: 0]
  |  Branch (6483:70): [True: 0, False: 0]
  |  Branch (6483:89): [True: 0, False: 0]
  ------------------
 6484|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6484:10): [True: 0, False: 0]
  ------------------
 6485|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6485:10): [True: 0, False: 0]
  ------------------
 6486|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6486:10): [True: 0, False: 0]
  ------------------
 6487|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6487:10): [True: 0, False: 0]
  ------------------
 6488|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6488:10): [True: 0, False: 0]
  ------------------
 6489|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6489:10): [True: 0, False: 0]
  ------------------
 6490|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6490:10): [True: 0, False: 0]
  ------------------
 6491|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6491:10): [True: 0, False: 0]
  ------------------
 6492|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6492:10): [True: 0, False: 0]
  ------------------
 6493|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6493:10): [True: 0, False: 0]
  |  Branch (6493:52): [True: 0, False: 0]
  ------------------
 6494|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6494:10): [True: 0, False: 0]
  |  Branch (6494:53): [True: 0, False: 0]
  |  Branch (6494:69): [True: 0, False: 0]
  ------------------
 6495|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6495:52): [True: 0, False: 0]
  ------------------
 6496|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6496:10): [True: 0, False: 0]
  ------------------
 6497|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6497:10): [True: 0, False: 0]
  ------------------
 6498|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6498:10): [True: 0, False: 0]
  ------------------
 6499|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6499:10): [True: 0, False: 0]
  ------------------
 6500|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6500:10): [True: 0, False: 0]
  ------------------
 6501|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6501:10): [True: 0, False: 0]
  ------------------
 6502|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6502:10): [True: 0, False: 0]
  ------------------
 6503|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6503:10): [True: 0, False: 0]
  ------------------
 6504|       |
 6505|       |        // Find the existing symbol, if any.
 6506|      0|        bool builtIn;
 6507|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6508|       |
 6509|       |        // If the symbol was not found, this must be a version/profile/stage
 6510|       |        // that doesn't have it.
 6511|      0|        if (! symbol)
  ------------------
  |  Branch (6511:13): [True: 0, False: 0]
  ------------------
 6512|      0|            return nullptr;
 6513|       |
 6514|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6515|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6516|       |        // redeclaration.  Otherwise, make the new one.
 6517|      0|        if (builtIn) {
  ------------------
  |  Branch (6517:13): [True: 0, False: 0]
  ------------------
 6518|      0|            makeEditable(symbol);
 6519|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6520|      0|        }
 6521|       |
 6522|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6523|       |
 6524|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6525|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6525:13): [True: 0, False: 0]
  ------------------
 6526|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6526:17): [True: 0, False: 0]
  ------------------
 6527|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6528|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6528:17): [True: 0, False: 0]
  ------------------
 6529|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6530|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6530:17): [True: 0, False: 0]
  |  Branch (6530:41): [True: 0, False: 0]
  |  Branch (6530:69): [True: 0, False: 0]
  |  Branch (6530:100): [True: 0, False: 0]
  ------------------
 6531|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6531:69): [True: 0, False: 0]
  |  Branch (6531:100): [True: 0, False: 0]
  ------------------
 6532|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6533|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6533:17): [True: 0, False: 0]
  ------------------
 6534|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6535|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6535:20): [True: 0, False: 0]
  ------------------
 6536|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6536:20): [True: 0, False: 0]
  ------------------
 6537|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6537:20): [True: 0, False: 0]
  ------------------
 6538|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6538:20): [True: 0, False: 0]
  ------------------
 6539|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6539:20): [True: 0, False: 0]
  ------------------
 6540|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6540:20): [True: 0, False: 0]
  ------------------
 6541|      0|            symbolQualifier.flat = qualifier.flat;
 6542|      0|            symbolQualifier.smooth = qualifier.smooth;
 6543|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6544|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6544:17): [True: 0, False: 0]
  ------------------
 6545|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6546|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6546:17): [True: 0, False: 0]
  |  Branch (6546:41): [True: 0, False: 0]
  |  Branch (6546:68): [True: 0, False: 0]
  ------------------
 6547|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6548|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6548:20): [True: 0, False: 0]
  ------------------
 6549|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6549:20): [True: 0, False: 0]
  ------------------
 6550|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6550:20): [True: 0, False: 0]
  ------------------
 6551|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6551:17): [True: 0, False: 0]
  |  Branch (6551:42): [True: 0, False: 0]
  |  Branch (6551:66): [True: 0, False: 0]
  ------------------
 6552|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6552:17): [True: 0, False: 0]
  |  Branch (6552:65): [True: 0, False: 0]
  ------------------
 6553|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6553:17): [True: 0, False: 0]
  ------------------
 6554|      0|                error(loc, "cannot change qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6555|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6555:20): [True: 0, False: 0]
  ------------------
 6556|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6556:17): [True: 0, False: 0]
  |  Branch (6556:17): [True: 0, False: 0]
  |  Branch (6556:58): [True: 0, False: 0]
  ------------------
 6557|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6558|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6558:17): [True: 0, False: 0]
  |  Branch (6558:65): [True: 0, False: 0]
  ------------------
 6559|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6559:17): [True: 0, False: 0]
  |  Branch (6559:41): [True: 0, False: 0]
  ------------------
 6560|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6561|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6561:17): [True: 0, False: 0]
  ------------------
 6562|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6563|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6563:17): [True: 0, False: 0]
  |  Branch (6563:31): [True: 0, False: 0]
  ------------------
 6564|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6564:31): [True: 0, False: 0]
  ------------------
 6565|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", "%s", symbol->getName().c_str());
 6566|       |
 6567|       |
 6568|      0|            intermediate.setTexCoordRedeclared();
 6569|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6569:17): [True: 0, False: 0]
  ------------------
 6570|      0|                intermediate.setPixelCenterInteger();
 6571|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6571:17): [True: 0, False: 0]
  ------------------
 6572|      0|                intermediate.setOriginUpperLeft();
 6573|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6573:20): [True: 0, False: 0]
  ------------------
 6574|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6574:17): [True: 0, False: 0]
  |  Branch (6574:65): [True: 0, False: 0]
  ------------------
 6575|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6575:17): [True: 0, False: 0]
  |  Branch (6575:41): [True: 0, False: 0]
  ------------------
 6576|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6577|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6577:17): [True: 0, False: 0]
  ------------------
 6578|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6579|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6579:17): [True: 0, False: 0]
  ------------------
 6580|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6580:21): [True: 0, False: 0]
  ------------------
 6581|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6582|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6582:21): [True: 0, False: 0]
  ------------------
 6583|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", "%s", symbol->getName().c_str());
 6584|      0|            }
 6585|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6585:20): [True: 0, False: 0]
  ------------------
 6586|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6586:17): [True: 0, False: 0]
  |  Branch (6586:65): [True: 0, False: 0]
  ------------------
 6587|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6587:17): [True: 0, False: 0]
  |  Branch (6587:41): [True: 0, False: 0]
  ------------------
 6588|      0|                error(loc, "can only change layout qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6589|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6589:17): [True: 0, False: 0]
  ------------------
 6590|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6591|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6591:17): [True: 0, False: 0]
  ------------------
 6592|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6592:21): [True: 0, False: 0]
  ------------------
 6593|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6594|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6594:21): [True: 0, False: 0]
  ------------------
 6595|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6596|      0|                          "%s", symbol->getName().c_str());
 6597|      0|            }
 6598|      0|        }
 6599|      0|        else if (
 6600|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6600:13): [True: 0, False: 0]
  ------------------
 6601|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6601:17): [True: 0, False: 0]
  ------------------
 6602|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", "%s", symbol->getName().c_str());
 6603|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6603:17): [True: 0, False: 0]
  ------------------
 6604|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", "%s", symbol->getName().c_str());
 6605|      0|        }
 6606|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6606:18): [True: 0, False: 0]
  ------------------
 6607|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6607:17): [True: 0, False: 0]
  ------------------
 6608|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", "%s", symbol->getName().c_str());
 6609|      0|            }
 6610|      0|            intermediate.setLayoutOverrideCoverage();
 6611|      0|        }
 6612|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6612:18): [True: 0, False: 0]
  ------------------
 6613|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6613:17): [True: 0, False: 0]
  |  Branch (6613:54): [True: 0, False: 0]
  ------------------
 6614|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", "%s", symbol->getName().c_str());
 6615|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6616|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6617|      0|        }
 6618|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6618:18): [True: 0, False: 0]
  ------------------
 6619|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6620|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6621|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6622|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6623|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6624|       |            // or specify a value together with constant_id.
 6625|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6626|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6626:17): [True: 0, False: 0]
  ------------------
 6627|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6628|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6629|      0|                      "%s", symbol->getName().c_str());
 6630|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6630:22): [True: 0, False: 0]
  ------------------
 6631|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6632|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6633|      0|                      "%s", symbol->getName().c_str());
 6634|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6635|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6636|      0|        }
 6637|       |
 6638|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6639|       |
 6640|      0|        return symbol;
 6641|      0|    }
 6642|       |
 6643|      0|    return nullptr;
 6644|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6874|   251k|{
 6875|   251k|    switch (qualifier) {
 6876|      0|    case EvqConst:
  ------------------
  |  Branch (6876:5): [True: 0, False: 251k]
  ------------------
 6877|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6877:5): [True: 0, False: 251k]
  ------------------
 6878|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6879|      0|        break;
 6880|     66|    case EvqIn:
  ------------------
  |  Branch (6880:5): [True: 66, False: 251k]
  ------------------
 6881|  9.97k|    case EvqOut:
  ------------------
  |  Branch (6881:5): [True: 9.90k, False: 241k]
  ------------------
 6882|  10.6k|    case EvqInOut:
  ------------------
  |  Branch (6882:5): [True: 648, False: 250k]
  ------------------
 6883|  10.6k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6883:5): [True: 0, False: 251k]
  ------------------
 6884|  10.6k|        type.getQualifier().storage = qualifier;
 6885|  10.6k|        break;
 6886|  6.15k|    case EvqGlobal:
  ------------------
  |  Branch (6886:5): [True: 6.15k, False: 245k]
  ------------------
 6887|   240k|    case EvqTemporary:
  ------------------
  |  Branch (6887:5): [True: 234k, False: 16.7k]
  ------------------
 6888|   240k|        type.getQualifier().storage = EvqIn;
 6889|   240k|        break;
 6890|      0|    default:
  ------------------
  |  Branch (6890:5): [True: 0, False: 251k]
  ------------------
 6891|      0|        type.getQualifier().storage = EvqIn;
 6892|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6893|      0|        break;
 6894|   251k|    }
 6895|   251k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6898|  29.5k|{
 6899|  29.5k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6899:9): [True: 13.3k, False: 16.1k]
  ------------------
 6900|  13.3k|        type.getQualifier().volatil   = qualifier.volatil;
 6901|  13.3k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6902|  13.3k|        type.getQualifier().coherent  = qualifier.coherent;
 6903|  13.3k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6904|  13.3k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6905|  13.3k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6906|  13.3k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6907|  13.3k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6908|  13.3k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6909|  13.3k|        type.getQualifier().readonly  = qualifier.readonly;
 6910|  13.3k|        type.getQualifier().writeonly = qualifier.writeonly;
 6911|  13.3k|        type.getQualifier().restrict  = qualifier.restrict;
 6912|  13.3k|    }
 6913|       |
 6914|  29.5k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6914:9): [True: 0, False: 29.5k]
  ------------------
 6915|  29.5k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6915:9): [True: 0, False: 29.5k]
  ------------------
 6916|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6917|  29.5k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6917:9): [True: 0, False: 29.5k]
  ------------------
 6918|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6919|  29.5k|    if (qualifier.invariant)
  ------------------
  |  Branch (6919:9): [True: 0, False: 29.5k]
  ------------------
 6920|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6921|  29.5k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6921:9): [True: 0, False: 29.5k]
  ------------------
 6922|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6922:13): [True: 0, False: 0]
  ------------------
 6923|      0|            type.getQualifier().setNoContraction();
 6924|      0|        else
 6925|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6926|      0|    }
 6927|  29.5k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6927:9): [True: 0, False: 29.5k]
  ------------------
 6928|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6929|  29.5k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6929:9): [True: 0, False: 29.5k]
  ------------------
 6930|      0|        type.getQualifier().setSpirvByReference();
 6931|  29.5k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6931:9): [True: 0, False: 29.5k]
  ------------------
 6932|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6932:13): [True: 0, False: 0]
  |  Branch (6932:48): [True: 0, False: 0]
  |  Branch (6932:81): [True: 0, False: 0]
  ------------------
 6933|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6933:13): [True: 0, False: 0]
  ------------------
 6934|      0|            type.getQualifier().setSpirvLiteral();
 6935|      0|        else
 6936|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6937|      0|    }
 6938|       |
 6939|  29.5k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6940|  29.5k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6943|     59|{
 6944|     59|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6944:9): [True: 0, False: 59]
  ------------------
 6945|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6945:14): [True: 0, False: 0]
  |  Branch (6945:41): [True: 0, False: 0]
  ------------------
 6946|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6946:14): [True: 0, False: 0]
  |  Branch (6946:40): [True: 0, False: 0]
  ------------------
 6947|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6947:13): [True: 0, False: 0]
  ------------------
 6948|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6949|     59|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6949:16): [True: 0, False: 59]
  |  Branch (6949:42): [True: 0, False: 59]
  ------------------
 6950|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6951|     59|    ++blockNestingLevel;
 6952|     59|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6955|     59|{
 6956|     59|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6956:9): [True: 0, False: 59]
  |  Branch (6956:35): [True: 0, False: 59]
  ------------------
 6957|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6958|     59|    ++structNestingLevel;
 6959|     59|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6962|  93.1k|{
 6963|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6964|  93.1k|    if (type.containsArray()) {
  ------------------
  |  Branch (6964:9): [True: 0, False: 93.1k]
  ------------------
 6965|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6966|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6967|      0|    }
 6968|  93.1k|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 7022|     59|{
 7023|     59|    const TTypeList& typeList = *publicType.userDef->getStruct();
 7024|       |
 7025|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 7026|    260|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (7026:35): [True: 201, False: 59]
  ------------------
 7027|    201|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 7028|    201|        const TSourceLoc& memberLoc = typeList[member].loc;
 7029|    201|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (7029:13): [True: 0, False: 201]
  ------------------
 7030|    201|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (7030:13): [True: 0, False: 201]
  ------------------
 7031|    201|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (7031:14): [True: 201, False: 0]
  |  Branch (7031:57): [True: 0, False: 201]
  ------------------
 7032|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (7032:14): [True: 0, False: 0]
  |  Branch (7032:55): [True: 0, False: 0]
  ------------------
 7033|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7034|    201|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (7034:13): [True: 0, False: 201]
  ------------------
 7035|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7036|    201|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (7036:13): [True: 0, False: 201]
  |  Branch (7036:44): [True: 0, False: 0]
  ------------------
 7037|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 7038|      0|            memberQualifier.clearLayout();
 7039|      0|        }
 7040|    201|        if (memberQualifier.invariant)
  ------------------
  |  Branch (7040:13): [True: 0, False: 201]
  ------------------
 7041|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 7042|    201|    }
 7043|     59|}
_ZN7glslang13TParseContext6finishEv:
 7264|    266|{
 7265|    266|    TParseContextBase::finish();
 7266|       |
 7267|    266|    if (parsingBuiltins)
  ------------------
  |  Branch (7267:9): [True: 243, False: 23]
  ------------------
 7268|    243|        return;
 7269|       |
 7270|     23|    if (language == EShLangMesh && extensionTurnedOn(E_GL_EXT_mesh_shader) && intermediate.getTreeRoot() != nullptr) {
  ------------------
  |  Branch (7270:9): [True: 0, False: 23]
  |  Branch (7270:36): [True: 0, False: 0]
  |  Branch (7270:79): [True: 0, False: 0]
  ------------------
 7271|      0|        TMeshOutputReadTraverser meshOutputReads(*this);
 7272|      0|        intermediate.getTreeRoot()->traverse(&meshOutputReads);
 7273|      0|    }
 7274|       |
 7275|       |    // Forward builtin alias to AST for later use
 7276|     23|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 7277|       |
 7278|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 7279|     23|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (7279:24): [True: 0, False: 23]
  ------------------
 7280|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 7281|       |
 7282|       |    // Check for stages that are enabled by extension.
 7283|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 7284|       |    // extension.
 7285|       |    // Stage-specific features were correctly tested for already, this is just
 7286|       |    // about the stage itself.
 7287|     23|    switch (language) {
 7288|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7288:5): [True: 0, False: 23]
  ------------------
 7289|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7289:13): [True: 0, False: 0]
  |  Branch (7289:30): [True: 0, False: 0]
  ------------------
 7290|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 7291|      0|        break;
 7292|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7292:5): [True: 0, False: 23]
  ------------------
 7293|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (7293:5): [True: 0, False: 23]
  ------------------
 7294|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7294:13): [True: 0, False: 0]
  |  Branch (7294:30): [True: 0, False: 0]
  ------------------
 7295|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 7296|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (7296:18): [True: 0, False: 0]
  |  Branch (7296:36): [True: 0, False: 0]
  ------------------
 7297|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 7298|      0|        break;
 7299|      0|    case EShLangCompute:
  ------------------
  |  Branch (7299:5): [True: 0, False: 23]
  ------------------
 7300|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (7300:13): [True: 0, False: 0]
  |  Branch (7300:31): [True: 0, False: 0]
  ------------------
 7301|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 7302|      0|        break;
 7303|      0|    case EShLangTask:
  ------------------
  |  Branch (7303:5): [True: 0, False: 23]
  ------------------
 7304|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 7305|      0|        break;
 7306|      0|    case EShLangMesh:
  ------------------
  |  Branch (7306:5): [True: 0, False: 23]
  ------------------
 7307|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 7308|      0|        break;
 7309|     23|    default:
  ------------------
  |  Branch (7309:5): [True: 23, False: 0]
  ------------------
 7310|     23|        break;
 7311|     23|    }
 7312|       |
 7313|     23|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (7313:9): [True: 0, False: 23]
  ------------------
 7314|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (7314:9): [True: 0, False: 0]
  ------------------
 7315|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 7316|      0|              E_GL_KHR_compute_shader_derivatives, "");
 7317|      0|    }
 7318|       |
 7319|     23|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (7319:9): [True: 0, False: 23]
  ------------------
 7320|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (7320:14): [True: 0, False: 0]
  |  Branch (7320:80): [True: 0, False: 0]
  ------------------
 7321|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (7321:14): [True: 0, False: 0]
  |  Branch (7321:80): [True: 0, False: 0]
  ------------------
 7322|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 7323|     23|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (7323:16): [True: 0, False: 23]
  ------------------
 7324|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7324:13): [True: 0, False: 0]
  ------------------
 7325|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7325:13): [True: 0, False: 0]
  ------------------
 7326|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7326:13): [True: 0, False: 0]
  ------------------
 7327|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (7327:13): [True: 0, False: 0]
  ------------------
 7328|      0|             intermediate.getLocalSize(1) *
 7329|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 7330|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 7331|      0|    }
 7332|       |
 7333|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 7334|     23|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (7334:9): [True: 0, False: 23]
  |  Branch (7334:40): [True: 0, False: 0]
  ------------------
 7335|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (7335:13): [True: 0, False: 0]
  ------------------
 7336|      0|            switch (intermediate.getInputPrimitive()) {
 7337|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (7337:13): [True: 0, False: 0]
  ------------------
 7338|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (7338:13): [True: 0, False: 0]
  ------------------
 7339|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (7339:13): [True: 0, False: 0]
  ------------------
 7340|      0|            default: break;
  ------------------
  |  Branch (7340:13): [True: 0, False: 0]
  ------------------
 7341|      0|            }
 7342|      0|        }
 7343|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (7343:13): [True: 0, False: 0]
  ------------------
 7344|      0|            switch (intermediate.getInputPrimitive()) {
 7345|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (7345:13): [True: 0, False: 0]
  ------------------
 7346|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (7346:13): [True: 0, False: 0]
  ------------------
 7347|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (7347:13): [True: 0, False: 0]
  ------------------
 7348|      0|            default: break;
  ------------------
  |  Branch (7348:13): [True: 0, False: 0]
  ------------------
 7349|      0|            }
 7350|      0|        }
 7351|      0|    }
 7352|     23|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 8247|  41.0k|{
 8248|  41.0k|    if (src.hasMatrix())
  ------------------
  |  Branch (8248:9): [True: 0, False: 41.0k]
  ------------------
 8249|      0|        dst.layoutMatrix = src.layoutMatrix;
 8250|  41.0k|    if (src.hasPacking())
  ------------------
  |  Branch (8250:9): [True: 0, False: 41.0k]
  ------------------
 8251|      0|        dst.layoutPacking = src.layoutPacking;
 8252|       |
 8253|  41.0k|    if (src.hasStream())
  ------------------
  |  Branch (8253:9): [True: 7, False: 41.0k]
  ------------------
 8254|      7|        dst.layoutStream = src.layoutStream;
 8255|  41.0k|    if (src.hasFormat())
  ------------------
  |  Branch (8255:9): [True: 0, False: 41.0k]
  ------------------
 8256|      0|        dst.layoutFormat = src.layoutFormat;
 8257|  41.0k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (8257:9): [True: 28, False: 41.0k]
  ------------------
 8258|     28|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 8259|  41.0k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (8259:9): [True: 0, False: 41.0k]
  ------------------
 8260|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 8261|       |
 8262|  41.0k|    if (src.hasAlign())
  ------------------
  |  Branch (8262:9): [True: 0, False: 41.0k]
  ------------------
 8263|      0|        dst.layoutAlign = src.layoutAlign;
 8264|       |
 8265|  41.0k|    if (! inheritOnly) {
  ------------------
  |  Branch (8265:9): [True: 40.9k, False: 118]
  ------------------
 8266|  40.9k|        if (src.hasLocation())
  ------------------
  |  Branch (8266:13): [True: 0, False: 40.9k]
  ------------------
 8267|      0|            dst.layoutLocation = src.layoutLocation;
 8268|  40.9k|        if (src.hasOffset())
  ------------------
  |  Branch (8268:13): [True: 0, False: 40.9k]
  ------------------
 8269|      0|            dst.layoutOffset = src.layoutOffset;
 8270|  40.9k|        if (src.hasSet())
  ------------------
  |  Branch (8270:13): [True: 0, False: 40.9k]
  ------------------
 8271|      0|            dst.layoutSet = src.layoutSet;
 8272|  40.9k|        if (src.hasBinding())
  ------------------
  |  Branch (8272:13): [True: 0, False: 40.9k]
  ------------------
 8273|      0|            dst.layoutBinding = src.layoutBinding;
 8274|       |
 8275|  40.9k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (8275:13): [True: 0, False: 40.9k]
  ------------------
 8276|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 8277|       |
 8278|  40.9k|        if (src.hasComponent())
  ------------------
  |  Branch (8278:13): [True: 0, False: 40.9k]
  ------------------
 8279|      0|            dst.layoutComponent = src.layoutComponent;
 8280|  40.9k|        if (src.hasIndex())
  ------------------
  |  Branch (8280:13): [True: 0, False: 40.9k]
  ------------------
 8281|      0|            dst.layoutIndex = src.layoutIndex;
 8282|  40.9k|        if (src.hasXfbStride())
  ------------------
  |  Branch (8282:13): [True: 0, False: 40.9k]
  ------------------
 8283|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 8284|  40.9k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (8284:13): [True: 0, False: 40.9k]
  ------------------
 8285|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 8286|  40.9k|        if (src.hasAttachment())
  ------------------
  |  Branch (8286:13): [True: 0, False: 40.9k]
  ------------------
 8287|      0|            dst.layoutAttachment = src.layoutAttachment;
 8288|  40.9k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (8288:13): [True: 0, False: 40.9k]
  ------------------
 8289|      0|            dst.layoutDescriptorHeap = true;
 8290|  40.9k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (8290:13): [True: 0, False: 40.9k]
  ------------------
 8291|      0|            dst.descriptorHeapDescriptorNode = true;
 8292|  40.9k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (8292:13): [True: 0, False: 40.9k]
  ------------------
 8293|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 8294|  40.9k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (8294:13): [True: 0, False: 40.9k]
  ------------------
 8295|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 8296|  40.9k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (8296:13): [True: 0, False: 40.9k]
  ------------------
 8297|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 8298|  40.9k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (8298:13): [True: 0, False: 40.9k]
  ------------------
 8299|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 8300|  40.9k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (8300:13): [True: 0, False: 40.9k]
  ------------------
 8301|      0|            dst.layoutPushConstant = true;
 8302|       |
 8303|  40.9k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (8303:13): [True: 0, False: 40.9k]
  ------------------
 8304|      0|            dst.layoutBufferReference = true;
 8305|  40.9k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (8305:13): [True: 0, False: 40.9k]
  ------------------
 8306|      0|            dst.layoutDescriptorBufferType = true;
 8307|       |
 8308|  40.9k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (8308:13): [True: 0, False: 40.9k]
  ------------------
 8309|      0|            dst.layoutPassthrough = true;
 8310|  40.9k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (8310:13): [True: 0, False: 40.9k]
  ------------------
 8311|      0|            dst.layoutViewportRelative = true;
 8312|  40.9k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (8312:13): [True: 0, False: 40.9k]
  ------------------
 8313|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 8314|  40.9k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (8314:13): [True: 0, False: 40.9k]
  ------------------
 8315|      0|            dst.layoutShaderRecord = true;
 8316|  40.9k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (8316:13): [True: 0, False: 40.9k]
  ------------------
 8317|      0|            dst.layoutFullQuads = true;
 8318|  40.9k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (8318:13): [True: 0, False: 40.9k]
  ------------------
 8319|      0|            dst.layoutQuadDeriv = true;
 8320|  40.9k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (8320:13): [True: 0, False: 40.9k]
  ------------------
 8321|      0|            dst.layoutBindlessSampler = true;
 8322|  40.9k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (8322:13): [True: 0, False: 40.9k]
  ------------------
 8323|      0|            dst.layoutBindlessImage = true;
 8324|  40.9k|        if (src.pervertexNV)
  ------------------
  |  Branch (8324:13): [True: 0, False: 40.9k]
  ------------------
 8325|      0|            dst.pervertexNV = true;
 8326|  40.9k|        if (src.pervertexEXT)
  ------------------
  |  Branch (8326:13): [True: 0, False: 40.9k]
  ------------------
 8327|      0|            dst.pervertexEXT = true;
 8328|  40.9k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (8328:13): [True: 0, False: 40.9k]
  ------------------
 8329|      0|            dst.layoutHitObjectShaderRecordNV = true;
 8330|  40.9k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 8331|  40.9k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (8331:13): [True: 0, False: 40.9k]
  ------------------
 8332|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 8333|  40.9k|        if (src.hasBank())
  ------------------
  |  Branch (8333:13): [True: 0, False: 40.9k]
  ------------------
 8334|      0|            dst.layoutBank = src.layoutBank;
 8335|  40.9k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (8335:13): [True: 0, False: 40.9k]
  ------------------
 8336|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 8337|  40.9k|    }
 8338|  41.0k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 8342|  3.98k|{
 8343|  3.98k|    const TType& type = symbol.getType();
 8344|  3.98k|    const TQualifier& qualifier = type.getQualifier();
 8345|       |
 8346|       |    // first, cross check WRT to just the type
 8347|  3.98k|    layoutTypeCheck(loc, type);
 8348|       |
 8349|       |    // now, any remaining error checking based on the object itself
 8350|       |
 8351|  3.98k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8351:9): [True: 0, False: 3.98k]
  ------------------
 8352|      0|        switch (qualifier.storage) {
 8353|      0|        case EvqUniform:
  ------------------
  |  Branch (8353:9): [True: 0, False: 0]
  ------------------
 8354|      0|        case EvqBuffer:
  ------------------
  |  Branch (8354:9): [True: 0, False: 0]
  ------------------
 8355|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (8355:17): [True: 0, False: 0]
  ------------------
 8356|      0|                error(loc, "can only be used on variable declaration", "location", "");
 8357|      0|            break;
 8358|      0|        default:
  ------------------
  |  Branch (8358:9): [True: 0, False: 0]
  ------------------
 8359|      0|            break;
 8360|      0|        }
 8361|      0|    }
 8362|       |
 8363|       |    // user-variable location check, which are required for SPIR-V in/out:
 8364|       |    //  - variables have it directly,
 8365|       |    //  - blocks have it on each member (already enforced), so check first one
 8366|  3.98k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (8366:9): [True: 0, False: 3.98k]
  |  Branch (8366:31): [True: 0, False: 0]
  |  Branch (8366:51): [True: 0, False: 0]
  ------------------
 8367|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (8367:9): [True: 0, False: 0]
  |  Branch (8367:37): [True: 0, False: 0]
  ------------------
 8368|       |
 8369|      0|        switch (qualifier.storage) {
 8370|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8370:9): [True: 0, False: 0]
  ------------------
 8371|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8371:9): [True: 0, False: 0]
  ------------------
 8372|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (8372:17): [True: 0, False: 0]
  |  Branch (8372:56): [True: 0, False: 0]
  ------------------
 8373|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (8373:18): [True: 0, False: 0]
  ------------------
 8374|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (8374:19): [True: 0, False: 0]
  ------------------
 8375|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (8375:19): [True: 0, False: 0]
  ------------------
 8376|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (8376:20): [True: 0, False: 0]
  ------------------
 8377|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 8378|      0|            break;
 8379|      0|        default:
  ------------------
  |  Branch (8379:9): [True: 0, False: 0]
  ------------------
 8380|      0|            break;
 8381|      0|        }
 8382|      0|    }
 8383|       |
 8384|       |    // Check packing and matrix
 8385|  3.98k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8385:9): [True: 0, False: 3.98k]
  ------------------
 8386|      0|        switch (qualifier.storage) {
 8387|      0|        case EvqUniform:
  ------------------
  |  Branch (8387:9): [True: 0, False: 0]
  ------------------
 8388|      0|        case EvqBuffer:
  ------------------
  |  Branch (8388:9): [True: 0, False: 0]
  ------------------
 8389|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (8389:17): [True: 0, False: 0]
  ------------------
 8390|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (8390:21): [True: 0, False: 0]
  ------------------
 8391|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 8392|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (8392:21): [True: 0, False: 0]
  ------------------
 8393|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 8394|       |                // "The offset qualifier can only be used on block members of blocks..."
 8395|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (8395:21): [True: 0, False: 0]
  |  Branch (8395:46): [True: 0, False: 0]
  ------------------
 8396|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 8397|       |                // "The align qualifier can only be used on blocks or block members..."
 8398|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (8398:21): [True: 0, False: 0]
  ------------------
 8399|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 8400|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (8400:21): [True: 0, False: 0]
  ------------------
 8401|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 8402|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (8402:21): [True: 0, False: 0]
  ------------------
 8403|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 8404|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (8404:21): [True: 0, False: 0]
  |  Branch (8404:48): [True: 0, False: 0]
  ------------------
 8405|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 8406|      0|            }
 8407|      0|            break;
 8408|      0|        default:
  ------------------
  |  Branch (8408:9): [True: 0, False: 0]
  ------------------
 8409|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 8410|      0|            break;
 8411|      0|        }
 8412|      0|    }
 8413|       |
 8414|       |    // Check that an in/out variable or block doesn't contain a boolean member
 8415|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 8416|  3.98k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (8416:9): [True: 0, False: 3.98k]
  |  Branch (8416:29): [True: 0, False: 0]
  |  Branch (8416:64): [True: 0, False: 0]
  ------------------
 8417|      0|        switch(qualifier.storage) {
 8418|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8418:9): [True: 0, False: 0]
  ------------------
 8419|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8419:9): [True: 0, False: 0]
  ------------------
 8420|      0|        {
 8421|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (8421:34): [True: 0, False: 0]
  ------------------
 8422|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 8423|      0|            break;
 8424|      0|        }
 8425|      0|        default:
  ------------------
  |  Branch (8425:9): [True: 0, False: 0]
  ------------------
 8426|      0|            break;
 8427|      0|        }
 8428|      0|    }
 8429|  3.98k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 8440|     59|{
 8441|     59|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (8441:9): [True: 0, False: 59]
  |  Branch (8441:31): [True: 0, False: 0]
  ------------------
 8442|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (8442:13): [True: 0, False: 0]
  |  Branch (8442:41): [True: 0, False: 0]
  ------------------
 8443|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 8444|      0|                       "location", "");
 8445|      0|    }
 8446|     59|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 8450|  4.30k|{
 8451|  4.30k|    const TQualifier& qualifier = type.getQualifier();
 8452|       |
 8453|       |    // first, intra-layout qualifier-only error checking
 8454|  4.30k|    layoutQualifierCheck(loc, qualifier);
 8455|       |
 8456|       |    // now, error checking combining type and qualifier
 8457|       |
 8458|  4.30k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8458:9): [True: 0, False: 4.30k]
  ------------------
 8459|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (8459:13): [True: 0, False: 0]
  ------------------
 8460|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (8460:17): [True: 0, False: 0]
  |  Branch (8460:55): [True: 0, False: 0]
  ------------------
 8461|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (8461:21): [True: 0, False: 0]
  ------------------
 8462|      0|                    error(loc, "too large for fragment output", "location", "");
 8463|      0|            }
 8464|      0|        }
 8465|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (8465:13): [True: 0, False: 0]
  ------------------
 8466|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 8467|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (8467:17): [True: 0, False: 0]
  |  Branch (8467:69): [True: 0, False: 0]
  ------------------
 8468|      0|                error(loc, "type overflows the available 4 components", "component", "");
 8469|       |
 8470|       |            // "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."
 8471|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (8471:17): [True: 0, False: 0]
  |  Branch (8471:36): [True: 0, False: 0]
  |  Branch (8471:71): [True: 0, False: 0]
  ------------------
 8472|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 8473|       |
 8474|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 8475|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (8475:17): [True: 0, False: 0]
  ------------------
 8476|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (8476:21): [True: 0, False: 0]
  ------------------
 8477|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 8478|      0|        }
 8479|       |
 8480|      0|        switch (qualifier.storage) {
 8481|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8481:9): [True: 0, False: 0]
  ------------------
 8482|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8482:9): [True: 0, False: 0]
  ------------------
 8483|      0|            if (type.getBasicType() == EbtBlock && spvVersion.spv == 0)
  ------------------
  |  Branch (8483:17): [True: 0, False: 0]
  |  Branch (8483:52): [True: 0, False: 0]
  ------------------
 8484|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 8485|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (8485:17): [True: 0, False: 0]
  ------------------
 8486|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 8487|      0|            break;
 8488|      0|        case EvqUniform:
  ------------------
  |  Branch (8488:9): [True: 0, False: 0]
  ------------------
 8489|      0|        case EvqBuffer:
  ------------------
  |  Branch (8489:9): [True: 0, False: 0]
  ------------------
 8490|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8490:17): [True: 0, False: 0]
  ------------------
 8491|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8492|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8492:22): [True: 0, False: 0]
  |  Branch (8492:59): [True: 0, False: 0]
  ------------------
 8493|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8494|      0|            break;
 8495|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8495:9): [True: 0, False: 0]
  ------------------
 8496|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8497|      0|            break;
 8498|      0|        case EvqPayload:
  ------------------
  |  Branch (8498:9): [True: 0, False: 0]
  ------------------
 8499|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8499:9): [True: 0, False: 0]
  ------------------
 8500|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8500:9): [True: 0, False: 0]
  ------------------
 8501|      0|        case EvqCallableData:
  ------------------
  |  Branch (8501:9): [True: 0, False: 0]
  ------------------
 8502|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8502:9): [True: 0, False: 0]
  ------------------
 8503|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8503:9): [True: 0, False: 0]
  ------------------
 8504|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8504:9): [True: 0, False: 0]
  ------------------
 8505|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8505:9): [True: 0, False: 0]
  ------------------
 8506|      0|            break;
 8507|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8507:9): [True: 0, False: 0]
  ------------------
 8508|      0|            break;
 8509|      0|        default:
  ------------------
  |  Branch (8509:9): [True: 0, False: 0]
  ------------------
 8510|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8511|      0|            break;
 8512|      0|        }
 8513|       |
 8514|      0|        bool typeCollision;
 8515|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8516|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8516:13): [True: 0, False: 0]
  |  Branch (8516:30): [True: 0, False: 0]
  ------------------
 8517|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8518|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8519|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8520|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8520:13): [True: 0, False: 0]
  |  Branch (8520:31): [True: 0, False: 0]
  |  Branch (8520:58): [True: 0, False: 0]
  |  Branch (8520:86): [True: 0, False: 0]
  ------------------
 8521|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8522|      0|    }
 8523|       |
 8524|  4.30k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8524:9): [True: 0, False: 4.30k]
  |  Branch (8524:37): [True: 0, False: 0]
  ------------------
 8525|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8525:13): [True: 0, False: 0]
  ------------------
 8526|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8527|      0|        } else {
 8528|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8529|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8529:17): [True: 0, False: 0]
  ------------------
 8530|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8531|      0|        }
 8532|       |
 8533|       |        // "The offset must be a multiple of the size of the first component of the first
 8534|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8535|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8536|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8536:14): [True: 0, False: 0]
  |  Branch (8536:51): [True: 0, False: 0]
  |  Branch (8536:87): [True: 0, False: 0]
  ------------------
 8537|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8537:13): [True: 0, False: 0]
  ------------------
 8538|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8539|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8539:19): [True: 0, False: 0]
  |  Branch (8539:54): [True: 0, False: 0]
  ------------------
 8540|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8540:19): [True: 0, False: 0]
  |  Branch (8540:53): [True: 0, False: 0]
  ------------------
 8541|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8541:18): [True: 0, False: 0]
  ------------------
 8542|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8543|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8544|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8544:19): [True: 0, False: 0]
  |  Branch (8544:48): [True: 0, False: 0]
  |  Branch (8544:84): [True: 0, False: 0]
  ------------------
 8545|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8545:18): [True: 0, False: 0]
  ------------------
 8546|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8547|      0|    }
 8548|  4.30k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8548:9): [True: 0, False: 4.30k]
  |  Branch (8548:37): [True: 0, False: 0]
  ------------------
 8549|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8549:13): [True: 0, False: 0]
  ------------------
 8550|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8551|      0|    }
 8552|       |
 8553|  4.30k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8553:9): [True: 0, False: 4.30k]
  ------------------
 8554|       |        // Binding checking, from the spec:
 8555|       |        //
 8556|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8557|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8558|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8559|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8560|       |        // range."
 8561|       |        //
 8562|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8562:13): [True: 0, False: 0]
  |  Branch (8562:33): [True: 0, False: 0]
  |  Branch (8562:68): [True: 0, False: 0]
  ------------------
 8563|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8564|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8564:13): [True: 0, False: 0]
  ------------------
 8565|      0|            int lastBinding = qualifier.layoutBinding;
 8566|      0|            if (type.isArray()) {
  ------------------
  |  Branch (8566:17): [True: 0, False: 0]
  ------------------
 8567|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8567:21): [True: 0, False: 0]
  ------------------
 8568|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8568:25): [True: 0, False: 0]
  ------------------
 8569|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8570|      0|                    else {
 8571|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8572|      0|                    }
 8573|      0|                }
 8574|      0|            }
 8575|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8575:17): [True: 0, False: 0]
  |  Branch (8575:43): [True: 0, False: 0]
  ------------------
 8576|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8576:104): [True: 0, False: 0]
  ------------------
 8577|      0|        }
 8578|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8578:13): [True: 0, False: 0]
  |  Branch (8578:32): [True: 0, False: 0]
  ------------------
 8579|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8579:17): [True: 0, False: 0]
  ------------------
 8580|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8581|      0|                return;
 8582|      0|            }
 8583|      0|        }
 8584|  4.30k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8584:16): [True: 4.30k, False: 0]
  ------------------
 8585|       |        // some types require bindings
 8586|       |
 8587|       |        // atomic_uint
 8588|  4.30k|        if (type.isAtomic())
  ------------------
  |  Branch (8588:13): [True: 0, False: 4.30k]
  ------------------
 8589|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8590|       |
 8591|       |        // SPIR-V
 8592|  4.30k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8592:13): [True: 0, False: 4.30k]
  ------------------
 8593|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8593:17): [True: 0, False: 0]
  |  Branch (8593:50): [True: 0, False: 0]
  ------------------
 8594|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8594:21): [True: 0, False: 0]
  |  Branch (8594:56): [True: 0, False: 0]
  ------------------
 8595|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8595:24): [True: 0, False: 0]
  ------------------
 8596|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8596:24): [True: 0, False: 0]
  ------------------
 8597|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8597:24): [True: 0, False: 0]
  ------------------
 8598|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8599|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8599:26): [True: 0, False: 0]
  |  Branch (8599:51): [True: 0, False: 0]
  |  Branch (8599:88): [True: 0, False: 0]
  ------------------
 8600|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8601|      0|            }
 8602|      0|        }
 8603|  4.30k|    }
 8604|       |
 8605|       |    // some things can't have arrays of arrays
 8606|  4.30k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8606:9): [True: 18, False: 4.28k]
  ------------------
 8607|     18|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8607:13): [True: 12, False: 6]
  ------------------
 8608|     12|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8608:17): [True: 0, False: 12]
  |  Branch (8608:37): [True: 0, False: 12]
  |  Branch (8608:80): [True: 0, False: 0]
  ------------------
 8609|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8610|     12|        }
 8611|     18|    }
 8612|       |
 8613|       |    // "The offset qualifier can only be used on block members of blocks..."
 8614|  4.30k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8614:9): [True: 0, False: 4.30k]
  ------------------
 8615|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8615:13): [True: 0, False: 0]
  ------------------
 8616|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8617|      0|    }
 8618|       |
 8619|       |    // Image format
 8620|  4.30k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8620:9): [True: 0, False: 4.30k]
  ------------------
 8621|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8621:13): [True: 0, False: 0]
  |  Branch (8621:33): [True: 0, False: 0]
  ------------------
 8622|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8623|      0|        else {
 8624|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8624:17): [True: 0, False: 0]
  |  Branch (8624:55): [True: 0, False: 0]
  ------------------
 8625|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8626|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8626:17): [True: 0, False: 0]
  |  Branch (8626:54): [True: 0, False: 0]
  |  Branch (8626:95): [True: 0, False: 0]
  ------------------
 8627|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8628|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8628:17): [True: 0, False: 0]
  |  Branch (8628:54): [True: 0, False: 0]
  ------------------
 8629|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8630|       |
 8631|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8631:17): [True: 0, False: 0]
  ------------------
 8632|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8633|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8634|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8634:24): [True: 0, False: 0]
  |  Branch (8634:60): [True: 0, False: 0]
  |  Branch (8634:96): [True: 0, False: 0]
  ------------------
 8635|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8635:25): [True: 0, False: 0]
  |  Branch (8635:53): [True: 0, False: 0]
  ------------------
 8636|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8637|      0|                }
 8638|      0|            }
 8639|      0|        }
 8640|  4.30k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8640:16): [True: 0, False: 4.30k]
  |  Branch (8640:34): [True: 0, False: 0]
  |  Branch (8640:63): [True: 0, False: 0]
  ------------------
 8641|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8642|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8643|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8644|      0|    }
 8645|       |
 8646|  4.30k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8646:9): [True: 0, False: 4.30k]
  ------------------
 8647|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8647:13): [True: 0, False: 0]
  ------------------
 8648|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8649|      0|        if (type.isArray())
  ------------------
  |  Branch (8649:13): [True: 0, False: 0]
  ------------------
 8650|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8651|      0|    }
 8652|       |
 8653|  4.30k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8653:9): [True: 0, False: 4.30k]
  ------------------
 8654|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8654:13): [True: 0, False: 0]
  ------------------
 8655|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8656|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8657|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8657:13): [True: 0, False: 0]
  ------------------
 8658|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8659|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8660|      0|    }
 8661|       |
 8662|  4.30k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8662:9): [True: 0, False: 4.30k]
  |  Branch (8662:43): [True: 0, False: 0]
  ------------------
 8663|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8664|       |
 8665|  4.30k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8665:9): [True: 0, False: 4.30k]
  |  Branch (8665:39): [True: 0, False: 0]
  ------------------
 8666|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8667|       |
 8668|       |    // input attachment
 8669|  4.30k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8669:9): [True: 0, False: 4.30k]
  ------------------
 8670|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8670:13): [True: 0, False: 0]
  ------------------
 8671|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8672|      0|                  "");
 8673|      0|        if (!qualifier.hasAttachment() && (type.isArray() || !extensionTurnedOn(E_GL_EXT_optional_input_attachment_index)))
  ------------------
  |  Branch (8673:13): [True: 0, False: 0]
  |  Branch (8673:44): [True: 0, False: 0]
  |  Branch (8673:62): [True: 0, False: 0]
  ------------------
 8674|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8675|  4.30k|    } else {
 8676|  4.30k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8676:13): [True: 0, False: 4.30k]
  ------------------
 8677|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8678|  4.30k|    }
 8679|       |
 8680|       |    // specialization-constant id
 8681|  4.30k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8681:9): [True: 0, False: 4.30k]
  ------------------
 8682|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8682:13): [True: 0, False: 0]
  ------------------
 8683|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8684|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8684:13): [True: 0, False: 0]
  ------------------
 8685|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8686|      0|        switch (type.getBasicType())
 8687|      0|        {
 8688|      0|        case EbtInt8:
  ------------------
  |  Branch (8688:9): [True: 0, False: 0]
  ------------------
 8689|      0|        case EbtUint8:
  ------------------
  |  Branch (8689:9): [True: 0, False: 0]
  ------------------
 8690|      0|        case EbtInt16:
  ------------------
  |  Branch (8690:9): [True: 0, False: 0]
  ------------------
 8691|      0|        case EbtUint16:
  ------------------
  |  Branch (8691:9): [True: 0, False: 0]
  ------------------
 8692|      0|        case EbtInt:
  ------------------
  |  Branch (8692:9): [True: 0, False: 0]
  ------------------
 8693|      0|        case EbtUint:
  ------------------
  |  Branch (8693:9): [True: 0, False: 0]
  ------------------
 8694|      0|        case EbtInt64:
  ------------------
  |  Branch (8694:9): [True: 0, False: 0]
  ------------------
 8695|      0|        case EbtUint64:
  ------------------
  |  Branch (8695:9): [True: 0, False: 0]
  ------------------
 8696|      0|        case EbtBool:
  ------------------
  |  Branch (8696:9): [True: 0, False: 0]
  ------------------
 8697|      0|        case EbtFloat:
  ------------------
  |  Branch (8697:9): [True: 0, False: 0]
  ------------------
 8698|      0|        case EbtDouble:
  ------------------
  |  Branch (8698:9): [True: 0, False: 0]
  ------------------
 8699|      0|        case EbtFloat16:
  ------------------
  |  Branch (8699:9): [True: 0, False: 0]
  ------------------
 8700|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8700:9): [True: 0, False: 0]
  ------------------
 8701|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8701:9): [True: 0, False: 0]
  ------------------
 8702|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8702:9): [True: 0, False: 0]
  ------------------
 8703|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8703:9): [True: 0, False: 0]
  ------------------
 8704|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8704:9): [True: 0, False: 0]
  ------------------
 8705|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8705:9): [True: 0, False: 0]
  ------------------
 8706|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8706:9): [True: 0, False: 0]
  ------------------
 8707|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8707:9): [True: 0, False: 0]
  ------------------
 8708|      0|            break;
 8709|      0|        default:
  ------------------
  |  Branch (8709:9): [True: 0, False: 0]
  ------------------
 8710|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8711|      0|            break;
 8712|      0|        }
 8713|      0|    }
 8714|  4.30k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8733|  4.30k|{
 8734|  4.30k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8734:9): [True: 0, False: 4.30k]
  |  Branch (8734:43): [True: 0, False: 0]
  ------------------
 8735|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8735:13): [True: 0, False: 0]
  |  Branch (8735:35): [True: 0, False: 0]
  ------------------
 8736|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8737|      0|        }
 8738|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8739|      0|    }
 8740|       |
 8741|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8742|  4.30k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8742:9): [True: 0, False: 4.30k]
  |  Branch (8742:37): [True: 0, False: 0]
  ------------------
 8743|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8744|       |
 8745|  4.30k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8745:9): [True: 0, False: 4.30k]
  ------------------
 8746|       |
 8747|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8748|       |        // allow *location* layout qualifiers on output variable declarations,
 8749|       |        // output block declarations, and output block member declarations."
 8750|       |
 8751|      0|        switch (qualifier.storage) {
 8752|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8752:9): [True: 0, False: 0]
  ------------------
 8753|      0|        {
 8754|      0|            const char* feature = "location qualifier on input";
 8755|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8755:17): [True: 0, False: 0]
  |  Branch (8755:34): [True: 0, False: 0]
  ------------------
 8756|      0|                requireStage(loc, EShLangVertex, feature);
 8757|      0|            else
 8758|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8759|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8759:17): [True: 0, False: 0]
  ------------------
 8760|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8761|      0|                if (spvVersion.spv == 0)
  ------------------
  |  Branch (8761:21): [True: 0, False: 0]
  ------------------
 8762|      0|                    profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8763|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8764|      0|            } else {
 8765|      0|                if (spvVersion.spv == 0)
  ------------------
  |  Branch (8765:21): [True: 0, False: 0]
  ------------------
 8766|      0|                    profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8767|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8768|      0|            }
 8769|      0|            break;
 8770|      0|        }
 8771|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8771:9): [True: 0, False: 0]
  ------------------
 8772|      0|        {
 8773|      0|            const char* feature = "location qualifier on output";
 8774|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8774:17): [True: 0, False: 0]
  |  Branch (8774:34): [True: 0, False: 0]
  ------------------
 8775|      0|                requireStage(loc, EShLangFragment, feature);
 8776|      0|            else
 8777|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8778|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8778:17): [True: 0, False: 0]
  ------------------
 8779|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8780|      0|                if (spvVersion.spv == 0)
  ------------------
  |  Branch (8780:21): [True: 0, False: 0]
  ------------------
 8781|      0|                    profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8782|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8783|      0|            } else {
 8784|      0|                if (spvVersion.spv == 0)
  ------------------
  |  Branch (8784:21): [True: 0, False: 0]
  ------------------
 8785|      0|                    profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8786|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8787|      0|            }
 8788|      0|            break;
 8789|      0|        }
 8790|      0|        case EvqUniform:
  ------------------
  |  Branch (8790:9): [True: 0, False: 0]
  ------------------
 8791|      0|        case EvqBuffer:
  ------------------
  |  Branch (8791:9): [True: 0, False: 0]
  ------------------
 8792|      0|        {
 8793|      0|            const char* feature = "location qualifier on uniform or buffer";
 8794|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8795|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8796|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8797|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8798|      0|            break;
 8799|      0|        }
 8800|      0|        default:
  ------------------
  |  Branch (8800:9): [True: 0, False: 0]
  ------------------
 8801|      0|            break;
 8802|      0|        }
 8803|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8803:13): [True: 0, False: 0]
  ------------------
 8804|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8804:17): [True: 0, False: 0]
  ------------------
 8805|      0|                error(loc, "can only be used on an output", "index", "");
 8806|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8806:17): [True: 0, False: 0]
  ------------------
 8807|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8808|      0|        }
 8809|      0|    }
 8810|       |
 8811|  4.30k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8811:9): [True: 0, False: 4.30k]
  ------------------
 8812|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8812:13): [True: 0, False: 0]
  |  Branch (8812:48): [True: 0, False: 0]
  |  Branch (8812:77): [True: 0, False: 0]
  ------------------
 8813|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8814|      0|    }
 8815|  4.30k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8815:9): [True: 92, False: 4.21k]
  ------------------
 8816|     92|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8816:13): [True: 0, False: 92]
  ------------------
 8817|      0|            error(loc, "can only be used on an output", "stream", "");
 8818|     92|    }
 8819|  4.30k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8819:9): [True: 347, False: 3.95k]
  ------------------
 8820|    347|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8820:13): [True: 0, False: 347]
  ------------------
 8821|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8822|    347|    }
 8823|  4.30k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8823:9): [True: 0, False: 4.30k]
  ------------------
 8824|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8824:13): [True: 0, False: 0]
  |  Branch (8824:64): [True: 0, False: 0]
  ------------------
 8825|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8825:17): [True: 0, False: 0]
  |  Branch (8825:42): [True: 0, False: 0]
  ------------------
 8826|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8827|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8827:17): [True: 0, False: 0]
  |  Branch (8827:42): [True: 0, False: 0]
  ------------------
 8828|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8829|      0|        }
 8830|      0|    }
 8831|  4.30k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8831:9): [True: 0, False: 4.30k]
  ------------------
 8832|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8832:13): [True: 0, False: 0]
  ------------------
 8833|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8834|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8834:13): [True: 0, False: 0]
  ------------------
 8835|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8836|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8836:13): [True: 0, False: 0]
  ------------------
 8837|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8838|      0|    }
 8839|  4.30k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8839:9): [True: 0, False: 4.30k]
  ------------------
 8840|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8840:13): [True: 0, False: 0]
  ------------------
 8841|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8842|      0|    }
 8843|  4.30k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8843:9): [True: 0, False: 4.30k]
  ------------------
 8844|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8844:13): [True: 0, False: 0]
  |  Branch (8844:48): [True: 0, False: 0]
  ------------------
 8845|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8846|      0|    }
 8847|  4.30k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8847:9): [True: 0, False: 4.30k]
  ------------------
 8848|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8848:13): [True: 0, False: 0]
  ------------------
 8849|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8850|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8850:13): [True: 0, False: 0]
  ------------------
 8851|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8852|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8852:13): [True: 0, False: 0]
  ------------------
 8853|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8854|       |
 8855|      0|    }
 8856|       |
 8857|  4.30k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8857:9): [True: 0, False: 4.30k]
  ------------------
 8858|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8858:13): [True: 0, False: 0]
  ------------------
 8859|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8860|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8860:13): [True: 0, False: 0]
  ------------------
 8861|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8862|      0|    }
 8863|       |
 8864|  4.30k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8864:9): [True: 0, False: 4.30k]
  |  Branch (8864:44): [True: 0, False: 0]
  ------------------
 8865|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8866|      0|    }
 8867|  4.30k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8867:9): [True: 0, False: 4.30k]
  ------------------
 8868|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8868:13): [True: 0, False: 0]
  ------------------
 8869|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8870|      0|    }
 8871|  4.30k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8871:9): [True: 0, False: 4.30k]
  ------------------
 8872|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8872:13): [True: 0, False: 0]
  ------------------
 8873|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8874|      0|    }
 8875|       |
 8876|  4.30k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8876:9): [True: 0, False: 4.30k]
  ------------------
 8877|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8877:9): [True: 0, False: 0]
  ------------------
 8878|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8879|  4.30k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8879:10): [True: 0, False: 4.30k]
  |  Branch (8879:45): [True: 0, False: 4.30k]
  |  Branch (8879:91): [True: 0, False: 0]
  ------------------
 8880|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8880:9): [True: 0, False: 0]
  |  Branch (8880:48): [True: 0, False: 0]
  ------------------
 8881|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8882|  4.30k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8886|  38.5k|{
 8887|  38.5k|    const char* message = "can only apply to a standalone qualifier";
 8888|       |
 8889|  38.5k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8889:9): [True: 0, False: 38.5k]
  ------------------
 8890|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8891|  38.5k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8891:9): [True: 0, False: 38.5k]
  ------------------
 8892|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8893|  38.5k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8893:9): [True: 0, False: 38.5k]
  ------------------
 8894|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8895|  38.5k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8895:9): [True: 0, False: 38.5k]
  ------------------
 8896|      0|        error(loc, message, "point_mode", "");
 8897|  38.5k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8897:9): [True: 0, False: 38.5k]
  ------------------
 8898|      0|        error(loc, message, "invocations", "");
 8899|   154k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8899:21): [True: 115k, False: 38.5k]
  ------------------
 8900|   115k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8900:13): [True: 0, False: 115k]
  ------------------
 8901|      0|            error(loc, message, "local_size", "");
 8902|   115k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8902:13): [True: 0, False: 115k]
  ------------------
 8903|      0|            error(loc, message, "local_size id", "");
 8904|   115k|    }
 8905|  38.5k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8905:9): [True: 0, False: 38.5k]
  ------------------
 8906|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8906:13): [True: 0, False: 0]
  |  Branch (8906:44): [True: 0, False: 0]
  ------------------
 8907|      0|            error(loc, message, "max_vertices", "");
 8908|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8908:18): [True: 0, False: 0]
  ------------------
 8909|      0|            error(loc, message, "vertices", "");
 8910|      0|        else
 8911|      0|            assert(0);
 8912|      0|    }
 8913|  38.5k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8913:9): [True: 0, False: 38.5k]
  ------------------
 8914|      0|        error(loc, message, "early_fragment_tests", "");
 8915|  38.5k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8915:9): [True: 0, False: 38.5k]
  ------------------
 8916|      0|        error(loc, message, "post_depth_coverage", "");
 8917|  38.5k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8917:9): [True: 0, False: 38.5k]
  ------------------
 8918|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8919|  38.5k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8919:9): [True: 0, False: 38.5k]
  ------------------
 8920|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8921|  38.5k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8921:9): [True: 0, False: 38.5k]
  ------------------
 8922|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8923|  38.5k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8923:9): [True: 0, False: 38.5k]
  ------------------
 8924|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8924:13): [True: 0, False: 0]
  ------------------
 8925|      0|            error(loc, message, "max_primitives", "");
 8926|      0|        else
 8927|      0|            assert(0);
 8928|      0|    }
 8929|  38.5k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8929:9): [True: 0, False: 38.5k]
  ------------------
 8930|      0|        error(loc, message, "blend equation", "");
 8931|  38.5k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8931:9): [True: 0, False: 38.5k]
  ------------------
 8932|      0|        error(loc, message, "num_views", "");
 8933|  38.5k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8933:9): [True: 0, False: 38.5k]
  ------------------
 8934|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8935|  38.5k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8935:9): [True: 0, False: 38.5k]
  ------------------
 8936|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8937|       |
 8938|  38.5k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8938:9): [True: 0, False: 38.5k]
  ------------------
 8939|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8940|  38.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8940:9): [True: 0, False: 38.5k]
  ------------------
 8941|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8942|  38.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8942:9): [True: 0, False: 38.5k]
  ------------------
 8943|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8944|  38.5k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8944:9): [True: 0, False: 38.5k]
  ------------------
 8945|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8946|  38.5k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8950|  3.92k|{
 8951|  3.92k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8952|  3.92k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8952:9): [True: 0, False: 3.92k]
  ------------------
 8953|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8953:13): [True: 0, False: 0]
  |  Branch (8953:39): [True: 0, False: 0]
  ------------------
 8954|       |
 8955|       |            // Set the offset
 8956|      0|            int offset;
 8957|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8957:17): [True: 0, False: 0]
  ------------------
 8958|      0|                offset = qualifier.layoutOffset;
 8959|      0|            else
 8960|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8961|       |
 8962|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8962:17): [True: 0, False: 0]
  ------------------
 8963|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8964|       |
 8965|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8966|       |
 8967|       |            // Check for overlap
 8968|      0|            int numOffsets = 4;
 8969|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8969:17): [True: 0, False: 0]
  ------------------
 8970|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8970:21): [True: 0, False: 0]
  |  Branch (8970:56): [True: 0, False: 0]
  ------------------
 8971|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8972|      0|                else {
 8973|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8974|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8975|      0|                }
 8976|      0|            }
 8977|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8978|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8978:17): [True: 0, False: 0]
  ------------------
 8979|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8980|       |
 8981|       |            // Bump the default offset
 8982|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8983|      0|        }
 8984|      0|    }
 8985|  3.92k|}
_ZN7glslang13TParseContext12findFunctionERKNS_10TSourceLocERKNS_9TFunctionERb:
 8993|      5|{
 8994|      5|    if (symbolTable.isFunctionNameVariable(call.getName())) {
  ------------------
  |  Branch (8994:9): [True: 0, False: 5]
  ------------------
 8995|      0|        error(loc, "can't use function syntax on variable", call.getName().c_str(), "");
 8996|      0|        return nullptr;
 8997|      0|    }
 8998|       |
 8999|      5|    const TFunction* function = nullptr;
 9000|       |
 9001|       |    // debugPrintfEXT has var args and is in the symbol table as "debugPrintfEXT()",
 9002|       |    // mangled to "debugPrintfEXT("
 9003|      5|    if (call.getName() == "debugPrintfEXT") {
  ------------------
  |  Branch (9003:9): [True: 0, False: 5]
  ------------------
 9004|      0|        TSymbol* symbol = symbolTable.find("debugPrintfEXT(", &builtIn);
 9005|      0|        if (symbol)
  ------------------
  |  Branch (9005:13): [True: 0, False: 0]
  ------------------
 9006|      0|            return symbol->getAsFunction();
 9007|      0|    }
 9008|       |    // abortEXT has usage (var args) as similar as debugPrintfEXT.
 9009|      5|    if (call.getName() == "abortEXT") {
  ------------------
  |  Branch (9009:9): [True: 0, False: 5]
  ------------------
 9010|      0|        TSymbol* symbol = symbolTable.find("abortEXT(", &builtIn);
 9011|      0|        if (symbol)
  ------------------
  |  Branch (9011:13): [True: 0, False: 0]
  ------------------
 9012|      0|            return symbol->getAsFunction();
 9013|      0|    }
 9014|       |
 9015|       |    // coopMatPerElementNV is variadic. There is some function signature error
 9016|       |    // checking in handleCoopMat2FunctionCall.
 9017|      5|    if (call.getName() == "coopMatPerElementNV") {
  ------------------
  |  Branch (9017:9): [True: 0, False: 5]
  ------------------
 9018|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementNV(", &builtIn);
 9019|      0|        if (symbol)
  ------------------
  |  Branch (9019:13): [True: 0, False: 0]
  ------------------
 9020|      0|            return symbol->getAsFunction();
 9021|      0|    }
 9022|      5|    if (call.getName() == "coopMatPerElementEXT") {
  ------------------
  |  Branch (9022:9): [True: 0, False: 5]
  ------------------
 9023|      0|        TSymbol* symbol = symbolTable.find("coopMatPerElementEXT(", &builtIn);
 9024|      0|        if (symbol)
  ------------------
  |  Branch (9024:13): [True: 0, False: 0]
  ------------------
 9025|      0|            return symbol->getAsFunction();
 9026|      0|    }
 9027|      5|    if (call.getName() == "saturatedConvertEXT") {
  ------------------
  |  Branch (9027:9): [True: 0, False: 5]
  ------------------
 9028|      0|        TSymbol* symbol = symbolTable.find("saturatedConvertEXT(", &builtIn);
 9029|      0|        if (symbol)
  ------------------
  |  Branch (9029:13): [True: 0, False: 0]
  ------------------
 9030|      0|            return symbol->getAsFunction();
 9031|      0|    }
 9032|       |
 9033|      5|    bool explicitTypesEnabled = extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (9033:33): [True: 0, False: 5]
  ------------------
 9034|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (9034:33): [True: 0, False: 5]
  ------------------
 9035|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (9035:33): [True: 0, False: 5]
  ------------------
 9036|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (9036:33): [True: 0, False: 5]
  ------------------
 9037|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (9037:33): [True: 0, False: 5]
  ------------------
 9038|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (9038:33): [True: 0, False: 5]
  ------------------
 9039|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (9039:33): [True: 0, False: 5]
  ------------------
 9040|      5|                                extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
  ------------------
  |  Branch (9040:33): [True: 0, False: 5]
  ------------------
 9041|       |
 9042|      5|    if (isEsProfile())
  ------------------
  |  Branch (9042:9): [True: 5, False: 0]
  ------------------
 9043|      5|        function = (explicitTypesEnabled && version >= 310)
  ------------------
  |  Branch (9043:21): [True: 0, False: 5]
  |  Branch (9043:45): [True: 0, False: 0]
  ------------------
 9044|      5|                   ? findFunctionExplicitTypes(loc, call, builtIn)
 9045|      5|                   : ((extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310)
  ------------------
  |  Branch (9045:24): [True: 0, False: 5]
  |  Branch (9045:83): [True: 0, False: 0]
  ------------------
 9046|      5|                      ? findFunction120(loc, call, builtIn)
 9047|      5|                      : findFunctionExact(loc, call, builtIn));
 9048|      0|    else if (version < 120)
  ------------------
  |  Branch (9048:14): [True: 0, False: 0]
  ------------------
 9049|      0|        function = findFunctionExact(loc, call, builtIn);
 9050|      0|    else if (version < 400) {
  ------------------
  |  Branch (9050:14): [True: 0, False: 0]
  ------------------
 9051|      0|        bool needfindFunction400 = extensionTurnedOn(E_GL_ARB_gpu_shader_fp64)
  ------------------
  |  Branch (9051:36): [True: 0, False: 0]
  ------------------
 9052|      0|                                  || extensionTurnedOn(E_GL_ARB_gpu_shader5)
  ------------------
  |  Branch (9052:38): [True: 0, False: 0]
  ------------------
 9053|      0|                                  || extensionTurnedOn(E_GL_NV_gpu_shader5);
  ------------------
  |  Branch (9053:38): [True: 0, False: 0]
  ------------------
 9054|      0|        function = needfindFunction400 ? findFunction400(loc, call, builtIn) : findFunction120(loc, call, builtIn);
  ------------------
  |  Branch (9054:20): [True: 0, False: 0]
  ------------------
 9055|      0|    }
 9056|      0|    else if (explicitTypesEnabled)
  ------------------
  |  Branch (9056:14): [True: 0, False: 0]
  ------------------
 9057|      0|        function = findFunctionExplicitTypes(loc, call, builtIn);
 9058|      0|    else
 9059|      0|        function = findFunction400(loc, call, builtIn);
 9060|       |
 9061|      5|    return function;
 9062|      5|}
_ZN7glslang13TParseContext17findFunctionExactERKNS_10TSourceLocERKNS_9TFunctionERb:
 9066|      5|{
 9067|      5|    TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn);
 9068|      5|    if (symbol == nullptr) {
  ------------------
  |  Branch (9068:9): [True: 5, False: 0]
  ------------------
 9069|      5|        error(loc, "no matching overloaded function found", call.getName().c_str(), "");
 9070|       |
 9071|      5|        return nullptr;
 9072|      5|    }
 9073|       |
 9074|      0|    return symbol->getAsFunction();
 9075|      5|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9473|     96|{
 9474|     96|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (9474:9): [True: 0, False: 96]
  |  Branch (9474:50): [True: 0, False: 0]
  ------------------
 9475|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (9475:13): [True: 0, False: 0]
  ------------------
 9476|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 9477|      0|            return;
 9478|      0|        }
 9479|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (9479:13): [True: 0, False: 0]
  ------------------
 9480|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 9481|      0|        return;
 9482|      0|    }
 9483|       |
 9484|     96|    if (publicType.arraySizes) {
  ------------------
  |  Branch (9484:9): [True: 0, False: 96]
  ------------------
 9485|      0|        error(loc, "expect an array name", "", "");
 9486|      0|    }
 9487|       |
 9488|       |    // A declaration without a variable name declares no payload, so the qualifier would be silently dropped
 9489|     96|    if (publicType.qualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9489:9): [True: 0, False: 96]
  ------------------
 9490|      0|        error(loc, "can only be used when declaring a variable", "taskPayloadSharedEXT", "");
 9491|       |
 9492|     96|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (9492:9): [True: 0, False: 96]
  |  Branch (9492:45): [True: 0, False: 0]
  ------------------
 9493|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 9494|     96|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9497|   348k|{
 9498|   348k|    if (parsingBuiltins)
  ------------------
  |  Branch (9498:9): [True: 348k, False: 358]
  ------------------
 9499|   348k|        return;
 9500|    358|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (9500:9): [True: 0, False: 358]
  ------------------
 9501|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9501:13): [True: 0, False: 0]
  ------------------
 9502|      0|            error(loc, "coopmat missing type parameters", "", "");
 9503|      0|            return;
 9504|      0|        }
 9505|      0|        switch (publicType.typeParameters->basicType) {
 9506|      0|        case EbtFloat:
  ------------------
  |  Branch (9506:9): [True: 0, False: 0]
  ------------------
 9507|      0|        case EbtFloat16:
  ------------------
  |  Branch (9507:9): [True: 0, False: 0]
  ------------------
 9508|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9508:9): [True: 0, False: 0]
  ------------------
 9509|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9509:9): [True: 0, False: 0]
  ------------------
 9510|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9510:9): [True: 0, False: 0]
  ------------------
 9511|      0|        case EbtInt:
  ------------------
  |  Branch (9511:9): [True: 0, False: 0]
  ------------------
 9512|      0|        case EbtInt8:
  ------------------
  |  Branch (9512:9): [True: 0, False: 0]
  ------------------
 9513|      0|        case EbtInt16:
  ------------------
  |  Branch (9513:9): [True: 0, False: 0]
  ------------------
 9514|      0|        case EbtUint:
  ------------------
  |  Branch (9514:9): [True: 0, False: 0]
  ------------------
 9515|      0|        case EbtUint8:
  ------------------
  |  Branch (9515:9): [True: 0, False: 0]
  ------------------
 9516|      0|        case EbtUint16:
  ------------------
  |  Branch (9516:9): [True: 0, False: 0]
  ------------------
 9517|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9517:9): [True: 0, False: 0]
  ------------------
 9518|      0|            break;
 9519|      0|        default:
  ------------------
  |  Branch (9519:9): [True: 0, False: 0]
  ------------------
 9520|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9521|      0|            break;
 9522|      0|        }
 9523|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9523:13): [True: 0, False: 0]
  ------------------
 9524|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9525|      0|            return;
 9526|      0|        }
 9527|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9528|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9528:13): [True: 0, False: 0]
  |  Branch (9528:24): [True: 0, False: 0]
  ------------------
 9529|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9530|      0|            return;
 9531|      0|        }
 9532|      0|    }
 9533|    358|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9533:9): [True: 0, False: 358]
  ------------------
 9534|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9534:13): [True: 0, False: 0]
  ------------------
 9535|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9536|      0|            return;
 9537|      0|        }
 9538|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9538:13): [True: 0, False: 0]
  ------------------
 9539|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9540|      0|            return;
 9541|      0|        }
 9542|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9542:13): [True: 0, False: 0]
  |  Branch (9542:42): [True: 0, False: 0]
  ------------------
 9543|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9543:20): [True: 0, False: 0]
  ------------------
 9544|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9545|      0|            }
 9546|      0|        }
 9547|      0|    }
 9548|    358|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9548:9): [True: 0, False: 358]
  ------------------
 9549|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9549:13): [True: 0, False: 0]
  ------------------
 9550|      0|            error(loc, "tensorView missing type parameters", "", "");
 9551|      0|            return;
 9552|      0|        }
 9553|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9553:13): [True: 0, False: 0]
  ------------------
 9554|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9554:13): [True: 0, False: 0]
  ------------------
 9555|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9556|      0|            return;
 9557|      0|        }
 9558|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9558:13): [True: 0, False: 0]
  |  Branch (9558:42): [True: 0, False: 0]
  ------------------
 9559|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9560|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9560:20): [True: 0, False: 0]
  ------------------
 9561|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9561:32): [True: 0, False: 0]
  ------------------
 9562|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9563|      0|                numDims++;
 9564|      0|            }
 9565|      0|        }
 9566|      0|    }
 9567|    358|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9567:9): [True: 0, False: 358]
  ------------------
 9568|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9568:13): [True: 0, False: 0]
  ------------------
 9569|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9570|      0|            return;
 9571|      0|        }
 9572|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9572:13): [True: 0, False: 0]
  ------------------
 9573|      0|            error(loc, "tensor type is missing rank information", "", "");
 9574|      0|            return;
 9575|      0|        }
 9576|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9576:13): [True: 0, False: 0]
  ------------------
 9577|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9578|      0|            return;
 9579|      0|        }
 9580|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9580:13): [True: 0, False: 0]
  ------------------
 9581|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9582|      0|            return;
 9583|      0|        }
 9584|      0|    }
 9585|    358|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9585:9): [True: 0, False: 358]
  |  Branch (9585:38): [True: 0, False: 0]
  ------------------
 9586|      0|        return;
 9587|      0|    }
 9588|    358|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9961|  3.92k|{
 9962|       |    // Make a fresh type that combines the characteristics from the individual
 9963|       |    // identifier syntax and the declaration-type syntax.
 9964|  3.92k|    TType type(publicType);
 9965|  3.92k|    type.transferArraySizes(arraySizes);
 9966|  3.92k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9967|  3.92k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9968|       |
 9969|  3.92k|    if (initializer) {
  ------------------
  |  Branch (9969:9): [True: 1.08k, False: 2.84k]
  ------------------
 9970|  1.08k|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9970:13): [True: 0, False: 1.08k]
  ------------------
 9971|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", "%s", identifier.c_str());
 9972|  1.08k|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9972:20): [True: 0, False: 1.08k]
  |  Branch (9972:63): [True: 0, False: 1.08k]
  ------------------
 9973|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", "%s", identifier.c_str());
 9974|      0|        }
 9975|       |
 9976|  1.08k|    }
 9977|       |
 9978|  3.92k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9978:9): [True: 0, False: 3.92k]
  ------------------
 9979|      0|        intermediate.setUseVulkanMemoryModel();
 9980|      0|        intermediate.setUseStorageBuffer();
 9981|       |
 9982|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9982:13): [True: 0, False: 0]
  |  Branch (9982:43): [True: 0, False: 0]
  ------------------
 9983|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9983:13): [True: 0, False: 0]
  ------------------
 9984|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9985|      0|        }
 9986|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9986:13): [True: 0, False: 0]
  ------------------
 9987|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9987:17): [True: 0, False: 0]
  ------------------
 9988|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9988:17): [True: 0, False: 0]
  |  Branch (9988:69): [True: 0, False: 0]
  ------------------
 9989|      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(), "");
 9990|      0|            }
 9991|      0|        }
 9992|      0|    }
 9993|  3.92k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9993:14): [True: 0, False: 3.92k]
  ------------------
 9994|      0|        intermediate.setUseVulkanMemoryModel();
 9995|      0|        intermediate.setUseStorageBuffer();
 9996|       |
 9997|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9997:13): [True: 0, False: 0]
  |  Branch (9997:43): [True: 0, False: 0]
  |  Branch (9997:85): [True: 0, False: 0]
  ------------------
 9998|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9999|      0|        } else {
10000|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (10000:17): [True: 0, False: 0]
  ------------------
10001|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (10001:17): [True: 0, False: 0]
  ------------------
10002|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (10002:17): [True: 0, False: 0]
  ------------------
10003|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (10003:17): [True: 0, False: 0]
  ------------------
10004|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
10005|      0|            }
10006|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (10006:17): [True: 0, False: 0]
  ------------------
10007|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (10007:17): [True: 0, False: 0]
  ------------------
10008|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (10008:17): [True: 0, False: 0]
  ------------------
10009|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (10009:17): [True: 0, False: 0]
  ------------------
10010|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
10011|      0|            }
10012|      0|        }
10013|  3.92k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (10013:16): [True: 0, False: 3.92k]
  ------------------
10014|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (10014:13): [True: 0, False: 0]
  |  Branch (10014:43): [True: 0, False: 0]
  ------------------
10015|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
10016|      0|        }
10017|  3.92k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (10017:16): [True: 0, False: 3.92k]
  ------------------
10018|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (10018:13): [True: 0, False: 0]
  |  Branch (10018:43): [True: 0, False: 0]
  ------------------
10019|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
10020|      0|        }
10021|  3.92k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (10021:16): [True: 0, False: 3.92k]
  ------------------
10022|      0|        intermediate.setUseVulkanMemoryModel();
10023|      0|        intermediate.setUseStorageBuffer();
10024|       |
10025|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (10025:13): [True: 0, False: 0]
  |  Branch (10025:43): [True: 0, False: 0]
  |  Branch (10025:85): [True: 0, False: 0]
  ------------------
10026|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
10027|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (10027:20): [True: 0, False: 0]
  |  Branch (10027:87): [True: 0, False: 0]
  ------------------
10028|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
10029|      0|        }
10030|  3.92k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (10030:16): [True: 0, False: 3.92k]
  ------------------
10031|      0|        intermediate.setUseStorageBuffer();
10032|       |
10033|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (10033:13): [True: 0, False: 0]
  |  Branch (10033:43): [True: 0, False: 0]
  |  Branch (10033:85): [True: 0, False: 0]
  ------------------
10034|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
10035|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (10035:20): [True: 0, False: 0]
  |  Branch (10035:87): [True: 0, False: 0]
  ------------------
10036|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
10037|      0|        }
10038|  3.92k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (10038:16): [True: 0, False: 3.92k]
  ------------------
10039|      0|        intermediate.setUseStorageBuffer();
10040|       |
10041|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (10041:13): [True: 0, False: 0]
  |  Branch (10041:43): [True: 0, False: 0]
  ------------------
10042|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
10043|      0|        }
10044|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (10044:13): [True: 0, False: 0]
  ------------------
10045|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (10045:17): [True: 0, False: 0]
  ------------------
10046|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (10046:17): [True: 0, False: 0]
  ------------------
10047|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (10047:17): [True: 0, False: 0]
  ------------------
10048|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (10048:17): [True: 0, False: 0]
  ------------------
10049|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (10049:17): [True: 0, False: 0]
  ------------------
10050|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (10050:17): [True: 0, False: 0]
  ------------------
10051|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (10051:17): [True: 0, False: 0]
  ------------------
10052|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (10052:17): [True: 0, False: 0]
  ------------------
10053|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (10053:17): [True: 0, False: 0]
  ------------------
10054|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (10054:17): [True: 0, False: 0]
  ------------------
10055|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (10055:17): [True: 0, False: 0]
  ------------------
10056|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (10056:17): [True: 0, False: 0]
  ------------------
10057|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (10057:17): [True: 0, False: 0]
  ------------------
10058|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (10058:17): [True: 0, False: 0]
  ------------------
10059|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (10059:17): [True: 0, False: 0]
  ------------------
10060|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
10061|      0|            }
10062|       |
10063|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (10063:17): [True: 0, False: 0]
  ------------------
10064|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
10065|      0|            }
10066|       |
10067|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (10067:17): [True: 0, False: 0]
  ------------------
10068|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
10069|      0|            }
10070|       |
10071|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (10071:17): [True: 0, False: 0]
  ------------------
10072|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
10073|      0|            }
10074|      0|        }
10075|  3.92k|    } else {
10076|  3.92k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (10076:13): [True: 0, False: 3.92k]
  |  Branch (10076:42): [True: 0, False: 0]
  ------------------
10077|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
10078|      0|        }
10079|  3.92k|    }
10080|       |
10081|  3.92k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (10081:9): [True: 0, False: 3.92k]
  ------------------
10082|      0|        return nullptr;
10083|       |
10084|  3.92k|    if (initializer)
  ------------------
  |  Branch (10084:9): [True: 1.08k, False: 2.84k]
  ------------------
10085|  1.08k|        rValueErrorCheck(loc, "initializer", initializer);
10086|  2.84k|    else
10087|  2.84k|        nonInitConstCheck(loc, identifier, type);
10088|       |
10089|  3.92k|    samplerCheck(loc, type, identifier, initializer);
10090|  3.92k|    transparentOpaqueCheck(loc, type, identifier);
10091|  3.92k|    atomicUintCheck(loc, type, identifier);
10092|  3.92k|    accStructCheck(loc, type, identifier);
10093|  3.92k|    hitObjectNVCheck(loc, type, identifier);
10094|  3.92k|    hitObjectEXTCheck(loc, type, identifier);
10095|  3.92k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
10096|  3.92k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (10096:9): [True: 1.08k, False: 2.84k]
  |  Branch (10096:52): [True: 0, False: 1.08k]
  ------------------
10097|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
10098|      0|    }
10099|       |
10100|  3.92k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (10100:9): [True: 3.79k, False: 130]
  |  Branch (10100:54): [True: 3.79k, False: 0]
  ------------------
10101|  3.79k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (10101:13): [True: 0, False: 3.79k]
  ------------------
10102|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
10103|  3.79k|        if (type.contains16BitInt())
  ------------------
  |  Branch (10103:13): [True: 0, False: 3.79k]
  ------------------
10104|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
10105|  3.79k|        if (type.contains8BitInt())
  ------------------
  |  Branch (10105:13): [True: 0, False: 3.79k]
  ------------------
10106|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
10107|  3.79k|    }
10108|  3.92k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (10108:9): [True: 0, False: 3.92k]
  ------------------
10109|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10109:10): [True: 0, False: 0]
  |  Branch (10109:57): [True: 0, False: 0]
  ------------------
10110|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
10111|       |
10112|  3.92k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (10112:10): [True: 0, False: 3.92k]
  |  Branch (10112:49): [True: 0, False: 3.92k]
  ------------------
10113|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10113:10): [True: 0, False: 0]
  |  Branch (10113:57): [True: 0, False: 0]
  ------------------
10114|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
10115|       |
10116|  3.92k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (10116:9): [True: 0, False: 3.92k]
  ------------------
10117|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (10117:10): [True: 0, False: 0]
  |  Branch (10117:57): [True: 0, False: 0]
  ------------------
10118|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
10119|       |
10120|  3.92k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (10120:9): [True: 0, False: 3.92k]
  ------------------
10121|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (10121:10): [True: 0, False: 0]
  |  Branch (10121:55): [True: 0, False: 0]
  |  Branch (10121:99): [True: 0, False: 0]
  ------------------
10122|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
10123|       |
10124|  3.92k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (10124:9): [True: 0, False: 3.92k]
  ------------------
10125|      0|        intermediate.addTaskPayloadEXTCount();
10126|  3.92k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (10126:9): [True: 0, False: 3.92k]
  |  Branch (10126:53): [True: 0, False: 0]
  ------------------
10127|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
10128|       |
10129|  3.92k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (10129:9): [True: 413, False: 3.51k]
  ------------------
10130|    413|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (10130:13): [True: 0, False: 413]
  |  Branch (10130:50): [True: 0, False: 0]
  ------------------
10131|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (10131:17): [True: 0, False: 0]
  ------------------
10132|      0|                TType perVertexType(type, 0);
10133|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (10133:21): [True: 0, False: 0]
  |  Branch (10133:54): [True: 0, False: 0]
  ------------------
10134|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10135|      0|                }
10136|      0|            }
10137|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (10137:22): [True: 0, False: 0]
  |  Branch (10137:46): [True: 0, False: 0]
  ------------------
10138|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
10139|      0|            }
10140|      0|            if (type.containsStructure())
  ------------------
  |  Branch (10140:17): [True: 0, False: 0]
  ------------------
10141|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
10142|      0|        }
10143|    413|    }
10144|       |
10145|  3.92k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (10145:9): [True: 3.90k, False: 23]
  |  Branch (10145:42): [True: 0, False: 3.90k]
  |  Branch (10145:89): [True: 0, False: 3.90k]
  ------------------
10146|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
10147|  3.92k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (10147:9): [True: 3.92k, False: 3]
  |  Branch (10147:41): [True: 0, False: 3.92k]
  ------------------
10148|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
10149|  3.92k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (10149:9): [True: 3.92k, False: 3]
  |  Branch (10149:49): [True: 0, False: 3.92k]
  ------------------
10150|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
10151|       |
10152|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
10153|  3.92k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
10154|  3.92k|    if (symbol == nullptr)
  ------------------
  |  Branch (10154:9): [True: 3.92k, False: 0]
  ------------------
10155|  3.92k|        reservedErrorCheck(loc, identifier);
10156|       |
10157|  3.92k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (10157:9): [True: 3.92k, False: 0]
  |  Branch (10157:30): [True: 2.06k, False: 1.86k]
  |  Branch (10157:55): [True: 0, False: 2.06k]
  ------------------
10158|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
10159|       |
10160|      0|        if (remapped) {
  ------------------
  |  Branch (10160:13): [True: 0, False: 0]
  ------------------
10161|      0|            return nullptr;
10162|      0|        }
10163|      0|    }
10164|       |
10165|  3.92k|    inheritGlobalDefaults(type.getQualifier());
10166|       |
10167|       |    // Declare the variable
10168|  3.92k|    if (type.isArray()) {
  ------------------
  |  Branch (10168:9): [True: 148, False: 3.77k]
  ------------------
10169|       |        // Check that implicit sizing is only where allowed.
10170|    148|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
10171|       |
10172|    148|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (10172:13): [True: 148, False: 0]
  |  Branch (10172:64): [True: 148, False: 0]
  ------------------
10173|    148|            declareArray(loc, identifier, type, symbol);
10174|       |
10175|    148|        if (initializer) {
  ------------------
  |  Branch (10175:13): [True: 0, False: 148]
  ------------------
10176|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
10177|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
10178|      0|        }
10179|  3.77k|    } else {
10180|       |        // non-array case
10181|  3.77k|        if (symbol == nullptr)
  ------------------
  |  Branch (10181:13): [True: 3.77k, False: 0]
  ------------------
10182|  3.77k|            symbol = declareNonArray(loc, identifier, type);
10183|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (10183:18): [True: 0, False: 0]
  ------------------
10184|      0|            error(loc, "cannot change the type of", "redeclaration", "%s", symbol->getName().c_str());
10185|  3.77k|    }
10186|       |
10187|  3.92k|    if (symbol == nullptr)
  ------------------
  |  Branch (10187:9): [True: 0, False: 3.92k]
  ------------------
10188|      0|        return nullptr;
10189|       |
10190|       |    // Deal with initializer
10191|  3.92k|    TIntermNode* initNode = nullptr;
10192|  3.92k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (10192:9): [True: 3.92k, False: 0]
  |  Branch (10192:30): [True: 1.08k, False: 2.84k]
  ------------------
10193|  1.08k|        TVariable* variable = symbol->getAsVariable();
10194|  1.08k|        if (! variable) {
  ------------------
  |  Branch (10194:13): [True: 0, False: 1.08k]
  ------------------
10195|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
10196|      0|            return nullptr;
10197|      0|        }
10198|  1.08k|        initNode = executeInitializer(loc, initializer, variable);
10199|       |
10200|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
10201|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
10202|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
10203|       |        // specialization-constant form goes through addQualifierToExisting instead.
10204|  1.08k|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (10204:13): [True: 0, False: 1.08k]
  |  Branch (10204:60): [True: 0, False: 0]
  ------------------
10205|      0|            const TConstUnionArray& constArray = variable->getConstArray();
10206|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (10206:17): [True: 0, False: 0]
  ------------------
10207|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
10208|      0|        }
10209|  1.08k|    }
10210|       |
10211|       |    // EXT_descriptor_heap
10212|  3.92k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (10212:9): [True: 0, False: 3.92k]
  ------------------
10213|      0|        return nullptr;
10214|      0|    }
10215|       |
10216|       |    // look for errors in layout qualifier use
10217|  3.92k|    layoutObjectCheck(loc, *symbol);
10218|       |
10219|       |    // fix up
10220|  3.92k|    fixOffset(loc, *symbol);
10221|       |
10222|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
10223|  3.92k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (10223:9): [True: 0, False: 3.92k]
  ------------------
10224|      0|        TVariable* variable = symbol->getAsVariable();
10225|      0|        if (variable) {
  ------------------
  |  Branch (10225:13): [True: 0, False: 0]
  ------------------
10226|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
10227|      0|            decl->setLoc(loc);
10228|      0|            return decl;
10229|      0|        }
10230|      0|        else {
10231|       |            // We ignore builtins redeclarations
10232|      0|            return nullptr;
10233|      0|        }
10234|      0|    }
10235|  3.92k|    else {
10236|  3.92k|        return initNode;
10237|  3.92k|    }
10238|  3.92k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
10242|  3.92k|{
10243|  3.92k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (10243:9): [True: 215, False: 3.71k]
  ------------------
10244|    215|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (10244:13): [True: 215, False: 0]
  |  Branch (10244:34): [True: 57, False: 158]
  ------------------
10245|     57|            dst.layoutStream = globalOutputDefaults.layoutStream;
10246|    215|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (10246:13): [True: 215, False: 0]
  ------------------
10247|    215|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10248|    215|    }
10249|  3.92k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
10273|  3.77k|{
10274|       |    // make a new variable
10275|  3.77k|    TVariable* variable = new TVariable(&identifier, type);
10276|       |
10277|  3.77k|    ioArrayCheck(loc, type, identifier);
10278|       |
10279|       |    // add variable to symbol table
10280|  3.77k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (10280:9): [True: 3.77k, False: 0]
  ------------------
10281|  3.77k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (10281:13): [True: 3.77k, False: 0]
  ------------------
10282|  3.77k|            trackLinkage(*variable);
10283|  3.77k|        return variable;
10284|  3.77k|    }
10285|       |
10286|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
10287|      0|    return nullptr;
10288|  3.77k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
10297|  1.08k|{
10298|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
10299|       |    // (still EOpNull, no relation to nullInit), and has no children.
10300|  1.08k|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (10300:21): [True: 0, False: 1.08k]
  |  Branch (10300:54): [True: 0, False: 0]
  ------------------
10301|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (10301:9): [True: 0, False: 0]
  ------------------
10302|       |
10303|       |    //
10304|       |    // Identifier must be of type constant, a global, or a temporary, and
10305|       |    // starting at version 120, desktop allows uniforms to have initializers.
10306|       |    //
10307|  1.08k|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
10308|  1.08k|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (10308:12): [True: 0, False: 1.08k]
  |  Branch (10308:41): [True: 0, False: 1.08k]
  |  Branch (10308:67): [True: 1.08k, False: 0]
  ------------------
10309|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (10309:13): [True: 0, False: 0]
  |  Branch (10309:40): [True: 0, False: 0]
  |  Branch (10309:58): [True: 0, False: 0]
  ------------------
10310|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (10310:13): [True: 0, False: 0]
  ------------------
10311|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
10312|      0|            if (nullInit) {
  ------------------
  |  Branch (10312:17): [True: 0, False: 0]
  ------------------
10313|      0|                const char* feature = "initialization with shared qualifier";
10314|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10315|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10316|      0|            } else {
10317|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
10318|      0|            }
10319|      0|        } else {
10320|      0|            error(loc, " cannot initialize this type of qualifier ",
10321|      0|                  variable->getType().getStorageQualifierString(), "");
10322|      0|            return nullptr;
10323|      0|        }
10324|      0|    }
10325|       |
10326|  1.08k|    if (nullInit) {
  ------------------
  |  Branch (10326:9): [True: 0, False: 1.08k]
  ------------------
10327|       |        // only some types can be null initialized
10328|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (10328:13): [True: 0, False: 0]
  ------------------
10329|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
10330|      0|            return nullptr;
10331|      0|        }
10332|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (10332:13): [True: 0, False: 0]
  ------------------
10333|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
10334|      0|            return nullptr;
10335|      0|        }
10336|      0|        variable->getWritableType().getQualifier().setNullInit();
10337|      0|        return nullptr;
10338|      0|    }
10339|       |
10340|  1.08k|    arrayObjectCheck(loc, variable->getType(), "array initializer");
10341|       |
10342|       |    //
10343|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
10344|       |    // constructor-style subtree, allowing the rest of the code to operate
10345|       |    // identically for both kinds of initializers.
10346|       |    //
10347|       |    // Type can't be deduced from the initializer list, so a skeletal type to
10348|       |    // follow has to be passed in.  Constness and specialization-constness
10349|       |    // should be deduced bottom up, not dictated by the skeletal type.
10350|       |    //
10351|  1.08k|    TType skeletalType;
10352|  1.08k|    skeletalType.shallowCopy(variable->getType());
10353|  1.08k|    skeletalType.getQualifier().makeTemporary();
10354|  1.08k|    initializer = convertInitializerList(loc, skeletalType, initializer);
10355|  1.08k|    if (! initializer) {
  ------------------
  |  Branch (10355:9): [True: 0, False: 1.08k]
  ------------------
10356|       |        // error recovery; don't leave const without constant values
10357|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (10357:13): [True: 0, False: 0]
  ------------------
10358|      0|            variable->getWritableType().getQualifier().makeTemporary();
10359|      0|        return nullptr;
10360|      0|    }
10361|       |
10362|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
10363|  1.08k|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (10363:9): [True: 0, False: 1.08k]
  |  Branch (10363:50): [True: 0, False: 0]
  ------------------
10364|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
10365|       |
10366|       |    // Inner arrayness can also get set by an initializer
10367|  1.08k|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (10367:9): [True: 0, False: 1.08k]
  |  Branch (10367:53): [True: 0, False: 0]
  ------------------
10368|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (10368:9): [True: 0, False: 0]
  ------------------
10369|      0|           variable->getType().getArraySizes()->getNumDims()) {
10370|       |        // adopt unsized sizes from the initializer's sizes
10371|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10371:25): [True: 0, False: 0]
  ------------------
10372|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (10372:17): [True: 0, False: 0]
  ------------------
10373|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
10374|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
10375|      0|            }
10376|      0|        }
10377|      0|    }
10378|       |
10379|       |    // Uniforms require a compile-time constant initializer
10380|  1.08k|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (10380:9): [True: 0, False: 1.08k]
  |  Branch (10380:36): [True: 0, False: 0]
  ------------------
10381|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
10382|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10383|      0|        variable->getWritableType().getQualifier().makeTemporary();
10384|      0|        return nullptr;
10385|      0|    }
10386|       |    // Global consts require a constant initializer (specialization constant is okay)
10387|  1.08k|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10387:9): [True: 1.08k, False: 0]
  |  Branch (10387:34): [True: 1.08k, False: 0]
  |  Branch (10387:65): [True: 0, False: 1.08k]
  ------------------
10388|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
10389|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10390|      0|        variable->getWritableType().getQualifier().makeTemporary();
10391|      0|        return nullptr;
10392|      0|    }
10393|       |
10394|       |    // Const variables require a constant initializer, depending on version
10395|  1.08k|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (10395:9): [True: 1.08k, False: 0]
  ------------------
10396|  1.08k|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10396:13): [True: 0, False: 1.08k]
  ------------------
10397|      0|            const char* initFeature = "non-constant initializer";
10398|      0|            requireProfile(loc, ~EEsProfile, initFeature);
10399|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
10400|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
10401|      0|            qualifier = EvqConstReadOnly;
10402|      0|        }
10403|  1.08k|    } else {
10404|       |        // Non-const global variables in ES need a const initializer.
10405|       |        //
10406|       |        // "In declarations of global variables with no storage qualifier or with a const
10407|       |        // qualifier any initializer must be a constant expression."
10408|      0|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10408:13): [True: 0, False: 0]
  |  Branch (10408:44): [True: 0, False: 0]
  ------------------
10409|      0|            const char* initFeature =
10410|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
10411|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (10411:17): [True: 0, False: 0]
  ------------------
10412|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (10412:21): [True: 0, False: 0]
  |  Branch (10412:40): [True: 0, False: 0]
  ------------------
10413|      0|                    warn(loc, "not allowed in this version", initFeature, "");
10414|      0|                else
10415|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
10416|      0|            }
10417|      0|        }
10418|      0|    }
10419|       |
10420|  1.08k|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (10420:9): [True: 1.08k, False: 0]
  |  Branch (10420:34): [True: 0, False: 0]
  ------------------
10421|       |        // Compile-time tagging of the variable with its constant value...
10422|       |
10423|  1.08k|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
10424|  1.08k|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (10424:13): [True: 0, False: 1.08k]
  |  Branch (10424:30): [True: 0, False: 1.08k]
  ------------------
10425|  1.08k|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (10425:13): [True: 0, False: 1.08k]
  ------------------
10426|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
10427|      0|                  variable->getType().getStorageQualifierString(), "");
10428|      0|            variable->getWritableType().getQualifier().makeTemporary();
10429|      0|            return nullptr;
10430|      0|        }
10431|       |
10432|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
10433|       |        // the initializer's subtree in the AST to represent the computation of a
10434|       |        // specialization constant.
10435|  1.08k|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
10436|  1.08k|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (10436:13): [True: 1.08k, False: 0]
  ------------------
10437|  1.08k|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
10438|      0|        else {
10439|       |            // It's a specialization constant.
10440|       |            // Computed from other spec constants, so it becomes an OpSpecConstantOp, which cannot carry SpecId.
10441|      0|            if (variable->getType().getQualifier().hasSpecConstantId())
  ------------------
  |  Branch (10441:17): [True: 0, False: 0]
  ------------------
10442|      0|                error(loc, "cannot be applied to a constant computed from other specialization constants",
10443|      0|                      "constant_id", "");
10444|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
10445|       |
10446|       |            // Keep the subtree that computes the specialization constant with the variable.
10447|       |            // Later, a symbol node will adopt the subtree from the variable.
10448|      0|            variable->setConstSubtree(initializer);
10449|      0|        }
10450|  1.08k|    } else {
10451|       |        // normal assigning of a value to a variable...
10452|      0|        specializationCheck(loc, initializer->getType(), "initializer");
10453|      0|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
10454|      0|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
10455|      0|        if (! initNode)
  ------------------
  |  Branch (10455:13): [True: 0, False: 0]
  ------------------
10456|      0|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
10457|       |
10458|      0|        return initNode;
10459|      0|    }
10460|       |
10461|  1.08k|    return nullptr;
10462|  1.08k|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
10475|  1.08k|{
10476|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
10477|       |    // everything below it is already good: Only the "top part" of the initializer
10478|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
10479|       |
10480|       |    // see if we have bottomed out in the tree within the initializer-list part
10481|  1.08k|    TIntermAggregate* initList = initializer->getAsAggregate();
10482|  1.08k|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (10482:9): [True: 1.08k, False: 0]
  |  Branch (10482:23): [True: 0, False: 0]
  ------------------
10483|  1.08k|        return initializer;
10484|       |
10485|       |    // Of the initializer-list set of nodes, need to process bottom up,
10486|       |    // so recurse deep, then process on the way up.
10487|       |
10488|       |    // Go down the tree here...
10489|      0|    if (type.isArray()) {
  ------------------
  |  Branch (10489:9): [True: 0, False: 0]
  ------------------
10490|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
10491|       |        // Later on, initializer execution code will deal with array size logic.
10492|      0|        TType arrayType;
10493|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
10494|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
10495|       |
10496|       |        // a nested empty initializer list ({}) has no elements to size the array or
10497|       |        // derive its element type from, so reject it before the getSequence()[0] read below
10498|      0|        if (initList->getSequence().empty()) {
  ------------------
  |  Branch (10498:13): [True: 0, False: 0]
  ------------------
10499|      0|            error(loc, "array initializer must be non-empty", "initializer list", "");
10500|      0|            return nullptr;
10501|      0|        }
10502|       |
10503|       |        // edit array sizes to fill in unsized dimensions
10504|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
10505|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
10506|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (10506:13): [True: 0, False: 0]
  |  Branch (10506:44): [True: 0, False: 0]
  ------------------
10507|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (10507:13): [True: 0, False: 0]
  ------------------
10508|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10508:29): [True: 0, False: 0]
  ------------------
10509|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (10509:21): [True: 0, False: 0]
  ------------------
10510|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
10511|      0|            }
10512|      0|        }
10513|       |
10514|      0|        TType elementType(arrayType, 0); // dereferenced type
10515|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (10515:28): [True: 0, False: 0]
  ------------------
10516|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
10517|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10517:17): [True: 0, False: 0]
  ------------------
10518|      0|                return nullptr;
10519|      0|        }
10520|       |
10521|      0|        return addConstructor(loc, initList, arrayType);
10522|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10522:16): [True: 0, False: 0]
  ------------------
10523|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10523:13): [True: 0, False: 0]
  ------------------
10524|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10525|      0|            return nullptr;
10526|      0|        }
10527|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10527:28): [True: 0, False: 0]
  ------------------
10528|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10529|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10529:17): [True: 0, False: 0]
  ------------------
10530|      0|                return nullptr;
10531|      0|        }
10532|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10532:16): [True: 0, False: 0]
  ------------------
10533|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10533:13): [True: 0, False: 0]
  ------------------
10534|      0|            error(loc, "wrong number of matrix columns:", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10535|      0|            return nullptr;
10536|      0|        }
10537|      0|        TType vectorType(type, 0); // dereferenced type
10538|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10538:25): [True: 0, False: 0]
  ------------------
10539|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10540|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10540:17): [True: 0, False: 0]
  ------------------
10541|      0|                return nullptr;
10542|      0|        }
10543|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10543:16): [True: 0, False: 0]
  ------------------
10544|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10544:13): [True: 0, False: 0]
  ------------------
10545|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10546|      0|            return nullptr;
10547|      0|        }
10548|      0|        TBasicType destType = type.getBasicType();
10549|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10549:25): [True: 0, False: 0]
  ------------------
10550|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10551|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10551:17): [True: 0, False: 0]
  |  Branch (10551:41): [True: 0, False: 0]
  ------------------
10552|      0|                error(loc, "type mismatch in initializer list", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10553|      0|                return nullptr;
10554|      0|            }
10555|       |
10556|      0|        }
10557|      0|    } else {
10558|      0|        error(loc, "unexpected initializer-list type:", "initializer list", "%s", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10559|      0|        return nullptr;
10560|      0|    }
10561|       |
10562|       |    // Now that the subtree is processed, process this node as if the
10563|       |    // initializer list is a set of arguments to a constructor.
10564|      0|    TIntermNode* emulatedConstructorArguments;
10565|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10565:9): [True: 0, False: 0]
  ------------------
10566|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10567|      0|    else
10568|      0|        emulatedConstructorArguments = initList;
10569|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10570|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10582|     66|{
10583|     66|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10583:9): [True: 0, False: 66]
  |  Branch (10583:28): [True: 0, False: 66]
  ------------------
10584|      0|        return nullptr;
10585|     66|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10586|       |
10587|     66|    TIntermAggregate* aggrNode = node->getAsAggregate();
10588|     66|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10589|       |
10590|       |    // Combined texture-sampler constructors are completely semantic checked
10591|       |    // in constructorTextureSamplerError()
10592|     66|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10592:9): [True: 0, False: 66]
  ------------------
10593|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10593:13): [True: 0, False: 0]
  ------------------
10594|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10594:17): [True: 0, False: 0]
  ------------------
10595|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10596|       |                // for tools to know this texture/image is a depth image.
10597|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10598|      0|            }
10599|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10600|      0|        }
10601|      0|    }
10602|       |
10603|     66|    TTypeList::const_iterator memberTypes;
10604|     66|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10604:9): [True: 0, False: 66]
  ------------------
10605|      0|        memberTypes = type.getStruct()->begin();
10606|       |
10607|     66|    TType elementType;
10608|     66|    if (type.isArray()) {
  ------------------
  |  Branch (10608:9): [True: 1, False: 65]
  ------------------
10609|      1|        TType dereferenced(type, 0);
10610|      1|        elementType.shallowCopy(dereferenced);
10611|      1|    } else
10612|     65|        elementType.shallowCopy(type);
10613|       |
10614|     66|    bool singleArg;
10615|     66|    if (aggrNode) {
  ------------------
  |  Branch (10615:9): [True: 33, False: 33]
  ------------------
10616|     33|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10616:13): [True: 7, False: 26]
  ------------------
10617|      7|            singleArg = true;
10618|     26|        else
10619|     26|            singleArg = false;
10620|     33|    } else
10621|     33|        singleArg = true;
10622|       |
10623|     66|    TIntermTyped *newNode;
10624|     66|    if (singleArg) {
  ------------------
  |  Branch (10624:9): [True: 40, False: 26]
  ------------------
10625|       |        // If structure constructor or array constructor is being called
10626|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10627|     40|        if (type.isArray())
  ------------------
  |  Branch (10627:13): [True: 1, False: 39]
  ------------------
10628|      1|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10629|     39|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10629:18): [True: 0, False: 39]
  ------------------
10630|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10631|     39|        else
10632|     39|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10633|       |
10634|     40|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10634:13): [True: 39, False: 1]
  |  Branch (10634:25): [True: 0, False: 39]
  |  Branch (10634:43): [True: 0, False: 39]
  ------------------
10635|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10636|       |
10637|     40|        return newNode;
10638|     40|    }
10639|       |
10640|       |    //
10641|       |    // Handle list of arguments.
10642|       |    //
10643|     26|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10644|       |    // if the structure constructor contains more than one parameter, then construct
10645|       |    // each parameter
10646|       |
10647|     26|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10648|       |
10649|       |    // We don't know "top down" whether type is a specialization constant,
10650|       |    // but a const becomes a specialization constant if any of its children are.
10651|     26|    bool hasSpecConst = false;
10652|     26|    bool isConstConstructor = true;
10653|       |
10654|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10655|       |    // to the right type if possible (and allowed).
10656|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10657|     26|    for (TIntermSequence::iterator p = sequenceVector.begin();
10658|    104|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10658:36): [True: 78, False: 26]
  ------------------
10659|     78|        if (type.isArray())
  ------------------
  |  Branch (10659:13): [True: 0, False: 78]
  ------------------
10660|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10661|     78|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10661:18): [True: 0, False: 78]
  ------------------
10662|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10663|     78|        else
10664|     78|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10665|       |
10666|     78|        if (newNode) {
  ------------------
  |  Branch (10666:13): [True: 78, False: 0]
  ------------------
10667|     78|            *p = newNode;
10668|     78|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10668:17): [True: 0, False: 78]
  ------------------
10669|      0|                isConstConstructor = false;
10670|     78|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10670:17): [True: 0, False: 78]
  ------------------
10671|      0|                hasSpecConst = true;
10672|     78|        } else
10673|      0|            return nullptr;
10674|     78|    }
10675|       |
10676|     26|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10677|       |
10678|     26|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10679|     26|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10679:9): [True: 0, False: 26]
  ------------------
10680|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10680:13): [True: 0, False: 0]
  |  Branch (10680:35): [True: 0, False: 0]
  ------------------
10681|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10682|      0|        }
10683|      0|    }
10684|       |
10685|     26|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10686|     26|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10686:9): [True: 0, False: 26]
  |  Branch (10686:22): [True: 0, False: 0]
  |  Branch (10686:46): [True: 0, False: 0]
  |  Branch (10686:69): [True: 0, False: 0]
  ------------------
10687|      0|        agg_node->updatePrecision();
10688|       |
10689|     26|    return ret_node;
10690|     26|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10701|    117|{
10702|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10703|       |    // do the shape change first (by default, below, basic type is changed before shape).
10704|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10705|       |    // TODO: This could be generalized to more type combinations, but that would require
10706|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10707|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10708|    117|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10708:9): [True: 0, False: 117]
  |  Branch (10708:40): [True: 0, False: 0]
  |  Branch (10708:59): [True: 0, False: 0]
  ------------------
10709|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10709:13): [True: 0, False: 0]
  ------------------
10710|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10711|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10712|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10713|      0|    }
10714|       |
10715|    117|    TIntermTyped* newNode;
10716|    117|    TOperator basicOp;
10717|       |
10718|       |    //
10719|       |    // First, convert types as needed.
10720|       |    //
10721|    117|    switch (op) {
10722|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10722:5): [True: 0, False: 117]
  ------------------
10723|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10723:5): [True: 0, False: 117]
  ------------------
10724|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10724:5): [True: 0, False: 117]
  ------------------
10725|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10725:5): [True: 0, False: 117]
  ------------------
10726|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10726:5): [True: 0, False: 117]
  ------------------
10727|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10727:5): [True: 0, False: 117]
  ------------------
10728|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10728:5): [True: 0, False: 117]
  ------------------
10729|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10729:5): [True: 0, False: 117]
  ------------------
10730|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10730:5): [True: 0, False: 117]
  ------------------
10731|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10731:5): [True: 0, False: 117]
  ------------------
10732|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10732:5): [True: 0, False: 117]
  ------------------
10733|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10733:5): [True: 0, False: 117]
  ------------------
10734|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10734:5): [True: 0, False: 117]
  ------------------
10735|      0|        basicOp = EOpConstructFloat;
10736|      0|        break;
10737|       |
10738|     26|    case EOpConstructIVec2:
  ------------------
  |  Branch (10738:5): [True: 26, False: 91]
  ------------------
10739|     50|    case EOpConstructIVec3:
  ------------------
  |  Branch (10739:5): [True: 24, False: 93]
  ------------------
10740|     50|    case EOpConstructIVec4:
  ------------------
  |  Branch (10740:5): [True: 0, False: 117]
  ------------------
10741|     63|    case EOpConstructInt:
  ------------------
  |  Branch (10741:5): [True: 13, False: 104]
  ------------------
10742|     63|        basicOp = EOpConstructInt;
10743|     63|        break;
10744|       |
10745|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10745:5): [True: 0, False: 117]
  ------------------
10746|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10746:13): [True: 0, False: 0]
  ------------------
10747|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10748|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10749|      0|                type);
10750|      0|            return newNode;
10751|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10751:20): [True: 0, False: 0]
  ------------------
10752|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10753|       |            // createConversion has no sampler-to-uint op and returns null, so unpack the
10754|       |            // handle directly, mirroring the uvec2-to-handle direction below.
10755|      0|            TIntermTyped* newNode =
10756|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpUnpackUint2x32, true, node, type);
10757|      0|            return newNode;
10758|      0|        }
10759|      0|        [[fallthrough]];
10760|     54|    case EOpConstructUVec3:
  ------------------
  |  Branch (10760:5): [True: 54, False: 63]
  ------------------
10761|     54|    case EOpConstructUVec4:
  ------------------
  |  Branch (10761:5): [True: 0, False: 117]
  ------------------
10762|     54|    case EOpConstructUint:
  ------------------
  |  Branch (10762:5): [True: 0, False: 117]
  ------------------
10763|     54|        basicOp = EOpConstructUint;
10764|     54|        break;
10765|       |
10766|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10766:5): [True: 0, False: 117]
  ------------------
10767|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10767:5): [True: 0, False: 117]
  ------------------
10768|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10768:5): [True: 0, False: 117]
  ------------------
10769|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10769:5): [True: 0, False: 117]
  ------------------
10770|      0|        basicOp = EOpConstructBool;
10771|      0|        break;
10772|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10772:5): [True: 0, False: 117]
  ------------------
10773|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10773:14): [True: 0, False: 0]
  |  Branch (10773:59): [True: 0, False: 0]
  ------------------
10774|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10774:13): [True: 0, False: 0]
  ------------------
10775|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10776|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10777|      0|            TIntermTyped* newNode =
10778|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10779|      0|            return newNode;
10780|      0|        }
10781|      0|        [[fallthrough]];
10782|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10782:5): [True: 0, False: 117]
  ------------------
10783|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10783:5): [True: 0, False: 117]
  ------------------
10784|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10784:5): [True: 0, False: 117]
  ------------------
10785|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10785:5): [True: 0, False: 117]
  ------------------
10786|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10786:5): [True: 0, False: 117]
  ------------------
10787|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10787:5): [True: 0, False: 117]
  ------------------
10788|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10788:5): [True: 0, False: 117]
  ------------------
10789|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10789:5): [True: 0, False: 117]
  ------------------
10790|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10790:5): [True: 0, False: 117]
  ------------------
10791|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10791:5): [True: 0, False: 117]
  ------------------
10792|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10792:5): [True: 0, False: 117]
  ------------------
10793|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10793:5): [True: 0, False: 117]
  ------------------
10794|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10794:5): [True: 0, False: 117]
  ------------------
10795|      0|        basicOp = EOpConstructDouble;
10796|      0|        break;
10797|       |
10798|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10798:5): [True: 0, False: 117]
  ------------------
10799|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10799:5): [True: 0, False: 117]
  ------------------
10800|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10800:5): [True: 0, False: 117]
  ------------------
10801|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10801:5): [True: 0, False: 117]
  ------------------
10802|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10802:5): [True: 0, False: 117]
  ------------------
10803|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10803:5): [True: 0, False: 117]
  ------------------
10804|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10804:5): [True: 0, False: 117]
  ------------------
10805|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10805:5): [True: 0, False: 117]
  ------------------
10806|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10806:5): [True: 0, False: 117]
  ------------------
10807|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10807:5): [True: 0, False: 117]
  ------------------
10808|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10808:5): [True: 0, False: 117]
  ------------------
10809|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10809:5): [True: 0, False: 117]
  ------------------
10810|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10810:5): [True: 0, False: 117]
  ------------------
10811|      0|        basicOp = EOpConstructFloat16;
10812|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10813|       |        // so construct a 32-bit type and convert
10814|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10815|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10815:13): [True: 0, False: 0]
  |  Branch (10815:61): [True: 0, False: 0]
  ------------------
10816|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10817|      0|            newNode = node;
10818|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10818:17): [True: 0, False: 0]
  ------------------
10819|      0|                TOperator aggregateOp;
10820|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10820:21): [True: 0, False: 0]
  ------------------
10821|      0|                    aggregateOp = EOpConstructFloat;
10822|      0|                else
10823|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10824|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10825|      0|            }
10826|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10827|      0|            return newNode;
10828|      0|        }
10829|      0|        break;
10830|       |
10831|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10831:5): [True: 0, False: 117]
  ------------------
10832|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10832:5): [True: 0, False: 117]
  ------------------
10833|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10833:5): [True: 0, False: 117]
  ------------------
10834|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10834:5): [True: 0, False: 117]
  ------------------
10835|      0|        basicOp = EOpConstructBFloat16;
10836|      0|        break;
10837|       |
10838|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10838:5): [True: 0, False: 117]
  ------------------
10839|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10839:5): [True: 0, False: 117]
  ------------------
10840|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10840:5): [True: 0, False: 117]
  ------------------
10841|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10841:5): [True: 0, False: 117]
  ------------------
10842|      0|        basicOp = EOpConstructFloatE5M2;
10843|      0|        break;
10844|       |
10845|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10845:5): [True: 0, False: 117]
  ------------------
10846|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10846:5): [True: 0, False: 117]
  ------------------
10847|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10847:5): [True: 0, False: 117]
  ------------------
10848|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10848:5): [True: 0, False: 117]
  ------------------
10849|      0|        basicOp = EOpConstructFloatE4M3;
10850|      0|        break;
10851|       |
10852|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10852:5): [True: 0, False: 117]
  ------------------
10853|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10853:5): [True: 0, False: 117]
  ------------------
10854|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10854:5): [True: 0, False: 117]
  ------------------
10855|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10855:5): [True: 0, False: 117]
  ------------------
10856|      0|        basicOp = EOpConstructFloatE2M1;
10857|      0|        break;
10858|       |
10859|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10859:5): [True: 0, False: 117]
  ------------------
10860|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10860:5): [True: 0, False: 117]
  ------------------
10861|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10861:5): [True: 0, False: 117]
  ------------------
10862|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10862:5): [True: 0, False: 117]
  ------------------
10863|      0|        basicOp = EOpConstructFloatE3M2;
10864|      0|        break;
10865|       |
10866|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10866:5): [True: 0, False: 117]
  ------------------
10867|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10867:5): [True: 0, False: 117]
  ------------------
10868|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10868:5): [True: 0, False: 117]
  ------------------
10869|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10869:5): [True: 0, False: 117]
  ------------------
10870|      0|        basicOp = EOpConstructFloatE2M3;
10871|      0|        break;
10872|       |
10873|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10873:5): [True: 0, False: 117]
  ------------------
10874|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10874:5): [True: 0, False: 117]
  ------------------
10875|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10875:5): [True: 0, False: 117]
  ------------------
10876|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10876:5): [True: 0, False: 117]
  ------------------
10877|      0|        basicOp = EOpConstructFloatUE8M0;
10878|      0|        break;
10879|       |
10880|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10880:5): [True: 0, False: 117]
  ------------------
10881|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10881:5): [True: 0, False: 117]
  ------------------
10882|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10882:5): [True: 0, False: 117]
  ------------------
10883|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10883:5): [True: 0, False: 117]
  ------------------
10884|      0|        basicOp = EOpConstructFloatMXINT8;
10885|      0|        break;
10886|       |
10887|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10887:5): [True: 0, False: 117]
  ------------------
10888|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10888:5): [True: 0, False: 117]
  ------------------
10889|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10889:5): [True: 0, False: 117]
  ------------------
10890|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10890:5): [True: 0, False: 117]
  ------------------
10891|      0|        basicOp = EOpConstructInt8;
10892|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10893|       |        // so construct a 32-bit type and convert
10894|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10895|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10895:13): [True: 0, False: 0]
  |  Branch (10895:58): [True: 0, False: 0]
  ------------------
10896|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10897|      0|            newNode = node;
10898|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10898:17): [True: 0, False: 0]
  ------------------
10899|      0|                TOperator aggregateOp;
10900|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10900:21): [True: 0, False: 0]
  ------------------
10901|      0|                    aggregateOp = EOpConstructInt;
10902|      0|                else
10903|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10904|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10905|      0|            }
10906|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10907|      0|            return newNode;
10908|      0|        }
10909|      0|        break;
10910|       |
10911|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10911:5): [True: 0, False: 117]
  ------------------
10912|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10912:5): [True: 0, False: 117]
  ------------------
10913|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10913:5): [True: 0, False: 117]
  ------------------
10914|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10914:5): [True: 0, False: 117]
  ------------------
10915|      0|        basicOp = EOpConstructUint8;
10916|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10917|       |        // so construct a 32-bit type and convert
10918|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10919|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10919:13): [True: 0, False: 0]
  |  Branch (10919:58): [True: 0, False: 0]
  ------------------
10920|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10921|      0|            newNode = node;
10922|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10922:17): [True: 0, False: 0]
  ------------------
10923|      0|                TOperator aggregateOp;
10924|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10924:21): [True: 0, False: 0]
  ------------------
10925|      0|                    aggregateOp = EOpConstructUint;
10926|      0|                else
10927|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10928|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10929|      0|            }
10930|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10931|      0|            return newNode;
10932|      0|        }
10933|      0|        break;
10934|       |
10935|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10935:5): [True: 0, False: 117]
  ------------------
10936|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10936:5): [True: 0, False: 117]
  ------------------
10937|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10937:5): [True: 0, False: 117]
  ------------------
10938|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10938:5): [True: 0, False: 117]
  ------------------
10939|      0|        basicOp = EOpConstructInt16;
10940|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10941|       |        // so construct a 32-bit type and convert
10942|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10943|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10943:13): [True: 0, False: 0]
  |  Branch (10943:59): [True: 0, False: 0]
  ------------------
10944|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10945|      0|            newNode = node;
10946|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10946:17): [True: 0, False: 0]
  ------------------
10947|      0|                TOperator aggregateOp;
10948|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10948:21): [True: 0, False: 0]
  ------------------
10949|      0|                    aggregateOp = EOpConstructInt;
10950|      0|                else
10951|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10952|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10953|      0|            }
10954|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10955|      0|            return newNode;
10956|      0|        }
10957|      0|        break;
10958|       |
10959|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10959:5): [True: 0, False: 117]
  ------------------
10960|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10960:5): [True: 0, False: 117]
  ------------------
10961|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10961:5): [True: 0, False: 117]
  ------------------
10962|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10962:5): [True: 0, False: 117]
  ------------------
10963|      0|        basicOp = EOpConstructUint16;
10964|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10965|       |        // so construct a 32-bit type and convert
10966|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10967|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10967:13): [True: 0, False: 0]
  |  Branch (10967:59): [True: 0, False: 0]
  ------------------
10968|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10969|      0|            newNode = node;
10970|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10970:17): [True: 0, False: 0]
  ------------------
10971|      0|                TOperator aggregateOp;
10972|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10972:21): [True: 0, False: 0]
  ------------------
10973|      0|                    aggregateOp = EOpConstructUint;
10974|      0|                else
10975|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10976|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10977|      0|            }
10978|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10979|      0|            return newNode;
10980|      0|        }
10981|      0|        break;
10982|       |
10983|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10983:5): [True: 0, False: 117]
  ------------------
10984|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10984:5): [True: 0, False: 117]
  ------------------
10985|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10985:5): [True: 0, False: 117]
  ------------------
10986|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10986:5): [True: 0, False: 117]
  ------------------
10987|      0|        basicOp = EOpConstructInt64;
10988|      0|        break;
10989|       |
10990|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10990:5): [True: 0, False: 117]
  ------------------
10991|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10991:13): [True: 0, False: 0]
  |  Branch (10991:32): [True: 0, False: 0]
  ------------------
10992|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10993|      0|            return newNode;
10994|      0|        }
10995|      0|        [[fallthrough]];
10996|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10996:5): [True: 0, False: 117]
  ------------------
10997|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10997:5): [True: 0, False: 117]
  ------------------
10998|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10998:5): [True: 0, False: 117]
  ------------------
10999|      0|        basicOp = EOpConstructUint64;
11000|      0|        break;
11001|       |
11002|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (11002:5): [True: 0, False: 117]
  ------------------
11003|       |        // Make a nonuniform copy of node
11004|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
11005|      0|        return newNode;
11006|       |
11007|      0|    case EOpConstructReference:
  ------------------
  |  Branch (11007:5): [True: 0, False: 117]
  ------------------
11008|       |        // construct reference from reference
11009|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (11009:13): [True: 0, False: 0]
  ------------------
11010|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
11011|      0|            return newNode;
11012|       |        // construct reference from uint64
11013|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (11013:20): [True: 0, False: 0]
  |  Branch (11013:50): [True: 0, False: 0]
  ------------------
11014|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
11015|      0|                type);
11016|      0|            return newNode;
11017|       |        // construct reference from uvec2
11018|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (11018:20): [True: 0, False: 0]
  |  Branch (11018:50): [True: 0, False: 0]
  ------------------
11019|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (11019:20): [True: 0, False: 0]
  ------------------
11020|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
11021|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
11022|      0|                type);
11023|      0|            return newNode;
11024|      0|        } else {
11025|      0|            return nullptr;
11026|      0|        }
11027|       |
11028|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (11028:5): [True: 0, False: 117]
  ------------------
11029|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (11029:13): [True: 0, False: 0]
  ------------------
11030|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (11030:17): [True: 0, False: 0]
  ------------------
11031|      0|                node = intermediate.addConversion(type.getBasicType(), node);
11032|      0|                if (node == nullptr)
  ------------------
  |  Branch (11032:21): [True: 0, False: 0]
  ------------------
11033|      0|                    return nullptr;
11034|      0|            }
11035|      0|        }
11036|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (11036:13): [True: 0, False: 0]
  ------------------
11037|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
11038|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
11039|      0|            return node;
11040|      0|        }
11041|      0|        if (subset) {
  ------------------
  |  Branch (11041:13): [True: 0, False: 0]
  ------------------
11042|      0|            return node;
11043|      0|        }
11044|       |
11045|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
11046|       |
11047|      0|        return node;
11048|       |
11049|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (11049:5): [True: 0, False: 117]
  ------------------
11050|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (11050:5): [True: 0, False: 117]
  ------------------
11051|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (11051:13): [True: 0, False: 0]
  ------------------
11052|      0|            return node;
11053|      0|        }
11054|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (11054:13): [True: 0, False: 0]
  ------------------
11055|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (11055:17): [True: 0, False: 0]
  ------------------
11056|      0|                node = intermediate.addConversion(type.getBasicType(), node);
11057|      0|                if (node == nullptr)
  ------------------
  |  Branch (11057:21): [True: 0, False: 0]
  ------------------
11058|      0|                    return nullptr;
11059|      0|            }
11060|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
11061|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (11061:20): [True: 0, False: 0]
  |  Branch (11061:62): [True: 0, False: 0]
  ------------------
11062|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (11062:20): [True: 0, False: 0]
  ------------------
11063|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
11064|      0|        } else {
11065|      0|            TOperator op = EOpConvNumeric;
11066|       |
11067|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
11068|       |            // If it's a (non-specialization) constant, it must be folded.
11069|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (11069:17): [True: 0, False: 0]
  ------------------
11070|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
11071|      0|        }
11072|       |
11073|      0|        return node;
11074|       |
11075|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (11075:5): [True: 0, False: 117]
  ------------------
11076|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (11076:14): [True: 0, False: 0]
  |  Branch (11076:44): [True: 0, False: 0]
  ------------------
11077|       |            // construct acceleration structure from uint64
11078|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
11079|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
11080|      0|                type);
11081|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (11081:20): [True: 0, False: 0]
  |  Branch (11081:50): [True: 0, False: 0]
  |  Branch (11081:95): [True: 0, False: 0]
  ------------------
11082|       |            // construct acceleration structure from uint64
11083|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
11084|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
11085|      0|                type);
11086|      0|        } else
11087|      0|            return nullptr;
11088|       |
11089|      0|    default:
  ------------------
  |  Branch (11089:5): [True: 0, False: 117]
  ------------------
11090|      0|        error(loc, "unsupported construction", "", "");
11091|       |
11092|      0|        return nullptr;
11093|    117|    }
11094|    117|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
11095|    117|    if (newNode == nullptr) {
  ------------------
  |  Branch (11095:9): [True: 0, False: 117]
  ------------------
11096|      0|        error(loc, "can't convert", "constructor", "");
11097|      0|        return nullptr;
11098|      0|    }
11099|       |
11100|       |    //
11101|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
11102|       |    //
11103|       |
11104|       |    // Otherwise, skip out early.
11105|    117|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (11105:9): [True: 78, False: 39]
  |  Branch (11105:20): [True: 7, False: 32]
  |  Branch (11105:39): [True: 7, False: 0]
  ------------------
11106|     85|        return newNode;
11107|       |
11108|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
11109|     32|    return intermediate.setAggregateOperator(newNode, op, type, loc);
11110|    117|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
11112|    360|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
11113|    360|    if (parsingBuiltins) {
  ------------------
  |  Branch (11113:9): [True: 360, False: 0]
  ------------------
11114|    360|        F->setVariadic();
11115|    360|    } else {
11116|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
11117|      0|    }
11118|    360|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
11122|    360|{
11123|    360|    if (!parsingBuiltins) {
  ------------------
  |  Branch (11123:9): [True: 0, False: 360]
  ------------------
11124|      0|        error(loc, "default argument values are only available for builtins", "=", "");
11125|      0|        initializer = nullptr;
11126|      0|    }
11127|    360|    if (ty.arraySizes) {
  ------------------
  |  Branch (11127:9): [True: 0, False: 360]
  ------------------
11128|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
11129|      0|        initializer = nullptr;
11130|      0|    }
11131|    360|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (11131:9): [True: 0, False: 360]
  ------------------
11132|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
11133|      0|        initializer = nullptr;
11134|      0|    }
11135|    360|    reservedErrorCheck(loc, *identifier);
11136|    360|    TParameter param = {identifier, new TType(ty), initializer};
11137|    360|    return param;
11138|    360|}
_ZN7glslang13TParseContext18constructAggregateEP11TIntermNodeRKNS_5TTypeEiRKNS_10TSourceLocE:
11146|      1|{
11147|      1|    TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped());
11148|      1|    if (! converted || converted->getType() != type) {
  ------------------
  |  Branch (11148:9): [True: 0, False: 1]
  |  Branch (11148:24): [True: 1, False: 0]
  ------------------
11149|      1|        bool enhanced = intermediate.getEnhancedMsgs();
11150|      1|        error(loc, "", "constructor", "cannot convert parameter %d from '%s' to '%s'", paramCount,
11151|      1|              node->getAsTyped()->getType().getCompleteString(enhanced).c_str(), type.getCompleteString(enhanced).c_str());
11152|       |
11153|      1|        return nullptr;
11154|      1|    }
11155|       |
11156|      0|    return converted;
11157|      1|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
11161|    318|{
11162|    318|    if (from.isReadOnly())
  ------------------
  |  Branch (11162:9): [True: 0, False: 318]
  ------------------
11163|      0|        to.readonly = from.readonly;
11164|    318|    if (from.isWriteOnly())
  ------------------
  |  Branch (11164:9): [True: 0, False: 318]
  ------------------
11165|      0|        to.writeonly = from.writeonly;
11166|    318|    if (from.coherent)
  ------------------
  |  Branch (11166:9): [True: 0, False: 318]
  ------------------
11167|      0|        to.coherent = from.coherent;
11168|    318|    if (from.volatil)
  ------------------
  |  Branch (11168:9): [True: 0, False: 318]
  ------------------
11169|      0|        to.volatil = from.volatil;
11170|    318|    if (from.nontemporal)
  ------------------
  |  Branch (11170:9): [True: 0, False: 318]
  ------------------
11171|      0|        to.nontemporal = from.nontemporal;
11172|    318|    if (from.restrict)
  ------------------
  |  Branch (11172:9): [True: 0, False: 318]
  ------------------
11173|      0|        to.restrict = from.restrict;
11174|    318|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
11249|  3.98k|{
11250|       |    // EXT_descriptor_heap
11251|  3.98k|    bool isHeapStruct =
11252|  3.98k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (11252:10): [True: 0, False: 3.98k]
  |  Branch (11252:59): [True: 0, False: 3.98k]
  ------------------
11253|       |
11254|  3.98k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (11254:9): [True: 0, False: 3.98k]
  |  Branch (11254:72): [True: 0, False: 0]
  ------------------
11255|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (11255:9): [True: 0, False: 0]
  |  Branch (11255:42): [True: 0, False: 0]
  ------------------
11256|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (11256:13): [True: 0, False: 0]
  |  Branch (11256:57): [True: 0, False: 0]
  ------------------
11257|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (11257:18): [True: 0, False: 0]
  |  Branch (11257:48): [True: 0, False: 0]
  ------------------
11258|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (11258:18): [True: 0, False: 0]
  |  Branch (11258:49): [True: 0, False: 0]
  ------------------
11259|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
11260|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
11261|      0|            }
11262|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (11262:17): [True: 0, False: 0]
  ------------------
11263|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (11263:18): [True: 0, False: 0]
  |  Branch (11263:61): [True: 0, False: 0]
  ------------------
11264|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
11265|      0|                    "declared with a run-time sized array type.", name, "");
11266|      0|                return false;
11267|      0|            }
11268|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (11268:17): [True: 0, False: 0]
  |  Branch (11268:54): [True: 0, False: 0]
  ------------------
11269|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
11270|      0|                      name, "");
11271|      0|                return false;
11272|      0|            }
11273|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (11273:17): [True: 0, False: 0]
  |  Branch (11273:46): [True: 0, False: 0]
  ------------------
11274|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
11275|      0|                      name, "");
11276|      0|                return false;
11277|      0|            }
11278|       |
11279|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (11279:17): [True: 0, False: 0]
  |  Branch (11279:33): [True: 0, False: 0]
  ------------------
11280|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
11281|      0|                return false;
11282|      0|            }
11283|       |
11284|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
11285|      0|        }
11286|      0|    }
11287|  3.98k|    return true;
11288|  3.98k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
11300|     59|{
11301|     59|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (11301:9): [True: 36, False: 23]
  |  Branch (11301:34): [True: 0, False: 36]
  ------------------
11302|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
11303|     59|    blockStageIoCheck(loc, currentBlockQualifier);
11304|     59|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
11305|     59|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (11305:9): [True: 38, False: 21]
  ------------------
11306|     38|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
11307|     38|        arrayOfArrayVersionCheck(loc, arraySizes);
11308|     38|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (11308:13): [True: 0, False: 38]
  ------------------
11309|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
11310|     38|    }
11311|       |
11312|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
11313|    377|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11313:35): [True: 318, False: 59]
  ------------------
11314|    318|        TType& memberType = *typeList[member].type;
11315|    318|        TQualifier& memberQualifier = memberType.getQualifier();
11316|    318|        const TSourceLoc& memberLoc = typeList[member].loc;
11317|    318|        const bool heapBufferTypeMember =
11318|    318|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11319|    318|        const bool heapBlockMember =
11320|    318|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (11320:13): [True: 0, False: 318]
  |  Branch (11320:65): [True: 0, False: 318]
  ------------------
11321|    318|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (11321:13): [True: 0, False: 318]
  |  Branch (11321:53): [True: 0, False: 0]
  ------------------
11322|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
11323|    318|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (11323:13): [True: 288, False: 30]
  |  Branch (11323:56): [True: 0, False: 288]
  ------------------
11324|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (11324:13): [True: 0, False: 0]
  |  Branch (11324:73): [True: 0, False: 0]
  ------------------
11325|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
11326|    318|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (11326:13): [True: 318, False: 0]
  ------------------
11327|    318|            memberQualifier.storage = currentBlockQualifier.storage;
11328|    318|        globalQualifierFixCheck(memberLoc, memberQualifier);
11329|    318|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
11330|    318|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (11330:13): [True: 66, False: 252]
  ------------------
11331|     66|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
11332|    318|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (11332:13): [True: 0, False: 318]
  ------------------
11333|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
11334|    318|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (11334:13): [True: 0, False: 318]
  ------------------
11335|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
11336|    318|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (11336:13): [True: 0, False: 318]
  ------------------
11337|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
11338|    318|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (11338:13): [True: 0, False: 318]
  ------------------
11339|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
11340|    318|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (11340:13): [True: 0, False: 318]
  |  Branch (11340:51): [True: 0, False: 0]
  ------------------
11341|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
11342|    318|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (11342:14): [True: 0, False: 318]
  |  Branch (11342:61): [True: 0, False: 318]
  |  Branch (11342:109): [True: 0, False: 0]
  |  Branch (11342:146): [True: 0, False: 0]
  ------------------
11343|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
11344|    318|        if (memberType.isArray())
  ------------------
  |  Branch (11344:13): [True: 160, False: 158]
  ------------------
11345|    160|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
11346|    318|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11346:13): [True: 0, False: 318]
  ------------------
11347|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11347:17): [True: 0, False: 0]
  ------------------
11348|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11349|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11350|      0|            }
11351|      0|        }
11352|       |
11353|    318|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (11353:13): [True: 0, False: 318]
  |  Branch (11353:92): [True: 0, False: 0]
  ------------------
11354|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
11355|       |
11356|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
11357|    318|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (11357:13): [True: 0, False: 318]
  |  Branch (11357:44): [True: 0, False: 0]
  ------------------
11358|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (11358:17): [True: 0, False: 0]
  |  Branch (11358:49): [True: 0, False: 0]
  ------------------
11359|      0|                updateBindlessQualifier(memberType);
11360|      0|            else
11361|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
11362|      0|        }
11363|       |
11364|    318|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (11364:13): [True: 0, False: 318]
  ------------------
11365|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
11366|       |
11367|    318|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (11367:13): [True: 0, False: 318]
  ------------------
11368|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
11369|       |
11370|    318|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (11370:13): [True: 0, False: 318]
  ------------------
11371|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
11372|    318|    }
11373|       |
11374|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
11375|       |    // do all the rest.
11376|     59|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (11376:9): [True: 0, False: 59]
  |  Branch (11376:43): [True: 0, False: 0]
  ------------------
11377|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
11378|      0|        return nullptr;
11379|      0|    }
11380|       |
11381|       |    // Not a redeclaration of a built-in; check that all names are user names.
11382|     59|    reservedErrorCheck(loc, *blockName);
11383|     59|    if (instanceName)
  ------------------
  |  Branch (11383:9): [True: 38, False: 21]
  ------------------
11384|     38|        reservedErrorCheck(loc, *instanceName);
11385|    377|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11385:35): [True: 318, False: 59]
  ------------------
11386|    318|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
11387|       |
11388|       |    // Make default block qualification, and adjust the member qualifications
11389|       |
11390|     59|    TQualifier defaultQualification;
11391|     59|    switch (currentBlockQualifier.storage) {
11392|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (11392:5): [True: 0, False: 59]
  ------------------
11393|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (11393:5): [True: 0, False: 59]
  ------------------
11394|      7|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (11394:5): [True: 7, False: 52]
  ------------------
11395|     52|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (11395:5): [True: 52, False: 7]
  ------------------
11396|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (11396:5): [True: 0, False: 59]
  ------------------
11397|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (11397:5): [True: 0, False: 59]
  ------------------
11398|     59|    }
11399|       |
11400|       |    // Special case for "push_constant uniform", which has a default of std430,
11401|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
11402|     59|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (11402:10): [True: 0, False: 59]
  |  Branch (11402:52): [True: 0, False: 0]
  ------------------
11403|     59|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (11403:10): [True: 0, False: 59]
  |  Branch (11403:52): [True: 0, False: 0]
  ------------------
11404|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11405|       |
11406|       |    // Special case for "taskNV in/out", which has a default of std430,
11407|     59|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (11407:9): [True: 0, False: 59]
  |  Branch (11407:49): [True: 0, False: 0]
  ------------------
11408|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11409|       |
11410|       |    // fix and check for member layout qualifiers
11411|       |
11412|     59|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
11413|       |
11414|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11415|     59|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (11415:9): [True: 0, False: 59]
  ------------------
11416|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11416:13): [True: 0, False: 0]
  ------------------
11417|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11417:13): [True: 0, False: 0]
  ------------------
11418|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (11418:13): [True: 0, False: 0]
  ------------------
11419|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
11420|      0|            defaultQualification.layoutAlign = -1;
11421|      0|        }
11422|      0|    }
11423|       |
11424|     59|    bool memberWithLocation = false;
11425|     59|    bool memberWithoutLocation = false;
11426|     59|    bool memberWithPerViewQualifier = false;
11427|    377|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11427:35): [True: 318, False: 59]
  ------------------
11428|    318|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11429|    318|        const TSourceLoc& memberLoc = typeList[member].loc;
11430|    318|        const bool heapBufferTypeMember =
11431|    318|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11432|    318|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (11432:13): [True: 0, False: 318]
  ------------------
11433|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (11433:17): [True: 0, False: 0]
  ------------------
11434|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
11435|      0|        }
11436|       |
11437|       |        // "This includes a block's inheritance of the
11438|       |        // current global default buffer, a block member's inheritance of the block's
11439|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
11440|       |        // member must match the buffer inherited from the block."
11441|    318|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (11441:13): [True: 0, False: 318]
  ------------------
11442|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (11442:17): [True: 0, False: 0]
  ------------------
11443|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
11444|      0|        }
11445|       |
11446|    318|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (11446:13): [True: 0, False: 318]
  |  Branch (11446:45): [True: 0, False: 0]
  ------------------
11447|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
11448|    318|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11448:13): [True: 0, False: 318]
  ------------------
11449|      0|            const char* feature = "location on block member";
11450|      0|            switch (currentBlockQualifier.storage) {
11451|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (11451:13): [True: 0, False: 0]
  ------------------
11452|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (11452:13): [True: 0, False: 0]
  ------------------
11453|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
11454|      0|                if (spvVersion.spv == 0)
  ------------------
  |  Branch (11454:21): [True: 0, False: 0]
  ------------------
11455|      0|                    profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts,
11456|      0|                                    feature);
11457|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
11458|      0|                memberWithLocation = true;
11459|      0|                break;
11460|      0|            default:
  ------------------
  |  Branch (11460:13): [True: 0, False: 0]
  ------------------
11461|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
11462|      0|                break;
11463|      0|            }
11464|      0|        } else
11465|    318|            memberWithoutLocation = true;
11466|       |
11467|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
11468|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11469|    318|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11469:13): [True: 0, False: 318]
  |  Branch (11469:43): [True: 0, False: 318]
  ------------------
11470|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11470:17): [True: 0, False: 0]
  ------------------
11471|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11471:17): [True: 0, False: 0]
  ------------------
11472|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11472:17): [True: 0, False: 0]
  ------------------
11473|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
11474|      0|        }
11475|       |
11476|    318|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (11476:13): [True: 30, False: 288]
  ------------------
11477|     30|            memberWithPerViewQualifier = true;
11478|     30|        }
11479|       |
11480|    318|        TQualifier newMemberQualification = defaultQualification;
11481|    318|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
11482|    318|        memberQualifier = newMemberQualification;
11483|    318|    }
11484|       |
11485|     59|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
11486|       |
11487|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
11488|       |    // because if the block has a XfbOffset assigned, then it is
11489|       |    // assumed that it has implicitly assigned the current global
11490|       |    // XfbBuffer, and because it's members need to be assigned a
11491|       |    // XfbOffset if they lack it.
11492|     59|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (11492:9): [True: 52, False: 7]
  |  Branch (11492:59): [True: 28, False: 24]
  ------------------
11493|     28|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (11493:12): [True: 28, False: 0]
  |  Branch (11493:53): [True: 0, False: 28]
  ------------------
11494|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
11495|     28|    }
11496|       |
11497|       |    // Process the members
11498|     59|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
11499|     59|    fixXfbOffsets(currentBlockQualifier, typeList);
11500|     59|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
11501|     59|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
11502|     59|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
11503|    377|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11503:35): [True: 318, False: 59]
  ------------------
11504|    318|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
11505|       |
11506|     59|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (11506:9): [True: 12, False: 47]
  ------------------
11507|     90|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11507:39): [True: 78, False: 12]
  ------------------
11508|     78|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
11509|     78|        }
11510|     12|    }
11511|       |
11512|       |    // reverse merge, so that currentBlockQualifier now has all layout information
11513|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
11514|     59|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
11515|       |
11516|       |    //
11517|       |    // Build and add the interface block as a new type named 'blockName'
11518|       |    //
11519|       |
11520|     59|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11521|     59|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11521:9): [True: 38, False: 21]
  ------------------
11522|     38|        blockType.transferArraySizes(arraySizes);
11523|       |
11524|     59|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11524:9): [True: 21, False: 38]
  ------------------
11525|     21|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11525:38): [True: 0, False: 21]
  ------------------
11526|     59|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11526:9): [True: 0, False: 59]
  ------------------
11527|       |
11528|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11528:13): [True: 0, False: 0]
  ------------------
11529|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11530|       |
11531|      0|        if (currentBlockQualifier.bufferReferenceNeedsVulkanMemoryModel())
  ------------------
  |  Branch (11531:13): [True: 0, False: 0]
  ------------------
11532|      0|            intermediate.setUseVulkanMemoryModel();
11533|      0|        for (const auto& member : typeList)
  ------------------
  |  Branch (11533:33): [True: 0, False: 0]
  ------------------
11534|      0|            if (member.type->getQualifier().bufferReferenceNeedsVulkanMemoryModel())
  ------------------
  |  Branch (11534:17): [True: 0, False: 0]
  ------------------
11535|      0|                intermediate.setUseVulkanMemoryModel();
11536|       |
11537|       |
11538|       |        // Create the block reference type. If it was forward-declared, detect that
11539|       |        // as a referent struct type with no members. Replace the referent type with
11540|       |        // blockType.
11541|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11542|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11543|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11543:13): [True: 0, False: 0]
  ------------------
11544|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11545|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11545:17): [True: 0, False: 0]
  ------------------
11546|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11546:17): [True: 0, False: 0]
  ------------------
11547|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11547:17): [True: 0, False: 0]
  ------------------
11548|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11548:17): [True: 0, False: 0]
  ------------------
11549|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11550|      0|            } else {
11551|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11552|      0|            }
11553|      0|        }
11554|      0|        if (!instanceName) {
  ------------------
  |  Branch (11554:13): [True: 0, False: 0]
  ------------------
11555|      0|            return nullptr;
11556|      0|        }
11557|     59|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11557:16): [True: 0, False: 59]
  ------------------
11558|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11559|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11560|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11560:13): [True: 0, False: 0]
  ------------------
11561|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11562|      0|            return nullptr;
11563|      0|        }
11564|      0|        if (!instanceName)
  ------------------
  |  Branch (11564:13): [True: 0, False: 0]
  ------------------
11565|      0|            return nullptr;
11566|     59|    } else {
11567|       |        //
11568|       |        // Don't make a user-defined type out of block name; that will cause an error
11569|       |        // if the same block name gets reused in a different interface.
11570|       |        //
11571|       |        // "Block names have no other use within a shader
11572|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11573|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11574|       |        // currently reserved)."
11575|       |        //
11576|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11577|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11578|       |        // the instances point to.
11579|       |        //
11580|     59|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11581|     59|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11582|     59|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11582:13): [True: 7, False: 52]
  ------------------
11583|      7|            TSymbol* existingName = symbolTable.find(*blockName);
11584|      7|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11584:17): [True: 7, False: 0]
  ------------------
11585|      7|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11585:21): [True: 0, False: 7]
  ------------------
11586|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), "%s", blockType.getStorageQualifierString());
11587|      0|                    return nullptr;
11588|      0|                }
11589|      7|            } else {
11590|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11591|      0|                return nullptr;
11592|      0|            }
11593|      7|        }
11594|     59|    }
11595|       |
11596|       |    // Add the variable, as anonymous or named instanceName.
11597|       |    // Make an anonymous variable if no name was provided.
11598|     59|    if (! instanceName)
  ------------------
  |  Branch (11598:9): [True: 21, False: 38]
  ------------------
11599|     21|        instanceName = NewPoolTString("");
11600|       |
11601|     59|    TVariable& variable = *new TVariable(instanceName, blockType);
11602|     59|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11602:9): [True: 0, False: 59]
  ------------------
11603|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11603:13): [True: 0, False: 0]
  ------------------
11604|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11605|      0|        else
11606|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11607|       |
11608|      0|        return nullptr;
11609|      0|    }
11610|       |
11611|       |    // EXT_descriptor_heap
11612|     59|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11612:9): [True: 0, False: 59]
  ------------------
11613|      0|        return nullptr;
11614|      0|    }
11615|       |
11616|       |    // Check for general layout qualifier errors
11617|     59|    layoutObjectCheck(loc, variable);
11618|       |
11619|       |    // fix up
11620|     59|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11620:9): [True: 38, False: 21]
  ------------------
11621|     38|        ioArraySymbolResizeList.push_back(&variable);
11622|     38|        checkIoArraysConsistency(loc, true);
11623|     38|    } else
11624|     21|        fixIoArraySize(loc, variable.getWritableType());
11625|       |
11626|       |    // Save it in the AST for linker use.
11627|     59|    trackLinkage(variable);
11628|       |
11629|     59|    TIntermAggregate* declNode = nullptr;
11630|     59|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11630:9): [True: 0, False: 59]
  ------------------
11631|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11632|      0|        blockDeclNode->setLoc(loc);
11633|       |
11634|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11635|      0|        declNode = new TIntermAggregate(EOpSequence);
11636|      0|        declNode->getSequence().push_back(blockDeclNode);
11637|      0|    }
11638|     59|    return declNode;
11639|     59|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11655|     59|{
11656|     59|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11657|     59|    switch (qualifier.storage) {
11658|      0|    case EvqUniform:
  ------------------
  |  Branch (11658:5): [True: 0, False: 59]
  ------------------
11659|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11660|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11661|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11661:13): [True: 0, False: 0]
  |  Branch (11661:65): [True: 0, False: 0]
  ------------------
11662|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11663|      0|        break;
11664|      0|    case EvqBuffer:
  ------------------
  |  Branch (11664:5): [True: 0, False: 59]
  ------------------
11665|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11666|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11667|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11668|      0|        break;
11669|      7|    case EvqVaryingIn:
  ------------------
  |  Branch (11669:5): [True: 7, False: 52]
  ------------------
11670|      7|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11671|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11672|       |        // "Compute shaders do not permit user-defined input variables..."
11673|      7|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11674|      7|            EShLangFragmentMask|EShLangMeshMask), "input block");
11675|      7|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11675:13): [True: 0, False: 7]
  ------------------
11676|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11677|      7|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11677:20): [True: 0, False: 7]
  |  Branch (11677:47): [True: 0, False: 0]
  ------------------
11678|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11679|      0|        }
11680|      7|        break;
11681|     52|    case EvqVaryingOut:
  ------------------
  |  Branch (11681:5): [True: 52, False: 7]
  ------------------
11682|     52|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11683|     52|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11684|     52|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11685|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11686|     52|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11686:13): [True: 7, False: 45]
  |  Branch (11686:42): [True: 0, False: 7]
  ------------------
11687|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11688|     52|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11688:20): [True: 24, False: 28]
  |  Branch (11688:47): [True: 0, False: 24]
  ------------------
11689|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11690|     52|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11690:20): [True: 0, False: 52]
  |  Branch (11690:47): [True: 0, False: 0]
  ------------------
11691|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11692|      0|        }
11693|     52|        break;
11694|      0|    case EvqShared:
  ------------------
  |  Branch (11694:5): [True: 0, False: 59]
  ------------------
11695|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11695:13): [True: 0, False: 0]
  |  Branch (11695:35): [True: 0, False: 0]
  ------------------
11696|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11697|      0|        }
11698|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11699|      0|        break;
11700|      0|    case EvqPayload:
  ------------------
  |  Branch (11700:5): [True: 0, False: 59]
  ------------------
11701|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11702|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11703|      0|            "rayPayloadNV block");
11704|      0|        break;
11705|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11705:5): [True: 0, False: 59]
  ------------------
11706|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11707|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11708|      0|            "rayPayloadInNV block");
11709|      0|        break;
11710|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11710:5): [True: 0, False: 59]
  ------------------
11711|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11712|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11713|      0|        break;
11714|      0|    case EvqCallableData:
  ------------------
  |  Branch (11714:5): [True: 0, False: 59]
  ------------------
11715|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11716|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11717|      0|            "callableDataNV block");
11718|      0|        break;
11719|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11719:5): [True: 0, False: 59]
  ------------------
11720|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11721|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11722|      0|        break;
11723|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11723:5): [True: 0, False: 59]
  ------------------
11724|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11725|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11726|      0|        break;
11727|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11727:5): [True: 0, False: 59]
  ------------------
11728|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11729|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11730|      0|        break;
11731|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11731:5): [True: 0, False: 59]
  ------------------
11732|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11733|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11734|      0|        break;
11735|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11735:5): [True: 0, False: 59]
  ------------------
11736|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11737|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11738|      0|        break;
11739|      0|    default:
  ------------------
  |  Branch (11739:5): [True: 0, False: 59]
  ------------------
11740|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11741|      0|        break;
11742|     59|    }
11743|     59|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11747|     59|{
11748|       |    // The 4.5 specification says:
11749|       |    //
11750|       |    // interface-block :
11751|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11752|       |    //
11753|       |    // interface-qualifier :
11754|       |    //    in
11755|       |    //    out
11756|       |    //    patch in
11757|       |    //    patch out
11758|       |    //    uniform
11759|       |    //    buffer
11760|       |    //
11761|       |    // Note however memory qualifiers aren't included, yet the specification also says
11762|       |    //
11763|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11764|       |
11765|     59|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11765:9): [True: 0, False: 59]
  ------------------
11766|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11767|     59|    if (qualifier.centroid)
  ------------------
  |  Branch (11767:9): [True: 0, False: 59]
  ------------------
11768|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11769|     59|    if (qualifier.isSample())
  ------------------
  |  Branch (11769:9): [True: 0, False: 59]
  ------------------
11770|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11771|     59|    if (qualifier.invariant)
  ------------------
  |  Branch (11771:9): [True: 0, False: 59]
  ------------------
11772|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11773|     59|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11773:9): [True: 0, False: 59]
  ------------------
11774|      0|        intermediate.addPushConstantCount();
11775|     59|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11775:9): [True: 0, False: 59]
  ------------------
11776|      0|        intermediate.addShaderRecordCount();
11777|     59|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11777:9): [True: 0, False: 59]
  ------------------
11778|      0|        intermediate.addTaskNVCount();
11779|     59|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11779:9): [True: 0, False: 59]
  ------------------
11780|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11780:13): [True: 0, False: 0]
  |  Branch (11780:48): [True: 0, False: 0]
  ------------------
11781|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11782|      0|        if (instanceName)
  ------------------
  |  Branch (11782:13): [True: 0, False: 0]
  ------------------
11783|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11784|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11784:13): [True: 0, False: 0]
  ------------------
11785|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11786|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11786:13): [True: 0, False: 0]
  ------------------
11787|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11788|      0|    }
11789|     59|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11799|     59|{
11800|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11801|       |    // have a location layout qualifier, or a compile-time error results."
11802|     59|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11802:9): [True: 59, False: 0]
  |  Branch (11802:38): [True: 0, False: 59]
  |  Branch (11802:60): [True: 0, False: 0]
  ------------------
11803|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11804|     59|    else {
11805|     59|        if (memberWithLocation) {
  ------------------
  |  Branch (11805:13): [True: 0, False: 59]
  ------------------
11806|       |            // remove any block-level location and make it per *every* member
11807|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11808|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11808:17): [True: 0, False: 0]
  ------------------
11809|      0|                nextLocation = qualifier.layoutLocation;
11810|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11811|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11811:21): [True: 0, False: 0]
  ------------------
11812|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11813|      0|                    error(loc, "cannot apply to a block", "component", "");
11814|      0|                }
11815|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11815:21): [True: 0, False: 0]
  ------------------
11816|      0|                    error(loc, "cannot apply to a block", "index", "");
11817|      0|                }
11818|      0|            }
11819|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11819:43): [True: 0, False: 0]
  ------------------
11820|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11821|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11822|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11822:21): [True: 0, False: 0]
  ------------------
11823|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11823:25): [True: 0, False: 0]
  ------------------
11824|      0|                        error(memberLoc, "location is too large", "location", "");
11825|      0|                    memberQualifier.layoutLocation = nextLocation;
11826|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11827|      0|                }
11828|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11829|      0|                                    *typeList[member].type, language);
11830|      0|            }
11831|      0|        }
11832|     59|    }
11833|     59|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11836|     59|{
11837|       |    // "If a block is qualified with xfb_offset, all its
11838|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11839|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11840|       |    // offsets."
11841|       |
11842|     59|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11842:9): [True: 59, False: 0]
  |  Branch (11842:39): [True: 0, False: 0]
  ------------------
11843|     59|        return;
11844|       |
11845|      0|    int nextOffset = qualifier.layoutXfbOffset;
11846|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11846:35): [True: 0, False: 0]
  ------------------
11847|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11848|      0|        bool contains64BitType = false;
11849|      0|        bool contains32BitType = false;
11850|      0|        bool contains16BitType = false;
11851|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11852|       |        // see if we need to auto-assign an offset to this member
11853|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11853:13): [True: 0, False: 0]
  ------------------
11854|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11855|      0|            if (contains64BitType)
  ------------------
  |  Branch (11855:17): [True: 0, False: 0]
  ------------------
11856|      0|                RoundToPow2(nextOffset, 8);
11857|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11857:22): [True: 0, False: 0]
  ------------------
11858|      0|                RoundToPow2(nextOffset, 4);
11859|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11859:22): [True: 0, False: 0]
  ------------------
11860|      0|                RoundToPow2(nextOffset, 2);
11861|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11862|      0|        } else
11863|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11864|      0|        nextOffset += memberSize;
11865|      0|    }
11866|       |
11867|       |    // The above gave all block members an offset, so we can take it off the block now,
11868|       |    // which will avoid double counting the offset usage.
11869|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11870|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11879|     59|{
11880|     59|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11880:9): [True: 59, False: 0]
  |  Branch (11880:60): [True: 59, False: 0]
  ------------------
11881|     59|        return;
11882|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11882:9): [True: 0, False: 0]
  |  Branch (11882:49): [True: 0, False: 0]
  |  Branch (11882:89): [True: 0, False: 0]
  ------------------
11883|      0|        return;
11884|       |
11885|      0|    int offset = 0;
11886|      0|    int memberSize;
11887|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11887:35): [True: 0, False: 0]
  ------------------
11888|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11889|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11890|       |
11891|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11892|       |
11893|       |        // modify just the children's view of matrix layout, if there is one for this member
11894|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11895|      0|        int dummyStride;
11896|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11897|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11897:63): [True: 0, False: 0]
  ------------------
11898|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11898:13): [True: 0, False: 0]
  ------------------
11899|       |            // "The specified offset must be a multiple
11900|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11901|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11901:17): [True: 0, False: 0]
  ------------------
11902|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11903|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11904|       |
11905|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11906|       |            // member in the block or that lies within the previous member of the block"
11907|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11907:17): [True: 0, False: 0]
  ------------------
11908|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11908:21): [True: 0, False: 0]
  ------------------
11909|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11910|       |
11911|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11912|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11913|       |                // "The actual offset of a member is computed as
11914|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11915|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11916|      0|            } else {
11917|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11918|       |                // that lies within another member of the block."
11919|       |
11920|      0|                offset = memberQualifier.layoutOffset;
11921|      0|            }
11922|      0|        }
11923|       |
11924|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11925|       |        // (e.g., std140) base alignment for the member's type."
11926|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11926:13): [True: 0, False: 0]
  ------------------
11927|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11928|       |
11929|       |        // "If the resulting offset is not a multiple of the actual alignment,
11930|       |        // increase it to the first offset that is a multiple of
11931|       |        // the actual alignment."
11932|      0|        RoundToPow2(offset, memberAlignment);
11933|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11934|      0|        offset += memberSize;
11935|      0|    }
11936|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11944|     59|{
11945|     59|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11946|    377|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11946:35): [True: 318, False: 59]
  ------------------
11947|    318|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11947:13): [True: 0, False: 318]
  ------------------
11948|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11948:17): [True: 0, False: 0]
  ------------------
11949|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11949:22): [True: 0, False: 0]
  ------------------
11950|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11950:22): [True: 0, False: 0]
  ------------------
11951|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11951:21): [True: 0, False: 0]
  ------------------
11952|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11953|      0|                }
11954|      0|            } else {
11955|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11955:22): [True: 0, False: 0]
  ------------------
11956|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11956:22): [True: 0, False: 0]
  ------------------
11957|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11957:21): [True: 0, False: 0]
  ------------------
11958|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11959|      0|                }
11960|      0|            }
11961|      0|        }
11962|       |
11963|    318|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11963:13): [True: 0, False: 318]
  ------------------
11964|      0|            TQualifier* memberQualifier = nullptr;
11965|       |            // block member can be declare a matrix style, so it should be update to the member's style
11966|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11966:17): [True: 0, False: 0]
  ------------------
11967|      0|                memberQualifier = &qualifier;
11968|      0|            } else {
11969|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11970|      0|            }
11971|       |
11972|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11972:36): [True: 0, False: 0]
  ------------------
11973|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11974|       |
11975|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11976|      0|                                        tmpType->getWritableStruct());
11977|       |
11978|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11979|       |
11980|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11980:17): [True: 0, False: 0]
  ------------------
11981|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11982|      0|            }
11983|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11983:17): [True: 0, False: 0]
  ------------------
11984|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11985|      0|            }
11986|      0|        }
11987|    318|    }
11988|     59|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11996|     59|{
11997|     59|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11998|    377|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11998:35): [True: 318, False: 59]
  ------------------
11999|    318|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11999:13): [True: 0, False: 318]
  ------------------
12000|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (12000:17): [True: 0, False: 0]
  ------------------
12001|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (12001:21): [True: 0, False: 0]
  ------------------
12002|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (12002:21): [True: 0, False: 0]
  ------------------
12003|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
12004|      0|                }
12005|      0|            } else {
12006|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (12006:21): [True: 0, False: 0]
  ------------------
12007|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (12007:21): [True: 0, False: 0]
  ------------------
12008|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
12009|      0|                }
12010|      0|            }
12011|      0|        }
12012|       |
12013|    318|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (12013:13): [True: 0, False: 318]
  ------------------
12014|       |            // Deep copy the type in pool.
12015|       |            // Because, struct use in different block may have different layout qualifier.
12016|       |            // We have to new a object to distinguish between them.
12017|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (12017:36): [True: 0, False: 0]
  ------------------
12018|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
12019|       |
12020|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
12021|      0|                                         tmpType->getWritableStruct());
12022|       |
12023|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
12024|       |
12025|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (12025:17): [True: 0, False: 0]
  ------------------
12026|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
12027|      0|            }
12028|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (12028:17): [True: 0, False: 0]
  ------------------
12029|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
12030|      0|            }
12031|      0|        }
12032|    318|    }
12033|     59|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
12122|  9.31k|{
12123|  9.31k|    if (! qualifier.invariant)
  ------------------
  |  Branch (12123:9): [True: 9.31k, False: 0]
  ------------------
12124|  9.31k|        return;
12125|       |
12126|      0|    bool pipeOut = qualifier.isPipeOutput();
12127|      0|    bool pipeIn = qualifier.isPipeInput();
12128|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (12128:10): [True: 0, False: 0]
  |  Branch (12128:28): [True: 0, False: 0]
  |  Branch (12128:47): [True: 0, False: 0]
  |  Branch (12128:65): [True: 0, False: 0]
  ------------------
12129|      0|        if (! pipeOut)
  ------------------
  |  Branch (12129:13): [True: 0, False: 0]
  ------------------
12130|      0|            error(loc, "can only apply to an output", "invariant", "");
12131|      0|    } else {
12132|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (12132:14): [True: 0, False: 0]
  |  Branch (12132:43): [True: 0, False: 0]
  |  Branch (12132:55): [True: 0, False: 0]
  |  Branch (12132:68): [True: 0, False: 0]
  ------------------
12133|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
12134|      0|    }
12135|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8717|     59|{
 8718|     59|    switch (storage) {
 8719|      0|    case EvqUniform:
  ------------------
  |  Branch (8719:5): [True: 0, False: 59]
  ------------------
 8720|      0|    case EvqBuffer:
  ------------------
  |  Branch (8720:5): [True: 0, False: 59]
  ------------------
 8721|      0|    case EvqShared:
  ------------------
  |  Branch (8721:5): [True: 0, False: 59]
  ------------------
 8722|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8722:5): [True: 0, False: 59]
  ------------------
 8723|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8723:5): [True: 0, False: 59]
  ------------------
 8724|      0|        return true;
 8725|     59|    default:
  ------------------
  |  Branch (8725:5): [True: 59, False: 0]
  ------------------
 8726|     59|        return false;
 8727|     59|    }
 8728|     59|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
11291|    636|{
11292|    636|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (11292:12): [True: 0, False: 636]
  |  Branch (11292:57): [True: 0, False: 0]
  ------------------
11293|    636|}

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

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

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

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|   998k|{
   58|   998k|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 366, False: 998k]
  ------------------
   59|    366|        mangledName += 'T';
   60|   998k|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 313k, False: 685k]
  ------------------
   61|   313k|        mangledName += 'm';
   62|   685k|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 302k, False: 382k]
  ------------------
   63|   302k|        mangledName += 'v';
   64|       |
   65|   998k|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 4.71k, False: 994k]
  ------------------
   66|  4.71k|        mangledName += "coopvec";
   67|       |
   68|   998k|    switch (basicType) {
   69|   343k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 343k, False: 655k]
  ------------------
   70|   238k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 238k, False: 760k]
  ------------------
   71|   171k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 171k, False: 827k]
  ------------------
   72|  11.9k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 11.9k, False: 986k]
  ------------------
   73|  24.1k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 24.1k, False: 974k]
  ------------------
   74|  17.1k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 17.1k, False: 981k]
  ------------------
   75|    192|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 192, False: 998k]
  ------------------
   76|    144|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 144, False: 998k]
  ------------------
   77|    144|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 144, False: 998k]
  ------------------
   78|     24|    case EbtFloatE2M1:          mangledName += "fe2m1";  break;
  ------------------
  |  Branch (78:5): [True: 24, False: 998k]
  ------------------
   79|     18|    case EbtFloatE3M2:          mangledName += "fe3m2";  break;
  ------------------
  |  Branch (79:5): [True: 18, False: 998k]
  ------------------
   80|     18|    case EbtFloatE2M3:          mangledName += "fe2m3";  break;
  ------------------
  |  Branch (80:5): [True: 18, False: 998k]
  ------------------
   81|     48|    case EbtFloatUE8M0:         mangledName += "fue8m0";  break;
  ------------------
  |  Branch (81:5): [True: 48, False: 998k]
  ------------------
   82|     48|    case EbtFloatMXINT8:        mangledName += "fmxint8";break;
  ------------------
  |  Branch (82:5): [True: 48, False: 998k]
  ------------------
   83|  3.58k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (83:5): [True: 3.58k, False: 995k]
  ------------------
   84|  3.54k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (84:5): [True: 3.54k, False: 995k]
  ------------------
   85|  4.54k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (85:5): [True: 4.54k, False: 994k]
  ------------------
   86|  4.28k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (86:5): [True: 4.28k, False: 994k]
  ------------------
   87|  5.69k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (87:5): [True: 5.69k, False: 993k]
  ------------------
   88|  8.36k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (88:5): [True: 8.36k, False: 990k]
  ------------------
   89|     24|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (89:5): [True: 24, False: 998k]
  ------------------
   90|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (90:5): [True: 0, False: 998k]
  ------------------
   91|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (91:5): [True: 0, False: 998k]
  ------------------
   92|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (92:5): [True: 0, False: 998k]
  ------------------
   93|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (93:5): [True: 0, False: 998k]
  ------------------
   94|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (94:5): [True: 0, False: 998k]
  ------------------
   95|    222|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (95:5): [True: 222, False: 998k]
  ------------------
   96|    114|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (96:5): [True: 114, False: 998k]
  ------------------
   97|   151k|    case EbtSampler:
  ------------------
  |  Branch (97:5): [True: 151k, False: 847k]
  ------------------
   98|   151k|        switch (sampler.type) {
   99|  9.67k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (99:9): [True: 9.67k, False: 141k]
  ------------------
  100|  27.9k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (100:9): [True: 27.9k, False: 123k]
  ------------------
  101|  27.9k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (101:9): [True: 27.9k, False: 123k]
  ------------------
  102|  1.56k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (102:9): [True: 1.56k, False: 149k]
  ------------------
  103|  1.56k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (103:9): [True: 1.56k, False: 149k]
  ------------------
  104|  82.4k|        default: break; // some compilers want this
  ------------------
  |  Branch (104:9): [True: 82.4k, False: 68.6k]
  ------------------
  105|   151k|        }
  106|   151k|        if (sampler.isImageClass())
  ------------------
  |  Branch (106:13): [True: 16.2k, False: 134k]
  ------------------
  107|  16.2k|            mangledName += "I";  // a normal image or subpass
  108|   134k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (108:18): [True: 51.7k, False: 83.0k]
  ------------------
  109|  51.7k|            mangledName += "p";  // a "pure" sampler
  110|  83.0k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (110:18): [True: 61.8k, False: 21.1k]
  ------------------
  111|  61.8k|            mangledName += "t";  // a "pure" texture
  112|  21.1k|        else
  113|  21.1k|            mangledName += "s";  // traditional combined sampler
  114|   151k|        if (sampler.isArrayed())
  ------------------
  |  Branch (114:13): [True: 40.4k, False: 110k]
  ------------------
  115|  40.4k|            mangledName += "A";
  116|   151k|        if (sampler.isShadow())
  ------------------
  |  Branch (116:13): [True: 23.7k, False: 127k]
  ------------------
  117|  23.7k|            mangledName += "S";
  118|   151k|        if (sampler.isExternal())
  ------------------
  |  Branch (118:13): [True: 120, False: 150k]
  ------------------
  119|    120|            mangledName += "E";
  120|   151k|        if (sampler.isYuv())
  ------------------
  |  Branch (120:13): [True: 320, False: 150k]
  ------------------
  121|    320|            mangledName += "Y";
  122|   151k|        switch (sampler.dim) {
  123|  51.4k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (123:9): [True: 51.4k, False: 99.6k]
  ------------------
  124|  7.90k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (124:9): [True: 7.90k, False: 143k]
  ------------------
  125|  16.1k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (125:9): [True: 16.1k, False: 134k]
  ------------------
  126|  16.8k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (126:9): [True: 16.8k, False: 134k]
  ------------------
  127|  3.10k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (127:9): [True: 3.10k, False: 147k]
  ------------------
  128|  1.89k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (128:9): [True: 1.89k, False: 149k]
  ------------------
  129|  1.99k|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (129:9): [True: 1.99k, False: 149k]
  ------------------
  130|  51.7k|        default: break; // some compilers want this
  ------------------
  |  Branch (130:9): [True: 51.7k, False: 99.2k]
  ------------------
  131|   151k|        }
  132|       |
  133|   151k|#ifdef ENABLE_HLSL
  134|   151k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (134:13): [True: 0, False: 151k]
  ------------------
  135|       |            // Name mangle for sampler return struct uses struct table index.
  136|      0|            mangledName += "-tx-struct";
  137|       |
  138|      0|            char text[16]; // plenty enough space for the small integers.
  139|      0|            snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
  140|      0|            mangledName += text;
  141|   151k|        } else {
  142|   151k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (142:21): [True: 151k, False: 0]
  ------------------
  143|  12.9k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (143:13): [True: 12.9k, False: 138k]
  ------------------
  144|  37.8k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (144:13): [True: 37.8k, False: 113k]
  ------------------
  145|  5.22k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (145:13): [True: 5.22k, False: 145k]
  ------------------
  146|  95.0k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (146:13): [True: 95.0k, False: 56.0k]
  ------------------
  147|   151k|            }
  148|   151k|        }
  149|   151k|#endif
  150|       |
  151|   151k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (151:13): [True: 5.67k, False: 145k]
  ------------------
  152|  5.67k|            mangledName += "M";
  153|   151k|        break;
  154|      0|    case EbtReference:
  ------------------
  |  Branch (154:5): [True: 0, False: 998k]
  ------------------
  155|       |        // Mangle by the block name alone, not by the referent's members. The parser rejects a
  156|       |        // second block with the same name, so the name already identifies the type. Recursing
  157|       |        // into the referent the way the struct case does would not terminate: a buffer reference
  158|       |        // block may legally name itself or another block that refers back to it, which a struct
  159|       |        // cannot do.
  160|      0|        mangledName += "bref-";
  161|      0|        if (typeName)
  ------------------
  |  Branch (161:13): [True: 0, False: 0]
  ------------------
  162|      0|            mangledName += *typeName;
  163|      0|        break;
  164|    216|    case EbtStruct:
  ------------------
  |  Branch (164:5): [True: 216, False: 998k]
  ------------------
  165|    216|    case EbtBlock:
  ------------------
  |  Branch (165:5): [True: 0, False: 998k]
  ------------------
  166|    216|        if (basicType == EbtStruct)
  ------------------
  |  Branch (166:13): [True: 216, False: 0]
  ------------------
  167|    216|            mangledName += "struct-";
  168|      0|        else
  169|      0|            mangledName += "block-";
  170|    216|        if (typeName)
  ------------------
  |  Branch (170:13): [True: 216, False: 0]
  ------------------
  171|    216|            mangledName += *typeName;
  172|  1.29k|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (172:34): [True: 1.08k, False: 216]
  ------------------
  173|  1.08k|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (173:17): [True: 0, False: 1.08k]
  ------------------
  174|      0|                continue;
  175|  1.08k|            mangledName += '-';
  176|  1.08k|            (*structure)[i].type->buildMangledName(mangledName);
  177|  1.08k|        }
  178|    216|        break;
  179|  8.77k|    default:
  ------------------
  |  Branch (179:5): [True: 8.77k, False: 990k]
  ------------------
  180|  8.77k|        break;
  181|   998k|    }
  182|       |
  183|   998k|    if (getVectorSize() > 0)
  ------------------
  |  Branch (183:9): [True: 685k, False: 313k]
  ------------------
  184|   685k|        mangledName += static_cast<char>('0' + getVectorSize());
  185|   313k|    else {
  186|   313k|        mangledName += static_cast<char>('0' + getMatrixCols());
  187|   313k|        mangledName += static_cast<char>('0' + getMatrixRows());
  188|   313k|    }
  189|       |
  190|   998k|    if (typeParameters) {
  ------------------
  |  Branch (190:9): [True: 36, False: 998k]
  ------------------
  191|     36|        const int maxSize = 11;
  192|     36|        char buf[maxSize];
  193|     72|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (193:25): [True: 36, False: 36]
  ------------------
  194|     36|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (194:17): [True: 0, False: 36]
  ------------------
  195|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (195:21): [True: 0, False: 0]
  ------------------
  196|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  197|      0|                else
  198|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  199|      0|            } else
  200|     36|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  201|     36|            mangledName += '<';
  202|     36|            mangledName += buf;
  203|     36|            mangledName += '>';
  204|     36|        }
  205|     36|    }
  206|       |
  207|   998k|    if (arraySizes) {
  ------------------
  |  Branch (207:9): [True: 8.28k, False: 990k]
  ------------------
  208|  8.28k|        const int maxSize = 11;
  209|  8.28k|        char buf[maxSize];
  210|  16.5k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (210:25): [True: 8.28k, False: 8.28k]
  ------------------
  211|  8.28k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (211:17): [True: 0, False: 8.28k]
  ------------------
  212|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (212:21): [True: 0, False: 0]
  ------------------
  213|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  214|      0|                else
  215|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  216|      0|            } else
  217|  8.28k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  218|  8.28k|            mangledName += '[';
  219|  8.28k|            mangledName += buf;
  220|  8.28k|            mangledName += ']';
  221|  8.28k|        }
  222|  8.28k|    }
  223|   998k|}
_ZNK7glslang7TSymbol14dumpExtensionsER9TInfoSink:
  230|   192k|{
  231|   192k|    int numExtensions = getNumExtensions();
  232|   192k|    if (numExtensions) {
  ------------------
  |  Branch (232:9): [True: 3.00k, False: 189k]
  ------------------
  233|  3.00k|        infoSink.debug << " <";
  234|       |
  235|  6.12k|        for (int i = 0; i < numExtensions; i++)
  ------------------
  |  Branch (235:25): [True: 3.11k, False: 3.00k]
  ------------------
  236|  3.11k|            infoSink.debug << getExtensions()[i] << ",";
  237|       |
  238|  3.00k|        infoSink.debug << ">";
  239|  3.00k|    }
  240|   192k|}
_ZNK7glslang9TVariable4dumpER9TInfoSinkb:
  243|    101|{
  244|    101|    if (complete) {
  ------------------
  |  Branch (244:9): [True: 101, False: 0]
  ------------------
  245|    101|        infoSink.debug << getName().c_str() << ": " << type.getCompleteString();
  246|    101|        dumpExtensions(infoSink);
  247|    101|    } else {
  248|      0|        infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " "
  249|      0|                       << type.getBasicTypeString();
  250|       |
  251|      0|        if (type.isArray())
  ------------------
  |  Branch (251:13): [True: 0, False: 0]
  ------------------
  252|      0|            infoSink.debug << "[0]";
  253|      0|    }
  254|       |
  255|    101|    infoSink.debug << "\n";
  256|    101|}
_ZNK7glslang9TFunction4dumpER9TInfoSinkb:
  259|   192k|{
  260|   192k|    if (complete) {
  ------------------
  |  Branch (260:9): [True: 192k, False: 0]
  ------------------
  261|   192k|        infoSink.debug << getName().c_str() << ": " << returnType.getCompleteString() << " " << getName().c_str()
  262|   192k|                       << "(";
  263|       |
  264|   192k|        int numParams = getParamCount();
  265|   622k|        for (int i = 0; i < numParams; i++) {
  ------------------
  |  Branch (265:25): [True: 430k, False: 192k]
  ------------------
  266|   430k|            const TParameter &param = parameters[i];
  267|   430k|            infoSink.debug << param.type->getCompleteString() << " "
  268|   430k|                           << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "")
  ------------------
  |  Branch (268:32): [True: 0, False: 430k]
  ------------------
  269|   430k|                           << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : "");
  ------------------
  |  Branch (269:32): [True: 1.03k, False: 429k]
  |  Branch (269:67): [True: 239k, False: 190k]
  ------------------
  270|   430k|        }
  271|       |
  272|   192k|        infoSink.debug << ")";
  273|   192k|        dumpExtensions(infoSink);
  274|   192k|    } else {
  275|      0|        infoSink.debug << getName().c_str() << ": " << returnType.getBasicTypeString() << " "
  276|      0|                       << getMangledName().c_str() << "n";
  277|      0|    }
  278|       |
  279|   192k|    infoSink.debug << "\n";
  280|   192k|}
_ZNK7glslang11TAnonMember4dumpER9TInfoSinkb:
  283|      4|{
  284|      4|    TInfoSink.debug << "anonymous member " << getMemberNumber() << " of " << getAnonContainer().getName().c_str()
  285|      4|                    << "\n";
  286|      4|}
_ZNK7glslang17TSymbolTableLevel4dumpER9TInfoSinkb:
  289|    150|{
  290|    150|    tLevel::const_iterator it;
  291|   192k|    for (it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (291:30): [True: 192k, False: 150]
  ------------------
  292|   192k|        (*it).second->dump(infoSink, complete);
  293|    150|}
_ZNK7glslang12TSymbolTable4dumpER9TInfoSinkb:
  296|     50|{
  297|    200|    for (int level = currentLevel(); level >= 0; --level) {
  ------------------
  |  Branch (297:38): [True: 150, False: 50]
  ------------------
  298|    150|        infoSink.debug << "LEVEL " << level << "\n";
  299|    150|        table[level]->dump(infoSink, complete);
  300|    150|    }
  301|     50|}
_ZN7glslang9TFunctionD2Ev:
  307|   791k|{
  308|  2.62M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (308:55): [True: 1.83M, False: 791k]
  ------------------
  309|  1.83M|        delete (*i).type;
  310|   791k|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  316|  3.03k|{
  317|   800k|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (317:47): [True: 797k, False: 3.03k]
  ------------------
  318|   797k|        const TString& name = it->first;
  319|   797k|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  320|   797k|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  321|   797k|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (321:13): [True: 797k, False: 0]
  ------------------
  322|   797k|            delete (*it).second;
  323|   797k|    }
  324|       |
  325|       |
  326|  3.03k|    delete [] defaultPrecision;
  327|  3.03k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  334|   542k|{
  335|   542k|    tLevel::const_iterator candidate = level.lower_bound(name);
  336|  6.03M|    while (candidate != level.end()) {
  ------------------
  |  Branch (336:12): [True: 5.78M, False: 245k]
  ------------------
  337|  5.78M|        const TString& candidateName = (*candidate).first;
  338|  5.78M|        TString::size_type parenAt = candidateName.find_first_of('(');
  339|  5.78M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (339:13): [True: 5.77M, False: 10.4k]
  |  Branch (339:46): [True: 5.48M, False: 286k]
  ------------------
  340|  5.48M|            TFunction* function = (*candidate).second->getAsFunction();
  341|  5.48M|            function->relateToOperator(op);
  342|  5.48M|        } else
  343|   297k|            break;
  344|  5.48M|        ++candidate;
  345|  5.48M|    }
  346|   542k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  351|  5.85k|{
  352|  5.85k|    tLevel::const_iterator candidate = level.lower_bound(name);
  353|  27.1k|    while (candidate != level.end()) {
  ------------------
  |  Branch (353:12): [True: 26.4k, False: 667]
  ------------------
  354|  26.4k|        const TString& candidateName = (*candidate).first;
  355|  26.4k|        TString::size_type parenAt = candidateName.find_first_of('(');
  356|  26.4k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (356:13): [True: 26.0k, False: 420]
  |  Branch (356:46): [True: 21.2k, False: 4.76k]
  ------------------
  357|  21.2k|            TSymbol* symbol = candidate->second;
  358|  21.2k|            symbol->setExtensions(num, extensions);
  359|  21.2k|        } else
  360|  5.18k|            break;
  361|  21.2k|        ++candidate;
  362|  21.2k|    }
  363|  5.85k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  367|    120|{
  368|    120|    tLevel::const_iterator candidate = level.lower_bound(name);
  369|  4.12k|    while (candidate != level.end()) {
  ------------------
  |  Branch (369:12): [True: 4.12k, False: 0]
  ------------------
  370|  4.12k|        const TString& candidateName = (*candidate).first;
  371|  4.12k|        TString::size_type parenAt = candidateName.find_first_of('(');
  372|  4.12k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (372:13): [True: 4.12k, False: 0]
  |  Branch (372:46): [True: 4.00k, False: 120]
  ------------------
  373|  4.00k|            TSymbol* symbol = candidate->second;
  374|       |
  375|  4.00k|            auto exts = func(candidateName.c_str());
  376|  4.00k|            symbol->setExtensions(exts.size(), exts.data());
  377|  4.00k|        } else
  378|    120|            break;
  379|  4.00k|        ++candidate;
  380|  4.00k|    }
  381|    120|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  397|  2.59k|{
  398|  5.31M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (398:47): [True: 5.31M, False: 2.59k]
  ------------------
  399|  5.31M|        (*it).second->makeReadOnly();
  400|  2.59k|}
_ZN7glslang7TSymbolC2ERKS0_:
  406|   371k|{
  407|   371k|    name = NewPoolTString(copyOf.name->c_str());
  408|   371k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  409|   371k|    uniqueId = copyOf.uniqueId;
  410|   371k|    writable = true;
  411|   371k|}
_ZN7glslang9TVariableC2ERKS0_:
  413|  1.55k|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  414|  1.55k|{
  415|  1.55k|    type.deepCopy(copyOf.type);
  416|  1.55k|    userType = copyOf.userType;
  417|       |
  418|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  419|  1.55k|    constSubtree = nullptr;
  420|  1.55k|    extensions = nullptr;
  421|  1.55k|    memberExtensions = nullptr;
  422|  1.55k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (422:9): [True: 743, False: 811]
  ------------------
  423|    743|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  424|  1.55k|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (424:9): [True: 17, False: 1.53k]
  ------------------
  425|    115|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (425:25): [True: 98, False: 17]
  ------------------
  426|     98|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (426:17): [True: 67, False: 31]
  ------------------
  427|     67|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  428|     98|        }
  429|     17|    }
  430|       |
  431|  1.55k|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (431:9): [True: 234, False: 1.32k]
  ------------------
  432|       |        assert(! copyOf.type.isStruct());
  433|    234|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  434|    234|        constArray = newArray;
  435|    234|    }
  436|  1.55k|}
_ZNK7glslang9TVariable5cloneEv:
  439|  1.55k|{
  440|  1.55k|    TVariable *variable = new TVariable(*this);
  441|       |
  442|  1.55k|    return variable;
  443|  1.55k|}
_ZN7glslang9TFunctionC2ERKS0_:
  445|   370k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  446|   370k|{
  447|  1.21M|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (447:30): [True: 843k, False: 370k]
  ------------------
  448|   843k|        TParameter param{};
  449|   843k|        parameters.push_back(param);
  450|   843k|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  451|   843k|    }
  452|       |
  453|   370k|    extensions = nullptr;
  454|   370k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (454:9): [True: 16.4k, False: 353k]
  ------------------
  455|  16.4k|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  456|   370k|    returnType.deepCopy(copyOf.returnType);
  457|   370k|    mangledName = copyOf.mangledName;
  458|   370k|    op = copyOf.op;
  459|   370k|    defined = copyOf.defined;
  460|   370k|    prototyped = copyOf.prototyped;
  461|   370k|    implicitThis = copyOf.implicitThis;
  462|   370k|    variadic = copyOf.variadic;
  463|   370k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  464|   370k|    defaultParamCount = copyOf.defaultParamCount;
  465|   370k|    spirvInst = copyOf.spirvInst;
  466|   370k|    functionControl = copyOf.functionControl;
  467|   370k|}
_ZNK7glslang9TFunction5cloneEv:
  470|   370k|{
  471|   370k|    TFunction *function = new TFunction(*this);
  472|       |
  473|   370k|    return function;
  474|   370k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  487|  1.36k|{
  488|  1.36k|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  489|  1.36k|    symTableLevel->anonId = anonId;
  490|  1.36k|    symTableLevel->thisLevel = thisLevel;
  491|  1.36k|    symTableLevel->retargetedSymbols.clear();
  492|  1.36k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (492:18): [True: 0, False: 1.36k]
  ------------------
  493|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  494|      0|    }
  495|  1.36k|    std::vector<bool> containerCopied(anonId, false);
  496|  1.36k|    tLevel::const_iterator iter;
  497|   373k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (497:32): [True: 371k, False: 1.36k]
  ------------------
  498|   371k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  499|   371k|        if (anon) {
  ------------------
  |  Branch (499:13): [True: 36, False: 371k]
  ------------------
  500|       |            // Insert all the anonymous members of this same container at once,
  501|       |            // avoid inserting the remaining members in the future, once this has been done,
  502|       |            // allowing them to all be part of the same new container.
  503|     36|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (503:17): [True: 9, False: 27]
  ------------------
  504|      9|                TVariable* container = anon->getAnonContainer().clone();
  505|      9|                container->changeName(NewPoolTString(""));
  506|       |                // insert the container and all its members
  507|      9|                symTableLevel->insert(*container, false);
  508|      9|                containerCopied[anon->getAnonId()] = true;
  509|      9|            }
  510|   371k|        } else {
  511|   371k|            const TString& name = iter->first;
  512|   371k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  513|   371k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  514|   371k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (514:17): [True: 0, False: 371k]
  ------------------
  515|      0|                continue;
  516|   371k|            symTableLevel->insert(*iter->second->clone(), false);
  517|   371k|        }
  518|   371k|    }
  519|       |    // Now point retargeted symbols to the newly created versions of them
  520|  1.36k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (520:18): [True: 0, False: 1.36k]
  ------------------
  521|      0|        TSymbol* sym = symTableLevel->find(s.second);
  522|      0|        if (!sym)
  ------------------
  |  Branch (522:13): [True: 0, False: 0]
  ------------------
  523|      0|            continue;
  524|      0|        symTableLevel->insert(s.first, sym);
  525|      0|    }
  526|       |
  527|  1.36k|    return symTableLevel;
  528|  1.36k|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  531|  1.36k|{
  532|  1.36k|    assert(adoptedLevels == copyOf.adoptedLevels);
  533|       |
  534|  1.36k|    uniqueId = copyOf.uniqueId;
  535|  1.36k|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  536|  1.36k|    separateNameSpaces = copyOf.separateNameSpaces;
  537|  2.72k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (537:49): [True: 1.36k, False: 1.36k]
  ------------------
  538|  1.36k|        table.push_back(copyOf.table[i]->clone());
  539|  1.36k|}

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

_Z7yyparsePN7glslang13TParseContextE:
 5637|    266|{
 5638|       |/* Lookahead token kind.  */
 5639|    266|int yychar;
 5640|       |
 5641|       |
 5642|       |/* The semantic value of the lookahead symbol.  */
 5643|       |/* Default value used for initialization, for pacifying older GCCs
 5644|       |   or non-GCC compilers.  */
 5645|    266|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  958|    266|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5646|    266|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  958|    266|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5647|       |
 5648|       |    /* Number of syntax errors so far.  */
 5649|    266|    int yynerrs = 0;
 5650|       |
 5651|    266|    yy_state_fast_t yystate = 0;
 5652|       |    /* Number of tokens to shift before error messages enabled.  */
 5653|    266|    int yyerrstatus = 0;
 5654|       |
 5655|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 5656|       |       to reallocate them elsewhere.  */
 5657|       |
 5658|       |    /* Their size.  */
 5659|    266|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  865|    266|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5321|    266|# define YYINITDEPTH 200
  ------------------
 5660|       |
 5661|       |    /* The state stack: array, bottom, top.  */
 5662|    266|    yy_state_t yyssa[YYINITDEPTH];
 5663|    266|    yy_state_t *yyss = yyssa;
 5664|    266|    yy_state_t *yyssp = yyss;
 5665|       |
 5666|       |    /* The semantic value stack: array, bottom, top.  */
 5667|    266|    YYSTYPE yyvsa[YYINITDEPTH];
 5668|    266|    YYSTYPE *yyvs = yyvsa;
 5669|    266|    YYSTYPE *yyvsp = yyvs;
 5670|       |
 5671|    266|  int yyn;
 5672|       |  /* The return value of yyparse.  */
 5673|    266|  int yyresult;
 5674|       |  /* Lookahead symbol kind.  */
 5675|    266|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5676|       |  /* The variables used to return semantic value and location from the
 5677|       |     action routines.  */
 5678|    266|  YYSTYPE yyval;
 5679|       |
 5680|       |  /* Buffer for error messages, and its allocated size.  */
 5681|    266|  char yymsgbuf[128];
 5682|    266|  char *yymsg = yymsgbuf;
 5683|    266|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  865|    266|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5684|       |
 5685|    266|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 5686|       |
 5687|       |  /* The number of symbols on the RHS of the reduced rule.
 5688|       |     Keep to zero when no symbol should be popped.  */
 5689|    266|  int yylen = 0;
 5690|       |
 5691|    266|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5199|    266|# define YYDPRINTF(Args)                        \
  |  | 5200|    266|do {                                            \
  |  | 5201|    266|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 266]
  |  |  ------------------
  |  | 5202|    266|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    266|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 266]
  |  |  ------------------
  ------------------
 5692|       |
 5693|    266|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5694|       |
 5695|    266|  goto yysetstate;
 5696|       |
 5697|       |
 5698|       |/*------------------------------------------------------------.
 5699|       || yynewstate -- push a new state, which is found in yystate.  |
 5700|       |`------------------------------------------------------------*/
 5701|  3.76M|yynewstate:
 5702|       |  /* In all cases, when you get here, the value and location stacks
 5703|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 5704|  3.76M|  yyssp++;
 5705|       |
 5706|       |
 5707|       |/*--------------------------------------------------------------------.
 5708|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5709|       |`--------------------------------------------------------------------*/
 5710|  3.76M|yysetstate:
 5711|  3.76M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5199|  3.76M|# define YYDPRINTF(Args)                        \
  |  | 5200|  3.76M|do {                                            \
  |  | 5201|  3.76M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 3.76M]
  |  |  ------------------
  |  | 5202|  3.76M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  3.76M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 3.76M]
  |  |  ------------------
  ------------------
 5712|  3.76M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  981|  3.76M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (981:31): [Folded, False: 3.76M]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5713|  3.76M|  YY_IGNORE_USELESS_CAST_BEGIN
 5714|  3.76M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  3.76M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5715|  3.76M|  YY_IGNORE_USELESS_CAST_END
 5716|  3.76M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|  3.76M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|  3.76M|do {                                                            \
  |  | 5273|  3.76M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 3.76M]
  |  |  ------------------
  |  | 5274|  3.76M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|  3.76M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 3.76M]
  |  |  ------------------
  ------------------
 5717|       |
 5718|  3.76M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5718:7): [True: 2, False: 3.76M]
  ------------------
 5719|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5720|       |    YYNOMEM;
 5721|       |#else
 5722|      2|    {
 5723|       |      /* Get the current used size of the three stacks, in elements.  */
 5724|      2|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  865|      2|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5725|       |
 5726|       |# if defined yyoverflow
 5727|       |      {
 5728|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5729|       |           these so that the &'s don't force the real ones into
 5730|       |           memory.  */
 5731|       |        yy_state_t *yyss1 = yyss;
 5732|       |        YYSTYPE *yyvs1 = yyvs;
 5733|       |
 5734|       |        /* Each stack pointer address is followed by the size of the
 5735|       |           data in use in that stack, in bytes.  This used to be a
 5736|       |           conditional around just the two extra args, but that might
 5737|       |           be undefined if yyoverflow is a macro.  */
 5738|       |        yyoverflow (YY_("memory exhausted"),
 5739|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5740|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5741|       |                    &yystacksize);
 5742|       |        yyss = yyss1;
 5743|       |        yyvs = yyvs1;
 5744|       |      }
 5745|       |# else /* defined YYSTACK_RELOCATE */
 5746|       |      /* Extend the stack our own way.  */
 5747|      2|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 5332|      2|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5747:11): [True: 0, False: 2]
  ------------------
 5748|      0|        YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5749|      2|      yystacksize *= 2;
 5750|      2|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 5332|      2|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5750:11): [True: 0, False: 2]
  ------------------
 5751|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
 5752|       |
 5753|      2|      {
 5754|      2|        yy_state_t *yyss1 = yyss;
 5755|      2|        union yyalloc *yyptr =
 5756|      2|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5757|      2|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5758|      2|        if (! yyptr)
  ------------------
  |  Branch (5758:13): [True: 0, False: 2]
  ------------------
 5759|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5760|      2|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1078|      2|    do                                                                  \
  |  | 1079|      2|      {                                                                 \
  |  | 1080|      2|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      2|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      2|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      2|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      2|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      2|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      2|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      2|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      2|      }                                                                 \
  |  | 1086|      2|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5761|      2|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1078|      2|    do                                                                  \
  |  | 1079|      2|      {                                                                 \
  |  | 1080|      2|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      2|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      2|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      2|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      2|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      2|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      2|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      2|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      2|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      2|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      2|      }                                                                 \
  |  | 1086|      2|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5762|      2|#  undef YYSTACK_RELOCATE
 5763|      2|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5763:13): [True: 1, False: 1]
  ------------------
 5764|      1|          YYSTACK_FREE (yyss1);
  ------------------
  |  | 1023|      1|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      1|#   define YYFREE free
  |  |  ------------------
  ------------------
 5765|      2|      }
 5766|      0|# endif
 5767|       |
 5768|      0|      yyssp = yyss + yysize - 1;
 5769|      2|      yyvsp = yyvs + yysize - 1;
 5770|       |
 5771|      2|      YY_IGNORE_USELESS_CAST_BEGIN
 5772|      2|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 5199|      2|# define YYDPRINTF(Args)                        \
  |  | 5200|      2|do {                                            \
  |  | 5201|      2|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 2]
  |  |  ------------------
  |  | 5202|      2|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 5773|      2|                  YY_CAST (long, yystacksize)));
 5774|      2|      YY_IGNORE_USELESS_CAST_END
 5775|       |
 5776|      2|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5776:11): [True: 0, False: 2]
  ------------------
 5777|      0|        YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
 5778|      2|    }
 5779|  3.76M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5780|       |
 5781|       |
 5782|  3.76M|  if (yystate == YYFINAL)
  ------------------
  |  | 1111|  3.76M|#define YYFINAL  496
  ------------------
  |  Branch (5782:7): [True: 206, False: 3.76M]
  ------------------
 5783|    206|    YYACCEPT;
  ------------------
  |  | 5161|    206|#define YYACCEPT        goto yyacceptlab
  ------------------
 5784|       |
 5785|  3.76M|  goto yybackup;
 5786|       |
 5787|       |
 5788|       |/*-----------.
 5789|       || yybackup.  |
 5790|       |`-----------*/
 5791|  3.76M|yybackup:
 5792|       |  /* Do appropriate processing given the current state.  Read a
 5793|       |     lookahead token if we need one and don't already have one.  */
 5794|       |
 5795|       |  /* First try to decide what to do without reference to lookahead token.  */
 5796|  3.76M|  yyn = yypact[yystate];
 5797|  3.76M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1490|  3.76M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|  3.76M|#define YYPACT_NINF (-901)
  |  |  ------------------
  |  |  |  Branch (1490:3): [True: 1.56M, False: 2.20M]
  |  |  ------------------
  ------------------
 5798|  1.56M|    goto yydefault;
 5799|       |
 5800|       |  /* Not known => get a lookahead token if don't already have one.  */
 5801|       |
 5802|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 5803|  2.20M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5803:7): [True: 1.03M, False: 1.17M]
  ------------------
 5804|  1.03M|    {
 5805|  1.03M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5199|  1.03M|# define YYDPRINTF(Args)                        \
  |  | 5200|  1.03M|do {                                            \
  |  | 5201|  1.03M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 1.03M]
  |  |  ------------------
  |  | 5202|  1.03M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  1.03M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 1.03M]
  |  |  ------------------
  ------------------
 5806|  1.03M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  783|  1.03M|#define parseContext (*pParseContext)
  ------------------
 5807|  1.03M|    }
 5808|       |
 5809|  2.20M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5809:7): [True: 228, False: 2.20M]
  ------------------
 5810|    228|    {
 5811|    228|      yychar = YYEOF;
 5812|    228|      yytoken = YYSYMBOL_YYEOF;
 5813|    228|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5199|    228|# define YYDPRINTF(Args)                        \
  |  | 5200|    228|do {                                            \
  |  | 5201|    228|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 228]
  |  |  ------------------
  |  | 5202|    228|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    228|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 228]
  |  |  ------------------
  ------------------
 5814|    228|    }
 5815|  2.20M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5815:12): [True: 0, False: 2.20M]
  ------------------
 5816|      0|    {
 5817|       |      /* The scanner already issued an error message, process directly
 5818|       |         to error recovery.  But do not keep the error token as
 5819|       |         lookahead, it is too special and may lead us to an endless
 5820|       |         loop in error recovery. */
 5821|      0|      yychar = YYUNDEF;
 5822|      0|      yytoken = YYSYMBOL_YYerror;
 5823|      0|      goto yyerrlab1;
 5824|      0|    }
 5825|  2.20M|  else
 5826|  2.20M|    {
 5827|  2.20M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|  2.20M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|  2.20M|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 2.20M, False: 0]
  |  |  |  Branch (1131:18): [True: 2.20M, False: 0]
  |  |  ------------------
  |  | 1132|  2.20M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  2.20M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|  2.20M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5828|  2.20M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  2.20M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  2.20M|do {                                                                      \
  |  | 5210|  2.20M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 2.20M]
  |  |  ------------------
  |  | 5211|  2.20M|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  2.20M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 2.20M]
  |  |  ------------------
  ------------------
 5829|  2.20M|    }
 5830|       |
 5831|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5832|       |     detect an error, take that action.  */
 5833|  2.20M|  yyn += yytoken;
 5834|  2.20M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1113|  2.20M|#define YYLAST   15602
  ------------------
  |  Branch (5834:7): [True: 111, False: 2.20M]
  |  Branch (5834:18): [True: 0, False: 2.20M]
  |  Branch (5834:34): [True: 1.17M, False: 1.03M]
  ------------------
 5835|  1.17M|    goto yydefault;
 5836|  1.03M|  yyn = yytable[yyn];
 5837|  1.03M|  if (yyn <= 0)
  ------------------
  |  Branch (5837:7): [True: 42, False: 1.02M]
  ------------------
 5838|     42|    {
 5839|     42|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1495|     42|  0
  |  |  ------------------
  |  |  |  Branch (1495:3): [Folded, False: 42]
  |  |  ------------------
  ------------------
 5840|      0|        goto yyerrlab;
 5841|     42|      yyn = -yyn;
 5842|     42|      goto yyreduce;
 5843|     42|    }
 5844|       |
 5845|       |  /* Count tokens shifted since error; after three, turn off error
 5846|       |     status.  */
 5847|  1.02M|  if (yyerrstatus)
  ------------------
  |  Branch (5847:7): [True: 0, False: 1.02M]
  ------------------
 5848|      0|    yyerrstatus--;
 5849|       |
 5850|       |  /* Shift the lookahead token.  */
 5851|  1.02M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  1.02M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  1.02M|do {                                                                      \
  |  | 5210|  1.02M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 1.02M]
  |  |  ------------------
  |  | 5211|  1.02M|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  1.02M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 1.02M]
  |  |  ------------------
  ------------------
 5852|  1.02M|  yystate = yyn;
 5853|  1.02M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5854|  1.02M|  *++yyvsp = yylval;
 5855|  1.02M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5856|       |
 5857|       |  /* Discard the shifted token.  */
 5858|  1.02M|  yychar = YYEMPTY;
 5859|  1.02M|  goto yynewstate;
 5860|       |
 5861|       |
 5862|       |/*-----------------------------------------------------------.
 5863|       || yydefault -- do the default action for the current state.  |
 5864|       |`-----------------------------------------------------------*/
 5865|  2.73M|yydefault:
 5866|  2.73M|  yyn = yydefact[yystate];
 5867|  2.73M|  if (yyn == 0)
  ------------------
  |  Branch (5867:7): [True: 60, False: 2.73M]
  ------------------
 5868|     60|    goto yyerrlab;
 5869|  2.73M|  goto yyreduce;
 5870|       |
 5871|       |
 5872|       |/*-----------------------------.
 5873|       || yyreduce -- do a reduction.  |
 5874|       |`-----------------------------*/
 5875|  2.73M|yyreduce:
 5876|       |  /* yyn is the number of a rule to reduce with.  */
 5877|  2.73M|  yylen = yyr2[yyn];
 5878|       |
 5879|       |  /* If YYLEN is nonzero, implement the default value of the action:
 5880|       |     '$$ = $1'.
 5881|       |
 5882|       |     Otherwise, the following line sets YYVAL to garbage.
 5883|       |     This behavior is undocumented and Bison
 5884|       |     users should not rely upon it.  Assigning to YYVAL
 5885|       |     unconditionally makes the parser a bit smaller, and it avoids a
 5886|       |     GCC warning that YYVAL may be used uninitialized.  */
 5887|  2.73M|  yyval = yyvsp[1-yylen];
 5888|       |
 5889|       |
 5890|  2.73M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5302|  2.73M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5303|  2.73M|do {                                    \
  |  | 5304|  2.73M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5304:7): [True: 0, False: 2.73M]
  |  |  ------------------
  |  | 5305|  2.73M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5306|  2.73M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5306:10): [Folded, False: 2.73M]
  |  |  ------------------
  ------------------
 5891|  2.73M|  switch (yyn)
 5892|  2.73M|    {
 5893|     70|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5893:3): [True: 70, False: 2.73M]
  ------------------
 5894|     70|#line 371 "MachineIndependent/glslang.y"
 5895|     70|                 {
 5896|     70|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 5897|     70|    }
 5898|     70|#line 5899 "MachineIndependent/glslang_tab.cpp"
 5899|     70|    break;
 5900|       |
 5901|     70|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5901:3): [True: 70, False: 2.73M]
  ------------------
 5902|     70|#line 377 "MachineIndependent/glslang.y"
 5903|     70|                          {
 5904|     70|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5905|     70|    }
 5906|     70|#line 5907 "MachineIndependent/glslang_tab.cpp"
 5907|     70|    break;
 5908|       |
 5909|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5909:3): [True: 0, False: 2.73M]
  ------------------
 5910|      0|#line 380 "MachineIndependent/glslang.y"
 5911|      0|                                        {
 5912|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
 5913|      0|        if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (5913:13): [True: 0, False: 0]
  ------------------
 5914|      0|            (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 5915|      0|    }
 5916|      0|#line 5917 "MachineIndependent/glslang_tab.cpp"
 5917|      0|    break;
 5918|       |
 5919|      0|  case 5: /* primary_expression: FLOATCONSTANT  */
  ------------------
  |  Branch (5919:3): [True: 0, False: 2.73M]
  ------------------
 5920|      0|#line 385 "MachineIndependent/glslang.y"
 5921|      0|                    {
 5922|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5923|      0|    }
 5924|      0|#line 5925 "MachineIndependent/glslang_tab.cpp"
 5925|      0|    break;
 5926|       |
 5927|  2.55k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 2.55k, False: 2.73M]
  ------------------
 5928|  2.55k|#line 388 "MachineIndependent/glslang.y"
 5929|  2.55k|                  {
 5930|  2.55k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|  2.55k|#define parseContext (*pParseContext)
  ------------------
 5931|  2.55k|    }
 5932|  2.55k|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|  2.55k|    break;
 5934|       |
 5935|    374|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5935:3): [True: 374, False: 2.73M]
  ------------------
 5936|    374|#line 391 "MachineIndependent/glslang.y"
 5937|    374|                   {
 5938|    374|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  783|    374|#define parseContext (*pParseContext)
  ------------------
 5939|    374|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    374|#define parseContext (*pParseContext)
  ------------------
 5940|    374|    }
 5941|    374|#line 5942 "MachineIndependent/glslang_tab.cpp"
 5942|    374|    break;
 5943|       |
 5944|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5944:3): [True: 0, False: 2.73M]
  ------------------
 5945|      0|#line 395 "MachineIndependent/glslang.y"
 5946|      0|                   {
 5947|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5948|      0|    }
 5949|      0|#line 5950 "MachineIndependent/glslang_tab.cpp"
 5950|      0|    break;
 5951|       |
 5952|      0|  case 9: /* primary_expression: STRING_LITERAL  */
  ------------------
  |  Branch (5952:3): [True: 0, False: 2.73M]
  ------------------
 5953|      0|#line 398 "MachineIndependent/glslang.y"
 5954|      0|                     {
 5955|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5956|      0|    }
 5957|      0|#line 5958 "MachineIndependent/glslang_tab.cpp"
 5958|      0|    break;
 5959|       |
 5960|      0|  case 10: /* primary_expression: INT32CONSTANT  */
  ------------------
  |  Branch (5960:3): [True: 0, False: 2.73M]
  ------------------
 5961|      0|#line 401 "MachineIndependent/glslang.y"
 5962|      0|                    {
 5963|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5964|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5965|      0|    }
 5966|      0|#line 5967 "MachineIndependent/glslang_tab.cpp"
 5967|      0|    break;
 5968|       |
 5969|      0|  case 11: /* primary_expression: UINT32CONSTANT  */
  ------------------
  |  Branch (5969:3): [True: 0, False: 2.73M]
  ------------------
 5970|      0|#line 405 "MachineIndependent/glslang.y"
 5971|      0|                     {
 5972|      0|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5973|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5974|      0|    }
 5975|      0|#line 5976 "MachineIndependent/glslang_tab.cpp"
 5976|      0|    break;
 5977|       |
 5978|      0|  case 12: /* primary_expression: INT64CONSTANT  */
  ------------------
  |  Branch (5978:3): [True: 0, False: 2.73M]
  ------------------
 5979|      0|#line 409 "MachineIndependent/glslang.y"
 5980|      0|                    {
 5981|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5982|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5983|      0|    }
 5984|      0|#line 5985 "MachineIndependent/glslang_tab.cpp"
 5985|      0|    break;
 5986|       |
 5987|      0|  case 13: /* primary_expression: UINT64CONSTANT  */
  ------------------
  |  Branch (5987:3): [True: 0, False: 2.73M]
  ------------------
 5988|      0|#line 413 "MachineIndependent/glslang.y"
 5989|      0|                     {
 5990|      0|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5991|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 5992|      0|    }
 5993|      0|#line 5994 "MachineIndependent/glslang_tab.cpp"
 5994|      0|    break;
 5995|       |
 5996|      0|  case 14: /* primary_expression: INT16CONSTANT  */
  ------------------
  |  Branch (5996:3): [True: 0, False: 2.73M]
  ------------------
 5997|      0|#line 417 "MachineIndependent/glslang.y"
 5998|      0|                    {
 5999|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6000|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6001|      0|    }
 6002|      0|#line 6003 "MachineIndependent/glslang_tab.cpp"
 6003|      0|    break;
 6004|       |
 6005|      0|  case 15: /* primary_expression: UINT16CONSTANT  */
  ------------------
  |  Branch (6005:3): [True: 0, False: 2.73M]
  ------------------
 6006|      0|#line 421 "MachineIndependent/glslang.y"
 6007|      0|                     {
 6008|      0|        parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6009|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6010|      0|    }
 6011|      0|#line 6012 "MachineIndependent/glslang_tab.cpp"
 6012|      0|    break;
 6013|       |
 6014|      0|  case 16: /* primary_expression: DOUBLECONSTANT  */
  ------------------
  |  Branch (6014:3): [True: 0, False: 2.73M]
  ------------------
 6015|      0|#line 425 "MachineIndependent/glslang.y"
 6016|      0|                     {
 6017|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6018|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6018:13): [True: 0, False: 0]
  ------------------
 6019|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6020|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6021|      0|    }
 6022|      0|#line 6023 "MachineIndependent/glslang_tab.cpp"
 6023|      0|    break;
 6024|       |
 6025|      0|  case 17: /* primary_expression: FLOAT16CONSTANT  */
  ------------------
  |  Branch (6025:3): [True: 0, False: 2.73M]
  ------------------
 6026|      0|#line 431 "MachineIndependent/glslang.y"
 6027|      0|                      {
 6028|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6029|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6030|      0|    }
 6031|      0|#line 6032 "MachineIndependent/glslang_tab.cpp"
 6032|      0|    break;
 6033|       |
 6034|      0|  case 18: /* primary_expression: FLOATE2M1CONSTANT  */
  ------------------
  |  Branch (6034:3): [True: 0, False: 2.73M]
  ------------------
 6035|      0|#line 435 "MachineIndependent/glslang.y"
 6036|      0|                        {
 6037|      0|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6038|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M1, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6039|      0|    }
 6040|      0|#line 6041 "MachineIndependent/glslang_tab.cpp"
 6041|      0|    break;
 6042|       |
 6043|      0|  case 19: /* primary_expression: FLOATE3M2CONSTANT  */
  ------------------
  |  Branch (6043:3): [True: 0, False: 2.73M]
  ------------------
 6044|      0|#line 439 "MachineIndependent/glslang.y"
 6045|      0|                        {
 6046|      0|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6047|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE3M2, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6048|      0|    }
 6049|      0|#line 6050 "MachineIndependent/glslang_tab.cpp"
 6050|      0|    break;
 6051|       |
 6052|      0|  case 20: /* primary_expression: FLOATE2M3CONSTANT  */
  ------------------
  |  Branch (6052:3): [True: 0, False: 2.73M]
  ------------------
 6053|      0|#line 443 "MachineIndependent/glslang.y"
 6054|      0|                        {
 6055|      0|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6056|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatE2M3, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6057|      0|    }
 6058|      0|#line 6059 "MachineIndependent/glslang_tab.cpp"
 6059|      0|    break;
 6060|       |
 6061|      0|  case 21: /* primary_expression: FLOATUE8M0CONSTANT  */
  ------------------
  |  Branch (6061:3): [True: 0, False: 2.73M]
  ------------------
 6062|      0|#line 447 "MachineIndependent/glslang.y"
 6063|      0|                         {
 6064|      0|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6065|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatUE8M0, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6066|      0|    }
 6067|      0|#line 6068 "MachineIndependent/glslang_tab.cpp"
 6068|      0|    break;
 6069|       |
 6070|      0|  case 22: /* primary_expression: FLOATMXINT8CONSTANT  */
  ------------------
  |  Branch (6070:3): [True: 0, False: 2.73M]
  ------------------
 6071|      0|#line 451 "MachineIndependent/glslang.y"
 6072|      0|                          {
 6073|      0|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6074|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloatMXINT8, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6075|      0|    }
 6076|      0|#line 6077 "MachineIndependent/glslang_tab.cpp"
 6077|      0|    break;
 6078|       |
 6079|  2.99k|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6079:3): [True: 2.99k, False: 2.73M]
  ------------------
 6080|  2.99k|#line 458 "MachineIndependent/glslang.y"
 6081|  2.99k|                         {
 6082|  2.99k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6083|  2.99k|    }
 6084|  2.99k|#line 6085 "MachineIndependent/glslang_tab.cpp"
 6085|  2.99k|    break;
 6086|       |
 6087|      1|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6087:3): [True: 1, False: 2.73M]
  ------------------
 6088|      1|#line 461 "MachineIndependent/glslang.y"
 6089|      1|                                                                       {
 6090|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6091|      1|    }
 6092|      1|#line 6093 "MachineIndependent/glslang_tab.cpp"
 6093|      1|    break;
 6094|       |
 6095|     46|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6095:3): [True: 46, False: 2.73M]
  ------------------
 6096|     46|#line 464 "MachineIndependent/glslang.y"
 6097|     46|                    {
 6098|     46|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6099|     46|    }
 6100|     46|#line 6101 "MachineIndependent/glslang_tab.cpp"
 6101|     46|    break;
 6102|       |
 6103|     26|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6103:3): [True: 26, False: 2.73M]
  ------------------
 6104|     26|#line 467 "MachineIndependent/glslang.y"
 6105|     26|                                        {
 6106|     26|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|     26|#define parseContext (*pParseContext)
  ------------------
 6107|     26|    }
 6108|     26|#line 6109 "MachineIndependent/glslang_tab.cpp"
 6109|     26|    break;
 6110|       |
 6111|      0|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6111:3): [True: 0, False: 2.73M]
  ------------------
 6112|      0|#line 470 "MachineIndependent/glslang.y"
 6113|      0|                                {
 6114|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6115|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6116|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6117|      0|    }
 6118|      0|#line 6119 "MachineIndependent/glslang_tab.cpp"
 6119|      0|    break;
 6120|       |
 6121|      0|  case 28: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (6121:3): [True: 0, False: 2.73M]
  ------------------
 6122|      0|#line 475 "MachineIndependent/glslang.y"
 6123|      0|                                {
 6124|      0|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6125|      0|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6126|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6127|      0|    }
 6128|      0|#line 6129 "MachineIndependent/glslang_tab.cpp"
 6129|      0|    break;
 6130|       |
 6131|      1|  case 29: /* integer_expression: expression  */
  ------------------
  |  Branch (6131:3): [True: 1, False: 2.73M]
  ------------------
 6132|      1|#line 483 "MachineIndependent/glslang.y"
 6133|      1|                 {
 6134|      1|        parseContext.arrayIndexCheck((yyvsp[0].interm.intermTypedNode), "[]");
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6135|      1|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6136|      1|    }
 6137|      1|#line 6138 "MachineIndependent/glslang_tab.cpp"
 6138|      1|    break;
 6139|       |
 6140|     46|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6140:3): [True: 46, False: 2.73M]
  ------------------
 6141|     46|#line 490 "MachineIndependent/glslang.y"
 6142|     46|                              {
 6143|     46|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
 6144|     46|        delete (yyvsp[0].interm).function;
 6145|     46|    }
 6146|     46|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|     46|    break;
 6148|       |
 6149|     46|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6149:3): [True: 46, False: 2.73M]
  ------------------
 6150|     46|#line 497 "MachineIndependent/glslang.y"
 6151|     46|                            {
 6152|     46|        (yyval.interm) = (yyvsp[0].interm);
 6153|     46|    }
 6154|     46|#line 6155 "MachineIndependent/glslang_tab.cpp"
 6155|     46|    break;
 6156|       |
 6157|     46|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6157:3): [True: 46, False: 2.73M]
  ------------------
 6158|     46|#line 503 "MachineIndependent/glslang.y"
 6159|     46|                                                       {
 6160|     46|        (yyval.interm) = (yyvsp[-1].interm);
 6161|     46|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6162|     46|    }
 6163|     46|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|     46|    break;
 6165|       |
 6166|      0|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6166:3): [True: 0, False: 2.73M]
  ------------------
 6167|      0|#line 507 "MachineIndependent/glslang.y"
 6168|      0|                                                     {
 6169|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6170|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6171|      0|    }
 6172|      0|#line 6173 "MachineIndependent/glslang_tab.cpp"
 6173|      0|    break;
 6174|       |
 6175|      0|  case 34: /* function_call_header_no_parameters: function_call_header VOID  */
  ------------------
  |  Branch (6175:3): [True: 0, False: 2.73M]
  ------------------
 6176|      0|#line 514 "MachineIndependent/glslang.y"
 6177|      0|                                {
 6178|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6179|      0|    }
 6180|      0|#line 6181 "MachineIndependent/glslang_tab.cpp"
 6181|      0|    break;
 6182|       |
 6183|      1|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6183:3): [True: 1, False: 2.73M]
  ------------------
 6184|      1|#line 517 "MachineIndependent/glslang.y"
 6185|      1|                           {
 6186|      1|        (yyval.interm) = (yyvsp[0].interm);
 6187|      1|    }
 6188|      1|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|      1|    break;
 6190|       |
 6191|     46|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6191:3): [True: 46, False: 2.73M]
  ------------------
 6192|     46|#line 523 "MachineIndependent/glslang.y"
 6193|     46|                                                 {
 6194|     46|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     46|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6194:13): [True: 12, False: 34]
  ------------------
 6195|     12|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6195:16): [True: 0, False: 12]
  ------------------
 6196|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6196:16): [True: 0, False: 0]
  ------------------
 6197|      0|        {
 6198|      0|            (yyval.interm).intermNode = parseContext.vkRelaxedRemapFunctionArgument((yyval.interm).loc, (yyvsp[-1].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6199|      0|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6200|      0|        }
 6201|     46|        else
 6202|     46|        {
 6203|     46|            TParameter param = { 0, new TType, {} };
 6204|     46|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6205|       |
 6206|     46|            (yyvsp[-1].interm).function->addParameter(param);
 6207|     46|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6208|     46|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6209|     46|        }
 6210|     46|    }
 6211|     46|#line 6212 "MachineIndependent/glslang_tab.cpp"
 6212|     46|    break;
 6213|       |
 6214|     52|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6214:3): [True: 52, False: 2.73M]
  ------------------
 6215|     52|#line 541 "MachineIndependent/glslang.y"
 6216|     52|                                                                       {
 6217|     52|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6217:13): [True: 24, False: 28]
  ------------------
 6218|     24|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6218:16): [True: 0, False: 24]
  ------------------
 6219|      0|            && (yyvsp[0].interm.intermTypedNode)->getType().containsOpaque())
  ------------------
  |  Branch (6219:16): [True: 0, False: 0]
  ------------------
 6220|      0|        {
 6221|      0|            TIntermNode* remappedNode = parseContext.vkRelaxedRemapFunctionArgument((yyvsp[-1].lex).loc, (yyvsp[-2].interm).function, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6222|      0|            if (remappedNode == (yyvsp[0].interm.intermTypedNode))
  ------------------
  |  Branch (6222:17): [True: 0, False: 0]
  ------------------
 6223|      0|                (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6224|      0|            else
 6225|      0|                (yyval.interm).intermNode = parseContext.intermediate.mergeAggregate((yyvsp[-2].interm).intermNode, remappedNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6226|      0|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6227|      0|        }
 6228|     52|        else
 6229|     52|        {
 6230|     52|            TParameter param = { 0, new TType, {} };
 6231|     52|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6232|       |
 6233|     52|            (yyvsp[-2].interm).function->addParameter(param);
 6234|     52|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6235|     52|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     52|#define parseContext (*pParseContext)
  ------------------
 6236|     52|        }
 6237|     52|    }
 6238|     52|#line 6239 "MachineIndependent/glslang_tab.cpp"
 6239|     52|    break;
 6240|       |
 6241|    425|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6241:3): [True: 425, False: 2.73M]
  ------------------
 6242|    425|#line 566 "MachineIndependent/glslang.y"
 6243|    425|                                     {
 6244|    425|        (yyval.interm) = (yyvsp[-1].interm);
 6245|    425|    }
 6246|    425|#line 6247 "MachineIndependent/glslang_tab.cpp"
 6247|    425|    break;
 6248|       |
 6249|    383|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6249:3): [True: 383, False: 2.73M]
  ------------------
 6250|    383|#line 574 "MachineIndependent/glslang.y"
 6251|    383|                     {
 6252|       |        // Constructor
 6253|    383|        (yyval.interm).intermNode = 0;
 6254|    383|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|    383|#define parseContext (*pParseContext)
  ------------------
 6255|    383|    }
 6256|    383|#line 6257 "MachineIndependent/glslang_tab.cpp"
 6257|    383|    break;
 6258|       |
 6259|     42|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6259:3): [True: 42, False: 2.73M]
  ------------------
 6260|     42|#line 579 "MachineIndependent/glslang.y"
 6261|     42|                         {
 6262|       |        //
 6263|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6264|       |        //
 6265|     42|        (yyval.interm).function = 0;
 6266|     42|        (yyval.interm).intermNode = 0;
 6267|       |
 6268|     42|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6269|     42|        if (method) {
  ------------------
  |  Branch (6269:13): [True: 0, False: 42]
  ------------------
 6270|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6271|      0|            (yyval.interm).intermNode = method->getObject();
 6272|     42|        } else {
 6273|     42|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6274|     42|            if (symbol) {
  ------------------
  |  Branch (6274:17): [True: 29, False: 13]
  ------------------
 6275|     29|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
 6276|     29|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6277|     29|                (yyval.interm).function = function;
 6278|     29|            } else
 6279|     13|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  783|     13|#define parseContext (*pParseContext)
  ------------------
 6280|     42|        }
 6281|       |
 6282|     42|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6282:13): [True: 13, False: 29]
  ------------------
 6283|       |            // error recover
 6284|     13|            TString* empty = NewPoolTString("");
 6285|     13|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6286|     13|        }
 6287|     42|    }
 6288|     42|#line 6289 "MachineIndependent/glslang_tab.cpp"
 6289|     42|    break;
 6290|       |
 6291|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6291:3): [True: 0, False: 2.73M]
  ------------------
 6292|      0|#line 606 "MachineIndependent/glslang.y"
 6293|      0|                            {
 6294|       |        // Constructor
 6295|      0|        (yyval.interm).intermNode = 0;
 6296|      0|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6297|      0|    }
 6298|      0|#line 6299 "MachineIndependent/glslang_tab.cpp"
 6299|      0|    break;
 6300|       |
 6301|  2.96k|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6301:3): [True: 2.96k, False: 2.73M]
  ------------------
 6302|  2.96k|#line 614 "MachineIndependent/glslang.y"
 6303|  2.96k|                         {
 6304|  2.96k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  2.96k|#define parseContext (*pParseContext)
  ------------------
 6305|  2.96k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6306|  2.96k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6306:28): [True: 0, False: 2.96k]
  ------------------
 6307|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6308|  2.96k|    }
 6309|  2.96k|#line 6310 "MachineIndependent/glslang_tab.cpp"
 6310|  2.96k|    break;
 6311|       |
 6312|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6312:3): [True: 0, False: 2.73M]
  ------------------
 6313|      0|#line 620 "MachineIndependent/glslang.y"
 6314|      0|                              {
 6315|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6316|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6317|      0|    }
 6318|      0|#line 6319 "MachineIndependent/glslang_tab.cpp"
 6319|      0|    break;
 6320|       |
 6321|      0|  case 44: /* unary_expression: DEC_OP unary_expression  */
  ------------------
  |  Branch (6321:3): [True: 0, False: 2.73M]
  ------------------
 6322|      0|#line 624 "MachineIndependent/glslang.y"
 6323|      0|                              {
 6324|      0|        parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6325|      0|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6326|      0|    }
 6327|      0|#line 6328 "MachineIndependent/glslang_tab.cpp"
 6328|      0|    break;
 6329|       |
 6330|     77|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6330:3): [True: 77, False: 2.73M]
  ------------------
 6331|     77|#line 628 "MachineIndependent/glslang.y"
 6332|     77|                                      {
 6333|     77|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6333:13): [True: 69, False: 8]
  ------------------
 6334|     69|            char errorOp[2] = {0, 0};
 6335|     69|            switch((yyvsp[-1].interm).op) {
 6336|      3|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6336:13): [True: 3, False: 66]
  ------------------
 6337|     66|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6337:13): [True: 66, False: 3]
  ------------------
 6338|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6338:13): [True: 0, False: 69]
  ------------------
 6339|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6339:13): [True: 0, False: 69]
  ------------------
 6340|     69|            }
 6341|     69|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|     69|#define parseContext (*pParseContext)
  ------------------
 6342|     69|        } else {
 6343|      8|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6344|      8|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (6344:17): [True: 8, False: 0]
  ------------------
 6345|      8|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 6346|      8|        }
 6347|     77|    }
 6348|     77|#line 6349 "MachineIndependent/glslang_tab.cpp"
 6349|     77|    break;
 6350|       |
 6351|     77|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6351:3): [True: 0, False: 2.73M]
  ------------------
 6352|      0|#line 644 "MachineIndependent/glslang.y"
 6353|      0|                                                                      {
 6354|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6355|      0|    }
 6356|      0|#line 6357 "MachineIndependent/glslang_tab.cpp"
 6357|      0|    break;
 6358|       |
 6359|      8|  case 47: /* unary_operator: PLUS  */
  ------------------
  |  Branch (6359:3): [True: 8, False: 2.73M]
  ------------------
 6360|      8|#line 651 "MachineIndependent/glslang.y"
 6361|      8|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 6362|      8|#line 6363 "MachineIndependent/glslang_tab.cpp"
 6363|      8|    break;
 6364|       |
 6365|      3|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6365:3): [True: 3, False: 2.73M]
  ------------------
 6366|      3|#line 652 "MachineIndependent/glslang.y"
 6367|      3|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6368|      3|#line 6369 "MachineIndependent/glslang_tab.cpp"
 6369|      3|    break;
 6370|       |
 6371|     71|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6371:3): [True: 71, False: 2.73M]
  ------------------
 6372|     71|#line 653 "MachineIndependent/glslang.y"
 6373|     71|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 6374|     71|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|     71|    break;
 6376|       |
 6377|      0|  case 50: /* unary_operator: TILDE  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 2.73M]
  ------------------
 6378|      0|#line 654 "MachineIndependent/glslang.y"
 6379|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
 6380|      0|              parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6381|      0|#line 6382 "MachineIndependent/glslang_tab.cpp"
 6382|      0|    break;
 6383|       |
 6384|  2.89k|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6384:3): [True: 2.89k, False: 2.73M]
  ------------------
 6385|  2.89k|#line 660 "MachineIndependent/glslang.y"
 6386|  2.89k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6387|  2.89k|#line 6388 "MachineIndependent/glslang_tab.cpp"
 6388|  2.89k|    break;
 6389|       |
 6390|      1|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6390:3): [True: 1, False: 2.73M]
  ------------------
 6391|      1|#line 661 "MachineIndependent/glslang.y"
 6392|      1|                                                      {
 6393|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6394|      1|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6394:13): [True: 0, False: 1]
  ------------------
 6395|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6396|      1|    }
 6397|      1|#line 6398 "MachineIndependent/glslang_tab.cpp"
 6398|      1|    break;
 6399|       |
 6400|      0|  case 53: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (6400:3): [True: 0, False: 2.73M]
  ------------------
 6401|      0|#line 666 "MachineIndependent/glslang.y"
 6402|      0|                                                       {
 6403|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6404|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6404:13): [True: 0, False: 0]
  ------------------
 6405|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6406|      0|    }
 6407|      0|#line 6408 "MachineIndependent/glslang_tab.cpp"
 6408|      0|    break;
 6409|       |
 6410|      0|  case 54: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression  */
  ------------------
  |  Branch (6410:3): [True: 0, False: 2.73M]
  ------------------
 6411|      0|#line 671 "MachineIndependent/glslang.y"
 6412|      0|                                                         {
 6413|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6414|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6415|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6415:13): [True: 0, False: 0]
  ------------------
 6416|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6417|      0|    }
 6418|      0|#line 6419 "MachineIndependent/glslang_tab.cpp"
 6419|      0|    break;
 6420|       |
 6421|  2.85k|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6421:3): [True: 2.85k, False: 2.73M]
  ------------------
 6422|  2.85k|#line 680 "MachineIndependent/glslang.y"
 6423|  2.85k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6424|  2.85k|#line 6425 "MachineIndependent/glslang_tab.cpp"
 6425|  2.85k|    break;
 6426|       |
 6427|     28|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6427:3): [True: 28, False: 2.73M]
  ------------------
 6428|     28|#line 681 "MachineIndependent/glslang.y"
 6429|     28|                                                         {
 6430|     28|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 6431|     28|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6431:13): [True: 0, False: 28]
  ------------------
 6432|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6433|     28|    }
 6434|     28|#line 6435 "MachineIndependent/glslang_tab.cpp"
 6435|     28|    break;
 6436|       |
 6437|     10|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6437:3): [True: 10, False: 2.73M]
  ------------------
 6438|     10|#line 686 "MachineIndependent/glslang.y"
 6439|     10|                                                         {
 6440|     10|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|     10|#define parseContext (*pParseContext)
  ------------------
 6441|     10|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6441:13): [True: 10, False: 0]
  ------------------
 6442|     10|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6443|     10|    }
 6444|     10|#line 6445 "MachineIndependent/glslang_tab.cpp"
 6445|     10|    break;
 6446|       |
 6447|  2.84k|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 2.84k, False: 2.73M]
  ------------------
 6448|  2.84k|#line 694 "MachineIndependent/glslang.y"
 6449|  2.84k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6450|  2.84k|#line 6451 "MachineIndependent/glslang_tab.cpp"
 6451|  2.84k|    break;
 6452|       |
 6453|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6453:3): [True: 0, False: 2.73M]
  ------------------
 6454|      0|#line 695 "MachineIndependent/glslang.y"
 6455|      0|                                                   {
 6456|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6457|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6458|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6458:13): [True: 0, False: 0]
  ------------------
 6459|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6460|      0|    }
 6461|      0|#line 6462 "MachineIndependent/glslang_tab.cpp"
 6462|      0|    break;
 6463|       |
 6464|      0|  case 60: /* shift_expression: shift_expression RIGHT_OP additive_expression  */
  ------------------
  |  Branch (6464:3): [True: 0, False: 2.73M]
  ------------------
 6465|      0|#line 701 "MachineIndependent/glslang.y"
 6466|      0|                                                    {
 6467|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6468|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6469|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6469:13): [True: 0, False: 0]
  ------------------
 6470|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6471|      0|    }
 6472|      0|#line 6473 "MachineIndependent/glslang_tab.cpp"
 6473|      0|    break;
 6474|       |
 6475|  2.84k|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6475:3): [True: 2.84k, False: 2.73M]
  ------------------
 6476|  2.84k|#line 710 "MachineIndependent/glslang.y"
 6477|  2.84k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6478|  2.84k|#line 6479 "MachineIndependent/glslang_tab.cpp"
 6479|  2.84k|    break;
 6480|       |
 6481|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6481:3): [True: 0, False: 2.73M]
  ------------------
 6482|      0|#line 711 "MachineIndependent/glslang.y"
 6483|      0|                                                        {
 6484|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6485|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6485:13): [True: 0, False: 0]
  ------------------
 6486|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6487|      0|    }
 6488|      0|#line 6489 "MachineIndependent/glslang_tab.cpp"
 6489|      0|    break;
 6490|       |
 6491|      0|  case 63: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6491:3): [True: 0, False: 2.73M]
  ------------------
 6492|      0|#line 716 "MachineIndependent/glslang.y"
 6493|      0|                                                          {
 6494|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6495|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6495:13): [True: 0, False: 0]
  ------------------
 6496|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6497|      0|    }
 6498|      0|#line 6499 "MachineIndependent/glslang_tab.cpp"
 6499|      0|    break;
 6500|       |
 6501|      0|  case 64: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6501:3): [True: 0, False: 2.73M]
  ------------------
 6502|      0|#line 721 "MachineIndependent/glslang.y"
 6503|      0|                                                    {
 6504|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6505|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6505:13): [True: 0, False: 0]
  ------------------
 6506|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6507|      0|    }
 6508|      0|#line 6509 "MachineIndependent/glslang_tab.cpp"
 6509|      0|    break;
 6510|       |
 6511|      0|  case 65: /* relational_expression: relational_expression GE_OP shift_expression  */
  ------------------
  |  Branch (6511:3): [True: 0, False: 2.73M]
  ------------------
 6512|      0|#line 726 "MachineIndependent/glslang.y"
 6513|      0|                                                    {
 6514|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6515|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6515:13): [True: 0, False: 0]
  ------------------
 6516|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6517|      0|    }
 6518|      0|#line 6519 "MachineIndependent/glslang_tab.cpp"
 6519|      0|    break;
 6520|       |
 6521|  2.84k|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6521:3): [True: 2.84k, False: 2.73M]
  ------------------
 6522|  2.84k|#line 734 "MachineIndependent/glslang.y"
 6523|  2.84k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6524|  2.84k|#line 6525 "MachineIndependent/glslang_tab.cpp"
 6525|  2.84k|    break;
 6526|       |
 6527|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6527:3): [True: 0, False: 2.73M]
  ------------------
 6528|      0|#line 735 "MachineIndependent/glslang.y"
 6529|      0|                                                       {
 6530|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6531|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6532|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6533|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6534|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6535|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6535:13): [True: 0, False: 0]
  ------------------
 6536|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6537|      0|    }
 6538|      0|#line 6539 "MachineIndependent/glslang_tab.cpp"
 6539|      0|    break;
 6540|       |
 6541|      0|  case 68: /* equality_expression: equality_expression NE_OP relational_expression  */
  ------------------
  |  Branch (6541:3): [True: 0, False: 2.73M]
  ------------------
 6542|      0|#line 744 "MachineIndependent/glslang.y"
 6543|      0|                                                      {
 6544|      0|        parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6545|      0|        parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6546|      0|        parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6547|      0|        parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6548|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6549|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6549:13): [True: 0, False: 0]
  ------------------
 6550|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6551|      0|    }
 6552|      0|#line 6553 "MachineIndependent/glslang_tab.cpp"
 6553|      0|    break;
 6554|       |
 6555|  2.84k|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6555:3): [True: 2.84k, False: 2.73M]
  ------------------
 6556|  2.84k|#line 756 "MachineIndependent/glslang.y"
 6557|  2.84k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|  2.84k|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|  2.84k|    break;
 6560|       |
 6561|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 2.73M]
  ------------------
 6562|      0|#line 757 "MachineIndependent/glslang.y"
 6563|      0|                                                   {
 6564|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6565|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6566|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6566:13): [True: 0, False: 0]
  ------------------
 6567|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6568|      0|    }
 6569|      0|#line 6570 "MachineIndependent/glslang_tab.cpp"
 6570|      0|    break;
 6571|       |
 6572|  2.84k|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6572:3): [True: 2.84k, False: 2.73M]
  ------------------
 6573|  2.84k|#line 766 "MachineIndependent/glslang.y"
 6574|  2.84k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|  2.84k|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|  2.84k|    break;
 6577|       |
 6578|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 2.73M]
  ------------------
 6579|      0|#line 767 "MachineIndependent/glslang.y"
 6580|      0|                                                   {
 6581|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6582|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6583|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6583:13): [True: 0, False: 0]
  ------------------
 6584|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6585|      0|    }
 6586|      0|#line 6587 "MachineIndependent/glslang_tab.cpp"
 6587|      0|    break;
 6588|       |
 6589|  2.84k|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 2.84k, False: 2.73M]
  ------------------
 6590|  2.84k|#line 776 "MachineIndependent/glslang.y"
 6591|  2.84k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|  2.84k|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|  2.84k|    break;
 6594|       |
 6595|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 2.73M]
  ------------------
 6596|      0|#line 777 "MachineIndependent/glslang.y"
 6597|      0|                                                                   {
 6598|      0|        parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6599|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6600|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6600:13): [True: 0, False: 0]
  ------------------
 6601|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6602|      0|    }
 6603|      0|#line 6604 "MachineIndependent/glslang_tab.cpp"
 6604|      0|    break;
 6605|       |
 6606|  2.84k|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6606:3): [True: 2.84k, False: 2.73M]
  ------------------
 6607|  2.84k|#line 786 "MachineIndependent/glslang.y"
 6608|  2.84k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6609|  2.84k|#line 6610 "MachineIndependent/glslang_tab.cpp"
 6610|  2.84k|    break;
 6611|       |
 6612|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6612:3): [True: 0, False: 2.73M]
  ------------------
 6613|      0|#line 787 "MachineIndependent/glslang.y"
 6614|      0|                                                            {
 6615|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6616|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6616:13): [True: 0, False: 0]
  ------------------
 6617|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6618|      0|    }
 6619|      0|#line 6620 "MachineIndependent/glslang_tab.cpp"
 6620|      0|    break;
 6621|       |
 6622|  2.84k|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6622:3): [True: 2.84k, False: 2.73M]
  ------------------
 6623|  2.84k|#line 795 "MachineIndependent/glslang.y"
 6624|  2.84k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6625|  2.84k|#line 6626 "MachineIndependent/glslang_tab.cpp"
 6626|  2.84k|    break;
 6627|       |
 6628|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6628:3): [True: 0, False: 2.73M]
  ------------------
 6629|      0|#line 796 "MachineIndependent/glslang.y"
 6630|      0|                                                            {
 6631|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6632|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6632:13): [True: 0, False: 0]
  ------------------
 6633|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6634|      0|    }
 6635|      0|#line 6636 "MachineIndependent/glslang_tab.cpp"
 6636|      0|    break;
 6637|       |
 6638|  2.84k|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6638:3): [True: 2.84k, False: 2.73M]
  ------------------
 6639|  2.84k|#line 804 "MachineIndependent/glslang.y"
 6640|  2.84k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6641|  2.84k|#line 6642 "MachineIndependent/glslang_tab.cpp"
 6642|  2.84k|    break;
 6643|       |
 6644|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6644:3): [True: 0, False: 2.73M]
  ------------------
 6645|      0|#line 805 "MachineIndependent/glslang.y"
 6646|      0|                                                          {
 6647|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6648|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6648:13): [True: 0, False: 0]
  ------------------
 6649|      0|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6650|      0|    }
 6651|      0|#line 6652 "MachineIndependent/glslang_tab.cpp"
 6652|      0|    break;
 6653|       |
 6654|  2.78k|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6654:3): [True: 2.78k, False: 2.73M]
  ------------------
 6655|  2.78k|#line 813 "MachineIndependent/glslang.y"
 6656|  2.78k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6657|  2.78k|#line 6658 "MachineIndependent/glslang_tab.cpp"
 6658|  2.78k|    break;
 6659|       |
 6660|     69|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6660:3): [True: 69, False: 2.73M]
  ------------------
 6661|     69|#line 814 "MachineIndependent/glslang.y"
 6662|     69|                                     {
 6663|     69|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|     69|#define parseContext (*pParseContext)
  ------------------
 6664|     69|    }
 6665|     69|#line 6666 "MachineIndependent/glslang_tab.cpp"
 6666|     69|    break;
 6667|       |
 6668|     54|  case 83: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6668:3): [True: 54, False: 2.73M]
  ------------------
 6669|     54|#line 817 "MachineIndependent/glslang.y"
 6670|     54|                                             {
 6671|     54|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6672|     54|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6673|     54|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6674|     54|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6675|     54|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6676|     54|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 6677|     54|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6677:13): [True: 34, False: 20]
  ------------------
 6678|     34|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|     34|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|     34|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|     34|#define parseContext (*pParseContext)
  ------------------
 6679|     34|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6680|     34|        }
 6681|     54|    }
 6682|     54|#line 6683 "MachineIndependent/glslang_tab.cpp"
 6683|     54|    break;
 6684|       |
 6685|  1.66k|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6685:3): [True: 1.66k, False: 2.73M]
  ------------------
 6686|  1.66k|#line 832 "MachineIndependent/glslang.y"
 6687|  1.66k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6688|  1.66k|#line 6689 "MachineIndependent/glslang_tab.cpp"
 6689|  1.66k|    break;
 6690|       |
 6691|      0|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6691:3): [True: 0, False: 2.73M]
  ------------------
 6692|      0|#line 833 "MachineIndependent/glslang.y"
 6693|      0|                                                                 {
 6694|      0|        parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6695|      0|        parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6696|      0|        parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6697|      0|        parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6698|      0|        parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6699|      0|        parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6700|      0|        (yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6701|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6701:13): [True: 0, False: 0]
  ------------------
 6702|      0|            parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6703|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6704|      0|        }
 6705|      0|    }
 6706|      0|#line 6707 "MachineIndependent/glslang_tab.cpp"
 6707|      0|    break;
 6708|       |
 6709|      0|  case 86: /* assignment_operator: EQUAL  */
  ------------------
  |  Branch (6709:3): [True: 0, False: 2.73M]
  ------------------
 6710|      0|#line 849 "MachineIndependent/glslang.y"
 6711|      0|            {
 6712|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6713|      0|        (yyval.interm).op = EOpAssign;
 6714|      0|    }
 6715|      0|#line 6716 "MachineIndependent/glslang_tab.cpp"
 6716|      0|    break;
 6717|       |
 6718|      0|  case 87: /* assignment_operator: MUL_ASSIGN  */
  ------------------
  |  Branch (6718:3): [True: 0, False: 2.73M]
  ------------------
 6719|      0|#line 853 "MachineIndependent/glslang.y"
 6720|      0|                 {
 6721|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6722|      0|        (yyval.interm).op = EOpMulAssign;
 6723|      0|    }
 6724|      0|#line 6725 "MachineIndependent/glslang_tab.cpp"
 6725|      0|    break;
 6726|       |
 6727|      0|  case 88: /* assignment_operator: DIV_ASSIGN  */
  ------------------
  |  Branch (6727:3): [True: 0, False: 2.73M]
  ------------------
 6728|      0|#line 857 "MachineIndependent/glslang.y"
 6729|      0|                 {
 6730|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6731|      0|        (yyval.interm).op = EOpDivAssign;
 6732|      0|    }
 6733|      0|#line 6734 "MachineIndependent/glslang_tab.cpp"
 6734|      0|    break;
 6735|       |
 6736|      0|  case 89: /* assignment_operator: MOD_ASSIGN  */
  ------------------
  |  Branch (6736:3): [True: 0, False: 2.73M]
  ------------------
 6737|      0|#line 861 "MachineIndependent/glslang.y"
 6738|      0|                 {
 6739|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6740|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6741|      0|        (yyval.interm).op = EOpModAssign;
 6742|      0|    }
 6743|      0|#line 6744 "MachineIndependent/glslang_tab.cpp"
 6744|      0|    break;
 6745|       |
 6746|      0|  case 90: /* assignment_operator: ADD_ASSIGN  */
  ------------------
  |  Branch (6746:3): [True: 0, False: 2.73M]
  ------------------
 6747|      0|#line 866 "MachineIndependent/glslang.y"
 6748|      0|                 {
 6749|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6750|      0|        (yyval.interm).op = EOpAddAssign;
 6751|      0|    }
 6752|      0|#line 6753 "MachineIndependent/glslang_tab.cpp"
 6753|      0|    break;
 6754|       |
 6755|      0|  case 91: /* assignment_operator: SUB_ASSIGN  */
  ------------------
  |  Branch (6755:3): [True: 0, False: 2.73M]
  ------------------
 6756|      0|#line 870 "MachineIndependent/glslang.y"
 6757|      0|                 {
 6758|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6759|      0|        (yyval.interm).op = EOpSubAssign;
 6760|      0|    }
 6761|      0|#line 6762 "MachineIndependent/glslang_tab.cpp"
 6762|      0|    break;
 6763|       |
 6764|      0|  case 92: /* assignment_operator: LEFT_ASSIGN  */
  ------------------
  |  Branch (6764:3): [True: 0, False: 2.73M]
  ------------------
 6765|      0|#line 874 "MachineIndependent/glslang.y"
 6766|      0|                  {
 6767|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6768|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
 6769|      0|    }
 6770|      0|#line 6771 "MachineIndependent/glslang_tab.cpp"
 6771|      0|    break;
 6772|       |
 6773|      0|  case 93: /* assignment_operator: RIGHT_ASSIGN  */
  ------------------
  |  Branch (6773:3): [True: 0, False: 2.73M]
  ------------------
 6774|      0|#line 878 "MachineIndependent/glslang.y"
 6775|      0|                   {
 6776|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6777|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
 6778|      0|    }
 6779|      0|#line 6780 "MachineIndependent/glslang_tab.cpp"
 6780|      0|    break;
 6781|       |
 6782|      0|  case 94: /* assignment_operator: AND_ASSIGN  */
  ------------------
  |  Branch (6782:3): [True: 0, False: 2.73M]
  ------------------
 6783|      0|#line 882 "MachineIndependent/glslang.y"
 6784|      0|                 {
 6785|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6786|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
 6787|      0|    }
 6788|      0|#line 6789 "MachineIndependent/glslang_tab.cpp"
 6789|      0|    break;
 6790|       |
 6791|      0|  case 95: /* assignment_operator: XOR_ASSIGN  */
  ------------------
  |  Branch (6791:3): [True: 0, False: 2.73M]
  ------------------
 6792|      0|#line 886 "MachineIndependent/glslang.y"
 6793|      0|                 {
 6794|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6795|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
 6796|      0|    }
 6797|      0|#line 6798 "MachineIndependent/glslang_tab.cpp"
 6798|      0|    break;
 6799|       |
 6800|      0|  case 96: /* assignment_operator: OR_ASSIGN  */
  ------------------
  |  Branch (6800:3): [True: 0, False: 2.73M]
  ------------------
 6801|      0|#line 890 "MachineIndependent/glslang.y"
 6802|      0|                {
 6803|      0|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6804|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
 6805|      0|    }
 6806|      0|#line 6807 "MachineIndependent/glslang_tab.cpp"
 6807|      0|    break;
 6808|       |
 6809|     69|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6809:3): [True: 69, False: 2.73M]
  ------------------
 6810|     69|#line 897 "MachineIndependent/glslang.y"
 6811|     69|                            {
 6812|     69|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6813|     69|    }
 6814|     69|#line 6815 "MachineIndependent/glslang_tab.cpp"
 6815|     69|    break;
 6816|       |
 6817|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6817:3): [True: 0, False: 2.73M]
  ------------------
 6818|      0|#line 900 "MachineIndependent/glslang.y"
 6819|      0|                                             {
 6820|      0|        parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6821|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6822|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6822:13): [True: 0, False: 0]
  ------------------
 6823|      0|            parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6824|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6825|      0|        }
 6826|      0|    }
 6827|      0|#line 6828 "MachineIndependent/glslang_tab.cpp"
 6828|      0|    break;
 6829|       |
 6830|      0|  case 99: /* constant_expression: conditional_expression  */
  ------------------
  |  Branch (6830:3): [True: 0, False: 2.73M]
  ------------------
 6831|      0|#line 911 "MachineIndependent/glslang.y"
 6832|      0|                             {
 6833|      0|        parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6834|      0|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6835|      0|    }
 6836|      0|#line 6837 "MachineIndependent/glslang_tab.cpp"
 6837|      0|    break;
 6838|       |
 6839|  92.1k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6839:3): [True: 92.1k, False: 2.64M]
  ------------------
 6840|  92.1k|#line 918 "MachineIndependent/glslang.y"
 6841|  92.1k|                                   {
 6842|  92.1k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|  92.1k|#define parseContext (*pParseContext)
  ------------------
 6843|  92.1k|        (yyval.interm.intermNode) = 0;
 6844|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6845|  92.1k|    }
 6846|  92.1k|#line 6847 "MachineIndependent/glslang_tab.cpp"
 6847|  92.1k|    break;
 6848|       |
 6849|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6849:3): [True: 0, False: 2.73M]
  ------------------
 6850|      0|#line 923 "MachineIndependent/glslang.y"
 6851|      0|                                                               {
 6852|      0|        parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6853|      0|        (yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
 6854|      0|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6855|      0|        (yyval.interm.intermNode) = 0;
 6856|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6857|      0|    }
 6858|      0|#line 6859 "MachineIndependent/glslang_tab.cpp"
 6859|      0|    break;
 6860|       |
 6861|      0|  case 102: /* declaration: spirv_execution_mode_qualifier SEMICOLON  */
  ------------------
  |  Branch (6861:3): [True: 0, False: 2.73M]
  ------------------
 6862|      0|#line 930 "MachineIndependent/glslang.y"
 6863|      0|                                               {
 6864|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6865|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6866|      0|        (yyval.interm.intermNode) = 0;
 6867|      0|    }
 6868|      0|#line 6869 "MachineIndependent/glslang_tab.cpp"
 6869|      0|    break;
 6870|       |
 6871|  3.98k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6871:3): [True: 3.98k, False: 2.73M]
  ------------------
 6872|  3.98k|#line 935 "MachineIndependent/glslang.y"
 6873|  3.98k|                                     {
 6874|  3.98k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6874:13): [True: 0, False: 3.98k]
  |  Branch (6874:46): [True: 0, False: 0]
  ------------------
 6875|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6876|  3.98k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6877|  3.98k|    }
 6878|  3.98k|#line 6879 "MachineIndependent/glslang_tab.cpp"
 6879|  3.98k|    break;
 6880|       |
 6881|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6881:3): [True: 0, False: 2.73M]
  ------------------
 6882|      0|#line 940 "MachineIndependent/glslang.y"
 6883|      0|                                                             {
 6884|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6885|       |        // lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
 6886|      0|        parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6887|      0|        parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6888|      0|        (yyval.interm.intermNode) = 0;
 6889|      0|    }
 6890|      0|#line 6891 "MachineIndependent/glslang_tab.cpp"
 6891|      0|    break;
 6892|       |
 6893|     21|  case 105: /* declaration: block_structure SEMICOLON  */
  ------------------
  |  Branch (6893:3): [True: 21, False: 2.73M]
  ------------------
 6894|     21|#line 947 "MachineIndependent/glslang.y"
 6895|     21|                                {
 6896|     21|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 6897|     21|    }
 6898|     21|#line 6899 "MachineIndependent/glslang_tab.cpp"
 6899|     21|    break;
 6900|       |
 6901|      0|  case 106: /* declaration: block_structure IDENTIFIER SEMICOLON  */
  ------------------
  |  Branch (6901:3): [True: 0, False: 2.73M]
  ------------------
 6902|      0|#line 950 "MachineIndependent/glslang.y"
 6903|      0|                                           {
 6904|      0|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6905|      0|    }
 6906|      0|#line 6907 "MachineIndependent/glslang_tab.cpp"
 6907|      0|    break;
 6908|       |
 6909|     38|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6909:3): [True: 38, False: 2.73M]
  ------------------
 6910|     38|#line 953 "MachineIndependent/glslang.y"
 6911|     38|                                                           {
 6912|     38|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
 6913|     38|    }
 6914|     38|#line 6915 "MachineIndependent/glslang_tab.cpp"
 6915|     38|    break;
 6916|       |
 6917|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6917:3): [True: 0, False: 2.73M]
  ------------------
 6918|      0|#line 956 "MachineIndependent/glslang.y"
 6919|      0|                               {
 6920|      0|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6921|      0|        parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6922|      0|        (yyval.interm.intermNode) = 0;
 6923|      0|    }
 6924|      0|#line 6925 "MachineIndependent/glslang_tab.cpp"
 6925|      0|    break;
 6926|       |
 6927|      0|  case 109: /* declaration: type_qualifier identifier_list SEMICOLON  */
  ------------------
  |  Branch (6927:3): [True: 0, False: 2.73M]
  ------------------
 6928|      0|#line 961 "MachineIndependent/glslang.y"
 6929|      0|                                               {
 6930|      0|        parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6931|      0|        parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6932|      0|        (yyval.interm.intermNode) = 0;
 6933|      0|    }
 6934|      0|#line 6935 "MachineIndependent/glslang_tab.cpp"
 6935|      0|    break;
 6936|       |
 6937|     59|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6937:3): [True: 59, False: 2.73M]
  ------------------
 6938|     59|#line 969 "MachineIndependent/glslang.y"
 6939|     59|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
 6940|     59|#line 6941 "MachineIndependent/glslang_tab.cpp"
 6941|     59|    break;
 6942|       |
 6943|     59|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6943:3): [True: 59, False: 2.73M]
  ------------------
 6944|     59|#line 969 "MachineIndependent/glslang.y"
 6945|     59|                                                                                                                          {
 6946|     59|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
 6947|     59|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
 6948|     59|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
 6949|     59|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
 6950|     59|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  783|    118|#define parseContext (*pParseContext)
  ------------------
 6951|     59|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6952|     59|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6953|     59|    }
 6954|     59|#line 6955 "MachineIndependent/glslang_tab.cpp"
 6955|     59|    break;
 6956|       |
 6957|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6957:3): [True: 0, False: 2.73M]
  ------------------
 6958|      0|#line 981 "MachineIndependent/glslang.y"
 6959|      0|                 {
 6960|      0|        (yyval.interm.identifierList) = new TIdentifierList;
 6961|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6962|      0|    }
 6963|      0|#line 6964 "MachineIndependent/glslang_tab.cpp"
 6964|      0|    break;
 6965|       |
 6966|      0|  case 113: /* identifier_list: identifier_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (6966:3): [True: 0, False: 2.73M]
  ------------------
 6967|      0|#line 985 "MachineIndependent/glslang.y"
 6968|      0|                                       {
 6969|      0|        (yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
 6970|      0|        (yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
 6971|      0|    }
 6972|      0|#line 6973 "MachineIndependent/glslang_tab.cpp"
 6973|      0|    break;
 6974|       |
 6975|  92.1k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6975:3): [True: 92.1k, False: 2.64M]
  ------------------
 6976|  92.1k|#line 992 "MachineIndependent/glslang.y"
 6977|  92.1k|                                       {
 6978|  92.1k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6979|  92.1k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|  92.1k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6979:13): [True: 0, False: 92.1k]
  ------------------
 6980|  92.1k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6981|  92.1k|    }
 6982|  92.1k|#line 6983 "MachineIndependent/glslang_tab.cpp"
 6983|  92.1k|    break;
 6984|       |
 6985|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6985:3): [True: 0, False: 2.73M]
  ------------------
 6986|      0|#line 997 "MachineIndependent/glslang.y"
 6987|      0|                                                {
 6988|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 6989|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6989:13): [True: 0, False: 0]
  ------------------
 6990|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 6991|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 6992|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6993|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6994|      0|    }
 6995|      0|#line 6996 "MachineIndependent/glslang_tab.cpp"
 6996|      0|    break;
 6997|       |
 6998|      0|  case 116: /* function_prototype: attribute function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6998:3): [True: 0, False: 2.73M]
  ------------------
 6999|      0|#line 1005 "MachineIndependent/glslang.y"
 7000|      0|                                                {
 7001|      0|        (yyval.interm).function = (yyvsp[-1].interm.function);
 7002|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7002:13): [True: 0, False: 0]
  ------------------
 7003|      0|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7004|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7005|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7006|      0|        parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyval.interm).function, *(yyvsp[-2].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7007|      0|    }
 7008|      0|#line 7009 "MachineIndependent/glslang_tab.cpp"
 7009|      0|    break;
 7010|       |
 7011|      0|  case 117: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (7011:3): [True: 0, False: 2.73M]
  ------------------
 7012|      0|#line 1013 "MachineIndependent/glslang.y"
 7013|      0|                                                          {
 7014|      0|        (yyval.interm).function = (yyvsp[-2].interm.function);
 7015|      0|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7015:13): [True: 0, False: 0]
  ------------------
 7016|      0|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7017|      0|        const char * extensions[3] = { E_GL_EXT_subgroup_uniform_control_flow, E_GL_EXT_maximal_reconvergence, E_GL_EXT_function_control_attributes };
 7018|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7019|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[-3].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7020|      0|        parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyval.interm).function, *(yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7021|      0|    }
 7022|      0|#line 7023 "MachineIndependent/glslang_tab.cpp"
 7023|      0|    break;
 7024|       |
 7025|    326|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7025:3): [True: 326, False: 2.73M]
  ------------------
 7026|    326|#line 1025 "MachineIndependent/glslang.y"
 7027|    326|                      {
 7028|    326|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7029|    326|    }
 7030|    326|#line 7031 "MachineIndependent/glslang_tab.cpp"
 7031|    326|    break;
 7032|       |
 7033|  91.7k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7033:3): [True: 91.7k, False: 2.64M]
  ------------------
 7034|  91.7k|#line 1028 "MachineIndependent/glslang.y"
 7035|  91.7k|                                      {
 7036|  91.7k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7037|  91.7k|    }
 7038|  91.7k|#line 7039 "MachineIndependent/glslang_tab.cpp"
 7039|  91.7k|    break;
 7040|       |
 7041|  91.7k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7041:3): [True: 91.7k, False: 2.64M]
  ------------------
 7042|  91.7k|#line 1035 "MachineIndependent/glslang.y"
 7043|  91.7k|                                            {
 7044|       |        // Add the parameter
 7045|  91.7k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7046|  91.7k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7046:13): [True: 91.7k, False: 46]
  ------------------
 7047|  91.7k|        {
 7048|  91.7k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  91.7k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  51.8k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7048:19): [True: 51.8k, False: 39.8k]
  |  Branch (7048:57): [True: 0, False: 51.8k]
  ------------------
 7049|  91.7k|                (yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
 7050|      0|            else
 7051|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-1].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7052|  91.7k|        }
 7053|     46|        else
 7054|     46|            delete (yyvsp[0].interm).param.type;
 7055|  91.7k|    }
 7056|  91.7k|#line 7057 "MachineIndependent/glslang_tab.cpp"
 7057|  91.7k|    break;
 7058|       |
 7059|   159k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7059:3): [True: 159k, False: 2.57M]
  ------------------
 7060|   159k|#line 1048 "MachineIndependent/glslang.y"
 7061|   159k|                                                                  {
 7062|       |        //
 7063|       |        // Only first parameter of one-parameter functions can be void
 7064|       |        // The check for named parameters not being void is done in parameter_declarator
 7065|       |        //
 7066|   159k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7066:13): [True: 0, False: 159k]
  ------------------
 7067|       |            //
 7068|       |            // This parameter > first is void
 7069|       |            //
 7070|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7071|      0|            delete (yyvsp[0].interm).param.type;
 7072|   159k|        } else {
 7073|       |            // Add the parameter
 7074|   159k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7075|   159k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   159k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  95.5k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7075:19): [True: 95.5k, False: 63.9k]
  |  Branch (7075:57): [True: 0, False: 95.5k]
  ------------------
 7076|   159k|                (yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
 7077|      0|            else
 7078|      0|                parseContext.vkRelaxedRemapFunctionParameter((yyvsp[-2].interm.function), (yyvsp[0].interm).param);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7079|   159k|        }
 7080|   159k|    }
 7081|   159k|#line 7082 "MachineIndependent/glslang_tab.cpp"
 7082|   159k|    break;
 7083|       |
 7084|    360|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7084:3): [True: 360, False: 2.73M]
  ------------------
 7085|    360|#line 1068 "MachineIndependent/glslang.y"
 7086|    360|                                                        {
 7087|    360|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7088|    360|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    360|#define parseContext (*pParseContext)
  ------------------
 7089|    360|    }
 7090|    360|#line 7091 "MachineIndependent/glslang_tab.cpp"
 7091|    360|    break;
 7092|       |
 7093|  92.1k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7093:3): [True: 92.1k, False: 2.64M]
  ------------------
 7094|  92.1k|#line 1075 "MachineIndependent/glslang.y"
 7095|  92.1k|                                                 {
 7096|  92.1k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7096:13): [True: 0, False: 92.1k]
  |  Branch (7096:71): [True: 0, False: 0]
  ------------------
 7097|      0|            parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7098|      0|                               GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
 7099|      0|        }
 7100|  92.1k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7100:13): [True: 0, False: 92.1k]
  ------------------
 7101|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7102|       |
 7103|       |        // Add the function as a prototype after parsing it (we do not support recursion)
 7104|  92.1k|        TFunction *function;
 7105|  92.1k|        TType type((yyvsp[-2].interm.type));
 7106|       |
 7107|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7108|  92.1k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  783|  92.1k|#define parseContext (*pParseContext)
  ------------------
 7109|       |
 7110|       |        // Make the function
 7111|  92.1k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7112|  92.1k|        (yyval.interm.function) = function;
 7113|  92.1k|    }
 7114|  92.1k|#line 7115 "MachineIndependent/glslang_tab.cpp"
 7115|  92.1k|    break;
 7116|       |
 7117|  47.7k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7117:3): [True: 47.7k, False: 2.69M]
  ------------------
 7118|  47.7k|#line 1098 "MachineIndependent/glslang.y"
 7119|  47.7k|                                {
 7120|  47.7k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7120:13): [True: 5.85k, False: 41.9k]
  ------------------
 7121|  5.85k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|  5.85k|#define parseContext (*pParseContext)
  ------------------
 7122|  5.85k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|  5.85k|#define parseContext (*pParseContext)
  ------------------
 7123|  5.85k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  783|  5.85k|#define parseContext (*pParseContext)
  ------------------
 7124|  5.85k|        }
 7125|  47.7k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 47.7k]
  ------------------
 7126|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7127|      0|        }
 7128|  47.7k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|  47.7k|#define parseContext (*pParseContext)
  ------------------
 7129|       |
 7130|  47.7k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7131|  47.7k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7132|  47.7k|        (yyval.interm).param = param;
 7133|  47.7k|    }
 7134|  47.7k|#line 7135 "MachineIndependent/glslang_tab.cpp"
 7135|  47.7k|    break;
 7136|       |
 7137|  1.30k|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7137:3): [True: 1.30k, False: 2.73M]
  ------------------
 7138|  1.30k|#line 1113 "MachineIndependent/glslang.y"
 7139|  1.30k|                                                {
 7140|  1.30k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7140:13): [True: 0, False: 1.30k]
  ------------------
 7141|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7142|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7143|      0|            parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7144|      0|        }
 7145|  1.30k|        TType* type = new TType((yyvsp[-2].interm.type));
 7146|  1.30k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7147|  1.30k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7148|       |
 7149|  1.30k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 7150|  1.30k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 7151|  1.30k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 7152|       |
 7153|  1.30k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7154|       |
 7155|  1.30k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7156|  1.30k|        (yyval.interm).param = param;
 7157|  1.30k|    }
 7158|  1.30k|#line 7159 "MachineIndependent/glslang_tab.cpp"
 7159|  1.30k|    break;
 7160|       |
 7161|    360|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7161:3): [True: 360, False: 2.73M]
  ------------------
 7162|    360|#line 1132 "MachineIndependent/glslang.y"
 7163|    360|                                                  {
 7164|    360|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    360|#define parseContext (*pParseContext)
  ------------------
 7165|    360|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7166|    360|        (yyval.interm).param = param;
 7167|    360|    }
 7168|    360|#line 7169 "MachineIndependent/glslang_tab.cpp"
 7169|    360|    break;
 7170|       |
 7171|  6.12k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7171:3): [True: 6.12k, False: 2.73M]
  ------------------
 7172|  6.12k|#line 1143 "MachineIndependent/glslang.y"
 7173|  6.12k|                                          {
 7174|  6.12k|        (yyval.interm) = (yyvsp[0].interm);
 7175|  6.12k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7175:13): [True: 136, False: 5.98k]
  ------------------
 7176|    136|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7177|  6.12k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  6.12k|#define parseContext (*pParseContext)
  ------------------
 7178|       |
 7179|  6.12k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  6.12k|#define parseContext (*pParseContext)
  ------------------
 7180|  6.12k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  6.12k|#define parseContext (*pParseContext)
  ------------------
 7181|  6.12k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  6.12k|#define parseContext (*pParseContext)
  ------------------
 7182|       |
 7183|  6.12k|    }
 7184|  6.12k|#line 7185 "MachineIndependent/glslang_tab.cpp"
 7185|  6.12k|    break;
 7186|       |
 7187|  43.3k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7187:3): [True: 43.3k, False: 2.69M]
  ------------------
 7188|  43.3k|#line 1154 "MachineIndependent/glslang.y"
 7189|  43.3k|                           {
 7190|  43.3k|        (yyval.interm) = (yyvsp[0].interm);
 7191|       |
 7192|  43.3k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  43.3k|#define parseContext (*pParseContext)
  ------------------
 7193|  43.3k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  43.3k|#define parseContext (*pParseContext)
  ------------------
 7194|  43.3k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  43.3k|#define parseContext (*pParseContext)
  ------------------
 7195|  43.3k|    }
 7196|  43.3k|#line 7197 "MachineIndependent/glslang_tab.cpp"
 7197|  43.3k|    break;
 7198|       |
 7199|  23.3k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7199:3): [True: 23.3k, False: 2.71M]
  ------------------
 7200|  23.3k|#line 1164 "MachineIndependent/glslang.y"
 7201|  23.3k|                                              {
 7202|  23.3k|        (yyval.interm) = (yyvsp[0].interm);
 7203|  23.3k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7203:13): [True: 3.76k, False: 19.6k]
  ------------------
 7204|  3.76k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7205|  23.3k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  23.3k|#define parseContext (*pParseContext)
  ------------------
 7206|       |
 7207|  23.3k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  23.3k|#define parseContext (*pParseContext)
  ------------------
 7208|  23.3k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  23.3k|#define parseContext (*pParseContext)
  ------------------
 7209|  23.3k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  23.3k|#define parseContext (*pParseContext)
  ------------------
 7210|  23.3k|    }
 7211|  23.3k|#line 7212 "MachineIndependent/glslang_tab.cpp"
 7212|  23.3k|    break;
 7213|       |
 7214|   178k|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7214:3): [True: 178k, False: 2.56M]
  ------------------
 7215|   178k|#line 1174 "MachineIndependent/glslang.y"
 7216|   178k|                               {
 7217|   178k|        (yyval.interm) = (yyvsp[0].interm);
 7218|       |
 7219|   178k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|   178k|#define parseContext (*pParseContext)
  ------------------
 7220|   178k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|   178k|#define parseContext (*pParseContext)
  ------------------
 7221|   178k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|   178k|#define parseContext (*pParseContext)
  ------------------
 7222|   178k|    }
 7223|   178k|#line 7224 "MachineIndependent/glslang_tab.cpp"
 7224|   178k|    break;
 7225|       |
 7226|   201k|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7226:3): [True: 201k, False: 2.53M]
  ------------------
 7227|   201k|#line 1184 "MachineIndependent/glslang.y"
 7228|   201k|                     {
 7229|   201k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7230|   201k|        (yyval.interm).param = param;
 7231|   201k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7231:13): [True: 1.12k, False: 200k]
  ------------------
 7232|  1.12k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  783|  1.12k|#define parseContext (*pParseContext)
  ------------------
 7233|   201k|    }
 7234|   201k|#line 7235 "MachineIndependent/glslang_tab.cpp"
 7235|   201k|    break;
 7236|       |
 7237|  4.02k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7237:3): [True: 4.02k, False: 2.73M]
  ------------------
 7238|  4.02k|#line 1193 "MachineIndependent/glslang.y"
 7239|  4.02k|                         {
 7240|  4.02k|        (yyval.interm) = (yyvsp[0].interm);
 7241|  4.02k|    }
 7242|  4.02k|#line 7243 "MachineIndependent/glslang_tab.cpp"
 7243|  4.02k|    break;
 7244|       |
 7245|      0|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7245:3): [True: 0, False: 2.73M]
  ------------------
 7246|      0|#line 1196 "MachineIndependent/glslang.y"
 7247|      0|                                            {
 7248|      0|        (yyval.interm) = (yyvsp[-2].interm);
 7249|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7250|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7251|      0|    }
 7252|      0|#line 7253 "MachineIndependent/glslang_tab.cpp"
 7253|      0|    break;
 7254|       |
 7255|      0|  case 134: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7255:3): [True: 0, False: 2.73M]
  ------------------
 7256|      0|#line 1201 "MachineIndependent/glslang.y"
 7257|      0|                                                            {
 7258|      0|        (yyval.interm) = (yyvsp[-3].interm);
 7259|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7260|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7261|      0|    }
 7262|      0|#line 7263 "MachineIndependent/glslang_tab.cpp"
 7263|      0|    break;
 7264|       |
 7265|      0|  case 135: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7265:3): [True: 0, False: 2.73M]
  ------------------
 7266|      0|#line 1206 "MachineIndependent/glslang.y"
 7267|      0|                                                                              {
 7268|      0|        (yyval.interm).type = (yyvsp[-5].interm).type;
 7269|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-5].interm).type, (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7270|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7271|      0|    }
 7272|      0|#line 7273 "MachineIndependent/glslang_tab.cpp"
 7273|      0|    break;
 7274|       |
 7275|      0|  case 136: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7275:3): [True: 0, False: 2.73M]
  ------------------
 7276|      0|#line 1211 "MachineIndependent/glslang.y"
 7277|      0|                                                              {
 7278|      0|        (yyval.interm).type = (yyvsp[-4].interm).type;
 7279|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7280|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7281|      0|    }
 7282|      0|#line 7283 "MachineIndependent/glslang_tab.cpp"
 7283|      0|    break;
 7284|       |
 7285|     96|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7285:3): [True: 96, False: 2.73M]
  ------------------
 7286|     96|#line 1219 "MachineIndependent/glslang.y"
 7287|     96|                           {
 7288|     96|        (yyval.interm).type = (yyvsp[0].interm.type);
 7289|     96|        (yyval.interm).intermNode = 0;
 7290|     96|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  783|     96|#define parseContext (*pParseContext)
  ------------------
 7291|     96|    }
 7292|     96|#line 7293 "MachineIndependent/glslang_tab.cpp"
 7293|     96|    break;
 7294|       |
 7295|  2.69k|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7295:3): [True: 2.69k, False: 2.73M]
  ------------------
 7296|  2.69k|#line 1224 "MachineIndependent/glslang.y"
 7297|  2.69k|                                      {
 7298|  2.69k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7299|  2.69k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|  2.69k|#define parseContext (*pParseContext)
  ------------------
 7300|  2.69k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|  2.69k|#define parseContext (*pParseContext)
  ------------------
 7301|       |
 7302|  2.69k|    }
 7303|  2.69k|#line 7304 "MachineIndependent/glslang_tab.cpp"
 7304|  2.69k|    break;
 7305|       |
 7306|    148|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7306:3): [True: 148, False: 2.73M]
  ------------------
 7307|    148|#line 1230 "MachineIndependent/glslang.y"
 7308|    148|                                                      {
 7309|    148|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7310|    148|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    148|#define parseContext (*pParseContext)
  ------------------
 7311|    148|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    148|#define parseContext (*pParseContext)
  ------------------
 7312|    148|    }
 7313|    148|#line 7314 "MachineIndependent/glslang_tab.cpp"
 7314|    148|    break;
 7315|       |
 7316|      0|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7316:3): [True: 0, False: 2.73M]
  ------------------
 7317|      0|#line 1235 "MachineIndependent/glslang.y"
 7318|      0|                                                                        {
 7319|      0|        (yyval.interm).type = (yyvsp[-4].interm.type);
 7320|      0|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-4].interm.type), (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7321|      0|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-3].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7322|      0|    }
 7323|      0|#line 7324 "MachineIndependent/glslang_tab.cpp"
 7324|      0|    break;
 7325|       |
 7326|  1.08k|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7326:3): [True: 1.08k, False: 2.73M]
  ------------------
 7327|  1.08k|#line 1240 "MachineIndependent/glslang.y"
 7328|  1.08k|                                                        {
 7329|  1.08k|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7330|  1.08k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  1.08k|#define parseContext (*pParseContext)
  ------------------
 7331|  1.08k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|  1.08k|#define parseContext (*pParseContext)
  ------------------
 7332|  1.08k|    }
 7333|  1.08k|#line 7334 "MachineIndependent/glslang_tab.cpp"
 7334|  1.08k|    break;
 7335|       |
 7336|  87.3k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7336:3): [True: 87.3k, False: 2.65M]
  ------------------
 7337|  87.3k|#line 1249 "MachineIndependent/glslang.y"
 7338|  87.3k|                     {
 7339|  87.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7340|       |
 7341|  87.3k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  783|  87.3k|#define parseContext (*pParseContext)
  ------------------
 7342|  87.3k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 87.3k]
  ------------------
 7343|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7344|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7345|      0|        }
 7346|  87.3k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  783|  87.3k|#define parseContext (*pParseContext)
  ------------------
 7347|  87.3k|    }
 7348|  87.3k|#line 7349 "MachineIndependent/glslang_tab.cpp"
 7349|  87.3k|    break;
 7350|       |
 7351|  8.82k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7351:3): [True: 8.82k, False: 2.72M]
  ------------------
 7352|  8.82k|#line 1259 "MachineIndependent/glslang.y"
 7353|  8.82k|                                     {
 7354|  8.82k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  783|  8.82k|#define parseContext (*pParseContext)
  ------------------
 7355|  8.82k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  783|  8.82k|#define parseContext (*pParseContext)
  ------------------
 7356|       |
 7357|  8.82k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 8.82k]
  ------------------
 7358|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7359|      0|            parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7360|      0|        }
 7361|       |
 7362|  8.82k|        if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7362:13): [True: 0, False: 8.82k]
  |  Branch (7362:50): [True: 0, False: 0]
  ------------------
 7363|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7364|       |
 7365|  8.82k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  8.82k|#define parseContext (*pParseContext)
  ------------------
 7366|  8.82k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7367|  8.82k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  783|  8.82k|#define parseContext (*pParseContext)
  ------------------
 7368|  8.82k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  783|  8.82k|#define parseContext (*pParseContext)
  ------------------
 7369|       |
 7370|  8.82k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7371|       |
 7372|  8.82k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7372:13): [True: 8.73k, False: 91]
  ------------------
 7373|  8.73k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  783|  8.73k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7373:15): [True: 6.05k, False: 2.67k]
  |  Branch (7373:59): [True: 48, False: 6.01k]
  ------------------
 7374|  8.68k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  783|  8.68k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7374:15): [True: 172, False: 8.51k]
  |  Branch (7374:59): [True: 33, False: 139]
  ------------------
 7375|     81|            (yyval.interm.type).qualifier.smooth = true;
 7376|  8.82k|    }
 7377|  8.82k|#line 7378 "MachineIndependent/glslang_tab.cpp"
 7378|  8.82k|    break;
 7379|       |
 7380|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7380:3): [True: 0, False: 2.73M]
  ------------------
 7381|      0|#line 1286 "MachineIndependent/glslang.y"
 7382|      0|                {
 7383|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7384|      0|        parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7385|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7386|      0|        (yyval.interm.type).qualifier.invariant = true;
 7387|      0|    }
 7388|      0|#line 7389 "MachineIndependent/glslang_tab.cpp"
 7389|      0|    break;
 7390|       |
 7391|      0|  case 145: /* interpolation_qualifier: SMOOTH  */
  ------------------
  |  Branch (7391:3): [True: 0, False: 2.73M]
  ------------------
 7392|      0|#line 1295 "MachineIndependent/glslang.y"
 7393|      0|             {
 7394|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7395|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7396|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7397|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7398|      0|        (yyval.interm.type).qualifier.smooth = true;
 7399|      0|    }
 7400|      0|#line 7401 "MachineIndependent/glslang_tab.cpp"
 7401|      0|    break;
 7402|       |
 7403|     91|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7403:3): [True: 91, False: 2.73M]
  ------------------
 7404|     91|#line 1302 "MachineIndependent/glslang.y"
 7405|     91|           {
 7406|     91|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  783|     91|#define parseContext (*pParseContext)
  ------------------
 7407|     91|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  783|     91|#define parseContext (*pParseContext)
  ------------------
 7408|     91|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  783|     91|#define parseContext (*pParseContext)
  ------------------
 7409|     91|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7410|     91|        (yyval.interm.type).qualifier.flat = true;
 7411|     91|    }
 7412|     91|#line 7413 "MachineIndependent/glslang_tab.cpp"
 7413|     91|    break;
 7414|       |
 7415|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7415:3): [True: 0, False: 2.73M]
  ------------------
 7416|      0|#line 1309 "MachineIndependent/glslang.y"
 7417|      0|                    {
 7418|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7419|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7420|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7421|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7422|      0|        (yyval.interm.type).qualifier.nopersp = true;
 7423|      0|    }
 7424|      0|#line 7425 "MachineIndependent/glslang_tab.cpp"
 7425|      0|    break;
 7426|       |
 7427|      0|  case 148: /* interpolation_qualifier: EXPLICITINTERPAMD  */
  ------------------
  |  Branch (7427:3): [True: 0, False: 2.73M]
  ------------------
 7428|      0|#line 1316 "MachineIndependent/glslang.y"
 7429|      0|                        {
 7430|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7431|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7432|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7433|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7434|      0|        (yyval.interm.type).qualifier.explicitInterp = true;
 7435|      0|    }
 7436|      0|#line 7437 "MachineIndependent/glslang_tab.cpp"
 7437|      0|    break;
 7438|       |
 7439|      0|  case 149: /* interpolation_qualifier: PERVERTEXNV  */
  ------------------
  |  Branch (7439:3): [True: 0, False: 2.73M]
  ------------------
 7440|      0|#line 1323 "MachineIndependent/glslang.y"
 7441|      0|                  {
 7442|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7443|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7444|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7445|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7446|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7447|      0|        (yyval.interm.type).qualifier.pervertexNV = true;
 7448|      0|    }
 7449|      0|#line 7450 "MachineIndependent/glslang_tab.cpp"
 7450|      0|    break;
 7451|       |
 7452|      0|  case 150: /* interpolation_qualifier: PERVERTEXEXT  */
  ------------------
  |  Branch (7452:3): [True: 0, False: 2.73M]
  ------------------
 7453|      0|#line 1331 "MachineIndependent/glslang.y"
 7454|      0|                   {
 7455|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7456|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7457|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7458|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7459|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7460|      0|        (yyval.interm.type).qualifier.pervertexEXT = true;
 7461|      0|    }
 7462|      0|#line 7463 "MachineIndependent/glslang_tab.cpp"
 7463|      0|    break;
 7464|       |
 7465|      6|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7465:3): [True: 6, False: 2.73M]
  ------------------
 7466|      6|#line 1339 "MachineIndependent/glslang.y"
 7467|      6|                     {
 7468|       |        // No need for profile version or extension check. Shader stage already checks both.
 7469|      6|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 7470|      6|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 7471|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7472|      6|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7472:13): [True: 0, False: 6]
  ------------------
 7473|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7474|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7475|      6|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7476|      6|    }
 7477|      6|#line 7478 "MachineIndependent/glslang_tab.cpp"
 7478|      6|    break;
 7479|       |
 7480|      6|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7480:3): [True: 6, False: 2.73M]
  ------------------
 7481|      6|#line 1349 "MachineIndependent/glslang.y"
 7482|      6|                      {
 7483|       |        // No need for profile version or extension check. Shader stage already checks both.
 7484|      6|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 7485|      6|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 7486|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7487|      6|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7487:13): [True: 0, False: 6]
  ------------------
 7488|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7489|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7490|      6|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7491|      6|    }
 7492|      6|#line 7493 "MachineIndependent/glslang_tab.cpp"
 7493|      6|    break;
 7494|       |
 7495|     30|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7495:3): [True: 30, False: 2.73M]
  ------------------
 7496|     30|#line 1359 "MachineIndependent/glslang.y"
 7497|     30|                {
 7498|       |        // No need for profile version or extension check. Shader stage already checks both.
 7499|     30|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 7500|     30|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 7501|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7502|     30|        (yyval.interm.type).qualifier.perViewNV = true;
 7503|     30|    }
 7504|     30|#line 7505 "MachineIndependent/glslang_tab.cpp"
 7505|     30|    break;
 7506|       |
 7507|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7507:3): [True: 0, False: 2.73M]
  ------------------
 7508|      0|#line 1366 "MachineIndependent/glslang.y"
 7509|      0|                {
 7510|       |        // No need for profile version or extension check. Shader stage already checks both.
 7511|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7512|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7513|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7514|      0|        (yyval.interm.type).qualifier.perTaskNV = true;
 7515|      0|    }
 7516|      0|#line 7517 "MachineIndependent/glslang_tab.cpp"
 7517|      0|    break;
 7518|       |
 7519|      0|  case 155: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN  */
  ------------------
  |  Branch (7519:3): [True: 0, False: 2.73M]
  ------------------
 7520|      0|#line 1376 "MachineIndependent/glslang.y"
 7521|      0|                                                             {
 7522|      0|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7523|      0|    }
 7524|      0|#line 7525 "MachineIndependent/glslang_tab.cpp"
 7525|      0|    break;
 7526|       |
 7527|      0|  case 156: /* layout_qualifier_id_list: layout_qualifier_id  */
  ------------------
  |  Branch (7527:3): [True: 0, False: 2.73M]
  ------------------
 7528|      0|#line 1382 "MachineIndependent/glslang.y"
 7529|      0|                          {
 7530|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7531|      0|    }
 7532|      0|#line 7533 "MachineIndependent/glslang_tab.cpp"
 7533|      0|    break;
 7534|       |
 7535|      0|  case 157: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id  */
  ------------------
  |  Branch (7535:3): [True: 0, False: 2.73M]
  ------------------
 7536|      0|#line 1385 "MachineIndependent/glslang.y"
 7537|      0|                                                         {
 7538|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7539|      0|        parseContext.checkRepeatedLocalSize((yyvsp[0].interm.type).loc, (yyval.interm.type).shaderQualifiers, (yyvsp[0].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7540|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7541|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7542|      0|    }
 7543|      0|#line 7544 "MachineIndependent/glslang_tab.cpp"
 7544|      0|    break;
 7545|       |
 7546|      0|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7546:3): [True: 0, False: 2.73M]
  ------------------
 7547|      0|#line 1393 "MachineIndependent/glslang.y"
 7548|      0|                 {
 7549|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7550|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7551|      0|    }
 7552|      0|#line 7553 "MachineIndependent/glslang_tab.cpp"
 7553|      0|    break;
 7554|       |
 7555|      0|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7555:3): [True: 0, False: 2.73M]
  ------------------
 7556|      0|#line 1397 "MachineIndependent/glslang.y"
 7557|      0|                                             {
 7558|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7559|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7560|      0|    }
 7561|      0|#line 7562 "MachineIndependent/glslang_tab.cpp"
 7562|      0|    break;
 7563|       |
 7564|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7564:3): [True: 0, False: 2.73M]
  ------------------
 7565|      0|#line 1401 "MachineIndependent/glslang.y"
 7566|      0|             { // because "shared" is both an identifier and a keyword
 7567|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7568|      0|        TString strShared("shared");
 7569|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7570|      0|    }
 7571|      0|#line 7572 "MachineIndependent/glslang_tab.cpp"
 7572|      0|    break;
 7573|       |
 7574|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7574:3): [True: 0, False: 2.73M]
  ------------------
 7575|      0|#line 1409 "MachineIndependent/glslang.y"
 7576|      0|              {
 7577|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7578|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7579|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7580|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7581|      0|    }
 7582|      0|#line 7583 "MachineIndependent/glslang_tab.cpp"
 7583|      0|    break;
 7584|       |
 7585|  38.5k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7585:3): [True: 38.5k, False: 2.70M]
  ------------------
 7586|  38.5k|#line 1418 "MachineIndependent/glslang.y"
 7587|  38.5k|                            {
 7588|  38.5k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7589|  38.5k|    }
 7590|  38.5k|#line 7591 "MachineIndependent/glslang_tab.cpp"
 7591|  38.5k|    break;
 7592|       |
 7593|  31.6k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7593:3): [True: 31.6k, False: 2.70M]
  ------------------
 7594|  31.6k|#line 1421 "MachineIndependent/glslang.y"
 7595|  31.6k|                                           {
 7596|  31.6k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7597|  31.6k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7597:13): [True: 31.6k, False: 0]
  ------------------
 7598|  31.6k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7599|       |
 7600|  31.6k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7601|  31.6k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|  31.6k|#define parseContext (*pParseContext)
  ------------------
 7602|  31.6k|    }
 7603|  31.6k|#line 7604 "MachineIndependent/glslang_tab.cpp"
 7604|  31.6k|    break;
 7605|       |
 7606|  56.3k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7606:3): [True: 56.3k, False: 2.68M]
  ------------------
 7607|  56.3k|#line 1432 "MachineIndependent/glslang.y"
 7608|  56.3k|                        {
 7609|  56.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7610|  56.3k|    }
 7611|  56.3k|#line 7612 "MachineIndependent/glslang_tab.cpp"
 7612|  56.3k|    break;
 7613|       |
 7614|      0|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7614:3): [True: 0, False: 2.73M]
  ------------------
 7615|      0|#line 1435 "MachineIndependent/glslang.y"
 7616|      0|                       {
 7617|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7618|      0|    }
 7619|      0|#line 7620 "MachineIndependent/glslang_tab.cpp"
 7620|      0|    break;
 7621|       |
 7622|  13.7k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7622:3): [True: 13.7k, False: 2.72M]
  ------------------
 7623|  13.7k|#line 1438 "MachineIndependent/glslang.y"
 7624|  13.7k|                          {
 7625|  13.7k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  783|  13.7k|#define parseContext (*pParseContext)
  ------------------
 7626|  13.7k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7627|  13.7k|    }
 7628|  13.7k|#line 7629 "MachineIndependent/glslang_tab.cpp"
 7629|  13.7k|    break;
 7630|       |
 7631|    133|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7631:3): [True: 133, False: 2.73M]
  ------------------
 7632|    133|#line 1442 "MachineIndependent/glslang.y"
 7633|    133|                              {
 7634|       |        // allow inheritance of storage qualifier from block declaration
 7635|    133|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7636|    133|    }
 7637|    133|#line 7638 "MachineIndependent/glslang_tab.cpp"
 7638|    133|    break;
 7639|       |
 7640|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7640:3): [True: 0, False: 2.73M]
  ------------------
 7641|      0|#line 1446 "MachineIndependent/glslang.y"
 7642|      0|                          {
 7643|       |        // allow inheritance of storage qualifier from block declaration
 7644|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7645|      0|    }
 7646|      0|#line 7647 "MachineIndependent/glslang_tab.cpp"
 7647|      0|    break;
 7648|       |
 7649|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7649:3): [True: 0, False: 2.73M]
  ------------------
 7650|      0|#line 1450 "MachineIndependent/glslang.y"
 7651|      0|                        {
 7652|       |        // allow inheritance of storage qualifier from block declaration
 7653|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7654|      0|    }
 7655|      0|#line 7656 "MachineIndependent/glslang_tab.cpp"
 7656|      0|    break;
 7657|       |
 7658|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7658:3): [True: 0, False: 2.73M]
  ------------------
 7659|      0|#line 1454 "MachineIndependent/glslang.y"
 7660|      0|                            {
 7661|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7662|      0|    }
 7663|      0|#line 7664 "MachineIndependent/glslang_tab.cpp"
 7664|      0|    break;
 7665|       |
 7666|      0|  case 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7666:3): [True: 0, False: 2.73M]
  ------------------
 7667|      0|#line 1457 "MachineIndependent/glslang.y"
 7668|      0|                                    {
 7669|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7670|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7671|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7672|      0|    }
 7673|      0|#line 7674 "MachineIndependent/glslang_tab.cpp"
 7674|      0|    break;
 7675|       |
 7676|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7676:3): [True: 0, False: 2.73M]
  ------------------
 7677|      0|#line 1462 "MachineIndependent/glslang.y"
 7678|      0|                               {
 7679|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7680|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7681|      0|    }
 7682|      0|#line 7683 "MachineIndependent/glslang_tab.cpp"
 7683|      0|    break;
 7684|       |
 7685|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7685:3): [True: 0, False: 2.73M]
  ------------------
 7686|      0|#line 1466 "MachineIndependent/glslang.y"
 7687|      0|                         {
 7688|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7689|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7690|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7691|      0|    }
 7692|      0|#line 7693 "MachineIndependent/glslang_tab.cpp"
 7693|      0|    break;
 7694|       |
 7695|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7695:3): [True: 0, False: 2.73M]
  ------------------
 7696|      0|#line 1471 "MachineIndependent/glslang.y"
 7697|      0|                    {
 7698|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7699|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7700|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7701|      0|    }
 7702|      0|#line 7703 "MachineIndependent/glslang_tab.cpp"
 7703|      0|    break;
 7704|       |
 7705|  1.08k|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7705:3): [True: 1.08k, False: 2.73M]
  ------------------
 7706|  1.08k|#line 1479 "MachineIndependent/glslang.y"
 7707|  1.08k|            {
 7708|  1.08k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7709|  1.08k|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7710|  1.08k|    }
 7711|  1.08k|#line 7712 "MachineIndependent/glslang_tab.cpp"
 7712|  1.08k|    break;
 7713|       |
 7714|    648|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7714:3): [True: 648, False: 2.73M]
  ------------------
 7715|    648|#line 1483 "MachineIndependent/glslang.y"
 7716|    648|            {
 7717|    648|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  783|    648|#define parseContext (*pParseContext)
  ------------------
 7718|    648|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7719|    648|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7720|    648|    }
 7721|    648|#line 7722 "MachineIndependent/glslang_tab.cpp"
 7722|    648|    break;
 7723|       |
 7724|  2.35k|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7724:3): [True: 2.35k, False: 2.73M]
  ------------------
 7725|  2.35k|#line 1488 "MachineIndependent/glslang.y"
 7726|  2.35k|         {
 7727|  2.35k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  783|  2.35k|#define parseContext (*pParseContext)
  ------------------
 7728|  2.35k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7729|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7730|  2.35k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7731|  2.35k|    }
 7732|  2.35k|#line 7733 "MachineIndependent/glslang_tab.cpp"
 7733|  2.35k|    break;
 7734|       |
 7735|  10.1k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7735:3): [True: 10.1k, False: 2.72M]
  ------------------
 7736|  10.1k|#line 1494 "MachineIndependent/glslang.y"
 7737|  10.1k|          {
 7738|  10.1k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  783|  10.1k|#define parseContext (*pParseContext)
  ------------------
 7739|  10.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7740|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7741|  10.1k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7742|  10.1k|    }
 7743|  10.1k|#line 7744 "MachineIndependent/glslang_tab.cpp"
 7744|  10.1k|    break;
 7745|       |
 7746|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7746:3): [True: 0, False: 2.73M]
  ------------------
 7747|      0|#line 1500 "MachineIndependent/glslang.y"
 7748|      0|               {
 7749|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7750|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7751|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7752|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7753|      0|        (yyval.interm.type).qualifier.centroid = true;
 7754|      0|    }
 7755|      0|#line 7756 "MachineIndependent/glslang_tab.cpp"
 7756|      0|    break;
 7757|       |
 7758|    130|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7758:3): [True: 130, False: 2.73M]
  ------------------
 7759|    130|#line 1507 "MachineIndependent/glslang.y"
 7760|    130|              {
 7761|    130|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  783|    130|#define parseContext (*pParseContext)
  ------------------
 7762|    130|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7763|    130|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7764|    130|    }
 7765|    130|#line 7766 "MachineIndependent/glslang_tab.cpp"
 7766|    130|    break;
 7767|       |
 7768|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7768:3): [True: 0, False: 2.73M]
  ------------------
 7769|      0|#line 1512 "MachineIndependent/glslang.y"
 7770|      0|                   {
 7771|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7772|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7773|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7774|      0|    }
 7775|      0|#line 7776 "MachineIndependent/glslang_tab.cpp"
 7776|      0|    break;
 7777|       |
 7778|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7778:3): [True: 0, False: 2.73M]
  ------------------
 7779|      0|#line 1517 "MachineIndependent/glslang.y"
 7780|      0|             {
 7781|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7782|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7783|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7784|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7785|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7786|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7787|      0|    }
 7788|      0|#line 7789 "MachineIndependent/glslang_tab.cpp"
 7789|      0|    break;
 7790|       |
 7791|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7791:3): [True: 0, False: 2.73M]
  ------------------
 7792|      0|#line 1525 "MachineIndependent/glslang.y"
 7793|      0|             {
 7794|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7795|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7796|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7797|      0|    }
 7798|      0|#line 7799 "MachineIndependent/glslang_tab.cpp"
 7799|      0|    break;
 7800|       |
 7801|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7801:3): [True: 0, False: 2.73M]
  ------------------
 7802|      0|#line 1530 "MachineIndependent/glslang.y"
 7803|      0|                {
 7804|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7807|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7808|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7809|       |
 7810|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7811|       |
 7812|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7813|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7814|      0|    }
 7815|      0|#line 7816 "MachineIndependent/glslang_tab.cpp"
 7816|      0|    break;
 7817|       |
 7818|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7818:3): [True: 0, False: 2.73M]
  ------------------
 7819|      0|#line 1542 "MachineIndependent/glslang.y"
 7820|      0|              {
 7821|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7822|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7823|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7824|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7825|       |
 7826|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7827|       |
 7828|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7829|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7829:13): [True: 0, False: 0]
  ------------------
 7830|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7831|      0|        else
 7832|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7833|      0|    }
 7834|      0|#line 7835 "MachineIndependent/glslang_tab.cpp"
 7835|      0|    break;
 7836|       |
 7837|     28|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7837:3): [True: 28, False: 2.73M]
  ------------------
 7838|     28|#line 1556 "MachineIndependent/glslang.y"
 7839|     28|            {
 7840|     28|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 7841|     28|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 7842|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7843|     28|        (yyval.interm.type).qualifier.patch = true;
 7844|     28|    }
 7845|     28|#line 7846 "MachineIndependent/glslang_tab.cpp"
 7846|     28|    break;
 7847|       |
 7848|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7848:3): [True: 0, False: 2.73M]
  ------------------
 7849|      0|#line 1562 "MachineIndependent/glslang.y"
 7850|      0|             {
 7851|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7852|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7853|      0|        (yyval.interm.type).qualifier.sample = true;
 7854|      0|    }
 7855|      0|#line 7856 "MachineIndependent/glslang_tab.cpp"
 7856|      0|    break;
 7857|       |
 7858|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7858:3): [True: 0, False: 2.73M]
  ------------------
 7859|      0|#line 1567 "MachineIndependent/glslang.y"
 7860|      0|                   {
 7861|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7862|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7863|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7864|      0|    }
 7865|      0|#line 7866 "MachineIndependent/glslang_tab.cpp"
 7866|      0|    break;
 7867|       |
 7868|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7868:3): [True: 0, False: 2.73M]
  ------------------
 7869|      0|#line 1572 "MachineIndependent/glslang.y"
 7870|      0|                  {
 7871|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7872|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7873|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7874|      0|    }
 7875|      0|#line 7876 "MachineIndependent/glslang_tab.cpp"
 7876|      0|    break;
 7877|       |
 7878|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7878:3): [True: 0, False: 2.73M]
  ------------------
 7879|      0|#line 1577 "MachineIndependent/glslang.y"
 7880|      0|                {
 7881|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7882|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7883|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7884|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7885|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7886|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7887|      0|    }
 7888|      0|#line 7889 "MachineIndependent/glslang_tab.cpp"
 7889|      0|    break;
 7890|       |
 7891|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7891:3): [True: 0, False: 2.73M]
  ------------------
 7892|      0|#line 1585 "MachineIndependent/glslang.y"
 7893|      0|                      {
 7894|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7895|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7896|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7897|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7898|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7899|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7900|      0|    }
 7901|      0|#line 7902 "MachineIndependent/glslang_tab.cpp"
 7902|      0|    break;
 7903|       |
 7904|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7904:3): [True: 0, False: 2.73M]
  ------------------
 7905|      0|#line 1593 "MachineIndependent/glslang.y"
 7906|      0|                       {
 7907|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7908|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7909|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7910|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7911|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7912|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7913|      0|    }
 7914|      0|#line 7915 "MachineIndependent/glslang_tab.cpp"
 7915|      0|    break;
 7916|       |
 7917|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7917:3): [True: 0, False: 2.73M]
  ------------------
 7918|      0|#line 1601 "MachineIndependent/glslang.y"
 7919|      0|                 {
 7920|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7921|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7922|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7923|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7924|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7925|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7926|      0|    }
 7927|      0|#line 7928 "MachineIndependent/glslang_tab.cpp"
 7928|      0|    break;
 7929|       |
 7930|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7930:3): [True: 0, False: 2.73M]
  ------------------
 7931|      0|#line 1609 "MachineIndependent/glslang.y"
 7932|      0|                {
 7933|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7934|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7935|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7936|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7937|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7938|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7939|      0|    }
 7940|      0|#line 7941 "MachineIndependent/glslang_tab.cpp"
 7941|      0|    break;
 7942|       |
 7943|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7943:3): [True: 0, False: 2.73M]
  ------------------
 7944|      0|#line 1617 "MachineIndependent/glslang.y"
 7945|      0|                 {
 7946|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7947|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7948|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7949|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7950|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7951|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7952|      0|    }
 7953|      0|#line 7954 "MachineIndependent/glslang_tab.cpp"
 7954|      0|    break;
 7955|       |
 7956|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7956:3): [True: 0, False: 2.73M]
  ------------------
 7957|      0|#line 1625 "MachineIndependent/glslang.y"
 7958|      0|                  {
 7959|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7960|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7961|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7962|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7963|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7964|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7965|      0|    }
 7966|      0|#line 7967 "MachineIndependent/glslang_tab.cpp"
 7967|      0|    break;
 7968|       |
 7969|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7969:3): [True: 0, False: 2.73M]
  ------------------
 7970|      0|#line 1633 "MachineIndependent/glslang.y"
 7971|      0|                   {
 7972|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7973|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7974|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7975|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7976|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7977|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7978|      0|    }
 7979|      0|#line 7980 "MachineIndependent/glslang_tab.cpp"
 7980|      0|    break;
 7981|       |
 7982|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7982:3): [True: 0, False: 2.73M]
  ------------------
 7983|      0|#line 1641 "MachineIndependent/glslang.y"
 7984|      0|                 {
 7985|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7986|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7987|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7988|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7989|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7990|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7991|      0|    }
 7992|      0|#line 7993 "MachineIndependent/glslang_tab.cpp"
 7993|      0|    break;
 7994|       |
 7995|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7995:3): [True: 0, False: 2.73M]
  ------------------
 7996|      0|#line 1649 "MachineIndependent/glslang.y"
 7997|      0|                  {
 7998|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7999|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8000|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 8001|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8002|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8003|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 8004|      0|    }
 8005|      0|#line 8006 "MachineIndependent/glslang_tab.cpp"
 8006|      0|    break;
 8007|       |
 8008|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (8008:3): [True: 0, False: 2.73M]
  ------------------
 8009|      0|#line 1657 "MachineIndependent/glslang.y"
 8010|      0|                   {
 8011|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8012|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8013|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8014|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8015|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8016|      0|    }
 8017|      0|#line 8018 "MachineIndependent/glslang_tab.cpp"
 8018|      0|    break;
 8019|       |
 8020|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8020:3): [True: 0, False: 2.73M]
  ------------------
 8021|      0|#line 1664 "MachineIndependent/glslang.y"
 8022|      0|                    {
 8023|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8024|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8025|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8027|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8028|      0|    }
 8029|      0|#line 8030 "MachineIndependent/glslang_tab.cpp"
 8030|      0|    break;
 8031|       |
 8032|  13.0k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8032:3): [True: 13.0k, False: 2.72M]
  ------------------
 8033|  13.0k|#line 1671 "MachineIndependent/glslang.y"
 8034|  13.0k|               {
 8035|  13.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8036|  13.0k|        (yyval.interm.type).qualifier.coherent = true;
 8037|  13.0k|    }
 8038|  13.0k|#line 8039 "MachineIndependent/glslang_tab.cpp"
 8039|  13.0k|    break;
 8040|       |
 8041|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8041:3): [True: 0, False: 2.73M]
  ------------------
 8042|      0|#line 1675 "MachineIndependent/glslang.y"
 8043|      0|                     {
 8044|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8045|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8046|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8047|      0|    }
 8048|      0|#line 8049 "MachineIndependent/glslang_tab.cpp"
 8049|      0|    break;
 8050|       |
 8051|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8051:3): [True: 0, False: 2.73M]
  ------------------
 8052|      0|#line 1680 "MachineIndependent/glslang.y"
 8053|      0|                          {
 8054|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8055|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8056|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8057|      0|    }
 8058|      0|#line 8059 "MachineIndependent/glslang_tab.cpp"
 8059|      0|    break;
 8060|       |
 8061|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8061:3): [True: 0, False: 2.73M]
  ------------------
 8062|      0|#line 1685 "MachineIndependent/glslang.y"
 8063|      0|                        {
 8064|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8065|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8066|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8067|      0|    }
 8068|      0|#line 8069 "MachineIndependent/glslang_tab.cpp"
 8069|      0|    break;
 8070|       |
 8071|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8071:3): [True: 0, False: 2.73M]
  ------------------
 8072|      0|#line 1690 "MachineIndependent/glslang.y"
 8073|      0|                       {
 8074|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8075|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8076|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8077|      0|    }
 8078|      0|#line 8079 "MachineIndependent/glslang_tab.cpp"
 8079|      0|    break;
 8080|       |
 8081|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8081:3): [True: 0, False: 2.73M]
  ------------------
 8082|      0|#line 1695 "MachineIndependent/glslang.y"
 8083|      0|                 {
 8084|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8085|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8086|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8087|      0|    }
 8088|      0|#line 8089 "MachineIndependent/glslang_tab.cpp"
 8089|      0|    break;
 8090|       |
 8091|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8091:3): [True: 0, False: 2.73M]
  ------------------
 8092|      0|#line 1700 "MachineIndependent/glslang.y"
 8093|      0|                         {
 8094|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8095|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8096|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8097|      0|    }
 8098|      0|#line 8099 "MachineIndependent/glslang_tab.cpp"
 8099|      0|    break;
 8100|       |
 8101|  13.5k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8101:3): [True: 13.5k, False: 2.72M]
  ------------------
 8102|  13.5k|#line 1705 "MachineIndependent/glslang.y"
 8103|  13.5k|               {
 8104|  13.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8105|  13.5k|        (yyval.interm.type).qualifier.volatil = true;
 8106|  13.5k|    }
 8107|  13.5k|#line 8108 "MachineIndependent/glslang_tab.cpp"
 8108|  13.5k|    break;
 8109|       |
 8110|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8110:3): [True: 0, False: 2.73M]
  ------------------
 8111|      0|#line 1709 "MachineIndependent/glslang.y"
 8112|      0|               {
 8113|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8114|      0|        (yyval.interm.type).qualifier.restrict = true;
 8115|      0|    }
 8116|      0|#line 8117 "MachineIndependent/glslang_tab.cpp"
 8117|      0|    break;
 8118|       |
 8119|  1.93k|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8119:3): [True: 1.93k, False: 2.73M]
  ------------------
 8120|  1.93k|#line 1713 "MachineIndependent/glslang.y"
 8121|  1.93k|               {
 8122|  1.93k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8123|  1.93k|        (yyval.interm.type).qualifier.readonly = true;
 8124|  1.93k|    }
 8125|  1.93k|#line 8126 "MachineIndependent/glslang_tab.cpp"
 8126|  1.93k|    break;
 8127|       |
 8128|  1.46k|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8128:3): [True: 1.46k, False: 2.73M]
  ------------------
 8129|  1.46k|#line 1717 "MachineIndependent/glslang.y"
 8130|  1.46k|                {
 8131|  1.46k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8132|  1.46k|        (yyval.interm.type).qualifier.writeonly = true;
 8133|  1.46k|    }
 8134|  1.46k|#line 8135 "MachineIndependent/glslang_tab.cpp"
 8135|  1.46k|    break;
 8136|       |
 8137|  11.9k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8137:3): [True: 11.9k, False: 2.72M]
  ------------------
 8138|  11.9k|#line 1721 "MachineIndependent/glslang.y"
 8139|  11.9k|                  {
 8140|  11.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8141|  11.9k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8142|  11.9k|    }
 8143|  11.9k|#line 8144 "MachineIndependent/glslang_tab.cpp"
 8144|  11.9k|    break;
 8145|       |
 8146|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8146:3): [True: 0, False: 2.73M]
  ------------------
 8147|      0|#line 1725 "MachineIndependent/glslang.y"
 8148|      0|                 {
 8149|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8150|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8151|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8152|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8153|      0|    }
 8154|      0|#line 8155 "MachineIndependent/glslang_tab.cpp"
 8155|      0|    break;
 8156|       |
 8157|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8157:3): [True: 0, False: 2.73M]
  ------------------
 8158|      0|#line 1731 "MachineIndependent/glslang.y"
 8159|      0|                                                       {
 8160|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8161|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8162|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8163|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8164|      0|    }
 8165|      0|#line 8166 "MachineIndependent/glslang_tab.cpp"
 8166|      0|    break;
 8167|       |
 8168|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8168:3): [True: 0, False: 2.73M]
  ------------------
 8169|      0|#line 1737 "MachineIndependent/glslang.y"
 8170|      0|                              {
 8171|       |        // No need for profile version or extension check. Shader stage already checks both.
 8172|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8173|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8174|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8175|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8176|      0|    }
 8177|      0|#line 8178 "MachineIndependent/glslang_tab.cpp"
 8178|      0|    break;
 8179|       |
 8180|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8180:3): [True: 0, False: 2.73M]
  ------------------
 8181|      0|#line 1747 "MachineIndependent/glslang.y"
 8182|      0|                 {
 8183|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8184|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8185|      0|    }
 8186|      0|#line 8187 "MachineIndependent/glslang_tab.cpp"
 8187|      0|    break;
 8188|       |
 8189|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8189:3): [True: 0, False: 2.73M]
  ------------------
 8190|      0|#line 1754 "MachineIndependent/glslang.y"
 8191|      0|                 {
 8192|       |        // TODO
 8193|      0|    }
 8194|      0|#line 8195 "MachineIndependent/glslang_tab.cpp"
 8195|      0|    break;
 8196|       |
 8197|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8197:3): [True: 0, False: 2.73M]
  ------------------
 8198|      0|#line 1757 "MachineIndependent/glslang.y"
 8199|      0|                                      {
 8200|       |        // TODO: 4.0 semantics: subroutines
 8201|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8202|       |        // 2) save all of the identifiers for future comparison with the declared function
 8203|      0|    }
 8204|      0|#line 8205 "MachineIndependent/glslang_tab.cpp"
 8205|      0|    break;
 8206|       |
 8207|   341k|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8207:3): [True: 341k, False: 2.39M]
  ------------------
 8208|   341k|#line 1765 "MachineIndependent/glslang.y"
 8209|   341k|                                                           {
 8210|   341k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8211|   341k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|   341k|#define parseContext (*pParseContext)
  ------------------
 8212|   341k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8213|   341k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|   341k|#define parseContext (*pParseContext)
  ------------------
 8214|       |
 8215|   341k|    }
 8216|   341k|#line 8217 "MachineIndependent/glslang_tab.cpp"
 8217|   341k|    break;
 8218|       |
 8219|  6.98k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8219:3): [True: 6.98k, False: 2.73M]
  ------------------
 8220|  6.98k|#line 1772 "MachineIndependent/glslang.y"
 8221|  6.98k|                                                                           {
 8222|  6.98k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  6.98k|#define parseContext (*pParseContext)
  ------------------
 8223|  6.98k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8224|  6.98k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  6.98k|#define parseContext (*pParseContext)
  ------------------
 8225|  6.98k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8226|  6.98k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8227|  6.98k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  6.98k|#define parseContext (*pParseContext)
  ------------------
 8228|  6.98k|    }
 8229|  6.98k|#line 8230 "MachineIndependent/glslang_tab.cpp"
 8230|  6.98k|    break;
 8231|       |
 8232|  7.46k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8232:3): [True: 7.46k, False: 2.73M]
  ------------------
 8233|  7.46k|#line 1783 "MachineIndependent/glslang.y"
 8234|  7.46k|                                 {
 8235|  7.46k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8236|  7.46k|        (yyval.interm).arraySizes = new TArraySizes;
 8237|  7.46k|        (yyval.interm).arraySizes->addInnerSize();
 8238|  7.46k|    }
 8239|  7.46k|#line 8240 "MachineIndependent/glslang_tab.cpp"
 8240|  7.46k|    break;
 8241|       |
 8242|  1.17k|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8242:3): [True: 1.17k, False: 2.73M]
  ------------------
 8243|  1.17k|#line 1788 "MachineIndependent/glslang.y"
 8244|  1.17k|                                                        {
 8245|  1.17k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8246|  1.17k|        (yyval.interm).arraySizes = new TArraySizes;
 8247|       |
 8248|  1.17k|        TArraySize size;
 8249|  1.17k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|  1.17k|#define parseContext (*pParseContext)
  ------------------
 8250|  1.17k|        (yyval.interm).arraySizes->addInnerSize(size);
 8251|  1.17k|    }
 8252|  1.17k|#line 8253 "MachineIndependent/glslang_tab.cpp"
 8253|  1.17k|    break;
 8254|       |
 8255|     18|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8255:3): [True: 18, False: 2.73M]
  ------------------
 8256|     18|#line 1796 "MachineIndependent/glslang.y"
 8257|     18|                                                 {
 8258|     18|        (yyval.interm) = (yyvsp[-2].interm);
 8259|     18|        (yyval.interm).arraySizes->addInnerSize();
 8260|     18|    }
 8261|     18|#line 8262 "MachineIndependent/glslang_tab.cpp"
 8262|     18|    break;
 8263|       |
 8264|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8264:3): [True: 0, False: 2.73M]
  ------------------
 8265|      0|#line 1800 "MachineIndependent/glslang.y"
 8266|      0|                                                                        {
 8267|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8268|       |
 8269|      0|        TArraySize size;
 8270|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8271|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8272|      0|    }
 8273|      0|#line 8274 "MachineIndependent/glslang_tab.cpp"
 8274|      0|    break;
 8275|       |
 8276|     72|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8276:3): [True: 72, False: 2.73M]
  ------------------
 8277|     72|#line 1810 "MachineIndependent/glslang.y"
 8278|     72|                               {
 8279|     72|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8280|     72|    }
 8281|     72|#line 8282 "MachineIndependent/glslang_tab.cpp"
 8282|     72|    break;
 8283|       |
 8284|   348k|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8284:3): [True: 348k, False: 2.39M]
  ------------------
 8285|   348k|#line 1813 "MachineIndependent/glslang.y"
 8286|   348k|                        {
 8287|   348k|        (yyval.interm.typeParameters) = 0;
 8288|   348k|    }
 8289|   348k|#line 8290 "MachineIndependent/glslang_tab.cpp"
 8290|   348k|    break;
 8291|       |
 8292|     72|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8292:3): [True: 72, False: 2.73M]
  ------------------
 8293|     72|#line 1819 "MachineIndependent/glslang.y"
 8294|     72|                                                           {
 8295|     72|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8296|     72|    }
 8297|     72|#line 8298 "MachineIndependent/glslang_tab.cpp"
 8298|     72|    break;
 8299|       |
 8300|     72|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8300:3): [True: 72, False: 2.73M]
  ------------------
 8301|     72|#line 1825 "MachineIndependent/glslang.y"
 8302|     72|                     {
 8303|     72|        (yyval.interm.typeParameters) = new TTypeParameters;
 8304|     72|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8305|     72|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8306|     72|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8307|     72|    }
 8308|     72|#line 8309 "MachineIndependent/glslang_tab.cpp"
 8309|     72|    break;
 8310|       |
 8311|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8311:3): [True: 0, False: 2.73M]
  ------------------
 8312|      0|#line 1831 "MachineIndependent/glslang.y"
 8313|      0|                       {
 8314|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8315|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8316|       |
 8317|      0|        TArraySize size;
 8318|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8319|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8320|      0|    }
 8321|      0|#line 8322 "MachineIndependent/glslang_tab.cpp"
 8322|      0|    break;
 8323|       |
 8324|     72|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8324:3): [True: 72, False: 2.73M]
  ------------------
 8325|     72|#line 1839 "MachineIndependent/glslang.y"
 8326|     72|                                                           {
 8327|     72|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8328|       |
 8329|     72|        TArraySize size;
 8330|     72|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
 8331|     72|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8332|     72|    }
 8333|     72|#line 8334 "MachineIndependent/glslang_tab.cpp"
 8334|     72|    break;
 8335|       |
 8336|  7.00k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8336:3): [True: 7.00k, False: 2.73M]
  ------------------
 8337|  7.00k|#line 1849 "MachineIndependent/glslang.y"
 8338|  7.00k|           {
 8339|  7.00k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.00k|#define parseContext (*pParseContext)
  ------------------
 8340|  7.00k|        (yyval.interm.type).basicType = EbtVoid;
 8341|  7.00k|    }
 8342|  7.00k|#line 8343 "MachineIndependent/glslang_tab.cpp"
 8343|  7.00k|    break;
 8344|       |
 8345|  27.0k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8345:3): [True: 27.0k, False: 2.71M]
  ------------------
 8346|  27.0k|#line 1853 "MachineIndependent/glslang.y"
 8347|  27.0k|            {
 8348|  27.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  27.0k|#define parseContext (*pParseContext)
  ------------------
 8349|  27.0k|        (yyval.interm.type).basicType = EbtFloat;
 8350|  27.0k|    }
 8351|  27.0k|#line 8352 "MachineIndependent/glslang_tab.cpp"
 8352|  27.0k|    break;
 8353|       |
 8354|  46.9k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8354:3): [True: 46.9k, False: 2.69M]
  ------------------
 8355|  46.9k|#line 1857 "MachineIndependent/glslang.y"
 8356|  46.9k|          {
 8357|  46.9k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  46.9k|#define parseContext (*pParseContext)
  ------------------
 8358|  46.9k|        (yyval.interm.type).basicType = EbtInt;
 8359|  46.9k|    }
 8360|  46.9k|#line 8361 "MachineIndependent/glslang_tab.cpp"
 8361|  46.9k|    break;
 8362|       |
 8363|  23.1k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8363:3): [True: 23.1k, False: 2.71M]
  ------------------
 8364|  23.1k|#line 1861 "MachineIndependent/glslang.y"
 8365|  23.1k|           {
 8366|  23.1k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  783|  23.1k|#define parseContext (*pParseContext)
  ------------------
 8367|  23.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  23.1k|#define parseContext (*pParseContext)
  ------------------
 8368|  23.1k|        (yyval.interm.type).basicType = EbtUint;
 8369|  23.1k|    }
 8370|  23.1k|#line 8371 "MachineIndependent/glslang_tab.cpp"
 8371|  23.1k|    break;
 8372|       |
 8373|  4.11k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8373:3): [True: 4.11k, False: 2.73M]
  ------------------
 8374|  4.11k|#line 1866 "MachineIndependent/glslang.y"
 8375|  4.11k|           {
 8376|  4.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.11k|#define parseContext (*pParseContext)
  ------------------
 8377|  4.11k|        (yyval.interm.type).basicType = EbtBool;
 8378|  4.11k|    }
 8379|  4.11k|#line 8380 "MachineIndependent/glslang_tab.cpp"
 8380|  4.11k|    break;
 8381|       |
 8382|  19.6k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8382:3): [True: 19.6k, False: 2.71M]
  ------------------
 8383|  19.6k|#line 1870 "MachineIndependent/glslang.y"
 8384|  19.6k|           {
 8385|  19.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  19.6k|#define parseContext (*pParseContext)
  ------------------
 8386|  19.6k|        (yyval.interm.type).basicType = EbtFloat;
 8387|  19.6k|        (yyval.interm.type).setVector(2);
 8388|  19.6k|    }
 8389|  19.6k|#line 8390 "MachineIndependent/glslang_tab.cpp"
 8390|  19.6k|    break;
 8391|       |
 8392|  17.8k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8392:3): [True: 17.8k, False: 2.72M]
  ------------------
 8393|  17.8k|#line 1875 "MachineIndependent/glslang.y"
 8394|  17.8k|           {
 8395|  17.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  17.8k|#define parseContext (*pParseContext)
  ------------------
 8396|  17.8k|        (yyval.interm.type).basicType = EbtFloat;
 8397|  17.8k|        (yyval.interm.type).setVector(3);
 8398|  17.8k|    }
 8399|  17.8k|#line 8400 "MachineIndependent/glslang_tab.cpp"
 8400|  17.8k|    break;
 8401|       |
 8402|  17.8k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8402:3): [True: 17.8k, False: 2.72M]
  ------------------
 8403|  17.8k|#line 1880 "MachineIndependent/glslang.y"
 8404|  17.8k|           {
 8405|  17.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  17.8k|#define parseContext (*pParseContext)
  ------------------
 8406|  17.8k|        (yyval.interm.type).basicType = EbtFloat;
 8407|  17.8k|        (yyval.interm.type).setVector(4);
 8408|  17.8k|    }
 8409|  17.8k|#line 8410 "MachineIndependent/glslang_tab.cpp"
 8410|  17.8k|    break;
 8411|       |
 8412|  2.51k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8412:3): [True: 2.51k, False: 2.73M]
  ------------------
 8413|  2.51k|#line 1885 "MachineIndependent/glslang.y"
 8414|  2.51k|            {
 8415|  2.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.51k|#define parseContext (*pParseContext)
  ------------------
 8416|  2.51k|        (yyval.interm.type).basicType = EbtBool;
 8417|  2.51k|        (yyval.interm.type).setVector(2);
 8418|  2.51k|    }
 8419|  2.51k|#line 8420 "MachineIndependent/glslang_tab.cpp"
 8420|  2.51k|    break;
 8421|       |
 8422|  2.51k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8422:3): [True: 2.51k, False: 2.73M]
  ------------------
 8423|  2.51k|#line 1890 "MachineIndependent/glslang.y"
 8424|  2.51k|            {
 8425|  2.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.51k|#define parseContext (*pParseContext)
  ------------------
 8426|  2.51k|        (yyval.interm.type).basicType = EbtBool;
 8427|  2.51k|        (yyval.interm.type).setVector(3);
 8428|  2.51k|    }
 8429|  2.51k|#line 8430 "MachineIndependent/glslang_tab.cpp"
 8430|  2.51k|    break;
 8431|       |
 8432|  2.51k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8432:3): [True: 2.51k, False: 2.73M]
  ------------------
 8433|  2.51k|#line 1895 "MachineIndependent/glslang.y"
 8434|  2.51k|            {
 8435|  2.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.51k|#define parseContext (*pParseContext)
  ------------------
 8436|  2.51k|        (yyval.interm.type).basicType = EbtBool;
 8437|  2.51k|        (yyval.interm.type).setVector(4);
 8438|  2.51k|    }
 8439|  2.51k|#line 8440 "MachineIndependent/glslang_tab.cpp"
 8440|  2.51k|    break;
 8441|       |
 8442|  13.2k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8442:3): [True: 13.2k, False: 2.72M]
  ------------------
 8443|  13.2k|#line 1900 "MachineIndependent/glslang.y"
 8444|  13.2k|            {
 8445|  13.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.2k|#define parseContext (*pParseContext)
  ------------------
 8446|  13.2k|        (yyval.interm.type).basicType = EbtInt;
 8447|  13.2k|        (yyval.interm.type).setVector(2);
 8448|  13.2k|    }
 8449|  13.2k|#line 8450 "MachineIndependent/glslang_tab.cpp"
 8450|  13.2k|    break;
 8451|       |
 8452|  9.21k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8452:3): [True: 9.21k, False: 2.72M]
  ------------------
 8453|  9.21k|#line 1905 "MachineIndependent/glslang.y"
 8454|  9.21k|            {
 8455|  9.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  9.21k|#define parseContext (*pParseContext)
  ------------------
 8456|  9.21k|        (yyval.interm.type).basicType = EbtInt;
 8457|  9.21k|        (yyval.interm.type).setVector(3);
 8458|  9.21k|    }
 8459|  9.21k|#line 8460 "MachineIndependent/glslang_tab.cpp"
 8460|  9.21k|    break;
 8461|       |
 8462|  6.11k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8462:3): [True: 6.11k, False: 2.73M]
  ------------------
 8463|  6.11k|#line 1910 "MachineIndependent/glslang.y"
 8464|  6.11k|            {
 8465|  6.11k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  6.11k|#define parseContext (*pParseContext)
  ------------------
 8466|  6.11k|        (yyval.interm.type).basicType = EbtInt;
 8467|  6.11k|        (yyval.interm.type).setVector(4);
 8468|  6.11k|    }
 8469|  6.11k|#line 8470 "MachineIndependent/glslang_tab.cpp"
 8470|  6.11k|    break;
 8471|       |
 8472|  2.10k|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8472:3): [True: 2.10k, False: 2.73M]
  ------------------
 8473|  2.10k|#line 1915 "MachineIndependent/glslang.y"
 8474|  2.10k|            {
 8475|  2.10k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  2.10k|#define parseContext (*pParseContext)
  ------------------
 8476|  2.10k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.10k|#define parseContext (*pParseContext)
  ------------------
 8477|  2.10k|        (yyval.interm.type).basicType = EbtUint;
 8478|  2.10k|        (yyval.interm.type).setVector(2);
 8479|  2.10k|    }
 8480|  2.10k|#line 8481 "MachineIndependent/glslang_tab.cpp"
 8481|  2.10k|    break;
 8482|       |
 8483|  2.03k|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8483:3): [True: 2.03k, False: 2.73M]
  ------------------
 8484|  2.03k|#line 1921 "MachineIndependent/glslang.y"
 8485|  2.03k|            {
 8486|  2.03k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 8487|  2.03k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.03k|#define parseContext (*pParseContext)
  ------------------
 8488|  2.03k|        (yyval.interm.type).basicType = EbtUint;
 8489|  2.03k|        (yyval.interm.type).setVector(3);
 8490|  2.03k|    }
 8491|  2.03k|#line 8492 "MachineIndependent/glslang_tab.cpp"
 8492|  2.03k|    break;
 8493|       |
 8494|  12.2k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8494:3): [True: 12.2k, False: 2.72M]
  ------------------
 8495|  12.2k|#line 1927 "MachineIndependent/glslang.y"
 8496|  12.2k|            {
 8497|  12.2k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  12.2k|#define parseContext (*pParseContext)
  ------------------
 8498|  12.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  12.2k|#define parseContext (*pParseContext)
  ------------------
 8499|  12.2k|        (yyval.interm.type).basicType = EbtUint;
 8500|  12.2k|        (yyval.interm.type).setVector(4);
 8501|  12.2k|    }
 8502|  12.2k|#line 8503 "MachineIndependent/glslang_tab.cpp"
 8503|  12.2k|    break;
 8504|       |
 8505|    249|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8505:3): [True: 249, False: 2.73M]
  ------------------
 8506|    249|#line 1933 "MachineIndependent/glslang.y"
 8507|    249|           {
 8508|    249|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    249|#define parseContext (*pParseContext)
  ------------------
 8509|    249|        (yyval.interm.type).basicType = EbtFloat;
 8510|    249|        (yyval.interm.type).setMatrix(2, 2);
 8511|    249|    }
 8512|    249|#line 8513 "MachineIndependent/glslang_tab.cpp"
 8513|    249|    break;
 8514|       |
 8515|    249|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8515:3): [True: 249, False: 2.73M]
  ------------------
 8516|    249|#line 1938 "MachineIndependent/glslang.y"
 8517|    249|           {
 8518|    249|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    249|#define parseContext (*pParseContext)
  ------------------
 8519|    249|        (yyval.interm.type).basicType = EbtFloat;
 8520|    249|        (yyval.interm.type).setMatrix(3, 3);
 8521|    249|    }
 8522|    249|#line 8523 "MachineIndependent/glslang_tab.cpp"
 8523|    249|    break;
 8524|       |
 8525|    249|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8525:3): [True: 249, False: 2.73M]
  ------------------
 8526|    249|#line 1943 "MachineIndependent/glslang.y"
 8527|    249|           {
 8528|    249|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    249|#define parseContext (*pParseContext)
  ------------------
 8529|    249|        (yyval.interm.type).basicType = EbtFloat;
 8530|    249|        (yyval.interm.type).setMatrix(4, 4);
 8531|    249|    }
 8532|    249|#line 8533 "MachineIndependent/glslang_tab.cpp"
 8533|    249|    break;
 8534|       |
 8535|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8535:3): [True: 0, False: 2.73M]
  ------------------
 8536|      0|#line 1948 "MachineIndependent/glslang.y"
 8537|      0|             {
 8538|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8539|      0|        (yyval.interm.type).basicType = EbtFloat;
 8540|      0|        (yyval.interm.type).setMatrix(2, 2);
 8541|      0|    }
 8542|      0|#line 8543 "MachineIndependent/glslang_tab.cpp"
 8543|      0|    break;
 8544|       |
 8545|     42|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8545:3): [True: 42, False: 2.73M]
  ------------------
 8546|     42|#line 1953 "MachineIndependent/glslang.y"
 8547|     42|             {
 8548|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8549|     42|        (yyval.interm.type).basicType = EbtFloat;
 8550|     42|        (yyval.interm.type).setMatrix(2, 3);
 8551|     42|    }
 8552|     42|#line 8553 "MachineIndependent/glslang_tab.cpp"
 8553|     42|    break;
 8554|       |
 8555|     42|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8555:3): [True: 42, False: 2.73M]
  ------------------
 8556|     42|#line 1958 "MachineIndependent/glslang.y"
 8557|     42|             {
 8558|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8559|     42|        (yyval.interm.type).basicType = EbtFloat;
 8560|     42|        (yyval.interm.type).setMatrix(2, 4);
 8561|     42|    }
 8562|     42|#line 8563 "MachineIndependent/glslang_tab.cpp"
 8563|     42|    break;
 8564|       |
 8565|     42|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8565:3): [True: 42, False: 2.73M]
  ------------------
 8566|     42|#line 1963 "MachineIndependent/glslang.y"
 8567|     42|             {
 8568|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8569|     42|        (yyval.interm.type).basicType = EbtFloat;
 8570|     42|        (yyval.interm.type).setMatrix(3, 2);
 8571|     42|    }
 8572|     42|#line 8573 "MachineIndependent/glslang_tab.cpp"
 8573|     42|    break;
 8574|       |
 8575|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8575:3): [True: 0, False: 2.73M]
  ------------------
 8576|      0|#line 1968 "MachineIndependent/glslang.y"
 8577|      0|             {
 8578|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8579|      0|        (yyval.interm.type).basicType = EbtFloat;
 8580|      0|        (yyval.interm.type).setMatrix(3, 3);
 8581|      0|    }
 8582|      0|#line 8583 "MachineIndependent/glslang_tab.cpp"
 8583|      0|    break;
 8584|       |
 8585|     42|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8585:3): [True: 42, False: 2.73M]
  ------------------
 8586|     42|#line 1973 "MachineIndependent/glslang.y"
 8587|     42|             {
 8588|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8589|     42|        (yyval.interm.type).basicType = EbtFloat;
 8590|     42|        (yyval.interm.type).setMatrix(3, 4);
 8591|     42|    }
 8592|     42|#line 8593 "MachineIndependent/glslang_tab.cpp"
 8593|     42|    break;
 8594|       |
 8595|     42|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8595:3): [True: 42, False: 2.73M]
  ------------------
 8596|     42|#line 1978 "MachineIndependent/glslang.y"
 8597|     42|             {
 8598|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8599|     42|        (yyval.interm.type).basicType = EbtFloat;
 8600|     42|        (yyval.interm.type).setMatrix(4, 2);
 8601|     42|    }
 8602|     42|#line 8603 "MachineIndependent/glslang_tab.cpp"
 8603|     42|    break;
 8604|       |
 8605|     42|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8605:3): [True: 42, False: 2.73M]
  ------------------
 8606|     42|#line 1983 "MachineIndependent/glslang.y"
 8607|     42|             {
 8608|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8609|     42|        (yyval.interm.type).basicType = EbtFloat;
 8610|     42|        (yyval.interm.type).setMatrix(4, 3);
 8611|     42|    }
 8612|     42|#line 8613 "MachineIndependent/glslang_tab.cpp"
 8613|     42|    break;
 8614|       |
 8615|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8615:3): [True: 0, False: 2.73M]
  ------------------
 8616|      0|#line 1988 "MachineIndependent/glslang.y"
 8617|      0|             {
 8618|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8619|      0|        (yyval.interm.type).basicType = EbtFloat;
 8620|      0|        (yyval.interm.type).setMatrix(4, 4);
 8621|      0|    }
 8622|      0|#line 8623 "MachineIndependent/glslang_tab.cpp"
 8623|      0|    break;
 8624|       |
 8625|  1.83k|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8625:3): [True: 1.83k, False: 2.73M]
  ------------------
 8626|  1.83k|#line 1993 "MachineIndependent/glslang.y"
 8627|  1.83k|             {
 8628|  1.83k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8629|  1.83k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8629:13): [True: 0, False: 1.83k]
  ------------------
 8630|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8631|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8632|  1.83k|        (yyval.interm.type).basicType = EbtDouble;
 8633|  1.83k|    }
 8634|  1.83k|#line 8635 "MachineIndependent/glslang_tab.cpp"
 8635|  1.83k|    break;
 8636|       |
 8637|    108|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8637:3): [True: 108, False: 2.73M]
  ------------------
 8638|    108|#line 2000 "MachineIndependent/glslang.y"
 8639|    108|                 {
 8640|    108|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    108|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    108|#define parseContext (*pParseContext)
  ------------------
 8641|    108|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    108|#define parseContext (*pParseContext)
  ------------------
 8642|    108|        (yyval.interm.type).basicType = EbtBFloat16;
 8643|    108|    }
 8644|    108|#line 8645 "MachineIndependent/glslang_tab.cpp"
 8645|    108|    break;
 8646|       |
 8647|     72|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8647:3): [True: 72, False: 2.73M]
  ------------------
 8648|     72|#line 2005 "MachineIndependent/glslang.y"
 8649|     72|                  {
 8650|     72|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
 8651|     72|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
 8652|     72|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8653|     72|    }
 8654|     72|#line 8655 "MachineIndependent/glslang_tab.cpp"
 8655|     72|    break;
 8656|       |
 8657|     72|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8657:3): [True: 72, False: 2.73M]
  ------------------
 8658|     72|#line 2010 "MachineIndependent/glslang.y"
 8659|     72|                  {
 8660|     72|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
 8661|     72|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     72|#define parseContext (*pParseContext)
  ------------------
 8662|     72|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8663|     72|    }
 8664|     72|#line 8665 "MachineIndependent/glslang_tab.cpp"
 8665|     72|    break;
 8666|       |
 8667|     30|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8667:3): [True: 30, False: 2.73M]
  ------------------
 8668|     30|#line 2015 "MachineIndependent/glslang.y"
 8669|     30|                  {
 8670|     30|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8671|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8672|     30|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8673|     30|    }
 8674|     30|#line 8675 "MachineIndependent/glslang_tab.cpp"
 8675|     30|    break;
 8676|       |
 8677|     30|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8677:3): [True: 30, False: 2.73M]
  ------------------
 8678|     30|#line 2020 "MachineIndependent/glslang.y"
 8679|     30|                  {
 8680|     30|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8681|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8682|     30|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8683|     30|    }
 8684|     30|#line 8685 "MachineIndependent/glslang_tab.cpp"
 8685|     30|    break;
 8686|       |
 8687|     30|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8687:3): [True: 30, False: 2.73M]
  ------------------
 8688|     30|#line 2025 "MachineIndependent/glslang.y"
 8689|     30|                  {
 8690|     30|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8691|     30|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     30|#define parseContext (*pParseContext)
  ------------------
 8692|     30|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8693|     30|    }
 8694|     30|#line 8695 "MachineIndependent/glslang_tab.cpp"
 8695|     30|    break;
 8696|       |
 8697|     24|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8697:3): [True: 24, False: 2.73M]
  ------------------
 8698|     24|#line 2030 "MachineIndependent/glslang.y"
 8699|     24|                   {
 8700|     24|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8701|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8702|     24|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8703|     24|    }
 8704|     24|#line 8705 "MachineIndependent/glslang_tab.cpp"
 8705|     24|    break;
 8706|       |
 8707|     24|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8707:3): [True: 24, False: 2.73M]
  ------------------
 8708|     24|#line 2035 "MachineIndependent/glslang.y"
 8709|     24|                    {
 8710|     24|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8711|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8712|     24|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8713|     24|    }
 8714|     24|#line 8715 "MachineIndependent/glslang_tab.cpp"
 8715|     24|    break;
 8716|       |
 8717|  7.39k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8717:3): [True: 7.39k, False: 2.73M]
  ------------------
 8718|  7.39k|#line 2040 "MachineIndependent/glslang.y"
 8719|  7.39k|                {
 8720|  7.39k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.39k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.39k|#define parseContext (*pParseContext)
  ------------------
 8721|  7.39k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.39k|#define parseContext (*pParseContext)
  ------------------
 8722|  7.39k|        (yyval.interm.type).basicType = EbtFloat16;
 8723|  7.39k|    }
 8724|  7.39k|#line 8725 "MachineIndependent/glslang_tab.cpp"
 8725|  7.39k|    break;
 8726|       |
 8727|    456|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8727:3): [True: 456, False: 2.73M]
  ------------------
 8728|    456|#line 2045 "MachineIndependent/glslang.y"
 8729|    456|                {
 8730|    456|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    456|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    456|#define parseContext (*pParseContext)
  ------------------
 8731|    456|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    456|#define parseContext (*pParseContext)
  ------------------
 8732|    456|        (yyval.interm.type).basicType = EbtFloat;
 8733|    456|    }
 8734|    456|#line 8735 "MachineIndependent/glslang_tab.cpp"
 8735|    456|    break;
 8736|       |
 8737|    846|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8737:3): [True: 846, False: 2.73M]
  ------------------
 8738|    846|#line 2050 "MachineIndependent/glslang.y"
 8739|    846|                {
 8740|    846|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    846|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    846|#define parseContext (*pParseContext)
  ------------------
 8741|    846|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    846|#define parseContext (*pParseContext)
  ------------------
 8742|    846|        (yyval.interm.type).basicType = EbtDouble;
 8743|    846|    }
 8744|    846|#line 8745 "MachineIndependent/glslang_tab.cpp"
 8745|    846|    break;
 8746|       |
 8747|  1.83k|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8747:3): [True: 1.83k, False: 2.73M]
  ------------------
 8748|  1.83k|#line 2055 "MachineIndependent/glslang.y"
 8749|  1.83k|             {
 8750|  1.83k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8751|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 8752|  1.83k|        (yyval.interm.type).basicType = EbtInt8;
 8753|  1.83k|    }
 8754|  1.83k|#line 8755 "MachineIndependent/glslang_tab.cpp"
 8755|  1.83k|    break;
 8756|       |
 8757|  1.72k|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8757:3): [True: 1.72k, False: 2.73M]
  ------------------
 8758|  1.72k|#line 2060 "MachineIndependent/glslang.y"
 8759|  1.72k|              {
 8760|  1.72k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.72k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.72k|#define parseContext (*pParseContext)
  ------------------
 8761|  1.72k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.72k|#define parseContext (*pParseContext)
  ------------------
 8762|  1.72k|        (yyval.interm.type).basicType = EbtUint8;
 8763|  1.72k|    }
 8764|  1.72k|#line 8765 "MachineIndependent/glslang_tab.cpp"
 8765|  1.72k|    break;
 8766|       |
 8767|  2.22k|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8767:3): [True: 2.22k, False: 2.73M]
  ------------------
 8768|  2.22k|#line 2065 "MachineIndependent/glslang.y"
 8769|  2.22k|              {
 8770|  2.22k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.22k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.22k|#define parseContext (*pParseContext)
  ------------------
 8771|  2.22k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.22k|#define parseContext (*pParseContext)
  ------------------
 8772|  2.22k|        (yyval.interm.type).basicType = EbtInt16;
 8773|  2.22k|    }
 8774|  2.22k|#line 8775 "MachineIndependent/glslang_tab.cpp"
 8775|  2.22k|    break;
 8776|       |
 8777|  1.99k|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8777:3): [True: 1.99k, False: 2.73M]
  ------------------
 8778|  1.99k|#line 2070 "MachineIndependent/glslang.y"
 8779|  1.99k|               {
 8780|  1.99k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8781|  1.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8782|  1.99k|        (yyval.interm.type).basicType = EbtUint16;
 8783|  1.99k|    }
 8784|  1.99k|#line 8785 "MachineIndependent/glslang_tab.cpp"
 8785|  1.99k|    break;
 8786|       |
 8787|    480|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8787:3): [True: 480, False: 2.73M]
  ------------------
 8788|    480|#line 2075 "MachineIndependent/glslang.y"
 8789|    480|              {
 8790|    480|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    480|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    480|#define parseContext (*pParseContext)
  ------------------
 8791|    480|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    480|#define parseContext (*pParseContext)
  ------------------
 8792|    480|        (yyval.interm.type).basicType = EbtInt;
 8793|    480|    }
 8794|    480|#line 8795 "MachineIndependent/glslang_tab.cpp"
 8795|    480|    break;
 8796|       |
 8797|    492|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8797:3): [True: 492, False: 2.73M]
  ------------------
 8798|    492|#line 2080 "MachineIndependent/glslang.y"
 8799|    492|               {
 8800|    492|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
 8801|    492|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    492|#define parseContext (*pParseContext)
  ------------------
 8802|    492|        (yyval.interm.type).basicType = EbtUint;
 8803|    492|    }
 8804|    492|#line 8805 "MachineIndependent/glslang_tab.cpp"
 8805|    492|    break;
 8806|       |
 8807|  4.78k|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8807:3): [True: 4.78k, False: 2.73M]
  ------------------
 8808|  4.78k|#line 2085 "MachineIndependent/glslang.y"
 8809|  4.78k|              {
 8810|  4.78k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.78k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.78k|#define parseContext (*pParseContext)
  ------------------
 8811|  4.78k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.78k|#define parseContext (*pParseContext)
  ------------------
 8812|  4.78k|        (yyval.interm.type).basicType = EbtInt64;
 8813|  4.78k|    }
 8814|  4.78k|#line 8815 "MachineIndependent/glslang_tab.cpp"
 8815|  4.78k|    break;
 8816|       |
 8817|  7.80k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8817:3): [True: 7.80k, False: 2.73M]
  ------------------
 8818|  7.80k|#line 2090 "MachineIndependent/glslang.y"
 8819|  7.80k|               {
 8820|  7.80k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.80k|#define parseContext (*pParseContext)
  ------------------
 8821|  7.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.80k|#define parseContext (*pParseContext)
  ------------------
 8822|  7.80k|        (yyval.interm.type).basicType = EbtUint64;
 8823|  7.80k|    }
 8824|  7.80k|#line 8825 "MachineIndependent/glslang_tab.cpp"
 8825|  7.80k|    break;
 8826|       |
 8827|  1.51k|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8827:3): [True: 1.51k, False: 2.73M]
  ------------------
 8828|  1.51k|#line 2095 "MachineIndependent/glslang.y"
 8829|  1.51k|            {
 8830|  1.51k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8831|  1.51k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8831:13): [True: 0, False: 1.51k]
  ------------------
 8832|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8833|  1.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8834|  1.51k|        (yyval.interm.type).basicType = EbtDouble;
 8835|  1.51k|        (yyval.interm.type).setVector(2);
 8836|  1.51k|    }
 8837|  1.51k|#line 8838 "MachineIndependent/glslang_tab.cpp"
 8838|  1.51k|    break;
 8839|       |
 8840|  1.51k|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8840:3): [True: 1.51k, False: 2.73M]
  ------------------
 8841|  1.51k|#line 2103 "MachineIndependent/glslang.y"
 8842|  1.51k|            {
 8843|  1.51k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8844|  1.51k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8844:13): [True: 0, False: 1.51k]
  ------------------
 8845|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8846|  1.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8847|  1.51k|        (yyval.interm.type).basicType = EbtDouble;
 8848|  1.51k|        (yyval.interm.type).setVector(3);
 8849|  1.51k|    }
 8850|  1.51k|#line 8851 "MachineIndependent/glslang_tab.cpp"
 8851|  1.51k|    break;
 8852|       |
 8853|  1.51k|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8853:3): [True: 1.51k, False: 2.73M]
  ------------------
 8854|  1.51k|#line 2111 "MachineIndependent/glslang.y"
 8855|  1.51k|            {
 8856|  1.51k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8857|  1.51k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8857:13): [True: 0, False: 1.51k]
  ------------------
 8858|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8859|  1.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 8860|  1.51k|        (yyval.interm.type).basicType = EbtDouble;
 8861|  1.51k|        (yyval.interm.type).setVector(4);
 8862|  1.51k|    }
 8863|  1.51k|#line 8864 "MachineIndependent/glslang_tab.cpp"
 8864|  1.51k|    break;
 8865|       |
 8866|     60|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8866:3): [True: 60, False: 2.73M]
  ------------------
 8867|     60|#line 2119 "MachineIndependent/glslang.y"
 8868|     60|               {
 8869|     60|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8870|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8871|     60|        (yyval.interm.type).basicType = EbtBFloat16;
 8872|     60|        (yyval.interm.type).setVector(2);
 8873|     60|    }
 8874|     60|#line 8875 "MachineIndependent/glslang_tab.cpp"
 8875|     60|    break;
 8876|       |
 8877|     36|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8877:3): [True: 36, False: 2.73M]
  ------------------
 8878|     36|#line 2125 "MachineIndependent/glslang.y"
 8879|     36|               {
 8880|     36|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 8881|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 8882|     36|        (yyval.interm.type).basicType = EbtBFloat16;
 8883|     36|        (yyval.interm.type).setVector(3);
 8884|     36|    }
 8885|     36|#line 8886 "MachineIndependent/glslang_tab.cpp"
 8886|     36|    break;
 8887|       |
 8888|     60|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8888:3): [True: 60, False: 2.73M]
  ------------------
 8889|     60|#line 2131 "MachineIndependent/glslang.y"
 8890|     60|               {
 8891|     60|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8892|     60|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     60|#define parseContext (*pParseContext)
  ------------------
 8893|     60|        (yyval.interm.type).basicType = EbtBFloat16;
 8894|     60|        (yyval.interm.type).setVector(4);
 8895|     60|    }
 8896|     60|#line 8897 "MachineIndependent/glslang_tab.cpp"
 8897|     60|    break;
 8898|       |
 8899|     48|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8899:3): [True: 48, False: 2.73M]
  ------------------
 8900|     48|#line 2137 "MachineIndependent/glslang.y"
 8901|     48|                {
 8902|     48|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8903|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8904|     48|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8905|     48|        (yyval.interm.type).setVector(2);
 8906|     48|    }
 8907|     48|#line 8908 "MachineIndependent/glslang_tab.cpp"
 8908|     48|    break;
 8909|       |
 8910|     24|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8910:3): [True: 24, False: 2.73M]
  ------------------
 8911|     24|#line 2143 "MachineIndependent/glslang.y"
 8912|     24|                {
 8913|     24|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8914|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8915|     24|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8916|     24|        (yyval.interm.type).setVector(3);
 8917|     24|    }
 8918|     24|#line 8919 "MachineIndependent/glslang_tab.cpp"
 8919|     24|    break;
 8920|       |
 8921|     48|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8921:3): [True: 48, False: 2.73M]
  ------------------
 8922|     48|#line 2149 "MachineIndependent/glslang.y"
 8923|     48|                {
 8924|     48|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8925|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8926|     48|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8927|     48|        (yyval.interm.type).setVector(4);
 8928|     48|    }
 8929|     48|#line 8930 "MachineIndependent/glslang_tab.cpp"
 8930|     48|    break;
 8931|       |
 8932|     48|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8932:3): [True: 48, False: 2.73M]
  ------------------
 8933|     48|#line 2155 "MachineIndependent/glslang.y"
 8934|     48|                {
 8935|     48|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8936|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8937|     48|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8938|     48|        (yyval.interm.type).setVector(2);
 8939|     48|    }
 8940|     48|#line 8941 "MachineIndependent/glslang_tab.cpp"
 8941|     48|    break;
 8942|       |
 8943|     24|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8943:3): [True: 24, False: 2.73M]
  ------------------
 8944|     24|#line 2161 "MachineIndependent/glslang.y"
 8945|     24|                {
 8946|     24|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8947|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 8948|     24|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8949|     24|        (yyval.interm.type).setVector(3);
 8950|     24|    }
 8951|     24|#line 8952 "MachineIndependent/glslang_tab.cpp"
 8952|     24|    break;
 8953|       |
 8954|     48|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8954:3): [True: 48, False: 2.73M]
  ------------------
 8955|     48|#line 2167 "MachineIndependent/glslang.y"
 8956|     48|                {
 8957|     48|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8958|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 8959|     48|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8960|     48|        (yyval.interm.type).setVector(4);
 8961|     48|    }
 8962|     48|#line 8963 "MachineIndependent/glslang_tab.cpp"
 8963|     48|    break;
 8964|       |
 8965|     18|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8965:3): [True: 18, False: 2.73M]
  ------------------
 8966|     18|#line 2173 "MachineIndependent/glslang.y"
 8967|     18|                {
 8968|     18|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8969|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8970|     18|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8971|     18|        (yyval.interm.type).setVector(2);
 8972|     18|    }
 8973|     18|#line 8974 "MachineIndependent/glslang_tab.cpp"
 8974|     18|    break;
 8975|       |
 8976|      6|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8976:3): [True: 6, False: 2.73M]
  ------------------
 8977|      6|#line 2179 "MachineIndependent/glslang.y"
 8978|      6|                {
 8979|      6|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8980|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 8981|      6|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8982|      6|        (yyval.interm.type).setVector(3);
 8983|      6|    }
 8984|      6|#line 8985 "MachineIndependent/glslang_tab.cpp"
 8985|      6|    break;
 8986|       |
 8987|     18|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8987:3): [True: 18, False: 2.73M]
  ------------------
 8988|     18|#line 2185 "MachineIndependent/glslang.y"
 8989|     18|                {
 8990|     18|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8991|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 8992|     18|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8993|     18|        (yyval.interm.type).setVector(4);
 8994|     18|    }
 8995|     18|#line 8996 "MachineIndependent/glslang_tab.cpp"
 8996|     18|    break;
 8997|       |
 8998|      6|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8998:3): [True: 6, False: 2.73M]
  ------------------
 8999|      6|#line 2191 "MachineIndependent/glslang.y"
 9000|      6|                {
 9001|      6|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9002|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9003|      6|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9004|      6|        (yyval.interm.type).setVector(2);
 9005|      6|    }
 9006|      6|#line 9007 "MachineIndependent/glslang_tab.cpp"
 9007|      6|    break;
 9008|       |
 9009|      6|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (9009:3): [True: 6, False: 2.73M]
  ------------------
 9010|      6|#line 2197 "MachineIndependent/glslang.y"
 9011|      6|                {
 9012|      6|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9013|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9014|      6|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9015|      6|        (yyval.interm.type).setVector(3);
 9016|      6|    }
 9017|      6|#line 9018 "MachineIndependent/glslang_tab.cpp"
 9018|      6|    break;
 9019|       |
 9020|     18|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9020:3): [True: 18, False: 2.73M]
  ------------------
 9021|     18|#line 2203 "MachineIndependent/glslang.y"
 9022|     18|                {
 9023|     18|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9024|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9025|     18|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9026|     18|        (yyval.interm.type).setVector(4);
 9027|     18|    }
 9028|     18|#line 9029 "MachineIndependent/glslang_tab.cpp"
 9029|     18|    break;
 9030|       |
 9031|      6|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9031:3): [True: 6, False: 2.73M]
  ------------------
 9032|      6|#line 2209 "MachineIndependent/glslang.y"
 9033|      6|                {
 9034|      6|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9035|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9036|      6|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9037|      6|        (yyval.interm.type).setVector(2);
 9038|      6|    }
 9039|      6|#line 9040 "MachineIndependent/glslang_tab.cpp"
 9040|      6|    break;
 9041|       |
 9042|      6|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9042:3): [True: 6, False: 2.73M]
  ------------------
 9043|      6|#line 2215 "MachineIndependent/glslang.y"
 9044|      6|                {
 9045|      6|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9046|      6|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      6|#define parseContext (*pParseContext)
  ------------------
 9047|      6|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9048|      6|        (yyval.interm.type).setVector(3);
 9049|      6|    }
 9050|      6|#line 9051 "MachineIndependent/glslang_tab.cpp"
 9051|      6|    break;
 9052|       |
 9053|     18|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9053:3): [True: 18, False: 2.73M]
  ------------------
 9054|     18|#line 2221 "MachineIndependent/glslang.y"
 9055|     18|                {
 9056|     18|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9057|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
 9058|     18|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9059|     18|        (yyval.interm.type).setVector(4);
 9060|     18|    }
 9061|     18|#line 9062 "MachineIndependent/glslang_tab.cpp"
 9062|     18|    break;
 9063|       |
 9064|     24|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9064:3): [True: 24, False: 2.73M]
  ------------------
 9065|     24|#line 2227 "MachineIndependent/glslang.y"
 9066|     24|                 {
 9067|     24|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9068|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9069|     24|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9070|     24|        (yyval.interm.type).setVector(2);
 9071|     24|    }
 9072|     24|#line 9073 "MachineIndependent/glslang_tab.cpp"
 9073|     24|    break;
 9074|       |
 9075|     24|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9075:3): [True: 24, False: 2.73M]
  ------------------
 9076|     24|#line 2233 "MachineIndependent/glslang.y"
 9077|     24|                 {
 9078|     24|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9079|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9080|     24|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9081|     24|        (yyval.interm.type).setVector(3);
 9082|     24|    }
 9083|     24|#line 9084 "MachineIndependent/glslang_tab.cpp"
 9084|     24|    break;
 9085|       |
 9086|     24|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9086:3): [True: 24, False: 2.73M]
  ------------------
 9087|     24|#line 2239 "MachineIndependent/glslang.y"
 9088|     24|                 {
 9089|     24|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9090|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9091|     24|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9092|     24|        (yyval.interm.type).setVector(4);
 9093|     24|    }
 9094|     24|#line 9095 "MachineIndependent/glslang_tab.cpp"
 9095|     24|    break;
 9096|       |
 9097|     24|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9097:3): [True: 24, False: 2.73M]
  ------------------
 9098|     24|#line 2245 "MachineIndependent/glslang.y"
 9099|     24|                  {
 9100|     24|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9101|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9102|     24|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9103|     24|        (yyval.interm.type).setVector(2);
 9104|     24|    }
 9105|     24|#line 9106 "MachineIndependent/glslang_tab.cpp"
 9106|     24|    break;
 9107|       |
 9108|     24|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9108:3): [True: 24, False: 2.73M]
  ------------------
 9109|     24|#line 2251 "MachineIndependent/glslang.y"
 9110|     24|                  {
 9111|     24|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9112|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9113|     24|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9114|     24|        (yyval.interm.type).setVector(3);
 9115|     24|    }
 9116|     24|#line 9117 "MachineIndependent/glslang_tab.cpp"
 9117|     24|    break;
 9118|       |
 9119|     24|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9119:3): [True: 24, False: 2.73M]
  ------------------
 9120|     24|#line 2257 "MachineIndependent/glslang.y"
 9121|     24|                  {
 9122|     24|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9123|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9124|     24|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9125|     24|        (yyval.interm.type).setVector(4);
 9126|     24|    }
 9127|     24|#line 9128 "MachineIndependent/glslang_tab.cpp"
 9128|     24|    break;
 9129|       |
 9130|  5.70k|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9130:3): [True: 5.70k, False: 2.73M]
  ------------------
 9131|  5.70k|#line 2263 "MachineIndependent/glslang.y"
 9132|  5.70k|              {
 9133|  5.70k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.70k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.70k|#define parseContext (*pParseContext)
  ------------------
 9134|  5.70k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  5.70k|#define parseContext (*pParseContext)
  ------------------
 9135|  5.70k|        (yyval.interm.type).basicType = EbtFloat16;
 9136|  5.70k|        (yyval.interm.type).setVector(2);
 9137|  5.70k|    }
 9138|  5.70k|#line 9139 "MachineIndependent/glslang_tab.cpp"
 9139|  5.70k|    break;
 9140|       |
 9141|  3.94k|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9141:3): [True: 3.94k, False: 2.73M]
  ------------------
 9142|  3.94k|#line 2269 "MachineIndependent/glslang.y"
 9143|  3.94k|              {
 9144|  3.94k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.94k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  3.94k|#define parseContext (*pParseContext)
  ------------------
 9145|  3.94k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  3.94k|#define parseContext (*pParseContext)
  ------------------
 9146|  3.94k|        (yyval.interm.type).basicType = EbtFloat16;
 9147|  3.94k|        (yyval.interm.type).setVector(3);
 9148|  3.94k|    }
 9149|  3.94k|#line 9150 "MachineIndependent/glslang_tab.cpp"
 9150|  3.94k|    break;
 9151|       |
 9152|  9.73k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9152:3): [True: 9.73k, False: 2.72M]
  ------------------
 9153|  9.73k|#line 2275 "MachineIndependent/glslang.y"
 9154|  9.73k|              {
 9155|  9.73k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  9.73k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  9.73k|#define parseContext (*pParseContext)
  ------------------
 9156|  9.73k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  9.73k|#define parseContext (*pParseContext)
  ------------------
 9157|  9.73k|        (yyval.interm.type).basicType = EbtFloat16;
 9158|  9.73k|        (yyval.interm.type).setVector(4);
 9159|  9.73k|    }
 9160|  9.73k|#line 9161 "MachineIndependent/glslang_tab.cpp"
 9161|  9.73k|    break;
 9162|       |
 9163|     24|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9163:3): [True: 24, False: 2.73M]
  ------------------
 9164|     24|#line 2281 "MachineIndependent/glslang.y"
 9165|     24|              {
 9166|     24|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9167|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9168|     24|        (yyval.interm.type).basicType = EbtFloat;
 9169|     24|        (yyval.interm.type).setVector(2);
 9170|     24|    }
 9171|     24|#line 9172 "MachineIndependent/glslang_tab.cpp"
 9172|     24|    break;
 9173|       |
 9174|     24|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9174:3): [True: 24, False: 2.73M]
  ------------------
 9175|     24|#line 2287 "MachineIndependent/glslang.y"
 9176|     24|              {
 9177|     24|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9178|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9179|     24|        (yyval.interm.type).basicType = EbtFloat;
 9180|     24|        (yyval.interm.type).setVector(3);
 9181|     24|    }
 9182|     24|#line 9183 "MachineIndependent/glslang_tab.cpp"
 9183|     24|    break;
 9184|       |
 9185|     24|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9185:3): [True: 24, False: 2.73M]
  ------------------
 9186|     24|#line 2293 "MachineIndependent/glslang.y"
 9187|     24|              {
 9188|     24|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9189|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9190|     24|        (yyval.interm.type).basicType = EbtFloat;
 9191|     24|        (yyval.interm.type).setVector(4);
 9192|     24|    }
 9193|     24|#line 9194 "MachineIndependent/glslang_tab.cpp"
 9194|     24|    break;
 9195|       |
 9196|    540|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9196:3): [True: 540, False: 2.73M]
  ------------------
 9197|    540|#line 2299 "MachineIndependent/glslang.y"
 9198|    540|              {
 9199|    540|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    540|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    540|#define parseContext (*pParseContext)
  ------------------
 9200|    540|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    540|#define parseContext (*pParseContext)
  ------------------
 9201|    540|        (yyval.interm.type).basicType = EbtDouble;
 9202|    540|        (yyval.interm.type).setVector(2);
 9203|    540|    }
 9204|    540|#line 9205 "MachineIndependent/glslang_tab.cpp"
 9205|    540|    break;
 9206|       |
 9207|    516|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9207:3): [True: 516, False: 2.73M]
  ------------------
 9208|    516|#line 2305 "MachineIndependent/glslang.y"
 9209|    516|              {
 9210|    516|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9211|    516|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9212|    516|        (yyval.interm.type).basicType = EbtDouble;
 9213|    516|        (yyval.interm.type).setVector(3);
 9214|    516|    }
 9215|    516|#line 9216 "MachineIndependent/glslang_tab.cpp"
 9216|    516|    break;
 9217|       |
 9218|    516|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9218:3): [True: 516, False: 2.73M]
  ------------------
 9219|    516|#line 2311 "MachineIndependent/glslang.y"
 9220|    516|              {
 9221|    516|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9222|    516|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    516|#define parseContext (*pParseContext)
  ------------------
 9223|    516|        (yyval.interm.type).basicType = EbtDouble;
 9224|    516|        (yyval.interm.type).setVector(4);
 9225|    516|    }
 9226|    516|#line 9227 "MachineIndependent/glslang_tab.cpp"
 9227|    516|    break;
 9228|       |
 9229|  1.34k|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9229:3): [True: 1.34k, False: 2.73M]
  ------------------
 9230|  1.34k|#line 2317 "MachineIndependent/glslang.y"
 9231|  1.34k|             {
 9232|  1.34k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
 9233|  1.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
 9234|  1.34k|        (yyval.interm.type).basicType = EbtInt8;
 9235|  1.34k|        (yyval.interm.type).setVector(2);
 9236|  1.34k|    }
 9237|  1.34k|#line 9238 "MachineIndependent/glslang_tab.cpp"
 9238|  1.34k|    break;
 9239|       |
 9240|  1.31k|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9240:3): [True: 1.31k, False: 2.73M]
  ------------------
 9241|  1.31k|#line 2323 "MachineIndependent/glslang.y"
 9242|  1.31k|             {
 9243|  1.31k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.31k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.31k|#define parseContext (*pParseContext)
  ------------------
 9244|  1.31k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.31k|#define parseContext (*pParseContext)
  ------------------
 9245|  1.31k|        (yyval.interm.type).basicType = EbtInt8;
 9246|  1.31k|        (yyval.interm.type).setVector(3);
 9247|  1.31k|    }
 9248|  1.31k|#line 9249 "MachineIndependent/glslang_tab.cpp"
 9249|  1.31k|    break;
 9250|       |
 9251|  1.34k|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9251:3): [True: 1.34k, False: 2.73M]
  ------------------
 9252|  1.34k|#line 2329 "MachineIndependent/glslang.y"
 9253|  1.34k|             {
 9254|  1.34k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
 9255|  1.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
 9256|  1.34k|        (yyval.interm.type).basicType = EbtInt8;
 9257|  1.34k|        (yyval.interm.type).setVector(4);
 9258|  1.34k|    }
 9259|  1.34k|#line 9260 "MachineIndependent/glslang_tab.cpp"
 9260|  1.34k|    break;
 9261|       |
 9262|  1.74k|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9262:3): [True: 1.74k, False: 2.73M]
  ------------------
 9263|  1.74k|#line 2335 "MachineIndependent/glslang.y"
 9264|  1.74k|              {
 9265|  1.74k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9266|  1.74k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9267|  1.74k|        (yyval.interm.type).basicType = EbtInt16;
 9268|  1.74k|        (yyval.interm.type).setVector(2);
 9269|  1.74k|    }
 9270|  1.74k|#line 9271 "MachineIndependent/glslang_tab.cpp"
 9271|  1.74k|    break;
 9272|       |
 9273|  1.69k|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9273:3): [True: 1.69k, False: 2.73M]
  ------------------
 9274|  1.69k|#line 2341 "MachineIndependent/glslang.y"
 9275|  1.69k|              {
 9276|  1.69k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.69k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.69k|#define parseContext (*pParseContext)
  ------------------
 9277|  1.69k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.69k|#define parseContext (*pParseContext)
  ------------------
 9278|  1.69k|        (yyval.interm.type).basicType = EbtInt16;
 9279|  1.69k|        (yyval.interm.type).setVector(3);
 9280|  1.69k|    }
 9281|  1.69k|#line 9282 "MachineIndependent/glslang_tab.cpp"
 9282|  1.69k|    break;
 9283|       |
 9284|  1.74k|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9284:3): [True: 1.74k, False: 2.73M]
  ------------------
 9285|  1.74k|#line 2347 "MachineIndependent/glslang.y"
 9286|  1.74k|              {
 9287|  1.74k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9288|  1.74k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.74k|#define parseContext (*pParseContext)
  ------------------
 9289|  1.74k|        (yyval.interm.type).basicType = EbtInt16;
 9290|  1.74k|        (yyval.interm.type).setVector(4);
 9291|  1.74k|    }
 9292|  1.74k|#line 9293 "MachineIndependent/glslang_tab.cpp"
 9293|  1.74k|    break;
 9294|       |
 9295|     36|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9295:3): [True: 36, False: 2.73M]
  ------------------
 9296|     36|#line 2353 "MachineIndependent/glslang.y"
 9297|     36|              {
 9298|     36|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9299|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9300|     36|        (yyval.interm.type).basicType = EbtInt;
 9301|     36|        (yyval.interm.type).setVector(2);
 9302|     36|    }
 9303|     36|#line 9304 "MachineIndependent/glslang_tab.cpp"
 9304|     36|    break;
 9305|       |
 9306|     24|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9306:3): [True: 24, False: 2.73M]
  ------------------
 9307|     24|#line 2359 "MachineIndependent/glslang.y"
 9308|     24|              {
 9309|     24|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9310|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9311|     24|        (yyval.interm.type).basicType = EbtInt;
 9312|     24|        (yyval.interm.type).setVector(3);
 9313|     24|    }
 9314|     24|#line 9315 "MachineIndependent/glslang_tab.cpp"
 9315|     24|    break;
 9316|       |
 9317|     24|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9317:3): [True: 24, False: 2.73M]
  ------------------
 9318|     24|#line 2365 "MachineIndependent/glslang.y"
 9319|     24|              {
 9320|     24|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9321|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9322|     24|        (yyval.interm.type).basicType = EbtInt;
 9323|     24|        (yyval.interm.type).setVector(4);
 9324|     24|    }
 9325|     24|#line 9326 "MachineIndependent/glslang_tab.cpp"
 9326|     24|    break;
 9327|       |
 9328|  1.58k|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9328:3): [True: 1.58k, False: 2.73M]
  ------------------
 9329|  1.58k|#line 2371 "MachineIndependent/glslang.y"
 9330|  1.58k|              {
 9331|  1.58k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
 9332|  1.58k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
 9333|  1.58k|        (yyval.interm.type).basicType = EbtInt64;
 9334|  1.58k|        (yyval.interm.type).setVector(2);
 9335|  1.58k|    }
 9336|  1.58k|#line 9337 "MachineIndependent/glslang_tab.cpp"
 9337|  1.58k|    break;
 9338|       |
 9339|  1.56k|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9339:3): [True: 1.56k, False: 2.73M]
  ------------------
 9340|  1.56k|#line 2377 "MachineIndependent/glslang.y"
 9341|  1.56k|              {
 9342|  1.56k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.56k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.56k|#define parseContext (*pParseContext)
  ------------------
 9343|  1.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.56k|#define parseContext (*pParseContext)
  ------------------
 9344|  1.56k|        (yyval.interm.type).basicType = EbtInt64;
 9345|  1.56k|        (yyval.interm.type).setVector(3);
 9346|  1.56k|    }
 9347|  1.56k|#line 9348 "MachineIndependent/glslang_tab.cpp"
 9348|  1.56k|    break;
 9349|       |
 9350|  1.88k|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9350:3): [True: 1.88k, False: 2.73M]
  ------------------
 9351|  1.88k|#line 2383 "MachineIndependent/glslang.y"
 9352|  1.88k|              {
 9353|  1.88k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.88k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.88k|#define parseContext (*pParseContext)
  ------------------
 9354|  1.88k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.88k|#define parseContext (*pParseContext)
  ------------------
 9355|  1.88k|        (yyval.interm.type).basicType = EbtInt64;
 9356|  1.88k|        (yyval.interm.type).setVector(4);
 9357|  1.88k|    }
 9358|  1.88k|#line 9359 "MachineIndependent/glslang_tab.cpp"
 9359|  1.88k|    break;
 9360|       |
 9361|  1.30k|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9361:3): [True: 1.30k, False: 2.73M]
  ------------------
 9362|  1.30k|#line 2389 "MachineIndependent/glslang.y"
 9363|  1.30k|             {
 9364|  1.30k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 9365|  1.30k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 9366|  1.30k|        (yyval.interm.type).basicType = EbtUint8;
 9367|  1.30k|        (yyval.interm.type).setVector(2);
 9368|  1.30k|    }
 9369|  1.30k|#line 9370 "MachineIndependent/glslang_tab.cpp"
 9370|  1.30k|    break;
 9371|       |
 9372|  1.29k|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9372:3): [True: 1.29k, False: 2.73M]
  ------------------
 9373|  1.29k|#line 2395 "MachineIndependent/glslang.y"
 9374|  1.29k|             {
 9375|  1.29k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.29k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.29k|#define parseContext (*pParseContext)
  ------------------
 9376|  1.29k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.29k|#define parseContext (*pParseContext)
  ------------------
 9377|  1.29k|        (yyval.interm.type).basicType = EbtUint8;
 9378|  1.29k|        (yyval.interm.type).setVector(3);
 9379|  1.29k|    }
 9380|  1.29k|#line 9381 "MachineIndependent/glslang_tab.cpp"
 9381|  1.29k|    break;
 9382|       |
 9383|  1.30k|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9383:3): [True: 1.30k, False: 2.73M]
  ------------------
 9384|  1.30k|#line 2401 "MachineIndependent/glslang.y"
 9385|  1.30k|             {
 9386|  1.30k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 9387|  1.30k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
 9388|  1.30k|        (yyval.interm.type).basicType = EbtUint8;
 9389|  1.30k|        (yyval.interm.type).setVector(4);
 9390|  1.30k|    }
 9391|  1.30k|#line 9392 "MachineIndependent/glslang_tab.cpp"
 9392|  1.30k|    break;
 9393|       |
 9394|  1.68k|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9394:3): [True: 1.68k, False: 2.73M]
  ------------------
 9395|  1.68k|#line 2407 "MachineIndependent/glslang.y"
 9396|  1.68k|              {
 9397|  1.68k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9398|  1.68k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9399|  1.68k|        (yyval.interm.type).basicType = EbtUint16;
 9400|  1.68k|        (yyval.interm.type).setVector(2);
 9401|  1.68k|    }
 9402|  1.68k|#line 9403 "MachineIndependent/glslang_tab.cpp"
 9403|  1.68k|    break;
 9404|       |
 9405|  1.66k|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9405:3): [True: 1.66k, False: 2.73M]
  ------------------
 9406|  1.66k|#line 2413 "MachineIndependent/glslang.y"
 9407|  1.66k|              {
 9408|  1.66k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.66k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.66k|#define parseContext (*pParseContext)
  ------------------
 9409|  1.66k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.66k|#define parseContext (*pParseContext)
  ------------------
 9410|  1.66k|        (yyval.interm.type).basicType = EbtUint16;
 9411|  1.66k|        (yyval.interm.type).setVector(3);
 9412|  1.66k|    }
 9413|  1.66k|#line 9414 "MachineIndependent/glslang_tab.cpp"
 9414|  1.66k|    break;
 9415|       |
 9416|  1.68k|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9416:3): [True: 1.68k, False: 2.73M]
  ------------------
 9417|  1.68k|#line 2419 "MachineIndependent/glslang.y"
 9418|  1.68k|              {
 9419|  1.68k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9420|  1.68k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.68k|#define parseContext (*pParseContext)
  ------------------
 9421|  1.68k|        (yyval.interm.type).basicType = EbtUint16;
 9422|  1.68k|        (yyval.interm.type).setVector(4);
 9423|  1.68k|    }
 9424|  1.68k|#line 9425 "MachineIndependent/glslang_tab.cpp"
 9425|  1.68k|    break;
 9426|       |
 9427|     48|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9427:3): [True: 48, False: 2.73M]
  ------------------
 9428|     48|#line 2425 "MachineIndependent/glslang.y"
 9429|     48|              {
 9430|     48|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 9431|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 9432|     48|        (yyval.interm.type).basicType = EbtUint;
 9433|     48|        (yyval.interm.type).setVector(2);
 9434|     48|    }
 9435|     48|#line 9436 "MachineIndependent/glslang_tab.cpp"
 9436|     48|    break;
 9437|       |
 9438|     48|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9438:3): [True: 48, False: 2.73M]
  ------------------
 9439|     48|#line 2431 "MachineIndependent/glslang.y"
 9440|     48|              {
 9441|     48|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 9442|     48|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     48|#define parseContext (*pParseContext)
  ------------------
 9443|     48|        (yyval.interm.type).basicType = EbtUint;
 9444|     48|        (yyval.interm.type).setVector(3);
 9445|     48|    }
 9446|     48|#line 9447 "MachineIndependent/glslang_tab.cpp"
 9447|     48|    break;
 9448|       |
 9449|     24|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9449:3): [True: 24, False: 2.73M]
  ------------------
 9450|     24|#line 2437 "MachineIndependent/glslang.y"
 9451|     24|              {
 9452|     24|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9453|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
 9454|     24|        (yyval.interm.type).basicType = EbtUint;
 9455|     24|        (yyval.interm.type).setVector(4);
 9456|     24|    }
 9457|     24|#line 9458 "MachineIndependent/glslang_tab.cpp"
 9458|     24|    break;
 9459|       |
 9460|  1.54k|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9460:3): [True: 1.54k, False: 2.73M]
  ------------------
 9461|  1.54k|#line 2443 "MachineIndependent/glslang.y"
 9462|  1.54k|              {
 9463|  1.54k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
 9464|  1.54k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.54k|#define parseContext (*pParseContext)
  ------------------
 9465|  1.54k|        (yyval.interm.type).basicType = EbtUint64;
 9466|  1.54k|        (yyval.interm.type).setVector(2);
 9467|  1.54k|    }
 9468|  1.54k|#line 9469 "MachineIndependent/glslang_tab.cpp"
 9469|  1.54k|    break;
 9470|       |
 9471|  1.51k|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9471:3): [True: 1.51k, False: 2.73M]
  ------------------
 9472|  1.51k|#line 2449 "MachineIndependent/glslang.y"
 9473|  1.51k|              {
 9474|  1.51k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 9475|  1.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
 9476|  1.51k|        (yyval.interm.type).basicType = EbtUint64;
 9477|  1.51k|        (yyval.interm.type).setVector(3);
 9478|  1.51k|    }
 9479|  1.51k|#line 9480 "MachineIndependent/glslang_tab.cpp"
 9480|  1.51k|    break;
 9481|       |
 9482|  1.83k|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9482:3): [True: 1.83k, False: 2.73M]
  ------------------
 9483|  1.83k|#line 2455 "MachineIndependent/glslang.y"
 9484|  1.83k|              {
 9485|  1.83k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 9486|  1.83k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.83k|#define parseContext (*pParseContext)
  ------------------
 9487|  1.83k|        (yyval.interm.type).basicType = EbtUint64;
 9488|  1.83k|        (yyval.interm.type).setVector(4);
 9489|  1.83k|    }
 9490|  1.83k|#line 9491 "MachineIndependent/glslang_tab.cpp"
 9491|  1.83k|    break;
 9492|       |
 9493|     63|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9493:3): [True: 63, False: 2.73M]
  ------------------
 9494|     63|#line 2461 "MachineIndependent/glslang.y"
 9495|     63|            {
 9496|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9497|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9497:13): [True: 0, False: 63]
  ------------------
 9498|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9499|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9500|     63|        (yyval.interm.type).basicType = EbtDouble;
 9501|     63|        (yyval.interm.type).setMatrix(2, 2);
 9502|     63|    }
 9503|     63|#line 9504 "MachineIndependent/glslang_tab.cpp"
 9504|     63|    break;
 9505|       |
 9506|     63|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9506:3): [True: 63, False: 2.73M]
  ------------------
 9507|     63|#line 2469 "MachineIndependent/glslang.y"
 9508|     63|            {
 9509|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9510|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9510:13): [True: 0, False: 63]
  ------------------
 9511|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9512|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9513|     63|        (yyval.interm.type).basicType = EbtDouble;
 9514|     63|        (yyval.interm.type).setMatrix(3, 3);
 9515|     63|    }
 9516|     63|#line 9517 "MachineIndependent/glslang_tab.cpp"
 9517|     63|    break;
 9518|       |
 9519|     63|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9519:3): [True: 63, False: 2.73M]
  ------------------
 9520|     63|#line 2477 "MachineIndependent/glslang.y"
 9521|     63|            {
 9522|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9523|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9523:13): [True: 0, False: 63]
  ------------------
 9524|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9525|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9526|     63|        (yyval.interm.type).basicType = EbtDouble;
 9527|     63|        (yyval.interm.type).setMatrix(4, 4);
 9528|     63|    }
 9529|     63|#line 9530 "MachineIndependent/glslang_tab.cpp"
 9530|     63|    break;
 9531|       |
 9532|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9532:3): [True: 0, False: 2.73M]
  ------------------
 9533|      0|#line 2485 "MachineIndependent/glslang.y"
 9534|      0|              {
 9535|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9536|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9536:13): [True: 0, False: 0]
  ------------------
 9537|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9538|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9539|      0|        (yyval.interm.type).basicType = EbtDouble;
 9540|      0|        (yyval.interm.type).setMatrix(2, 2);
 9541|      0|    }
 9542|      0|#line 9543 "MachineIndependent/glslang_tab.cpp"
 9543|      0|    break;
 9544|       |
 9545|     42|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9545:3): [True: 42, False: 2.73M]
  ------------------
 9546|     42|#line 2493 "MachineIndependent/glslang.y"
 9547|     42|              {
 9548|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9549|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9549:13): [True: 0, False: 42]
  ------------------
 9550|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9551|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9552|     42|        (yyval.interm.type).basicType = EbtDouble;
 9553|     42|        (yyval.interm.type).setMatrix(2, 3);
 9554|     42|    }
 9555|     42|#line 9556 "MachineIndependent/glslang_tab.cpp"
 9556|     42|    break;
 9557|       |
 9558|     42|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9558:3): [True: 42, False: 2.73M]
  ------------------
 9559|     42|#line 2501 "MachineIndependent/glslang.y"
 9560|     42|              {
 9561|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9562|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9562:13): [True: 0, False: 42]
  ------------------
 9563|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9564|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9565|     42|        (yyval.interm.type).basicType = EbtDouble;
 9566|     42|        (yyval.interm.type).setMatrix(2, 4);
 9567|     42|    }
 9568|     42|#line 9569 "MachineIndependent/glslang_tab.cpp"
 9569|     42|    break;
 9570|       |
 9571|     42|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9571:3): [True: 42, False: 2.73M]
  ------------------
 9572|     42|#line 2509 "MachineIndependent/glslang.y"
 9573|     42|              {
 9574|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9575|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9575:13): [True: 0, False: 42]
  ------------------
 9576|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9577|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9578|     42|        (yyval.interm.type).basicType = EbtDouble;
 9579|     42|        (yyval.interm.type).setMatrix(3, 2);
 9580|     42|    }
 9581|     42|#line 9582 "MachineIndependent/glslang_tab.cpp"
 9582|     42|    break;
 9583|       |
 9584|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9584:3): [True: 0, False: 2.73M]
  ------------------
 9585|      0|#line 2517 "MachineIndependent/glslang.y"
 9586|      0|              {
 9587|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9588|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9588:13): [True: 0, False: 0]
  ------------------
 9589|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9590|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9591|      0|        (yyval.interm.type).basicType = EbtDouble;
 9592|      0|        (yyval.interm.type).setMatrix(3, 3);
 9593|      0|    }
 9594|      0|#line 9595 "MachineIndependent/glslang_tab.cpp"
 9595|      0|    break;
 9596|       |
 9597|     42|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9597:3): [True: 42, False: 2.73M]
  ------------------
 9598|     42|#line 2525 "MachineIndependent/glslang.y"
 9599|     42|              {
 9600|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9601|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9601:13): [True: 0, False: 42]
  ------------------
 9602|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9603|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9604|     42|        (yyval.interm.type).basicType = EbtDouble;
 9605|     42|        (yyval.interm.type).setMatrix(3, 4);
 9606|     42|    }
 9607|     42|#line 9608 "MachineIndependent/glslang_tab.cpp"
 9608|     42|    break;
 9609|       |
 9610|     42|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9610:3): [True: 42, False: 2.73M]
  ------------------
 9611|     42|#line 2533 "MachineIndependent/glslang.y"
 9612|     42|              {
 9613|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9614|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9614:13): [True: 0, False: 42]
  ------------------
 9615|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9616|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9617|     42|        (yyval.interm.type).basicType = EbtDouble;
 9618|     42|        (yyval.interm.type).setMatrix(4, 2);
 9619|     42|    }
 9620|     42|#line 9621 "MachineIndependent/glslang_tab.cpp"
 9621|     42|    break;
 9622|       |
 9623|     42|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9623:3): [True: 42, False: 2.73M]
  ------------------
 9624|     42|#line 2541 "MachineIndependent/glslang.y"
 9625|     42|              {
 9626|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9627|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9627:13): [True: 0, False: 42]
  ------------------
 9628|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9629|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9630|     42|        (yyval.interm.type).basicType = EbtDouble;
 9631|     42|        (yyval.interm.type).setMatrix(4, 3);
 9632|     42|    }
 9633|     42|#line 9634 "MachineIndependent/glslang_tab.cpp"
 9634|     42|    break;
 9635|       |
 9636|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9636:3): [True: 0, False: 2.73M]
  ------------------
 9637|      0|#line 2549 "MachineIndependent/glslang.y"
 9638|      0|              {
 9639|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9640|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9640:13): [True: 0, False: 0]
  ------------------
 9641|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9642|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9643|      0|        (yyval.interm.type).basicType = EbtDouble;
 9644|      0|        (yyval.interm.type).setMatrix(4, 4);
 9645|      0|    }
 9646|      0|#line 9647 "MachineIndependent/glslang_tab.cpp"
 9647|      0|    break;
 9648|       |
 9649|     54|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9649:3): [True: 54, False: 2.73M]
  ------------------
 9650|     54|#line 2557 "MachineIndependent/glslang.y"
 9651|     54|              {
 9652|     54|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9653|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9654|     54|        (yyval.interm.type).basicType = EbtFloat16;
 9655|     54|        (yyval.interm.type).setMatrix(2, 2);
 9656|     54|    }
 9657|     54|#line 9658 "MachineIndependent/glslang_tab.cpp"
 9658|     54|    break;
 9659|       |
 9660|     54|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9660:3): [True: 54, False: 2.73M]
  ------------------
 9661|     54|#line 2563 "MachineIndependent/glslang.y"
 9662|     54|              {
 9663|     54|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9664|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9665|     54|        (yyval.interm.type).basicType = EbtFloat16;
 9666|     54|        (yyval.interm.type).setMatrix(3, 3);
 9667|     54|    }
 9668|     54|#line 9669 "MachineIndependent/glslang_tab.cpp"
 9669|     54|    break;
 9670|       |
 9671|     54|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9671:3): [True: 54, False: 2.73M]
  ------------------
 9672|     54|#line 2569 "MachineIndependent/glslang.y"
 9673|     54|              {
 9674|     54|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9675|     54|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     54|#define parseContext (*pParseContext)
  ------------------
 9676|     54|        (yyval.interm.type).basicType = EbtFloat16;
 9677|     54|        (yyval.interm.type).setMatrix(4, 4);
 9678|     54|    }
 9679|     54|#line 9680 "MachineIndependent/glslang_tab.cpp"
 9680|     54|    break;
 9681|       |
 9682|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9682:3): [True: 0, False: 2.73M]
  ------------------
 9683|      0|#line 2575 "MachineIndependent/glslang.y"
 9684|      0|                {
 9685|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9686|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9687|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9688|      0|        (yyval.interm.type).setMatrix(2, 2);
 9689|      0|    }
 9690|      0|#line 9691 "MachineIndependent/glslang_tab.cpp"
 9691|      0|    break;
 9692|       |
 9693|     36|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9693:3): [True: 36, False: 2.73M]
  ------------------
 9694|     36|#line 2581 "MachineIndependent/glslang.y"
 9695|     36|                {
 9696|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9697|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9698|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9699|     36|        (yyval.interm.type).setMatrix(2, 3);
 9700|     36|    }
 9701|     36|#line 9702 "MachineIndependent/glslang_tab.cpp"
 9702|     36|    break;
 9703|       |
 9704|     36|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9704:3): [True: 36, False: 2.73M]
  ------------------
 9705|     36|#line 2587 "MachineIndependent/glslang.y"
 9706|     36|                {
 9707|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9708|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9709|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9710|     36|        (yyval.interm.type).setMatrix(2, 4);
 9711|     36|    }
 9712|     36|#line 9713 "MachineIndependent/glslang_tab.cpp"
 9713|     36|    break;
 9714|       |
 9715|     36|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9715:3): [True: 36, False: 2.73M]
  ------------------
 9716|     36|#line 2593 "MachineIndependent/glslang.y"
 9717|     36|                {
 9718|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9719|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9720|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9721|     36|        (yyval.interm.type).setMatrix(3, 2);
 9722|     36|    }
 9723|     36|#line 9724 "MachineIndependent/glslang_tab.cpp"
 9724|     36|    break;
 9725|       |
 9726|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9726:3): [True: 0, False: 2.73M]
  ------------------
 9727|      0|#line 2599 "MachineIndependent/glslang.y"
 9728|      0|                {
 9729|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9730|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9731|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9732|      0|        (yyval.interm.type).setMatrix(3, 3);
 9733|      0|    }
 9734|      0|#line 9735 "MachineIndependent/glslang_tab.cpp"
 9735|      0|    break;
 9736|       |
 9737|     36|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9737:3): [True: 36, False: 2.73M]
  ------------------
 9738|     36|#line 2605 "MachineIndependent/glslang.y"
 9739|     36|                {
 9740|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9741|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9742|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9743|     36|        (yyval.interm.type).setMatrix(3, 4);
 9744|     36|    }
 9745|     36|#line 9746 "MachineIndependent/glslang_tab.cpp"
 9746|     36|    break;
 9747|       |
 9748|     36|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9748:3): [True: 36, False: 2.73M]
  ------------------
 9749|     36|#line 2611 "MachineIndependent/glslang.y"
 9750|     36|                {
 9751|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9752|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9753|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9754|     36|        (yyval.interm.type).setMatrix(4, 2);
 9755|     36|    }
 9756|     36|#line 9757 "MachineIndependent/glslang_tab.cpp"
 9757|     36|    break;
 9758|       |
 9759|     36|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9759:3): [True: 36, False: 2.73M]
  ------------------
 9760|     36|#line 2617 "MachineIndependent/glslang.y"
 9761|     36|                {
 9762|     36|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9763|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
 9764|     36|        (yyval.interm.type).basicType = EbtFloat16;
 9765|     36|        (yyval.interm.type).setMatrix(4, 3);
 9766|     36|    }
 9767|     36|#line 9768 "MachineIndependent/glslang_tab.cpp"
 9768|     36|    break;
 9769|       |
 9770|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9770:3): [True: 0, False: 2.73M]
  ------------------
 9771|      0|#line 2623 "MachineIndependent/glslang.y"
 9772|      0|                {
 9773|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9774|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9775|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9776|      0|        (yyval.interm.type).setMatrix(4, 4);
 9777|      0|    }
 9778|      0|#line 9779 "MachineIndependent/glslang_tab.cpp"
 9779|      0|    break;
 9780|       |
 9781|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9781:3): [True: 0, False: 2.73M]
  ------------------
 9782|      0|#line 2629 "MachineIndependent/glslang.y"
 9783|      0|              {
 9784|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9785|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9786|      0|        (yyval.interm.type).basicType = EbtFloat;
 9787|      0|        (yyval.interm.type).setMatrix(2, 2);
 9788|      0|    }
 9789|      0|#line 9790 "MachineIndependent/glslang_tab.cpp"
 9790|      0|    break;
 9791|       |
 9792|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9792:3): [True: 0, False: 2.73M]
  ------------------
 9793|      0|#line 2635 "MachineIndependent/glslang.y"
 9794|      0|              {
 9795|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9796|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9797|      0|        (yyval.interm.type).basicType = EbtFloat;
 9798|      0|        (yyval.interm.type).setMatrix(3, 3);
 9799|      0|    }
 9800|      0|#line 9801 "MachineIndependent/glslang_tab.cpp"
 9801|      0|    break;
 9802|       |
 9803|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9803:3): [True: 0, False: 2.73M]
  ------------------
 9804|      0|#line 2641 "MachineIndependent/glslang.y"
 9805|      0|              {
 9806|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9807|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9808|      0|        (yyval.interm.type).basicType = EbtFloat;
 9809|      0|        (yyval.interm.type).setMatrix(4, 4);
 9810|      0|    }
 9811|      0|#line 9812 "MachineIndependent/glslang_tab.cpp"
 9812|      0|    break;
 9813|       |
 9814|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9814:3): [True: 0, False: 2.73M]
  ------------------
 9815|      0|#line 2647 "MachineIndependent/glslang.y"
 9816|      0|                {
 9817|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9818|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9819|      0|        (yyval.interm.type).basicType = EbtFloat;
 9820|      0|        (yyval.interm.type).setMatrix(2, 2);
 9821|      0|    }
 9822|      0|#line 9823 "MachineIndependent/glslang_tab.cpp"
 9823|      0|    break;
 9824|       |
 9825|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9825:3): [True: 0, False: 2.73M]
  ------------------
 9826|      0|#line 2653 "MachineIndependent/glslang.y"
 9827|      0|                {
 9828|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9829|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9830|      0|        (yyval.interm.type).basicType = EbtFloat;
 9831|      0|        (yyval.interm.type).setMatrix(2, 3);
 9832|      0|    }
 9833|      0|#line 9834 "MachineIndependent/glslang_tab.cpp"
 9834|      0|    break;
 9835|       |
 9836|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9836:3): [True: 0, False: 2.73M]
  ------------------
 9837|      0|#line 2659 "MachineIndependent/glslang.y"
 9838|      0|                {
 9839|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9840|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9841|      0|        (yyval.interm.type).basicType = EbtFloat;
 9842|      0|        (yyval.interm.type).setMatrix(2, 4);
 9843|      0|    }
 9844|      0|#line 9845 "MachineIndependent/glslang_tab.cpp"
 9845|      0|    break;
 9846|       |
 9847|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9847:3): [True: 0, False: 2.73M]
  ------------------
 9848|      0|#line 2665 "MachineIndependent/glslang.y"
 9849|      0|                {
 9850|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9851|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9852|      0|        (yyval.interm.type).basicType = EbtFloat;
 9853|      0|        (yyval.interm.type).setMatrix(3, 2);
 9854|      0|    }
 9855|      0|#line 9856 "MachineIndependent/glslang_tab.cpp"
 9856|      0|    break;
 9857|       |
 9858|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9858:3): [True: 0, False: 2.73M]
  ------------------
 9859|      0|#line 2671 "MachineIndependent/glslang.y"
 9860|      0|                {
 9861|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9862|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9863|      0|        (yyval.interm.type).basicType = EbtFloat;
 9864|      0|        (yyval.interm.type).setMatrix(3, 3);
 9865|      0|    }
 9866|      0|#line 9867 "MachineIndependent/glslang_tab.cpp"
 9867|      0|    break;
 9868|       |
 9869|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9869:3): [True: 0, False: 2.73M]
  ------------------
 9870|      0|#line 2677 "MachineIndependent/glslang.y"
 9871|      0|                {
 9872|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9873|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9874|      0|        (yyval.interm.type).basicType = EbtFloat;
 9875|      0|        (yyval.interm.type).setMatrix(3, 4);
 9876|      0|    }
 9877|      0|#line 9878 "MachineIndependent/glslang_tab.cpp"
 9878|      0|    break;
 9879|       |
 9880|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9880:3): [True: 0, False: 2.73M]
  ------------------
 9881|      0|#line 2683 "MachineIndependent/glslang.y"
 9882|      0|                {
 9883|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9884|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9885|      0|        (yyval.interm.type).basicType = EbtFloat;
 9886|      0|        (yyval.interm.type).setMatrix(4, 2);
 9887|      0|    }
 9888|      0|#line 9889 "MachineIndependent/glslang_tab.cpp"
 9889|      0|    break;
 9890|       |
 9891|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9891:3): [True: 0, False: 2.73M]
  ------------------
 9892|      0|#line 2689 "MachineIndependent/glslang.y"
 9893|      0|                {
 9894|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9895|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9896|      0|        (yyval.interm.type).basicType = EbtFloat;
 9897|      0|        (yyval.interm.type).setMatrix(4, 3);
 9898|      0|    }
 9899|      0|#line 9900 "MachineIndependent/glslang_tab.cpp"
 9900|      0|    break;
 9901|       |
 9902|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9902:3): [True: 0, False: 2.73M]
  ------------------
 9903|      0|#line 2695 "MachineIndependent/glslang.y"
 9904|      0|                {
 9905|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9906|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9907|      0|        (yyval.interm.type).basicType = EbtFloat;
 9908|      0|        (yyval.interm.type).setMatrix(4, 4);
 9909|      0|    }
 9910|      0|#line 9911 "MachineIndependent/glslang_tab.cpp"
 9911|      0|    break;
 9912|       |
 9913|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9913:3): [True: 0, False: 2.73M]
  ------------------
 9914|      0|#line 2701 "MachineIndependent/glslang.y"
 9915|      0|              {
 9916|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9917|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9918|      0|        (yyval.interm.type).basicType = EbtDouble;
 9919|      0|        (yyval.interm.type).setMatrix(2, 2);
 9920|      0|    }
 9921|      0|#line 9922 "MachineIndependent/glslang_tab.cpp"
 9922|      0|    break;
 9923|       |
 9924|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9924:3): [True: 0, False: 2.73M]
  ------------------
 9925|      0|#line 2707 "MachineIndependent/glslang.y"
 9926|      0|              {
 9927|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9928|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9929|      0|        (yyval.interm.type).basicType = EbtDouble;
 9930|      0|        (yyval.interm.type).setMatrix(3, 3);
 9931|      0|    }
 9932|      0|#line 9933 "MachineIndependent/glslang_tab.cpp"
 9933|      0|    break;
 9934|       |
 9935|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9935:3): [True: 0, False: 2.73M]
  ------------------
 9936|      0|#line 2713 "MachineIndependent/glslang.y"
 9937|      0|              {
 9938|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9939|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9940|      0|        (yyval.interm.type).basicType = EbtDouble;
 9941|      0|        (yyval.interm.type).setMatrix(4, 4);
 9942|      0|    }
 9943|      0|#line 9944 "MachineIndependent/glslang_tab.cpp"
 9944|      0|    break;
 9945|       |
 9946|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9946:3): [True: 0, False: 2.73M]
  ------------------
 9947|      0|#line 2719 "MachineIndependent/glslang.y"
 9948|      0|                {
 9949|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9950|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9951|      0|        (yyval.interm.type).basicType = EbtDouble;
 9952|      0|        (yyval.interm.type).setMatrix(2, 2);
 9953|      0|    }
 9954|      0|#line 9955 "MachineIndependent/glslang_tab.cpp"
 9955|      0|    break;
 9956|       |
 9957|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9957:3): [True: 0, False: 2.73M]
  ------------------
 9958|      0|#line 2725 "MachineIndependent/glslang.y"
 9959|      0|                {
 9960|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9961|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9962|      0|        (yyval.interm.type).basicType = EbtDouble;
 9963|      0|        (yyval.interm.type).setMatrix(2, 3);
 9964|      0|    }
 9965|      0|#line 9966 "MachineIndependent/glslang_tab.cpp"
 9966|      0|    break;
 9967|       |
 9968|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9968:3): [True: 0, False: 2.73M]
  ------------------
 9969|      0|#line 2731 "MachineIndependent/glslang.y"
 9970|      0|                {
 9971|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9972|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9973|      0|        (yyval.interm.type).basicType = EbtDouble;
 9974|      0|        (yyval.interm.type).setMatrix(2, 4);
 9975|      0|    }
 9976|      0|#line 9977 "MachineIndependent/glslang_tab.cpp"
 9977|      0|    break;
 9978|       |
 9979|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9979:3): [True: 0, False: 2.73M]
  ------------------
 9980|      0|#line 2737 "MachineIndependent/glslang.y"
 9981|      0|                {
 9982|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9983|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9984|      0|        (yyval.interm.type).basicType = EbtDouble;
 9985|      0|        (yyval.interm.type).setMatrix(3, 2);
 9986|      0|    }
 9987|      0|#line 9988 "MachineIndependent/glslang_tab.cpp"
 9988|      0|    break;
 9989|       |
 9990|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9990:3): [True: 0, False: 2.73M]
  ------------------
 9991|      0|#line 2743 "MachineIndependent/glslang.y"
 9992|      0|                {
 9993|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9994|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9995|      0|        (yyval.interm.type).basicType = EbtDouble;
 9996|      0|        (yyval.interm.type).setMatrix(3, 3);
 9997|      0|    }
 9998|      0|#line 9999 "MachineIndependent/glslang_tab.cpp"
 9999|      0|    break;
10000|       |
10001|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (10001:3): [True: 0, False: 2.73M]
  ------------------
10002|      0|#line 2749 "MachineIndependent/glslang.y"
10003|      0|                {
10004|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10005|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10006|      0|        (yyval.interm.type).basicType = EbtDouble;
10007|      0|        (yyval.interm.type).setMatrix(3, 4);
10008|      0|    }
10009|      0|#line 10010 "MachineIndependent/glslang_tab.cpp"
10010|      0|    break;
10011|       |
10012|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (10012:3): [True: 0, False: 2.73M]
  ------------------
10013|      0|#line 2755 "MachineIndependent/glslang.y"
10014|      0|                {
10015|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10016|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10017|      0|        (yyval.interm.type).basicType = EbtDouble;
10018|      0|        (yyval.interm.type).setMatrix(4, 2);
10019|      0|    }
10020|      0|#line 10021 "MachineIndependent/glslang_tab.cpp"
10021|      0|    break;
10022|       |
10023|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10023:3): [True: 0, False: 2.73M]
  ------------------
10024|      0|#line 2761 "MachineIndependent/glslang.y"
10025|      0|                {
10026|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10027|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10028|      0|        (yyval.interm.type).basicType = EbtDouble;
10029|      0|        (yyval.interm.type).setMatrix(4, 3);
10030|      0|    }
10031|      0|#line 10032 "MachineIndependent/glslang_tab.cpp"
10032|      0|    break;
10033|       |
10034|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10034:3): [True: 0, False: 2.73M]
  ------------------
10035|      0|#line 2767 "MachineIndependent/glslang.y"
10036|      0|                {
10037|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10038|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10039|      0|        (yyval.interm.type).basicType = EbtDouble;
10040|      0|        (yyval.interm.type).setMatrix(4, 4);
10041|      0|    }
10042|      0|#line 10043 "MachineIndependent/glslang_tab.cpp"
10043|      0|    break;
10044|       |
10045|      0|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10045:3): [True: 0, False: 2.73M]
  ------------------
10046|      0|#line 2773 "MachineIndependent/glslang.y"
10047|      0|                  {
10048|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10049|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10050|      0|    }
10051|      0|#line 10052 "MachineIndependent/glslang_tab.cpp"
10052|      0|    break;
10053|       |
10054|      0|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10054:3): [True: 0, False: 2.73M]
  ------------------
10055|      0|#line 2777 "MachineIndependent/glslang.y"
10056|      0|                   {
10057|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10058|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10059|      0|    }
10060|      0|#line 10061 "MachineIndependent/glslang_tab.cpp"
10061|      0|    break;
10062|       |
10063|      0|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10063:3): [True: 0, False: 2.73M]
  ------------------
10064|      0|#line 2781 "MachineIndependent/glslang.y"
10065|      0|                  {
10066|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10067|      0|       (yyval.interm.type).basicType = EbtRayQuery;
10068|      0|    }
10069|      0|#line 10070 "MachineIndependent/glslang_tab.cpp"
10070|      0|    break;
10071|       |
10072|     24|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10072:3): [True: 24, False: 2.73M]
  ------------------
10073|     24|#line 2785 "MachineIndependent/glslang.y"
10074|     24|                  {
10075|     24|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10076|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10077|     24|        (yyval.interm.type).basicType = EbtAtomicUint;
10078|     24|    }
10079|     24|#line 10080 "MachineIndependent/glslang_tab.cpp"
10080|     24|    break;
10081|       |
10082|    367|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10082:3): [True: 367, False: 2.73M]
  ------------------
10083|    367|#line 2790 "MachineIndependent/glslang.y"
10084|    367|                {
10085|    367|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    367|#define parseContext (*pParseContext)
  ------------------
10086|    367|        (yyval.interm.type).basicType = EbtSampler;
10087|    367|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10088|    367|    }
10089|    367|#line 10090 "MachineIndependent/glslang_tab.cpp"
10090|    367|    break;
10091|       |
10092|  1.47k|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10092:3): [True: 1.47k, False: 2.73M]
  ------------------
10093|  1.47k|#line 2795 "MachineIndependent/glslang.y"
10094|  1.47k|                {
10095|  1.47k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.47k|#define parseContext (*pParseContext)
  ------------------
10096|  1.47k|        (yyval.interm.type).basicType = EbtSampler;
10097|  1.47k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10098|  1.47k|    }
10099|  1.47k|#line 10100 "MachineIndependent/glslang_tab.cpp"
10100|  1.47k|    break;
10101|       |
10102|    612|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10102:3): [True: 612, False: 2.73M]
  ------------------
10103|    612|#line 2800 "MachineIndependent/glslang.y"
10104|    612|                {
10105|    612|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    612|#define parseContext (*pParseContext)
  ------------------
10106|    612|        (yyval.interm.type).basicType = EbtSampler;
10107|    612|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10108|    612|    }
10109|    612|#line 10110 "MachineIndependent/glslang_tab.cpp"
10110|    612|    break;
10111|       |
10112|    402|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10112:3): [True: 402, False: 2.73M]
  ------------------
10113|    402|#line 2805 "MachineIndependent/glslang.y"
10114|    402|                  {
10115|    402|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    402|#define parseContext (*pParseContext)
  ------------------
10116|    402|        (yyval.interm.type).basicType = EbtSampler;
10117|    402|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10118|    402|    }
10119|    402|#line 10120 "MachineIndependent/glslang_tab.cpp"
10120|    402|    break;
10121|       |
10122|    446|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10122:3): [True: 446, False: 2.73M]
  ------------------
10123|    446|#line 2810 "MachineIndependent/glslang.y"
10124|    446|                      {
10125|    446|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    446|#define parseContext (*pParseContext)
  ------------------
10126|    446|        (yyval.interm.type).basicType = EbtSampler;
10127|    446|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10128|    446|    }
10129|    446|#line 10130 "MachineIndependent/glslang_tab.cpp"
10130|    446|    break;
10131|       |
10132|    162|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10132:3): [True: 162, False: 2.73M]
  ------------------
10133|    162|#line 2815 "MachineIndependent/glslang.y"
10134|    162|                        {
10135|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    162|#define parseContext (*pParseContext)
  ------------------
10136|    162|        (yyval.interm.type).basicType = EbtSampler;
10137|    162|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10138|    162|    }
10139|    162|#line 10140 "MachineIndependent/glslang_tab.cpp"
10140|    162|    break;
10141|       |
10142|    699|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10142:3): [True: 699, False: 2.73M]
  ------------------
10143|    699|#line 2820 "MachineIndependent/glslang.y"
10144|    699|                     {
10145|    699|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    699|#define parseContext (*pParseContext)
  ------------------
10146|    699|        (yyval.interm.type).basicType = EbtSampler;
10147|    699|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10148|    699|    }
10149|    699|#line 10150 "MachineIndependent/glslang_tab.cpp"
10150|    699|    break;
10151|       |
10152|    231|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10152:3): [True: 231, False: 2.73M]
  ------------------
10153|    231|#line 2825 "MachineIndependent/glslang.y"
10154|    231|                           {
10155|    231|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
10156|    231|        (yyval.interm.type).basicType = EbtSampler;
10157|    231|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10158|    231|    }
10159|    231|#line 10160 "MachineIndependent/glslang_tab.cpp"
10160|    231|    break;
10161|       |
10162|    231|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10162:3): [True: 231, False: 2.73M]
  ------------------
10163|    231|#line 2830 "MachineIndependent/glslang.y"
10164|    231|                      {
10165|    231|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    231|#define parseContext (*pParseContext)
  ------------------
10166|    231|        (yyval.interm.type).basicType = EbtSampler;
10167|    231|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10168|    231|    }
10169|    231|#line 10170 "MachineIndependent/glslang_tab.cpp"
10170|    231|    break;
10171|       |
10172|    197|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10172:3): [True: 197, False: 2.73M]
  ------------------
10173|    197|#line 2835 "MachineIndependent/glslang.y"
10174|    197|                     {
10175|    197|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    197|#define parseContext (*pParseContext)
  ------------------
10176|    197|        (yyval.interm.type).basicType = EbtSampler;
10177|    197|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10178|    197|    }
10179|    197|#line 10180 "MachineIndependent/glslang_tab.cpp"
10180|    197|    break;
10181|       |
10182|    162|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10182:3): [True: 162, False: 2.73M]
  ------------------
10183|    162|#line 2840 "MachineIndependent/glslang.y"
10184|    162|                           {
10185|    162|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    162|#define parseContext (*pParseContext)
  ------------------
10186|    162|        (yyval.interm.type).basicType = EbtSampler;
10187|    162|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10188|    162|    }
10189|    162|#line 10190 "MachineIndependent/glslang_tab.cpp"
10190|    162|    break;
10191|       |
10192|    245|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10192:3): [True: 245, False: 2.73M]
  ------------------
10193|    245|#line 2845 "MachineIndependent/glslang.y"
10194|    245|                       {
10195|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    245|#define parseContext (*pParseContext)
  ------------------
10196|    245|        (yyval.interm.type).basicType = EbtSampler;
10197|    245|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10198|    245|    }
10199|    245|#line 10200 "MachineIndependent/glslang_tab.cpp"
10200|    245|    break;
10201|       |
10202|    136|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10202:3): [True: 136, False: 2.73M]
  ------------------
10203|    136|#line 2850 "MachineIndependent/glslang.y"
10204|    136|                             {
10205|    136|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    136|#define parseContext (*pParseContext)
  ------------------
10206|    136|        (yyval.interm.type).basicType = EbtSampler;
10207|    136|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10208|    136|    }
10209|    136|#line 10210 "MachineIndependent/glslang_tab.cpp"
10210|    136|    break;
10211|       |
10212|    576|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10212:3): [True: 576, False: 2.73M]
  ------------------
10213|    576|#line 2855 "MachineIndependent/glslang.y"
10214|    576|                   {
10215|    576|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
10216|    576|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    576|#define parseContext (*pParseContext)
  ------------------
10217|    576|        (yyval.interm.type).basicType = EbtSampler;
10218|    576|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10219|    576|    }
10220|    576|#line 10221 "MachineIndependent/glslang_tab.cpp"
10221|    576|    break;
10222|       |
10223|  1.34k|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10223:3): [True: 1.34k, False: 2.73M]
  ------------------
10224|  1.34k|#line 2861 "MachineIndependent/glslang.y"
10225|  1.34k|                   {
10226|  1.34k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
10227|  1.34k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.34k|#define parseContext (*pParseContext)
  ------------------
10228|  1.34k|        (yyval.interm.type).basicType = EbtSampler;
10229|  1.34k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10230|  1.34k|    }
10231|  1.34k|#line 10232 "MachineIndependent/glslang_tab.cpp"
10232|  1.34k|    break;
10233|       |
10234|    676|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10234:3): [True: 676, False: 2.73M]
  ------------------
10235|    676|#line 2867 "MachineIndependent/glslang.y"
10236|    676|                   {
10237|    676|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    676|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    676|#define parseContext (*pParseContext)
  ------------------
10238|    676|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    676|#define parseContext (*pParseContext)
  ------------------
10239|    676|        (yyval.interm.type).basicType = EbtSampler;
10240|    676|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10241|    676|    }
10242|    676|#line 10243 "MachineIndependent/glslang_tab.cpp"
10243|    676|    break;
10244|       |
10245|    424|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10245:3): [True: 424, False: 2.73M]
  ------------------
10246|    424|#line 2873 "MachineIndependent/glslang.y"
10247|    424|                     {
10248|    424|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
10249|    424|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
10250|    424|        (yyval.interm.type).basicType = EbtSampler;
10251|    424|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10252|    424|    }
10253|    424|#line 10254 "MachineIndependent/glslang_tab.cpp"
10254|    424|    break;
10255|       |
10256|    352|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10256:3): [True: 352, False: 2.73M]
  ------------------
10257|    352|#line 2879 "MachineIndependent/glslang.y"
10258|    352|                         {
10259|    352|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    352|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    352|#define parseContext (*pParseContext)
  ------------------
10260|    352|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    352|#define parseContext (*pParseContext)
  ------------------
10261|    352|        (yyval.interm.type).basicType = EbtSampler;
10262|    352|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10263|    352|    }
10264|    352|#line 10265 "MachineIndependent/glslang_tab.cpp"
10265|    352|    break;
10266|       |
10267|    616|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10267:3): [True: 616, False: 2.73M]
  ------------------
10268|    616|#line 2885 "MachineIndependent/glslang.y"
10269|    616|                         {
10270|    616|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    616|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    616|#define parseContext (*pParseContext)
  ------------------
10271|    616|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    616|#define parseContext (*pParseContext)
  ------------------
10272|    616|        (yyval.interm.type).basicType = EbtSampler;
10273|    616|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10274|    616|    }
10275|    616|#line 10276 "MachineIndependent/glslang_tab.cpp"
10276|    616|    break;
10277|       |
10278|    248|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10278:3): [True: 248, False: 2.73M]
  ------------------
10279|    248|#line 2891 "MachineIndependent/glslang.y"
10280|    248|                           {
10281|    248|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10282|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10283|    248|        (yyval.interm.type).basicType = EbtSampler;
10284|    248|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10285|    248|    }
10286|    248|#line 10287 "MachineIndependent/glslang_tab.cpp"
10287|    248|    break;
10288|       |
10289|    296|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10289:3): [True: 296, False: 2.73M]
  ------------------
10290|    296|#line 2897 "MachineIndependent/glslang.y"
10291|    296|                        {
10292|    296|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    296|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    296|#define parseContext (*pParseContext)
  ------------------
10293|    296|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    296|#define parseContext (*pParseContext)
  ------------------
10294|    296|        (yyval.interm.type).basicType = EbtSampler;
10295|    296|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10296|    296|    }
10297|    296|#line 10298 "MachineIndependent/glslang_tab.cpp"
10298|    296|    break;
10299|       |
10300|  1.06k|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10300:3): [True: 1.06k, False: 2.73M]
  ------------------
10301|  1.06k|#line 2903 "MachineIndependent/glslang.y"
10302|  1.06k|                        {
10303|  1.06k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.06k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.06k|#define parseContext (*pParseContext)
  ------------------
10304|  1.06k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.06k|#define parseContext (*pParseContext)
  ------------------
10305|  1.06k|        (yyval.interm.type).basicType = EbtSampler;
10306|  1.06k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10307|  1.06k|    }
10308|  1.06k|#line 10309 "MachineIndependent/glslang_tab.cpp"
10309|  1.06k|    break;
10310|       |
10311|    248|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10311:3): [True: 248, False: 2.73M]
  ------------------
10312|    248|#line 2909 "MachineIndependent/glslang.y"
10313|    248|                              {
10314|    248|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10315|    248|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    248|#define parseContext (*pParseContext)
  ------------------
10316|    248|        (yyval.interm.type).basicType = EbtSampler;
10317|    248|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10318|    248|    }
10319|    248|#line 10320 "MachineIndependent/glslang_tab.cpp"
10320|    248|    break;
10321|       |
10322|    336|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10322:3): [True: 336, False: 2.73M]
  ------------------
10323|    336|#line 2915 "MachineIndependent/glslang.y"
10324|    336|                              {
10325|    336|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
10326|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
10327|    336|        (yyval.interm.type).basicType = EbtSampler;
10328|    336|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10329|    336|    }
10330|    336|#line 10331 "MachineIndependent/glslang_tab.cpp"
10331|    336|    break;
10332|       |
10333|    424|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10333:3): [True: 424, False: 2.73M]
  ------------------
10334|    424|#line 2921 "MachineIndependent/glslang.y"
10335|    424|                          {
10336|    424|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
10337|    424|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    424|#define parseContext (*pParseContext)
  ------------------
10338|    424|        (yyval.interm.type).basicType = EbtSampler;
10339|    424|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10340|    424|    }
10341|    424|#line 10342 "MachineIndependent/glslang_tab.cpp"
10342|    424|    break;
10343|       |
10344|    184|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10344:3): [True: 184, False: 2.73M]
  ------------------
10345|    184|#line 2927 "MachineIndependent/glslang.y"
10346|    184|                                {
10347|    184|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    184|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    184|#define parseContext (*pParseContext)
  ------------------
10348|    184|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    184|#define parseContext (*pParseContext)
  ------------------
10349|    184|        (yyval.interm.type).basicType = EbtSampler;
10350|    184|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10351|    184|    }
10352|    184|#line 10353 "MachineIndependent/glslang_tab.cpp"
10353|    184|    break;
10354|       |
10355|    349|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10355:3): [True: 349, False: 2.73M]
  ------------------
10356|    349|#line 2933 "MachineIndependent/glslang.y"
10357|    349|                 {
10358|    349|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    349|#define parseContext (*pParseContext)
  ------------------
10359|    349|        (yyval.interm.type).basicType = EbtSampler;
10360|    349|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10361|    349|    }
10362|    349|#line 10363 "MachineIndependent/glslang_tab.cpp"
10363|    349|    break;
10364|       |
10365|    893|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10365:3): [True: 893, False: 2.73M]
  ------------------
10366|    893|#line 2938 "MachineIndependent/glslang.y"
10367|    893|                 {
10368|    893|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    893|#define parseContext (*pParseContext)
  ------------------
10369|    893|        (yyval.interm.type).basicType = EbtSampler;
10370|    893|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10371|    893|    }
10372|    893|#line 10373 "MachineIndependent/glslang_tab.cpp"
10373|    893|    break;
10374|       |
10375|    418|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10375:3): [True: 418, False: 2.73M]
  ------------------
10376|    418|#line 2943 "MachineIndependent/glslang.y"
10377|    418|                 {
10378|    418|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    418|#define parseContext (*pParseContext)
  ------------------
10379|    418|        (yyval.interm.type).basicType = EbtSampler;
10380|    418|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10381|    418|    }
10382|    418|#line 10383 "MachineIndependent/glslang_tab.cpp"
10383|    418|    break;
10384|       |
10385|    245|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10385:3): [True: 245, False: 2.73M]
  ------------------
10386|    245|#line 2948 "MachineIndependent/glslang.y"
10387|    245|                   {
10388|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    245|#define parseContext (*pParseContext)
  ------------------
10389|    245|        (yyval.interm.type).basicType = EbtSampler;
10390|    245|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10391|    245|    }
10392|    245|#line 10393 "MachineIndependent/glslang_tab.cpp"
10393|    245|    break;
10394|       |
10395|    689|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10395:3): [True: 689, False: 2.73M]
  ------------------
10396|    689|#line 2953 "MachineIndependent/glslang.y"
10397|    689|                      {
10398|    689|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    689|#define parseContext (*pParseContext)
  ------------------
10399|    689|        (yyval.interm.type).basicType = EbtSampler;
10400|    689|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10401|    689|    }
10402|    689|#line 10403 "MachineIndependent/glslang_tab.cpp"
10403|    689|    break;
10404|       |
10405|    893|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10405:3): [True: 893, False: 2.73M]
  ------------------
10406|    893|#line 2958 "MachineIndependent/glslang.y"
10407|    893|                 {
10408|    893|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    893|#define parseContext (*pParseContext)
  ------------------
10409|    893|        (yyval.interm.type).basicType = EbtSampler;
10410|    893|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10411|    893|    }
10412|    893|#line 10413 "MachineIndependent/glslang_tab.cpp"
10413|    893|    break;
10414|       |
10415|    418|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10415:3): [True: 418, False: 2.73M]
  ------------------
10416|    418|#line 2963 "MachineIndependent/glslang.y"
10417|    418|                 {
10418|    418|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    418|#define parseContext (*pParseContext)
  ------------------
10419|    418|        (yyval.interm.type).basicType = EbtSampler;
10420|    418|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10421|    418|    }
10422|    418|#line 10423 "MachineIndependent/glslang_tab.cpp"
10423|    418|    break;
10424|       |
10425|    245|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10425:3): [True: 245, False: 2.73M]
  ------------------
10426|    245|#line 2968 "MachineIndependent/glslang.y"
10427|    245|                   {
10428|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    245|#define parseContext (*pParseContext)
  ------------------
10429|    245|        (yyval.interm.type).basicType = EbtSampler;
10430|    245|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10431|    245|    }
10432|    245|#line 10433 "MachineIndependent/glslang_tab.cpp"
10433|    245|    break;
10434|       |
10435|    187|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10435:3): [True: 187, False: 2.73M]
  ------------------
10436|    187|#line 2973 "MachineIndependent/glslang.y"
10437|    187|                      {
10438|    187|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    187|#define parseContext (*pParseContext)
  ------------------
10439|    187|        (yyval.interm.type).basicType = EbtSampler;
10440|    187|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10441|    187|    }
10442|    187|#line 10443 "MachineIndependent/glslang_tab.cpp"
10443|    187|    break;
10444|       |
10445|    245|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10445:3): [True: 245, False: 2.73M]
  ------------------
10446|    245|#line 2978 "MachineIndependent/glslang.y"
10447|    245|                        {
10448|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    245|#define parseContext (*pParseContext)
  ------------------
10449|    245|        (yyval.interm.type).basicType = EbtSampler;
10450|    245|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10451|    245|    }
10452|    245|#line 10453 "MachineIndependent/glslang_tab.cpp"
10453|    245|    break;
10454|       |
10455|    349|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10455:3): [True: 349, False: 2.73M]
  ------------------
10456|    349|#line 2983 "MachineIndependent/glslang.y"
10457|    349|                 {
10458|    349|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    349|#define parseContext (*pParseContext)
  ------------------
10459|    349|        (yyval.interm.type).basicType = EbtSampler;
10460|    349|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10461|    349|    }
10462|    349|#line 10463 "MachineIndependent/glslang_tab.cpp"
10463|    349|    break;
10464|       |
10465|    187|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10465:3): [True: 187, False: 2.73M]
  ------------------
10466|    187|#line 2988 "MachineIndependent/glslang.y"
10467|    187|                      {
10468|    187|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    187|#define parseContext (*pParseContext)
  ------------------
10469|    187|        (yyval.interm.type).basicType = EbtSampler;
10470|    187|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10471|    187|    }
10472|    187|#line 10473 "MachineIndependent/glslang_tab.cpp"
10473|    187|    break;
10474|       |
10475|    245|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10475:3): [True: 245, False: 2.73M]
  ------------------
10476|    245|#line 2993 "MachineIndependent/glslang.y"
10477|    245|                        {
10478|    245|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    245|#define parseContext (*pParseContext)
  ------------------
10479|    245|        (yyval.interm.type).basicType = EbtSampler;
10480|    245|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10481|    245|    }
10482|    245|#line 10483 "MachineIndependent/glslang_tab.cpp"
10483|    245|    break;
10484|       |
10485|      8|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10485:3): [True: 8, False: 2.73M]
  ------------------
10486|      8|#line 2998 "MachineIndependent/glslang.y"
10487|      8|                       {
10488|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10489|      8|        (yyval.interm.type).basicType = EbtSampler;
10490|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10491|      8|    }
10492|      8|#line 10493 "MachineIndependent/glslang_tab.cpp"
10493|      8|    break;
10494|       |
10495|      8|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10495:3): [True: 8, False: 2.73M]
  ------------------
10496|      8|#line 3003 "MachineIndependent/glslang.y"
10497|      8|                        {
10498|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10499|      8|        (yyval.interm.type).basicType = EbtSampler;
10500|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10501|      8|    }
10502|      8|#line 10503 "MachineIndependent/glslang_tab.cpp"
10503|      8|    break;
10504|       |
10505|      8|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10505:3): [True: 8, False: 2.73M]
  ------------------
10506|      8|#line 3008 "MachineIndependent/glslang.y"
10507|      8|                        {
10508|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10509|      8|        (yyval.interm.type).basicType = EbtSampler;
10510|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10511|      8|    }
10512|      8|#line 10513 "MachineIndependent/glslang_tab.cpp"
10513|      8|    break;
10514|       |
10515|    689|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10515:3): [True: 689, False: 2.73M]
  ------------------
10516|    689|#line 3013 "MachineIndependent/glslang.y"
10517|    689|                      {
10518|    689|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    689|#define parseContext (*pParseContext)
  ------------------
10519|    689|        (yyval.interm.type).basicType = EbtSampler;
10520|    689|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10521|    689|    }
10522|    689|#line 10523 "MachineIndependent/glslang_tab.cpp"
10523|    689|    break;
10524|       |
10525|     24|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10525:3): [True: 24, False: 2.73M]
  ------------------
10526|     24|#line 3018 "MachineIndependent/glslang.y"
10527|     24|                {
10528|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10529|     24|        (yyval.interm.type).basicType = EbtSampler;
10530|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10531|     24|    }
10532|     24|#line 10533 "MachineIndependent/glslang_tab.cpp"
10533|     24|    break;
10534|       |
10535|     24|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10535:3): [True: 24, False: 2.73M]
  ------------------
10536|     24|#line 3023 "MachineIndependent/glslang.y"
10537|     24|                {
10538|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10539|     24|        (yyval.interm.type).basicType = EbtSampler;
10540|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10541|     24|    }
10542|     24|#line 10543 "MachineIndependent/glslang_tab.cpp"
10543|     24|    break;
10544|       |
10545|     24|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10545:3): [True: 24, False: 2.73M]
  ------------------
10546|     24|#line 3028 "MachineIndependent/glslang.y"
10547|     24|                     {
10548|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10549|     24|        (yyval.interm.type).basicType = EbtSampler;
10550|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10551|     24|    }
10552|     24|#line 10553 "MachineIndependent/glslang_tab.cpp"
10553|     24|    break;
10554|       |
10555|      8|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10555:3): [True: 8, False: 2.73M]
  ------------------
10556|      8|#line 3033 "MachineIndependent/glslang.y"
10557|      8|                  {
10558|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10559|      8|        (yyval.interm.type).basicType = EbtSampler;
10560|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10561|      8|    }
10562|      8|#line 10563 "MachineIndependent/glslang_tab.cpp"
10563|      8|    break;
10564|       |
10565|     24|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10565:3): [True: 24, False: 2.73M]
  ------------------
10566|     24|#line 3038 "MachineIndependent/glslang.y"
10567|     24|                 {
10568|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10569|     24|        (yyval.interm.type).basicType = EbtSampler;
10570|     24|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10571|     24|    }
10572|     24|#line 10573 "MachineIndependent/glslang_tab.cpp"
10573|     24|    break;
10574|       |
10575|     24|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10575:3): [True: 24, False: 2.73M]
  ------------------
10576|     24|#line 3043 "MachineIndependent/glslang.y"
10577|     24|                 {
10578|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10579|     24|        (yyval.interm.type).basicType = EbtSampler;
10580|     24|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10581|     24|    }
10582|     24|#line 10583 "MachineIndependent/glslang_tab.cpp"
10583|     24|    break;
10584|       |
10585|      8|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10585:3): [True: 8, False: 2.73M]
  ------------------
10586|      8|#line 3048 "MachineIndependent/glslang.y"
10587|      8|                   {
10588|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10589|      8|        (yyval.interm.type).basicType = EbtSampler;
10590|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10591|      8|    }
10592|      8|#line 10593 "MachineIndependent/glslang_tab.cpp"
10593|      8|    break;
10594|       |
10595|     24|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10595:3): [True: 24, False: 2.73M]
  ------------------
10596|     24|#line 3053 "MachineIndependent/glslang.y"
10597|     24|                      {
10598|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10599|     24|        (yyval.interm.type).basicType = EbtSampler;
10600|     24|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10601|     24|    }
10602|     24|#line 10603 "MachineIndependent/glslang_tab.cpp"
10603|     24|    break;
10604|       |
10605|     24|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10605:3): [True: 24, False: 2.73M]
  ------------------
10606|     24|#line 3058 "MachineIndependent/glslang.y"
10607|     24|                 {
10608|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10609|     24|        (yyval.interm.type).basicType = EbtSampler;
10610|     24|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10611|     24|    }
10612|     24|#line 10613 "MachineIndependent/glslang_tab.cpp"
10613|     24|    break;
10614|       |
10615|     24|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10615:3): [True: 24, False: 2.73M]
  ------------------
10616|     24|#line 3063 "MachineIndependent/glslang.y"
10617|     24|                 {
10618|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10619|     24|        (yyval.interm.type).basicType = EbtSampler;
10620|     24|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10621|     24|    }
10622|     24|#line 10623 "MachineIndependent/glslang_tab.cpp"
10623|     24|    break;
10624|       |
10625|      8|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10625:3): [True: 8, False: 2.73M]
  ------------------
10626|      8|#line 3068 "MachineIndependent/glslang.y"
10627|      8|                   {
10628|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10629|      8|        (yyval.interm.type).basicType = EbtSampler;
10630|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10631|      8|    }
10632|      8|#line 10633 "MachineIndependent/glslang_tab.cpp"
10633|      8|    break;
10634|       |
10635|     24|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10635:3): [True: 24, False: 2.73M]
  ------------------
10636|     24|#line 3073 "MachineIndependent/glslang.y"
10637|     24|                      {
10638|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10639|     24|        (yyval.interm.type).basicType = EbtSampler;
10640|     24|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10641|     24|    }
10642|     24|#line 10643 "MachineIndependent/glslang_tab.cpp"
10643|     24|    break;
10644|       |
10645|      0|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10645:3): [True: 0, False: 2.73M]
  ------------------
10646|      0|#line 3078 "MachineIndependent/glslang.y"
10647|      0|              {
10648|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10649|      0|        (yyval.interm.type).basicType = EbtSampler;
10650|      0|        (yyval.interm.type).sampler.setPureSampler(false);
10651|      0|    }
10652|      0|#line 10653 "MachineIndependent/glslang_tab.cpp"
10653|      0|    break;
10654|       |
10655|      0|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10655:3): [True: 0, False: 2.73M]
  ------------------
10656|      0|#line 3083 "MachineIndependent/glslang.y"
10657|      0|                    {
10658|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10659|      0|        (yyval.interm.type).basicType = EbtSampler;
10660|      0|        (yyval.interm.type).sampler.setPureSampler(true);
10661|      0|    }
10662|      0|#line 10663 "MachineIndependent/glslang_tab.cpp"
10663|      0|    break;
10664|       |
10665|    349|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10665:3): [True: 349, False: 2.73M]
  ------------------
10666|    349|#line 3088 "MachineIndependent/glslang.y"
10667|    349|                    {
10668|    349|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    349|#define parseContext (*pParseContext)
  ------------------
10669|    349|        (yyval.interm.type).basicType = EbtSampler;
10670|    349|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10671|    349|    }
10672|    349|#line 10673 "MachineIndependent/glslang_tab.cpp"
10673|    349|    break;
10674|       |
10675|    186|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10675:3): [True: 186, False: 2.73M]
  ------------------
10676|    186|#line 3093 "MachineIndependent/glslang.y"
10677|    186|                          {
10678|    186|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    186|#define parseContext (*pParseContext)
  ------------------
10679|    186|        (yyval.interm.type).basicType = EbtSampler;
10680|    186|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10681|    186|    }
10682|    186|#line 10683 "MachineIndependent/glslang_tab.cpp"
10683|    186|    break;
10684|       |
10685|    622|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10685:3): [True: 622, False: 2.73M]
  ------------------
10686|    622|#line 3098 "MachineIndependent/glslang.y"
10687|    622|                       {
10688|    622|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    622|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    622|#define parseContext (*pParseContext)
  ------------------
10689|    622|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    622|#define parseContext (*pParseContext)
  ------------------
10690|    622|        (yyval.interm.type).basicType = EbtSampler;
10691|    622|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10692|    622|    }
10693|    622|#line 10694 "MachineIndependent/glslang_tab.cpp"
10694|    622|    break;
10695|       |
10696|    334|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10696:3): [True: 334, False: 2.73M]
  ------------------
10697|    334|#line 3104 "MachineIndependent/glslang.y"
10698|    334|                             {
10699|    334|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    334|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    334|#define parseContext (*pParseContext)
  ------------------
10700|    334|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    334|#define parseContext (*pParseContext)
  ------------------
10701|    334|        (yyval.interm.type).basicType = EbtSampler;
10702|    334|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10703|    334|    }
10704|    334|#line 10705 "MachineIndependent/glslang_tab.cpp"
10705|    334|    break;
10706|       |
10707|    343|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10707:3): [True: 343, False: 2.73M]
  ------------------
10708|    343|#line 3110 "MachineIndependent/glslang.y"
10709|    343|                     {
10710|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    343|#define parseContext (*pParseContext)
  ------------------
10711|    343|        (yyval.interm.type).basicType = EbtSampler;
10712|    343|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10713|    343|    }
10714|    343|#line 10715 "MachineIndependent/glslang_tab.cpp"
10715|    343|    break;
10716|       |
10717|    343|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10717:3): [True: 343, False: 2.73M]
  ------------------
10718|    343|#line 3115 "MachineIndependent/glslang.y"
10719|    343|                     {
10720|    343|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    343|#define parseContext (*pParseContext)
  ------------------
10721|    343|        (yyval.interm.type).basicType = EbtSampler;
10722|    343|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10723|    343|    }
10724|    343|#line 10725 "MachineIndependent/glslang_tab.cpp"
10725|    343|    break;
10726|       |
10727|     14|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10727:3): [True: 14, False: 2.73M]
  ------------------
10728|     14|#line 3120 "MachineIndependent/glslang.y"
10729|     14|                    {
10730|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10731|     14|        (yyval.interm.type).basicType = EbtSampler;
10732|     14|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10733|     14|    }
10734|     14|#line 10735 "MachineIndependent/glslang_tab.cpp"
10735|     14|    break;
10736|       |
10737|     18|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10737:3): [True: 18, False: 2.73M]
  ------------------
10738|     18|#line 3125 "MachineIndependent/glslang.y"
10739|     18|                       {
10740|     18|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
10741|     18|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     18|#define parseContext (*pParseContext)
  ------------------
10742|     18|        (yyval.interm.type).basicType = EbtSampler;
10743|     18|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10744|     18|    }
10745|     18|#line 10746 "MachineIndependent/glslang_tab.cpp"
10746|     18|    break;
10747|       |
10748|     14|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10748:3): [True: 14, False: 2.73M]
  ------------------
10749|     14|#line 3131 "MachineIndependent/glslang.y"
10750|     14|                     {
10751|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10752|     14|        (yyval.interm.type).basicType = EbtSampler;
10753|     14|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10754|     14|    }
10755|     14|#line 10756 "MachineIndependent/glslang_tab.cpp"
10756|     14|    break;
10757|       |
10758|     14|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10758:3): [True: 14, False: 2.73M]
  ------------------
10759|     14|#line 3136 "MachineIndependent/glslang.y"
10760|     14|                     {
10761|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10762|     14|        (yyval.interm.type).basicType = EbtSampler;
10763|     14|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10764|     14|    }
10765|     14|#line 10766 "MachineIndependent/glslang_tab.cpp"
10766|     14|    break;
10767|       |
10768|     38|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10768:3): [True: 38, False: 2.73M]
  ------------------
10769|     38|#line 3141 "MachineIndependent/glslang.y"
10770|     38|                  {
10771|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10772|     38|        (yyval.interm.type).basicType = EbtSampler;
10773|     38|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10774|     38|    }
10775|     38|#line 10776 "MachineIndependent/glslang_tab.cpp"
10776|     38|    break;
10777|       |
10778|     36|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10778:3): [True: 36, False: 2.73M]
  ------------------
10779|     36|#line 3146 "MachineIndependent/glslang.y"
10780|     36|                     {
10781|     36|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10782|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10783|     36|        (yyval.interm.type).basicType = EbtSampler;
10784|     36|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10785|     36|    }
10786|     36|#line 10787 "MachineIndependent/glslang_tab.cpp"
10787|     36|    break;
10788|       |
10789|     38|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10789:3): [True: 38, False: 2.73M]
  ------------------
10790|     38|#line 3152 "MachineIndependent/glslang.y"
10791|     38|                   {
10792|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10793|     38|        (yyval.interm.type).basicType = EbtSampler;
10794|     38|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10795|     38|    }
10796|     38|#line 10797 "MachineIndependent/glslang_tab.cpp"
10797|     38|    break;
10798|       |
10799|     38|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10799:3): [True: 38, False: 2.73M]
  ------------------
10800|     38|#line 3157 "MachineIndependent/glslang.y"
10801|     38|                   {
10802|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10803|     38|        (yyval.interm.type).basicType = EbtSampler;
10804|     38|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10805|     38|    }
10806|     38|#line 10807 "MachineIndependent/glslang_tab.cpp"
10807|     38|    break;
10808|       |
10809|     38|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10809:3): [True: 38, False: 2.73M]
  ------------------
10810|     38|#line 3162 "MachineIndependent/glslang.y"
10811|     38|                       {
10812|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10813|     38|        (yyval.interm.type).basicType = EbtSampler;
10814|     38|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10815|     38|    }
10816|     38|#line 10817 "MachineIndependent/glslang_tab.cpp"
10817|     38|    break;
10818|       |
10819|     36|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10819:3): [True: 36, False: 2.73M]
  ------------------
10820|     36|#line 3167 "MachineIndependent/glslang.y"
10821|     36|                          {
10822|     36|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10823|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
10824|     36|        (yyval.interm.type).basicType = EbtSampler;
10825|     36|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10826|     36|    }
10827|     36|#line 10828 "MachineIndependent/glslang_tab.cpp"
10828|     36|    break;
10829|       |
10830|     38|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10830:3): [True: 38, False: 2.73M]
  ------------------
10831|     38|#line 3173 "MachineIndependent/glslang.y"
10832|     38|                        {
10833|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10834|     38|        (yyval.interm.type).basicType = EbtSampler;
10835|     38|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10836|     38|    }
10837|     38|#line 10838 "MachineIndependent/glslang_tab.cpp"
10838|     38|    break;
10839|       |
10840|     38|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10840:3): [True: 38, False: 2.73M]
  ------------------
10841|     38|#line 3178 "MachineIndependent/glslang.y"
10842|     38|                        {
10843|     38|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     38|#define parseContext (*pParseContext)
  ------------------
10844|     38|        (yyval.interm.type).basicType = EbtSampler;
10845|     38|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10846|     38|    }
10847|     38|#line 10848 "MachineIndependent/glslang_tab.cpp"
10848|     38|    break;
10849|       |
10850|     16|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10850:3): [True: 16, False: 2.73M]
  ------------------
10851|     16|#line 3183 "MachineIndependent/glslang.y"
10852|     16|                {
10853|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10854|     16|        (yyval.interm.type).basicType = EbtSampler;
10855|     16|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10856|     16|    }
10857|     16|#line 10858 "MachineIndependent/glslang_tab.cpp"
10858|     16|    break;
10859|       |
10860|     24|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10860:3): [True: 24, False: 2.73M]
  ------------------
10861|     24|#line 3188 "MachineIndependent/glslang.y"
10862|     24|                   {
10863|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10864|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10865|     24|        (yyval.interm.type).basicType = EbtSampler;
10866|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10867|     24|    }
10868|     24|#line 10869 "MachineIndependent/glslang_tab.cpp"
10869|     24|    break;
10870|       |
10871|     40|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10871:3): [True: 40, False: 2.73M]
  ------------------
10872|     40|#line 3194 "MachineIndependent/glslang.y"
10873|     40|                   {
10874|     40|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10875|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10876|     40|        (yyval.interm.type).basicType = EbtSampler;
10877|     40|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10878|     40|    }
10879|     40|#line 10880 "MachineIndependent/glslang_tab.cpp"
10880|     40|    break;
10881|       |
10882|     40|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10882:3): [True: 40, False: 2.73M]
  ------------------
10883|     40|#line 3200 "MachineIndependent/glslang.y"
10884|     40|                   {
10885|     40|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10886|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10887|     40|        (yyval.interm.type).basicType = EbtSampler;
10888|     40|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10889|     40|    }
10890|     40|#line 10891 "MachineIndependent/glslang_tab.cpp"
10891|     40|    break;
10892|       |
10893|      8|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10893:3): [True: 8, False: 2.73M]
  ------------------
10894|      8|#line 3206 "MachineIndependent/glslang.y"
10895|      8|                     {
10896|      8|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10897|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10898|      8|        (yyval.interm.type).basicType = EbtSampler;
10899|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10900|      8|    }
10901|      8|#line 10902 "MachineIndependent/glslang_tab.cpp"
10902|      8|    break;
10903|       |
10904|     16|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10904:3): [True: 16, False: 2.73M]
  ------------------
10905|     16|#line 3212 "MachineIndependent/glslang.y"
10906|     16|                     {
10907|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10908|     16|        (yyval.interm.type).basicType = EbtSampler;
10909|     16|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10910|     16|    }
10911|     16|#line 10912 "MachineIndependent/glslang_tab.cpp"
10912|     16|    break;
10913|       |
10914|     24|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10914:3): [True: 24, False: 2.73M]
  ------------------
10915|     24|#line 3217 "MachineIndependent/glslang.y"
10916|     24|                        {
10917|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10918|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
10919|     24|        (yyval.interm.type).basicType = EbtSampler;
10920|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10921|     24|    }
10922|     24|#line 10923 "MachineIndependent/glslang_tab.cpp"
10923|     24|    break;
10924|       |
10925|     40|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10925:3): [True: 40, False: 2.73M]
  ------------------
10926|     40|#line 3223 "MachineIndependent/glslang.y"
10927|     40|                        {
10928|     40|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10929|     40|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     40|#define parseContext (*pParseContext)
  ------------------
10930|     40|        (yyval.interm.type).basicType = EbtSampler;
10931|     40|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10932|     40|    }
10933|     40|#line 10934 "MachineIndependent/glslang_tab.cpp"
10934|     40|    break;
10935|       |
10936|      8|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10936:3): [True: 8, False: 2.73M]
  ------------------
10937|      8|#line 3229 "MachineIndependent/glslang.y"
10938|      8|                          {
10939|      8|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10940|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
10941|      8|        (yyval.interm.type).basicType = EbtSampler;
10942|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10943|      8|    }
10944|      8|#line 10945 "MachineIndependent/glslang_tab.cpp"
10945|      8|    break;
10946|       |
10947|     16|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10947:3): [True: 16, False: 2.73M]
  ------------------
10948|     16|#line 3235 "MachineIndependent/glslang.y"
10949|     16|                 {
10950|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10951|     16|        (yyval.interm.type).basicType = EbtSampler;
10952|     16|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10953|     16|    }
10954|     16|#line 10955 "MachineIndependent/glslang_tab.cpp"
10955|     16|    break;
10956|       |
10957|     16|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10957:3): [True: 16, False: 2.73M]
  ------------------
10958|     16|#line 3240 "MachineIndependent/glslang.y"
10959|     16|                      {
10960|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10961|     16|        (yyval.interm.type).basicType = EbtSampler;
10962|     16|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10963|     16|    }
10964|     16|#line 10965 "MachineIndependent/glslang_tab.cpp"
10965|     16|    break;
10966|       |
10967|     16|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10967:3): [True: 16, False: 2.73M]
  ------------------
10968|     16|#line 3245 "MachineIndependent/glslang.y"
10969|     16|                 {
10970|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10971|     16|        (yyval.interm.type).basicType = EbtSampler;
10972|     16|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10973|     16|    }
10974|     16|#line 10975 "MachineIndependent/glslang_tab.cpp"
10975|     16|    break;
10976|       |
10977|     16|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10977:3): [True: 16, False: 2.73M]
  ------------------
10978|     16|#line 3250 "MachineIndependent/glslang.y"
10979|     16|                      {
10980|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
10981|     16|        (yyval.interm.type).basicType = EbtSampler;
10982|     16|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10983|     16|    }
10984|     16|#line 10985 "MachineIndependent/glslang_tab.cpp"
10985|     16|    break;
10986|       |
10987|     20|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10987:3): [True: 20, False: 2.73M]
  ------------------
10988|     20|#line 3255 "MachineIndependent/glslang.y"
10989|     20|                    {
10990|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
10991|     20|        (yyval.interm.type).basicType = EbtSampler;
10992|     20|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10993|     20|    }
10994|     20|#line 10995 "MachineIndependent/glslang_tab.cpp"
10995|     20|    break;
10996|       |
10997|     36|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10997:3): [True: 36, False: 2.73M]
  ------------------
10998|     36|#line 3260 "MachineIndependent/glslang.y"
10999|     36|                       {
11000|     36|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
11001|     36|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     36|#define parseContext (*pParseContext)
  ------------------
11002|     36|        (yyval.interm.type).basicType = EbtSampler;
11003|     36|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
11004|     36|    }
11005|     36|#line 11006 "MachineIndependent/glslang_tab.cpp"
11006|     36|    break;
11007|       |
11008|     20|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (11008:3): [True: 20, False: 2.73M]
  ------------------
11009|     20|#line 3266 "MachineIndependent/glslang.y"
11010|     20|                     {
11011|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
11012|     20|        (yyval.interm.type).basicType = EbtSampler;
11013|     20|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
11014|     20|    }
11015|     20|#line 11016 "MachineIndependent/glslang_tab.cpp"
11016|     20|    break;
11017|       |
11018|     20|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11018:3): [True: 20, False: 2.73M]
  ------------------
11019|     20|#line 3271 "MachineIndependent/glslang.y"
11020|     20|                     {
11021|     20|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     20|#define parseContext (*pParseContext)
  ------------------
11022|     20|        (yyval.interm.type).basicType = EbtSampler;
11023|     20|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11024|     20|    }
11025|     20|#line 11026 "MachineIndependent/glslang_tab.cpp"
11026|     20|    break;
11027|       |
11028|      8|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11028:3): [True: 8, False: 2.73M]
  ------------------
11029|      8|#line 3276 "MachineIndependent/glslang.y"
11030|      8|                    {
11031|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
11032|      8|        (yyval.interm.type).basicType = EbtSampler;
11033|      8|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11034|      8|    }
11035|      8|#line 11036 "MachineIndependent/glslang_tab.cpp"
11036|      8|    break;
11037|       |
11038|     12|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11038:3): [True: 12, False: 2.73M]
  ------------------
11039|     12|#line 3281 "MachineIndependent/glslang.y"
11040|     12|                       {
11041|     12|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
11042|     12|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     12|#define parseContext (*pParseContext)
  ------------------
11043|     12|        (yyval.interm.type).basicType = EbtSampler;
11044|     12|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11045|     12|    }
11046|     12|#line 11047 "MachineIndependent/glslang_tab.cpp"
11047|     12|    break;
11048|       |
11049|      8|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11049:3): [True: 8, False: 2.73M]
  ------------------
11050|      8|#line 3287 "MachineIndependent/glslang.y"
11051|      8|                     {
11052|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
11053|      8|        (yyval.interm.type).basicType = EbtSampler;
11054|      8|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11055|      8|    }
11056|      8|#line 11057 "MachineIndependent/glslang_tab.cpp"
11057|      8|    break;
11058|       |
11059|      8|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11059:3): [True: 8, False: 2.73M]
  ------------------
11060|      8|#line 3292 "MachineIndependent/glslang.y"
11061|      8|                     {
11062|      8|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      8|#define parseContext (*pParseContext)
  ------------------
11063|      8|        (yyval.interm.type).basicType = EbtSampler;
11064|      8|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11065|      8|    }
11066|      8|#line 11067 "MachineIndependent/glslang_tab.cpp"
11067|      8|    break;
11068|       |
11069|     16|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11069:3): [True: 16, False: 2.73M]
  ------------------
11070|     16|#line 3297 "MachineIndependent/glslang.y"
11071|     16|                  {
11072|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11073|     16|        (yyval.interm.type).basicType = EbtSampler;
11074|     16|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11075|     16|    }
11076|     16|#line 11077 "MachineIndependent/glslang_tab.cpp"
11077|     16|    break;
11078|       |
11079|     24|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11079:3): [True: 24, False: 2.73M]
  ------------------
11080|     24|#line 3302 "MachineIndependent/glslang.y"
11081|     24|                     {
11082|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
11083|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
11084|     24|        (yyval.interm.type).basicType = EbtSampler;
11085|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11086|     24|    }
11087|     24|#line 11088 "MachineIndependent/glslang_tab.cpp"
11088|     24|    break;
11089|       |
11090|     16|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11090:3): [True: 16, False: 2.73M]
  ------------------
11091|     16|#line 3308 "MachineIndependent/glslang.y"
11092|     16|                   {
11093|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11094|     16|        (yyval.interm.type).basicType = EbtSampler;
11095|     16|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11096|     16|    }
11097|     16|#line 11098 "MachineIndependent/glslang_tab.cpp"
11098|     16|    break;
11099|       |
11100|     16|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11100:3): [True: 16, False: 2.73M]
  ------------------
11101|     16|#line 3313 "MachineIndependent/glslang.y"
11102|     16|                   {
11103|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11104|     16|        (yyval.interm.type).basicType = EbtSampler;
11105|     16|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11106|     16|    }
11107|     16|#line 11108 "MachineIndependent/glslang_tab.cpp"
11108|     16|    break;
11109|       |
11110|     16|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11110:3): [True: 16, False: 2.73M]
  ------------------
11111|     16|#line 3318 "MachineIndependent/glslang.y"
11112|     16|                       {
11113|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11114|     16|        (yyval.interm.type).basicType = EbtSampler;
11115|     16|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11116|     16|    }
11117|     16|#line 11118 "MachineIndependent/glslang_tab.cpp"
11118|     16|    break;
11119|       |
11120|     24|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11120:3): [True: 24, False: 2.73M]
  ------------------
11121|     24|#line 3323 "MachineIndependent/glslang.y"
11122|     24|                          {
11123|     24|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
11124|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
11125|     24|        (yyval.interm.type).basicType = EbtSampler;
11126|     24|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11127|     24|    }
11128|     24|#line 11129 "MachineIndependent/glslang_tab.cpp"
11129|     24|    break;
11130|       |
11131|     16|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11131:3): [True: 16, False: 2.73M]
  ------------------
11132|     16|#line 3329 "MachineIndependent/glslang.y"
11133|     16|                        {
11134|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11135|     16|        (yyval.interm.type).basicType = EbtSampler;
11136|     16|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11137|     16|    }
11138|     16|#line 11139 "MachineIndependent/glslang_tab.cpp"
11139|     16|    break;
11140|       |
11141|     16|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11141:3): [True: 16, False: 2.73M]
  ------------------
11142|     16|#line 3334 "MachineIndependent/glslang.y"
11143|     16|                        {
11144|     16|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     16|#define parseContext (*pParseContext)
  ------------------
11145|     16|        (yyval.interm.type).basicType = EbtSampler;
11146|     16|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11147|     16|    }
11148|     16|#line 11149 "MachineIndependent/glslang_tab.cpp"
11149|     16|    break;
11150|       |
11151|    140|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11151:3): [True: 140, False: 2.73M]
  ------------------
11152|    140|#line 3339 "MachineIndependent/glslang.y"
11153|    140|              {
11154|    140|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    140|#define parseContext (*pParseContext)
  ------------------
11155|    140|        (yyval.interm.type).basicType = EbtSampler;
11156|    140|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11157|    140|    }
11158|    140|#line 11159 "MachineIndependent/glslang_tab.cpp"
11159|    140|    break;
11160|       |
11161|    138|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11161:3): [True: 138, False: 2.73M]
  ------------------
11162|    138|#line 3344 "MachineIndependent/glslang.y"
11163|    138|                 {
11164|    138|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11165|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11166|    138|        (yyval.interm.type).basicType = EbtSampler;
11167|    138|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11168|    138|    }
11169|    138|#line 11170 "MachineIndependent/glslang_tab.cpp"
11170|    138|    break;
11171|       |
11172|    158|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11172:3): [True: 158, False: 2.73M]
  ------------------
11173|    158|#line 3350 "MachineIndependent/glslang.y"
11174|    158|               {
11175|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11176|    158|        (yyval.interm.type).basicType = EbtSampler;
11177|    158|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11178|    158|    }
11179|    158|#line 11180 "MachineIndependent/glslang_tab.cpp"
11180|    158|    break;
11181|       |
11182|    158|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11182:3): [True: 158, False: 2.73M]
  ------------------
11183|    158|#line 3355 "MachineIndependent/glslang.y"
11184|    158|               {
11185|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11186|    158|        (yyval.interm.type).basicType = EbtSampler;
11187|    158|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11188|    158|    }
11189|    158|#line 11190 "MachineIndependent/glslang_tab.cpp"
11190|    158|    break;
11191|       |
11192|    152|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11192:3): [True: 152, False: 2.73M]
  ------------------
11193|    152|#line 3360 "MachineIndependent/glslang.y"
11194|    152|              {
11195|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11196|    152|        (yyval.interm.type).basicType = EbtSampler;
11197|    152|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11198|    152|    }
11199|    152|#line 11200 "MachineIndependent/glslang_tab.cpp"
11200|    152|    break;
11201|       |
11202|    150|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11202:3): [True: 150, False: 2.73M]
  ------------------
11203|    150|#line 3365 "MachineIndependent/glslang.y"
11204|    150|                 {
11205|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11206|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11207|    150|        (yyval.interm.type).basicType = EbtSampler;
11208|    150|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11209|    150|    }
11210|    150|#line 11211 "MachineIndependent/glslang_tab.cpp"
11211|    150|    break;
11212|       |
11213|    170|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11213:3): [True: 170, False: 2.73M]
  ------------------
11214|    170|#line 3371 "MachineIndependent/glslang.y"
11215|    170|               {
11216|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11217|    170|        (yyval.interm.type).basicType = EbtSampler;
11218|    170|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11219|    170|    }
11220|    170|#line 11221 "MachineIndependent/glslang_tab.cpp"
11221|    170|    break;
11222|       |
11223|    170|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11223:3): [True: 170, False: 2.73M]
  ------------------
11224|    170|#line 3376 "MachineIndependent/glslang.y"
11225|    170|               {
11226|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11227|    170|        (yyval.interm.type).basicType = EbtSampler;
11228|    170|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11229|    170|    }
11230|    170|#line 11231 "MachineIndependent/glslang_tab.cpp"
11231|    170|    break;
11232|       |
11233|    152|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11233:3): [True: 152, False: 2.73M]
  ------------------
11234|    152|#line 3381 "MachineIndependent/glslang.y"
11235|    152|              {
11236|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11237|    152|        (yyval.interm.type).basicType = EbtSampler;
11238|    152|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11239|    152|    }
11240|    152|#line 11241 "MachineIndependent/glslang_tab.cpp"
11241|    152|    break;
11242|       |
11243|    150|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11243:3): [True: 150, False: 2.73M]
  ------------------
11244|    150|#line 3386 "MachineIndependent/glslang.y"
11245|    150|                 {
11246|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11247|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11248|    150|        (yyval.interm.type).basicType = EbtSampler;
11249|    150|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11250|    150|    }
11251|    150|#line 11252 "MachineIndependent/glslang_tab.cpp"
11252|    150|    break;
11253|       |
11254|    170|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11254:3): [True: 170, False: 2.73M]
  ------------------
11255|    170|#line 3392 "MachineIndependent/glslang.y"
11256|    170|               {
11257|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11258|    170|        (yyval.interm.type).basicType = EbtSampler;
11259|    170|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11260|    170|    }
11261|    170|#line 11262 "MachineIndependent/glslang_tab.cpp"
11262|    170|    break;
11263|       |
11264|    170|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11264:3): [True: 170, False: 2.73M]
  ------------------
11265|    170|#line 3397 "MachineIndependent/glslang.y"
11266|    170|               {
11267|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11268|    170|        (yyval.interm.type).basicType = EbtSampler;
11269|    170|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11270|    170|    }
11271|    170|#line 11272 "MachineIndependent/glslang_tab.cpp"
11272|    170|    break;
11273|       |
11274|    134|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11274:3): [True: 134, False: 2.73M]
  ------------------
11275|    134|#line 3402 "MachineIndependent/glslang.y"
11276|    134|                  {
11277|    134|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    134|#define parseContext (*pParseContext)
  ------------------
11278|    134|        (yyval.interm.type).basicType = EbtSampler;
11279|    134|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11280|    134|    }
11281|    134|#line 11282 "MachineIndependent/glslang_tab.cpp"
11282|    134|    break;
11283|       |
11284|    132|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11284:3): [True: 132, False: 2.73M]
  ------------------
11285|    132|#line 3407 "MachineIndependent/glslang.y"
11286|    132|                     {
11287|    132|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    132|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    132|#define parseContext (*pParseContext)
  ------------------
11288|    132|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    132|#define parseContext (*pParseContext)
  ------------------
11289|    132|        (yyval.interm.type).basicType = EbtSampler;
11290|    132|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11291|    132|    }
11292|    132|#line 11293 "MachineIndependent/glslang_tab.cpp"
11293|    132|    break;
11294|       |
11295|    152|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11295:3): [True: 152, False: 2.73M]
  ------------------
11296|    152|#line 3413 "MachineIndependent/glslang.y"
11297|    152|                   {
11298|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11299|    152|        (yyval.interm.type).basicType = EbtSampler;
11300|    152|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11301|    152|    }
11302|    152|#line 11303 "MachineIndependent/glslang_tab.cpp"
11303|    152|    break;
11304|       |
11305|    152|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11305:3): [True: 152, False: 2.73M]
  ------------------
11306|    152|#line 3418 "MachineIndependent/glslang.y"
11307|    152|                   {
11308|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11309|    152|        (yyval.interm.type).basicType = EbtSampler;
11310|    152|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11311|    152|    }
11312|    152|#line 11313 "MachineIndependent/glslang_tab.cpp"
11313|    152|    break;
11314|       |
11315|    152|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11315:3): [True: 152, False: 2.73M]
  ------------------
11316|    152|#line 3423 "MachineIndependent/glslang.y"
11317|    152|                {
11318|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11319|    152|        (yyval.interm.type).basicType = EbtSampler;
11320|    152|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11321|    152|    }
11322|    152|#line 11323 "MachineIndependent/glslang_tab.cpp"
11323|    152|    break;
11324|       |
11325|    150|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11325:3): [True: 150, False: 2.73M]
  ------------------
11326|    150|#line 3428 "MachineIndependent/glslang.y"
11327|    150|                   {
11328|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11329|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11330|    150|        (yyval.interm.type).basicType = EbtSampler;
11331|    150|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11332|    150|    }
11333|    150|#line 11334 "MachineIndependent/glslang_tab.cpp"
11334|    150|    break;
11335|       |
11336|    170|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11336:3): [True: 170, False: 2.73M]
  ------------------
11337|    170|#line 3434 "MachineIndependent/glslang.y"
11338|    170|                 {
11339|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11340|    170|        (yyval.interm.type).basicType = EbtSampler;
11341|    170|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11342|    170|    }
11343|    170|#line 11344 "MachineIndependent/glslang_tab.cpp"
11344|    170|    break;
11345|       |
11346|    170|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11346:3): [True: 170, False: 2.73M]
  ------------------
11347|    170|#line 3439 "MachineIndependent/glslang.y"
11348|    170|                 {
11349|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11350|    170|        (yyval.interm.type).basicType = EbtSampler;
11351|    170|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11352|    170|    }
11353|    170|#line 11354 "MachineIndependent/glslang_tab.cpp"
11354|    170|    break;
11355|       |
11356|    128|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11356:3): [True: 128, False: 2.73M]
  ------------------
11357|    128|#line 3444 "MachineIndependent/glslang.y"
11358|    128|                  {
11359|    128|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    128|#define parseContext (*pParseContext)
  ------------------
11360|    128|        (yyval.interm.type).basicType = EbtSampler;
11361|    128|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11362|    128|    }
11363|    128|#line 11364 "MachineIndependent/glslang_tab.cpp"
11364|    128|    break;
11365|       |
11366|    126|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11366:3): [True: 126, False: 2.73M]
  ------------------
11367|    126|#line 3449 "MachineIndependent/glslang.y"
11368|    126|                     {
11369|    126|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11370|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11371|    126|        (yyval.interm.type).basicType = EbtSampler;
11372|    126|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11373|    126|    }
11374|    126|#line 11375 "MachineIndependent/glslang_tab.cpp"
11375|    126|    break;
11376|       |
11377|    146|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11377:3): [True: 146, False: 2.73M]
  ------------------
11378|    146|#line 3455 "MachineIndependent/glslang.y"
11379|    146|                   {
11380|    146|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    146|#define parseContext (*pParseContext)
  ------------------
11381|    146|        (yyval.interm.type).basicType = EbtSampler;
11382|    146|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11383|    146|    }
11384|    146|#line 11385 "MachineIndependent/glslang_tab.cpp"
11385|    146|    break;
11386|       |
11387|    146|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11387:3): [True: 146, False: 2.73M]
  ------------------
11388|    146|#line 3460 "MachineIndependent/glslang.y"
11389|    146|                   {
11390|    146|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    146|#define parseContext (*pParseContext)
  ------------------
11391|    146|        (yyval.interm.type).basicType = EbtSampler;
11392|    146|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11393|    146|    }
11394|    146|#line 11395 "MachineIndependent/glslang_tab.cpp"
11395|    146|    break;
11396|       |
11397|    140|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11397:3): [True: 140, False: 2.73M]
  ------------------
11398|    140|#line 3465 "MachineIndependent/glslang.y"
11399|    140|                   {
11400|    140|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    140|#define parseContext (*pParseContext)
  ------------------
11401|    140|        (yyval.interm.type).basicType = EbtSampler;
11402|    140|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11403|    140|    }
11404|    140|#line 11405 "MachineIndependent/glslang_tab.cpp"
11405|    140|    break;
11406|       |
11407|    138|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11407:3): [True: 138, False: 2.73M]
  ------------------
11408|    138|#line 3470 "MachineIndependent/glslang.y"
11409|    138|                      {
11410|    138|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11411|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11412|    138|        (yyval.interm.type).basicType = EbtSampler;
11413|    138|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11414|    138|    }
11415|    138|#line 11416 "MachineIndependent/glslang_tab.cpp"
11416|    138|    break;
11417|       |
11418|    158|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11418:3): [True: 158, False: 2.73M]
  ------------------
11419|    158|#line 3476 "MachineIndependent/glslang.y"
11420|    158|                    {
11421|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11422|    158|        (yyval.interm.type).basicType = EbtSampler;
11423|    158|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11424|    158|    }
11425|    158|#line 11426 "MachineIndependent/glslang_tab.cpp"
11426|    158|    break;
11427|       |
11428|    158|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11428:3): [True: 158, False: 2.73M]
  ------------------
11429|    158|#line 3481 "MachineIndependent/glslang.y"
11430|    158|                    {
11431|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11432|    158|        (yyval.interm.type).basicType = EbtSampler;
11433|    158|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11434|    158|    }
11435|    158|#line 11436 "MachineIndependent/glslang_tab.cpp"
11436|    158|    break;
11437|       |
11438|    152|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11438:3): [True: 152, False: 2.73M]
  ------------------
11439|    152|#line 3486 "MachineIndependent/glslang.y"
11440|    152|                   {
11441|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11442|    152|        (yyval.interm.type).basicType = EbtSampler;
11443|    152|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11444|    152|    }
11445|    152|#line 11446 "MachineIndependent/glslang_tab.cpp"
11446|    152|    break;
11447|       |
11448|    150|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11448:3): [True: 150, False: 2.73M]
  ------------------
11449|    150|#line 3491 "MachineIndependent/glslang.y"
11450|    150|                      {
11451|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11452|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11453|    150|        (yyval.interm.type).basicType = EbtSampler;
11454|    150|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11455|    150|    }
11456|    150|#line 11457 "MachineIndependent/glslang_tab.cpp"
11457|    150|    break;
11458|       |
11459|    170|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11459:3): [True: 170, False: 2.73M]
  ------------------
11460|    170|#line 3497 "MachineIndependent/glslang.y"
11461|    170|                    {
11462|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11463|    170|        (yyval.interm.type).basicType = EbtSampler;
11464|    170|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11465|    170|    }
11466|    170|#line 11467 "MachineIndependent/glslang_tab.cpp"
11467|    170|    break;
11468|       |
11469|    170|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11469:3): [True: 170, False: 2.73M]
  ------------------
11470|    170|#line 3502 "MachineIndependent/glslang.y"
11471|    170|                    {
11472|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11473|    170|        (yyval.interm.type).basicType = EbtSampler;
11474|    170|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11475|    170|    }
11476|    170|#line 11477 "MachineIndependent/glslang_tab.cpp"
11477|    170|    break;
11478|       |
11479|    152|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11479:3): [True: 152, False: 2.73M]
  ------------------
11480|    152|#line 3507 "MachineIndependent/glslang.y"
11481|    152|                     {
11482|    152|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    152|#define parseContext (*pParseContext)
  ------------------
11483|    152|        (yyval.interm.type).basicType = EbtSampler;
11484|    152|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11485|    152|    }
11486|    152|#line 11487 "MachineIndependent/glslang_tab.cpp"
11487|    152|    break;
11488|       |
11489|    150|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11489:3): [True: 150, False: 2.73M]
  ------------------
11490|    150|#line 3512 "MachineIndependent/glslang.y"
11491|    150|                        {
11492|    150|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11493|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11494|    150|        (yyval.interm.type).basicType = EbtSampler;
11495|    150|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11496|    150|    }
11497|    150|#line 11498 "MachineIndependent/glslang_tab.cpp"
11498|    150|    break;
11499|       |
11500|    170|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11500:3): [True: 170, False: 2.73M]
  ------------------
11501|    170|#line 3518 "MachineIndependent/glslang.y"
11502|    170|                      {
11503|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11504|    170|        (yyval.interm.type).basicType = EbtSampler;
11505|    170|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11506|    170|    }
11507|    170|#line 11508 "MachineIndependent/glslang_tab.cpp"
11508|    170|    break;
11509|       |
11510|    170|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11510:3): [True: 170, False: 2.73M]
  ------------------
11511|    170|#line 3523 "MachineIndependent/glslang.y"
11512|    170|                      {
11513|    170|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    170|#define parseContext (*pParseContext)
  ------------------
11514|    170|        (yyval.interm.type).basicType = EbtSampler;
11515|    170|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11516|    170|    }
11517|    170|#line 11518 "MachineIndependent/glslang_tab.cpp"
11518|    170|    break;
11519|       |
11520|    140|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11520:3): [True: 140, False: 2.73M]
  ------------------
11521|    140|#line 3528 "MachineIndependent/glslang.y"
11522|    140|                {
11523|    140|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    140|#define parseContext (*pParseContext)
  ------------------
11524|    140|        (yyval.interm.type).basicType = EbtSampler;
11525|    140|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11526|    140|    }
11527|    140|#line 11528 "MachineIndependent/glslang_tab.cpp"
11528|    140|    break;
11529|       |
11530|    138|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11530:3): [True: 138, False: 2.73M]
  ------------------
11531|    138|#line 3533 "MachineIndependent/glslang.y"
11532|    138|                   {
11533|    138|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11534|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11535|    138|        (yyval.interm.type).basicType = EbtSampler;
11536|    138|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11537|    138|    }
11538|    138|#line 11539 "MachineIndependent/glslang_tab.cpp"
11539|    138|    break;
11540|       |
11541|    158|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11541:3): [True: 158, False: 2.73M]
  ------------------
11542|    158|#line 3539 "MachineIndependent/glslang.y"
11543|    158|                 {
11544|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11545|    158|        (yyval.interm.type).basicType = EbtSampler;
11546|    158|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11547|    158|    }
11548|    158|#line 11549 "MachineIndependent/glslang_tab.cpp"
11549|    158|    break;
11550|       |
11551|    158|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11551:3): [True: 158, False: 2.73M]
  ------------------
11552|    158|#line 3544 "MachineIndependent/glslang.y"
11553|    158|                 {
11554|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11555|    158|        (yyval.interm.type).basicType = EbtSampler;
11556|    158|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11557|    158|    }
11558|    158|#line 11559 "MachineIndependent/glslang_tab.cpp"
11559|    158|    break;
11560|       |
11561|    140|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11561:3): [True: 140, False: 2.73M]
  ------------------
11562|    140|#line 3549 "MachineIndependent/glslang.y"
11563|    140|                     {
11564|    140|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    140|#define parseContext (*pParseContext)
  ------------------
11565|    140|        (yyval.interm.type).basicType = EbtSampler;
11566|    140|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11567|    140|    }
11568|    140|#line 11569 "MachineIndependent/glslang_tab.cpp"
11569|    140|    break;
11570|       |
11571|    138|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11571:3): [True: 138, False: 2.73M]
  ------------------
11572|    138|#line 3554 "MachineIndependent/glslang.y"
11573|    138|                        {
11574|    138|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11575|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11576|    138|        (yyval.interm.type).basicType = EbtSampler;
11577|    138|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11578|    138|    }
11579|    138|#line 11580 "MachineIndependent/glslang_tab.cpp"
11580|    138|    break;
11581|       |
11582|    158|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11582:3): [True: 158, False: 2.73M]
  ------------------
11583|    158|#line 3560 "MachineIndependent/glslang.y"
11584|    158|                      {
11585|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11586|    158|        (yyval.interm.type).basicType = EbtSampler;
11587|    158|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11588|    158|    }
11589|    158|#line 11590 "MachineIndependent/glslang_tab.cpp"
11590|    158|    break;
11591|       |
11592|    158|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11592:3): [True: 158, False: 2.73M]
  ------------------
11593|    158|#line 3565 "MachineIndependent/glslang.y"
11594|    158|                      {
11595|    158|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    158|#define parseContext (*pParseContext)
  ------------------
11596|    158|        (yyval.interm.type).basicType = EbtSampler;
11597|    158|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11598|    158|    }
11599|    158|#line 11600 "MachineIndependent/glslang_tab.cpp"
11600|    158|    break;
11601|       |
11602|    138|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11602:3): [True: 138, False: 2.73M]
  ------------------
11603|    138|#line 3570 "MachineIndependent/glslang.y"
11604|    138|                 {
11605|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11606|    138|        (yyval.interm.type).basicType = EbtSampler;
11607|    138|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11608|    138|    }
11609|    138|#line 11610 "MachineIndependent/glslang_tab.cpp"
11610|    138|    break;
11611|       |
11612|    138|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11612:3): [True: 138, False: 2.73M]
  ------------------
11613|    138|#line 3575 "MachineIndependent/glslang.y"
11614|    138|                 {
11615|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11616|    138|        (yyval.interm.type).basicType = EbtSampler;
11617|    138|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11618|    138|    }
11619|    138|#line 11620 "MachineIndependent/glslang_tab.cpp"
11620|    138|    break;
11621|       |
11622|    150|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11622:3): [True: 150, False: 2.73M]
  ------------------
11623|    150|#line 3580 "MachineIndependent/glslang.y"
11624|    150|                 {
11625|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11626|    150|        (yyval.interm.type).basicType = EbtSampler;
11627|    150|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11628|    150|    }
11629|    150|#line 11630 "MachineIndependent/glslang_tab.cpp"
11630|    150|    break;
11631|       |
11632|    150|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11632:3): [True: 150, False: 2.73M]
  ------------------
11633|    150|#line 3585 "MachineIndependent/glslang.y"
11634|    150|                 {
11635|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11636|    150|        (yyval.interm.type).basicType = EbtSampler;
11637|    150|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11638|    150|    }
11639|    150|#line 11640 "MachineIndependent/glslang_tab.cpp"
11640|    150|    break;
11641|       |
11642|    150|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11642:3): [True: 150, False: 2.73M]
  ------------------
11643|    150|#line 3590 "MachineIndependent/glslang.y"
11644|    150|                 {
11645|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11646|    150|        (yyval.interm.type).basicType = EbtSampler;
11647|    150|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11648|    150|    }
11649|    150|#line 11650 "MachineIndependent/glslang_tab.cpp"
11650|    150|    break;
11651|       |
11652|    150|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11652:3): [True: 150, False: 2.73M]
  ------------------
11653|    150|#line 3595 "MachineIndependent/glslang.y"
11654|    150|                 {
11655|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11656|    150|        (yyval.interm.type).basicType = EbtSampler;
11657|    150|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11658|    150|    }
11659|    150|#line 11660 "MachineIndependent/glslang_tab.cpp"
11660|    150|    break;
11661|       |
11662|    132|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11662:3): [True: 132, False: 2.73M]
  ------------------
11663|    132|#line 3600 "MachineIndependent/glslang.y"
11664|    132|                     {
11665|    132|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    132|#define parseContext (*pParseContext)
  ------------------
11666|    132|        (yyval.interm.type).basicType = EbtSampler;
11667|    132|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11668|    132|    }
11669|    132|#line 11670 "MachineIndependent/glslang_tab.cpp"
11670|    132|    break;
11671|       |
11672|    132|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11672:3): [True: 132, False: 2.73M]
  ------------------
11673|    132|#line 3605 "MachineIndependent/glslang.y"
11674|    132|                     {
11675|    132|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    132|#define parseContext (*pParseContext)
  ------------------
11676|    132|        (yyval.interm.type).basicType = EbtSampler;
11677|    132|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11678|    132|    }
11679|    132|#line 11680 "MachineIndependent/glslang_tab.cpp"
11680|    132|    break;
11681|       |
11682|    150|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11682:3): [True: 150, False: 2.73M]
  ------------------
11683|    150|#line 3610 "MachineIndependent/glslang.y"
11684|    150|                   {
11685|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11686|    150|        (yyval.interm.type).basicType = EbtSampler;
11687|    150|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11688|    150|    }
11689|    150|#line 11690 "MachineIndependent/glslang_tab.cpp"
11690|    150|    break;
11691|       |
11692|    150|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11692:3): [True: 150, False: 2.73M]
  ------------------
11693|    150|#line 3615 "MachineIndependent/glslang.y"
11694|    150|                   {
11695|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11696|    150|        (yyval.interm.type).basicType = EbtSampler;
11697|    150|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11698|    150|    }
11699|    150|#line 11700 "MachineIndependent/glslang_tab.cpp"
11700|    150|    break;
11701|       |
11702|    126|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11702:3): [True: 126, False: 2.73M]
  ------------------
11703|    126|#line 3620 "MachineIndependent/glslang.y"
11704|    126|                     {
11705|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11706|    126|        (yyval.interm.type).basicType = EbtSampler;
11707|    126|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11708|    126|    }
11709|    126|#line 11710 "MachineIndependent/glslang_tab.cpp"
11710|    126|    break;
11711|       |
11712|    126|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11712:3): [True: 126, False: 2.73M]
  ------------------
11713|    126|#line 3625 "MachineIndependent/glslang.y"
11714|    126|                     {
11715|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11716|    126|        (yyval.interm.type).basicType = EbtSampler;
11717|    126|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11718|    126|    }
11719|    126|#line 11720 "MachineIndependent/glslang_tab.cpp"
11720|    126|    break;
11721|       |
11722|    138|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11722:3): [True: 138, False: 2.73M]
  ------------------
11723|    138|#line 3630 "MachineIndependent/glslang.y"
11724|    138|                      {
11725|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11726|    138|        (yyval.interm.type).basicType = EbtSampler;
11727|    138|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11728|    138|    }
11729|    138|#line 11730 "MachineIndependent/glslang_tab.cpp"
11730|    138|    break;
11731|       |
11732|    138|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11732:3): [True: 138, False: 2.73M]
  ------------------
11733|    138|#line 3635 "MachineIndependent/glslang.y"
11734|    138|                      {
11735|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11736|    138|        (yyval.interm.type).basicType = EbtSampler;
11737|    138|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11738|    138|    }
11739|    138|#line 11740 "MachineIndependent/glslang_tab.cpp"
11740|    138|    break;
11741|       |
11742|    150|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11742:3): [True: 150, False: 2.73M]
  ------------------
11743|    150|#line 3640 "MachineIndependent/glslang.y"
11744|    150|                      {
11745|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11746|    150|        (yyval.interm.type).basicType = EbtSampler;
11747|    150|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11748|    150|    }
11749|    150|#line 11750 "MachineIndependent/glslang_tab.cpp"
11750|    150|    break;
11751|       |
11752|    150|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11752:3): [True: 150, False: 2.73M]
  ------------------
11753|    150|#line 3645 "MachineIndependent/glslang.y"
11754|    150|                      {
11755|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11756|    150|        (yyval.interm.type).basicType = EbtSampler;
11757|    150|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11758|    150|    }
11759|    150|#line 11760 "MachineIndependent/glslang_tab.cpp"
11760|    150|    break;
11761|       |
11762|    150|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11762:3): [True: 150, False: 2.73M]
  ------------------
11763|    150|#line 3650 "MachineIndependent/glslang.y"
11764|    150|                        {
11765|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11766|    150|        (yyval.interm.type).basicType = EbtSampler;
11767|    150|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11768|    150|    }
11769|    150|#line 11770 "MachineIndependent/glslang_tab.cpp"
11770|    150|    break;
11771|       |
11772|    150|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11772:3): [True: 150, False: 2.73M]
  ------------------
11773|    150|#line 3655 "MachineIndependent/glslang.y"
11774|    150|                        {
11775|    150|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
11776|    150|        (yyval.interm.type).basicType = EbtSampler;
11777|    150|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11778|    150|    }
11779|    150|#line 11780 "MachineIndependent/glslang_tab.cpp"
11780|    150|    break;
11781|       |
11782|    138|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11782:3): [True: 138, False: 2.73M]
  ------------------
11783|    138|#line 3660 "MachineIndependent/glslang.y"
11784|    138|                   {
11785|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11786|    138|        (yyval.interm.type).basicType = EbtSampler;
11787|    138|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11788|    138|    }
11789|    138|#line 11790 "MachineIndependent/glslang_tab.cpp"
11790|    138|    break;
11791|       |
11792|    138|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11792:3): [True: 138, False: 2.73M]
  ------------------
11793|    138|#line 3665 "MachineIndependent/glslang.y"
11794|    138|                   {
11795|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11796|    138|        (yyval.interm.type).basicType = EbtSampler;
11797|    138|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11798|    138|    }
11799|    138|#line 11800 "MachineIndependent/glslang_tab.cpp"
11800|    138|    break;
11801|       |
11802|    138|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11802:3): [True: 138, False: 2.73M]
  ------------------
11803|    138|#line 3670 "MachineIndependent/glslang.y"
11804|    138|                        {
11805|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11806|    138|        (yyval.interm.type).basicType = EbtSampler;
11807|    138|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11808|    138|    }
11809|    138|#line 11810 "MachineIndependent/glslang_tab.cpp"
11810|    138|    break;
11811|       |
11812|    138|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11812:3): [True: 138, False: 2.73M]
  ------------------
11813|    138|#line 3675 "MachineIndependent/glslang.y"
11814|    138|                        {
11815|    138|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
11816|    138|        (yyval.interm.type).basicType = EbtSampler;
11817|    138|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11818|    138|    }
11819|    138|#line 11820 "MachineIndependent/glslang_tab.cpp"
11820|    138|    break;
11821|       |
11822|    120|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11822:3): [True: 120, False: 2.73M]
  ------------------
11823|    120|#line 3680 "MachineIndependent/glslang.y"
11824|    120|                         {  // GL_OES_EGL_image_external
11825|    120|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    120|#define parseContext (*pParseContext)
  ------------------
11826|    120|        (yyval.interm.type).basicType = EbtSampler;
11827|    120|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11828|    120|        (yyval.interm.type).sampler.external = true;
11829|    120|    }
11830|    120|#line 11831 "MachineIndependent/glslang_tab.cpp"
11831|    120|    break;
11832|       |
11833|    320|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11833:3): [True: 320, False: 2.73M]
  ------------------
11834|    320|#line 3686 "MachineIndependent/glslang.y"
11835|    320|                              { // GL_EXT_YUV_target
11836|    320|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    320|#define parseContext (*pParseContext)
  ------------------
11837|    320|        (yyval.interm.type).basicType = EbtSampler;
11838|    320|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11839|    320|        (yyval.interm.type).sampler.yuv = true;
11840|    320|    }
11841|    320|#line 11842 "MachineIndependent/glslang_tab.cpp"
11842|    320|    break;
11843|       |
11844|      0|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11844:3): [True: 0, False: 2.73M]
  ------------------
11845|      0|#line 3692 "MachineIndependent/glslang.y"
11846|      0|                    {
11847|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11848|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11849|      0|        (yyval.interm.type).basicType = EbtSampler;
11850|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11851|      0|    }
11852|      0|#line 11853 "MachineIndependent/glslang_tab.cpp"
11853|      0|    break;
11854|       |
11855|      0|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11855:3): [True: 0, False: 2.73M]
  ------------------
11856|      0|#line 3698 "MachineIndependent/glslang.y"
11857|      0|                     {
11858|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11859|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11860|      0|        (yyval.interm.type).basicType = EbtSampler;
11861|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11862|      0|    }
11863|      0|#line 11864 "MachineIndependent/glslang_tab.cpp"
11864|      0|    break;
11865|       |
11866|      0|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11866:3): [True: 0, False: 2.73M]
  ------------------
11867|      0|#line 3704 "MachineIndependent/glslang.y"
11868|      0|                     {
11869|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11870|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11871|      0|        (yyval.interm.type).basicType = EbtSampler;
11872|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11873|      0|    }
11874|      0|#line 11875 "MachineIndependent/glslang_tab.cpp"
11875|      0|    break;
11876|       |
11877|      0|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11877:3): [True: 0, False: 2.73M]
  ------------------
11878|      0|#line 3710 "MachineIndependent/glslang.y"
11879|      0|                   {
11880|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11881|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11882|      0|        (yyval.interm.type).basicType = EbtSampler;
11883|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11884|      0|    }
11885|      0|#line 11886 "MachineIndependent/glslang_tab.cpp"
11886|      0|    break;
11887|       |
11888|      0|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11888:3): [True: 0, False: 2.73M]
  ------------------
11889|      0|#line 3716 "MachineIndependent/glslang.y"
11890|      0|                     {
11891|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11892|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11893|      0|        (yyval.interm.type).basicType = EbtSampler;
11894|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11895|      0|    }
11896|      0|#line 11897 "MachineIndependent/glslang_tab.cpp"
11897|      0|    break;
11898|       |
11899|      0|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11899:3): [True: 0, False: 2.73M]
  ------------------
11900|      0|#line 3722 "MachineIndependent/glslang.y"
11901|      0|                      {
11902|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11903|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11904|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11905|      0|        (yyval.interm.type).basicType = EbtSampler;
11906|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11907|      0|    }
11908|      0|#line 11909 "MachineIndependent/glslang_tab.cpp"
11909|      0|    break;
11910|       |
11911|      0|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11911:3): [True: 0, False: 2.73M]
  ------------------
11912|      0|#line 3729 "MachineIndependent/glslang.y"
11913|      0|                        {
11914|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11915|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11916|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11917|      0|        (yyval.interm.type).basicType = EbtSampler;
11918|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11919|      0|    }
11920|      0|#line 11921 "MachineIndependent/glslang_tab.cpp"
11921|      0|    break;
11922|       |
11923|      0|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11923:3): [True: 0, False: 2.73M]
  ------------------
11924|      0|#line 3736 "MachineIndependent/glslang.y"
11925|      0|                    {
11926|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11927|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11928|      0|        (yyval.interm.type).basicType = EbtSampler;
11929|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11930|      0|    }
11931|      0|#line 11932 "MachineIndependent/glslang_tab.cpp"
11932|      0|    break;
11933|       |
11934|      0|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11934:3): [True: 0, False: 2.73M]
  ------------------
11935|      0|#line 3742 "MachineIndependent/glslang.y"
11936|      0|                      {
11937|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11939|      0|        (yyval.interm.type).basicType = EbtSampler;
11940|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11941|      0|    }
11942|      0|#line 11943 "MachineIndependent/glslang_tab.cpp"
11943|      0|    break;
11944|       |
11945|      0|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11945:3): [True: 0, False: 2.73M]
  ------------------
11946|      0|#line 3748 "MachineIndependent/glslang.y"
11947|      0|                    {
11948|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11950|      0|        (yyval.interm.type).basicType = EbtSampler;
11951|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11952|      0|    }
11953|      0|#line 11954 "MachineIndependent/glslang_tab.cpp"
11954|      0|    break;
11955|       |
11956|      0|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11956:3): [True: 0, False: 2.73M]
  ------------------
11957|      0|#line 3754 "MachineIndependent/glslang.y"
11958|      0|                      {
11959|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11960|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11961|      0|        (yyval.interm.type).basicType = EbtSampler;
11962|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11963|      0|    }
11964|      0|#line 11965 "MachineIndependent/glslang_tab.cpp"
11965|      0|    break;
11966|       |
11967|    126|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11967:3): [True: 126, False: 2.73M]
  ------------------
11968|    126|#line 3760 "MachineIndependent/glslang.y"
11969|    126|                 {
11970|    126|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11971|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
11972|    126|        (yyval.interm.type).basicType = EbtFloat;
11973|    126|        (yyval.interm.type).coopmatNV = true;
11974|    126|        (yyval.interm.type).coopmatKHR = false;
11975|    126|    }
11976|    126|#line 11977 "MachineIndependent/glslang_tab.cpp"
11977|    126|    break;
11978|       |
11979|    168|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11979:3): [True: 168, False: 2.73M]
  ------------------
11980|    168|#line 3767 "MachineIndependent/glslang.y"
11981|    168|                 {
11982|    168|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
11983|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
11984|    168|        (yyval.interm.type).basicType = EbtInt;
11985|    168|        (yyval.interm.type).coopmatNV = true;
11986|    168|        (yyval.interm.type).coopmatKHR = false;
11987|    168|    }
11988|    168|#line 11989 "MachineIndependent/glslang_tab.cpp"
11989|    168|    break;
11990|       |
11991|    168|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11991:3): [True: 168, False: 2.73M]
  ------------------
11992|    168|#line 3774 "MachineIndependent/glslang.y"
11993|    168|                 {
11994|    168|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
11995|    168|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    168|#define parseContext (*pParseContext)
  ------------------
11996|    168|        (yyval.interm.type).basicType = EbtUint;
11997|    168|        (yyval.interm.type).coopmatNV = true;
11998|    168|        (yyval.interm.type).coopmatKHR = false;
11999|    168|    }
12000|    168|#line 12001 "MachineIndependent/glslang_tab.cpp"
12001|    168|    break;
12002|       |
12003|  1.30k|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (12003:3): [True: 1.30k, False: 2.73M]
  ------------------
12004|  1.30k|#line 3781 "MachineIndependent/glslang.y"
12005|  1.30k|              {
12006|  1.30k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
12007|  1.30k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.30k|#define parseContext (*pParseContext)
  ------------------
12008|  1.30k|        (yyval.interm.type).basicType = EbtCoopmat;
12009|  1.30k|        (yyval.interm.type).coopmatNV = false;
12010|  1.30k|        (yyval.interm.type).coopmatKHR = true;
12011|  1.30k|    }
12012|  1.30k|#line 12013 "MachineIndependent/glslang_tab.cpp"
12013|  1.30k|    break;
12014|       |
12015|    360|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (12015:3): [True: 360, False: 2.73M]
  ------------------
12016|    360|#line 3788 "MachineIndependent/glslang.y"
12017|    360|                     {
12018|    360|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    360|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    360|#define parseContext (*pParseContext)
  ------------------
12019|    360|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    360|#define parseContext (*pParseContext)
  ------------------
12020|    360|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12021|    360|    }
12022|    360|#line 12023 "MachineIndependent/glslang_tab.cpp"
12023|    360|    break;
12024|       |
12025|    222|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12025:3): [True: 222, False: 2.73M]
  ------------------
12026|    222|#line 3793 "MachineIndependent/glslang.y"
12027|    222|                   {
12028|    222|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
12029|    222|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    222|#define parseContext (*pParseContext)
  ------------------
12030|    222|        (yyval.interm.type).basicType = EbtTensorViewNV;
12031|    222|    }
12032|    222|#line 12033 "MachineIndependent/glslang_tab.cpp"
12033|    222|    break;
12034|       |
12035|     84|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12035:3): [True: 84, False: 2.73M]
  ------------------
12036|     84|#line 3798 "MachineIndependent/glslang.y"
12037|     84|               {
12038|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12039|     84|        (yyval.interm.type).basicType = EbtFunction;
12040|     84|    }
12041|     84|#line 12042 "MachineIndependent/glslang_tab.cpp"
12042|     84|    break;
12043|       |
12044|  4.77k|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12044:3): [True: 4.77k, False: 2.73M]
  ------------------
12045|  4.77k|#line 3802 "MachineIndependent/glslang.y"
12046|  4.77k|                {
12047|  4.77k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.77k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.77k|#define parseContext (*pParseContext)
  ------------------
12048|  4.77k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.77k|#define parseContext (*pParseContext)
  ------------------
12049|  4.77k|        (yyval.interm.type).basicType = EbtCoopvecNV;
12050|  4.77k|        (yyval.interm.type).coopvecNV = true;
12051|  4.77k|    }
12052|  4.77k|#line 12053 "MachineIndependent/glslang_tab.cpp"
12053|  4.77k|    break;
12054|       |
12055|    366|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12055:3): [True: 366, False: 2.73M]
  ------------------
12056|    366|#line 3808 "MachineIndependent/glslang.y"
12057|    366|                {
12058|    366|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    366|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    366|#define parseContext (*pParseContext)
  ------------------
12059|    366|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    366|#define parseContext (*pParseContext)
  ------------------
12060|    366|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12061|    366|        (yyval.interm.type).basicType = EbtTensorARM;
12062|    366|    }
12063|    366|#line 12064 "MachineIndependent/glslang_tab.cpp"
12064|    366|    break;
12065|       |
12066|  4.09k|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12066:3): [True: 4.09k, False: 2.73M]
  ------------------
12067|  4.09k|#line 3814 "MachineIndependent/glslang.y"
12068|  4.09k|             {
12069|  4.09k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.09k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.09k|#define parseContext (*pParseContext)
  ------------------
12070|  4.09k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.09k|#define parseContext (*pParseContext)
  ------------------
12071|  4.09k|        (yyval.interm.type).basicType = EbtLongVector;
12072|  4.09k|        (yyval.interm.type).longVector = true;
12073|  4.09k|    }
12074|  4.09k|#line 12075 "MachineIndependent/glslang_tab.cpp"
12075|  4.09k|    break;
12076|       |
12077|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12077:3): [True: 0, False: 2.73M]
  ------------------
12078|      0|#line 3820 "MachineIndependent/glslang.y"
12079|      0|                           {
12080|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12081|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12082|      0|    }
12083|      0|#line 12084 "MachineIndependent/glslang_tab.cpp"
12084|      0|    break;
12085|       |
12086|      0|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12086:3): [True: 0, False: 2.73M]
  ------------------
12087|      0|#line 3824 "MachineIndependent/glslang.y"
12088|      0|                  {
12089|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12090|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
12091|      0|    }
12092|      0|#line 12093 "MachineIndependent/glslang_tab.cpp"
12093|      0|    break;
12094|       |
12095|      0|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12095:3): [True: 0, False: 2.73M]
  ------------------
12096|      0|#line 3828 "MachineIndependent/glslang.y"
12097|      0|                   {
12098|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12099|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12100|      0|    }
12101|      0|#line 12102 "MachineIndependent/glslang_tab.cpp"
12102|      0|    break;
12103|       |
12104|     59|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12104:3): [True: 59, False: 2.73M]
  ------------------
12105|     59|#line 3832 "MachineIndependent/glslang.y"
12106|     59|                       {
12107|     59|        (yyval.interm.type) = (yyvsp[0].interm.type);
12108|     59|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12108:49): [True: 59, False: 0]
  ------------------
12109|     59|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12110|     59|    }
12111|     59|#line 12112 "MachineIndependent/glslang_tab.cpp"
12112|     59|    break;
12113|       |
12114|    263|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12114:3): [True: 263, False: 2.73M]
  ------------------
12115|    263|#line 3837 "MachineIndependent/glslang.y"
12116|    263|                {
12117|       |        //
12118|       |        // This is for user defined type names.  The lexical phase looked up the
12119|       |        // type.
12120|       |        //
12121|    263|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12121:30): [True: 263, False: 0]
  ------------------
12122|    263|            const TType& structure = variable->getType();
12123|    263|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    263|#define parseContext (*pParseContext)
  ------------------
12124|    263|            (yyval.interm.type).basicType = EbtStruct;
12125|    263|            (yyval.interm.type).userDef = &structure;
12126|    263|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12126:17): [True: 0, False: 263]
  ------------------
12127|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12128|    263|        } else
12129|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12130|    263|    }
12131|    263|#line 12132 "MachineIndependent/glslang_tab.cpp"
12132|    263|    break;
12133|       |
12134|  13.2k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12134:3): [True: 13.2k, False: 2.72M]
  ------------------
12135|  13.2k|#line 3855 "MachineIndependent/glslang.y"
12136|  13.2k|                     {
12137|  13.2k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  783|  13.2k|#define parseContext (*pParseContext)
  ------------------
12138|  13.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  13.2k|#define parseContext (*pParseContext)
  ------------------
12139|  13.2k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  783|  13.2k|#define parseContext (*pParseContext)
  ------------------
12140|  13.2k|    }
12141|  13.2k|#line 12142 "MachineIndependent/glslang_tab.cpp"
12142|  13.2k|    break;
12143|       |
12144|    447|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12144:3): [True: 447, False: 2.73M]
  ------------------
12145|    447|#line 3860 "MachineIndependent/glslang.y"
12146|    447|                       {
12147|    447|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  783|    447|#define parseContext (*pParseContext)
  ------------------
12148|    447|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    447|#define parseContext (*pParseContext)
  ------------------
12149|    447|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  783|    447|#define parseContext (*pParseContext)
  ------------------
12150|    447|    }
12151|    447|#line 12152 "MachineIndependent/glslang_tab.cpp"
12152|    447|    break;
12153|       |
12154|     68|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12154:3): [True: 68, False: 2.73M]
  ------------------
12155|     68|#line 3865 "MachineIndependent/glslang.y"
12156|     68|                    {
12157|     68|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  783|     68|#define parseContext (*pParseContext)
  ------------------
12158|     68|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     68|#define parseContext (*pParseContext)
  ------------------
12159|     68|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  783|     68|#define parseContext (*pParseContext)
  ------------------
12160|     68|    }
12161|     68|#line 12162 "MachineIndependent/glslang_tab.cpp"
12162|     68|    break;
12163|       |
12164|     59|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12164:3): [True: 59, False: 2.73M]
  ------------------
12165|     59|#line 3873 "MachineIndependent/glslang.y"
12166|     59|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12167|     59|#line 12168 "MachineIndependent/glslang_tab.cpp"
12168|     59|    break;
12169|       |
12170|     59|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12170:3): [True: 59, False: 2.73M]
  ------------------
12171|     59|#line 3873 "MachineIndependent/glslang.y"
12172|     59|                                                                                                                   {
12173|     59|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12174|     59|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12175|       |
12176|     59|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12177|     59|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12177:13): [True: 0, False: 59]
  ------------------
12178|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12179|     59|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12179:18): [True: 0, False: 59]
  ------------------
12180|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12180:21): [True: 0, False: 0]
  ------------------
12181|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12182|       |
12183|     59|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12184|     59|        (yyval.interm.type).basicType = EbtStruct;
12185|     59|        (yyval.interm.type).userDef = structure;
12186|     59|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12187|     59|    }
12188|     59|#line 12189 "MachineIndependent/glslang_tab.cpp"
12189|     59|    break;
12190|       |
12191|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12191:3): [True: 0, False: 2.73M]
  ------------------
12192|      0|#line 3889 "MachineIndependent/glslang.y"
12193|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12194|      0|#line 12195 "MachineIndependent/glslang_tab.cpp"
12195|      0|    break;
12196|       |
12197|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12197:3): [True: 0, False: 2.73M]
  ------------------
12198|      0|#line 3889 "MachineIndependent/glslang.y"
12199|      0|                                                                                                        {
12200|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12201|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12202|      0|        (yyval.interm.type).basicType = EbtStruct;
12203|      0|        (yyval.interm.type).userDef = structure;
12204|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12205|      0|    }
12206|      0|#line 12207 "MachineIndependent/glslang_tab.cpp"
12207|      0|    break;
12208|       |
12209|    118|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12209:3): [True: 118, False: 2.73M]
  ------------------
12210|    118|#line 3899 "MachineIndependent/glslang.y"
12211|    118|                         {
12212|    118|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12213|    118|    }
12214|    118|#line 12215 "MachineIndependent/glslang_tab.cpp"
12215|    118|    break;
12216|       |
12217|    401|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12217:3): [True: 401, False: 2.73M]
  ------------------
12218|    401|#line 3902 "MachineIndependent/glslang.y"
12219|    401|                                                 {
12220|    401|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12221|    802|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12221:34): [True: 401, False: 401]
  ------------------
12222|  1.45k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12222:38): [True: 1.05k, False: 401]
  ------------------
12223|  1.05k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12223:21): [True: 0, False: 1.05k]
  ------------------
12224|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", "%s", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12225|  1.05k|            }
12226|    401|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12227|    401|        }
12228|    401|    }
12229|    401|#line 12230 "MachineIndependent/glslang_tab.cpp"
12230|    401|    break;
12231|       |
12232|    519|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12232:3): [True: 519, False: 2.73M]
  ------------------
12233|    519|#line 3915 "MachineIndependent/glslang.y"
12234|    519|                                         {
12235|    519|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12236|    519|    }
12237|    519|#line 12238 "MachineIndependent/glslang_tab.cpp"
12238|    519|    break;
12239|       |
12240|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12240:3): [True: 0, False: 2.73M]
  ------------------
12241|      0|#line 3918 "MachineIndependent/glslang.y"
12242|      0|                                                                  {
12243|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12244|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12245|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12246|       |
12247|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12247:34): [True: 0, False: 0]
  ------------------
12248|      0|            TType type((yyvsp[-2].interm.type));
12249|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12250|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12251|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12252|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12253|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12254|      0|        }
12255|      0|    }
12256|      0|#line 12257 "MachineIndependent/glslang_tab.cpp"
12257|      0|    break;
12258|       |
12259|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12259:3): [True: 0, False: 2.73M]
  ------------------
12260|      0|#line 3935 "MachineIndependent/glslang.y"
12261|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12262|      0|#line 12263 "MachineIndependent/glslang_tab.cpp"
12263|      0|    break;
12264|       |
12265|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12265:3): [True: 0, False: 2.73M]
  ------------------
12266|      0|#line 3935 "MachineIndependent/glslang.y"
12267|      0|                                                                                                                                     {
12268|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12269|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12270|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12271|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12272|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12273|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12273:13): [True: 0, False: 0]
  ------------------
12274|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12275|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12276|      0|        (yyval.interm.type).basicType = EbtReference;
12277|      0|        (yyval.interm.type).userDef = referenceType;
12278|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12279|      0|    }
12280|      0|#line 12281 "MachineIndependent/glslang_tab.cpp"
12281|      0|    break;
12282|       |
12283|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12283:3): [True: 0, False: 2.73M]
  ------------------
12284|      0|#line 3951 "MachineIndependent/glslang.y"
12285|      0|                                         {
12286|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12287|      0|    }
12288|      0|#line 12289 "MachineIndependent/glslang_tab.cpp"
12289|      0|    break;
12290|       |
12291|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12291:3): [True: 0, False: 2.73M]
  ------------------
12292|      0|#line 3954 "MachineIndependent/glslang.y"
12293|      0|                                                                                 {
12294|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12295|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12295:34): [True: 0, False: 0]
  ------------------
12296|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12296:38): [True: 0, False: 0]
  ------------------
12297|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12297:21): [True: 0, False: 0]
  ------------------
12298|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", "%s", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12299|      0|            }
12300|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12301|      0|        }
12302|      0|    }
12303|      0|#line 12304 "MachineIndependent/glslang_tab.cpp"
12304|      0|    break;
12305|       |
12306|    369|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12306:3): [True: 369, False: 2.73M]
  ------------------
12307|    369|#line 3967 "MachineIndependent/glslang.y"
12308|    369|                                                      {
12309|    369|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12309:13): [True: 0, False: 369]
  ------------------
12310|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12311|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12312|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12312:17): [True: 0, False: 0]
  ------------------
12313|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12314|      0|        }
12315|       |
12316|    369|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12317|       |
12318|    369|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    369|#define parseContext (*pParseContext)
  ------------------
12319|    369|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    369|#define parseContext (*pParseContext)
  ------------------
12320|       |
12321|    738|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12321:34): [True: 369, False: 369]
  ------------------
12322|    369|            TType type((yyvsp[-2].interm.type));
12323|    369|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12324|    369|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12325|    369|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12326|    369|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    369|#define parseContext (*pParseContext)
  ------------------
12327|    369|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12328|    369|        }
12329|    369|    }
12330|    369|#line 12331 "MachineIndependent/glslang_tab.cpp"
12331|    369|    break;
12332|       |
12333|    150|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12333:3): [True: 150, False: 2.73M]
  ------------------
12334|    150|#line 3989 "MachineIndependent/glslang.y"
12335|    150|                                                                     {
12336|    150|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12336:13): [True: 0, False: 150]
  ------------------
12337|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12338|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12339|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12339:17): [True: 0, False: 0]
  ------------------
12340|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12341|      0|        }
12342|       |
12343|    150|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12344|       |
12345|    150|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
12346|    150|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
12347|    150|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
12348|    150|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
12349|       |
12350|    300|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12350:34): [True: 150, False: 150]
  ------------------
12351|    150|            TType type((yyvsp[-2].interm.type));
12352|    150|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12353|    150|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12354|    150|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12355|    150|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    150|#define parseContext (*pParseContext)
  ------------------
12356|    150|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12357|    150|        }
12358|    150|    }
12359|    150|#line 12360 "MachineIndependent/glslang_tab.cpp"
12360|    150|    break;
12361|       |
12362|    519|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12362:3): [True: 519, False: 2.73M]
  ------------------
12363|    519|#line 4016 "MachineIndependent/glslang.y"
12364|    519|                        {
12365|    519|        (yyval.interm.typeList) = new TTypeList;
12366|    519|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12367|    519|    }
12368|    519|#line 12369 "MachineIndependent/glslang_tab.cpp"
12369|    519|    break;
12370|       |
12371|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12371:3): [True: 0, False: 2.73M]
  ------------------
12372|      0|#line 4020 "MachineIndependent/glslang.y"
12373|      0|                                                     {
12374|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12375|      0|    }
12376|      0|#line 12377 "MachineIndependent/glslang_tab.cpp"
12377|      0|    break;
12378|       |
12379|    359|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12379:3): [True: 359, False: 2.73M]
  ------------------
12380|    359|#line 4026 "MachineIndependent/glslang.y"
12381|    359|                 {
12382|    359|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12383|    359|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12384|    359|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12385|    359|    }
12386|    359|#line 12387 "MachineIndependent/glslang_tab.cpp"
12387|    359|    break;
12388|       |
12389|    160|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12389:3): [True: 160, False: 2.73M]
  ------------------
12390|    160|#line 4031 "MachineIndependent/glslang.y"
12391|    160|                                 {
12392|    160|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    160|#define parseContext (*pParseContext)
  ------------------
12393|       |
12394|    160|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12395|    160|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12396|    160|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12397|    160|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12398|    160|    }
12399|    160|#line 12400 "MachineIndependent/glslang_tab.cpp"
12400|    160|    break;
12401|       |
12402|  1.44k|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12402:3): [True: 1.44k, False: 2.73M]
  ------------------
12403|  1.44k|#line 4042 "MachineIndependent/glslang.y"
12404|  1.44k|                            {
12405|  1.44k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12406|  1.44k|    }
12407|  1.44k|#line 12408 "MachineIndependent/glslang_tab.cpp"
12408|  1.44k|    break;
12409|       |
12410|      0|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12410:3): [True: 0, False: 2.73M]
  ------------------
12411|      0|#line 4045 "MachineIndependent/glslang.y"
12412|      0|                                              {
12413|      0|        const char* initFeature = "{ } style initializers";
12414|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12415|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12416|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12417|      0|    }
12418|      0|#line 12419 "MachineIndependent/glslang_tab.cpp"
12419|      0|    break;
12420|       |
12421|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12421:3): [True: 0, False: 2.73M]
  ------------------
12422|      0|#line 4051 "MachineIndependent/glslang.y"
12423|      0|                                                    {
12424|      0|        const char* initFeature = "{ } style initializers";
12425|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12426|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12427|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12428|      0|    }
12429|      0|#line 12430 "MachineIndependent/glslang_tab.cpp"
12430|      0|    break;
12431|       |
12432|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12432:3): [True: 0, False: 2.73M]
  ------------------
12433|      0|#line 4057 "MachineIndependent/glslang.y"
12434|      0|                             {
12435|      0|        const char* initFeature = "empty { } initializer";
12436|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12437|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12438|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12439|      0|    }
12440|      0|#line 12441 "MachineIndependent/glslang_tab.cpp"
12441|      0|    break;
12442|       |
12443|      0|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12443:3): [True: 0, False: 2.73M]
  ------------------
12444|      0|#line 4066 "MachineIndependent/glslang.y"
12445|      0|                  {
12446|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12447|      0|    }
12448|      0|#line 12449 "MachineIndependent/glslang_tab.cpp"
12449|      0|    break;
12450|       |
12451|      0|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12451:3): [True: 0, False: 2.73M]
  ------------------
12452|      0|#line 4069 "MachineIndependent/glslang.y"
12453|      0|                                         {
12454|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12455|      0|    }
12456|      0|#line 12457 "MachineIndependent/glslang_tab.cpp"
12457|      0|    break;
12458|       |
12459|      0|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12459:3): [True: 0, False: 2.73M]
  ------------------
12460|      0|#line 4075 "MachineIndependent/glslang.y"
12461|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12462|      0|#line 12463 "MachineIndependent/glslang_tab.cpp"
12463|      0|    break;
12464|       |
12465|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12465:3): [True: 0, False: 2.73M]
  ------------------
12466|      0|#line 4079 "MachineIndependent/glslang.y"
12467|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12468|      0|#line 12469 "MachineIndependent/glslang_tab.cpp"
12469|      0|    break;
12470|       |
12471|      0|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12471:3): [True: 0, False: 2.73M]
  ------------------
12472|      0|#line 4080 "MachineIndependent/glslang.y"
12473|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12474|      0|#line 12475 "MachineIndependent/glslang_tab.cpp"
12475|      0|    break;
12476|       |
12477|      0|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12477:3): [True: 0, False: 2.73M]
  ------------------
12478|      0|#line 4086 "MachineIndependent/glslang.y"
12479|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12480|      0|#line 12481 "MachineIndependent/glslang_tab.cpp"
12481|      0|    break;
12482|       |
12483|      0|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12483:3): [True: 0, False: 2.73M]
  ------------------
12484|      0|#line 4087 "MachineIndependent/glslang.y"
12485|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12486|      0|#line 12487 "MachineIndependent/glslang_tab.cpp"
12487|      0|    break;
12488|       |
12489|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12489:3): [True: 0, False: 2.73M]
  ------------------
12490|      0|#line 4088 "MachineIndependent/glslang.y"
12491|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12492|      0|#line 12493 "MachineIndependent/glslang_tab.cpp"
12493|      0|    break;
12494|       |
12495|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12495:3): [True: 0, False: 2.73M]
  ------------------
12496|      0|#line 4089 "MachineIndependent/glslang.y"
12497|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12498|      0|#line 12499 "MachineIndependent/glslang_tab.cpp"
12499|      0|    break;
12500|       |
12501|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12501:3): [True: 0, False: 2.73M]
  ------------------
12502|      0|#line 4090 "MachineIndependent/glslang.y"
12503|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12504|      0|#line 12505 "MachineIndependent/glslang_tab.cpp"
12505|      0|    break;
12506|       |
12507|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12507:3): [True: 0, False: 2.73M]
  ------------------
12508|      0|#line 4091 "MachineIndependent/glslang.y"
12509|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12510|      0|#line 12511 "MachineIndependent/glslang_tab.cpp"
12511|      0|    break;
12512|       |
12513|      0|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12513:3): [True: 0, False: 2.73M]
  ------------------
12514|      0|#line 4092 "MachineIndependent/glslang.y"
12515|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12516|      0|#line 12517 "MachineIndependent/glslang_tab.cpp"
12517|      0|    break;
12518|       |
12519|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12519:3): [True: 0, False: 2.73M]
  ------------------
12520|      0|#line 4093 "MachineIndependent/glslang.y"
12521|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12522|      0|#line 12523 "MachineIndependent/glslang_tab.cpp"
12523|      0|    break;
12524|       |
12525|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12525:3): [True: 0, False: 2.73M]
  ------------------
12526|      0|#line 4097 "MachineIndependent/glslang.y"
12527|      0|                       {
12528|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12529|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12530|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12531|      0|    }
12532|      0|#line 12533 "MachineIndependent/glslang_tab.cpp"
12533|      0|    break;
12534|       |
12535|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12535:3): [True: 0, False: 2.73M]
  ------------------
12536|      0|#line 4105 "MachineIndependent/glslang.y"
12537|      0|                             { (yyval.interm.intermNode) = 0; }
12538|      0|#line 12539 "MachineIndependent/glslang_tab.cpp"
12539|      0|    break;
12540|       |
12541|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12541:3): [True: 0, False: 2.73M]
  ------------------
12542|      0|#line 4106 "MachineIndependent/glslang.y"
12543|      0|                 {
12544|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12545|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12546|      0|    }
12547|      0|#line 12548 "MachineIndependent/glslang_tab.cpp"
12548|      0|    break;
12549|       |
12550|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12550:3): [True: 0, False: 2.73M]
  ------------------
12551|      0|#line 4110 "MachineIndependent/glslang.y"
12552|      0|                     {
12553|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12554|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12555|      0|    }
12556|      0|#line 12557 "MachineIndependent/glslang_tab.cpp"
12557|      0|    break;
12558|       |
12559|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12559:3): [True: 0, False: 2.73M]
  ------------------
12560|      0|#line 4114 "MachineIndependent/glslang.y"
12561|      0|                  {
12562|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12562:13): [True: 0, False: 0]
  |  Branch (12562:46): [True: 0, False: 0]
  ------------------
12563|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12563:74): [True: 0, False: 0]
  ------------------
12564|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12565|      0|        }
12566|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12567|      0|    }
12568|      0|#line 12569 "MachineIndependent/glslang_tab.cpp"
12569|      0|    break;
12570|       |
12571|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12571:3): [True: 0, False: 2.73M]
  ------------------
12572|      0|#line 4124 "MachineIndependent/glslang.y"
12573|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12574|      0|#line 12575 "MachineIndependent/glslang_tab.cpp"
12575|      0|    break;
12576|       |
12577|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12577:3): [True: 0, False: 2.73M]
  ------------------
12578|      0|#line 4125 "MachineIndependent/glslang.y"
12579|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12580|      0|#line 12581 "MachineIndependent/glslang_tab.cpp"
12581|      0|    break;
12582|       |
12583|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12583:3): [True: 0, False: 2.73M]
  ------------------
12584|      0|#line 4129 "MachineIndependent/glslang.y"
12585|      0|      {
12586|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12587|      0|    }
12588|      0|#line 12589 "MachineIndependent/glslang_tab.cpp"
12589|      0|    break;
12590|       |
12591|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12591:3): [True: 0, False: 2.73M]
  ------------------
12592|      0|#line 4132 "MachineIndependent/glslang.y"
12593|      0|                          {
12594|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12595|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12596|      0|    }
12597|      0|#line 12598 "MachineIndependent/glslang_tab.cpp"
12598|      0|    break;
12599|       |
12600|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12600:3): [True: 0, False: 2.73M]
  ------------------
12601|      0|#line 4136 "MachineIndependent/glslang.y"
12602|      0|      {
12603|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12604|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12605|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12606|      0|    }
12607|      0|#line 12608 "MachineIndependent/glslang_tab.cpp"
12608|      0|    break;
12609|       |
12610|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12610:3): [True: 0, False: 2.73M]
  ------------------
12611|      0|#line 4141 "MachineIndependent/glslang.y"
12612|      0|                       {
12613|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12614|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12615|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12616|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12617|      0|    }
12618|      0|#line 12619 "MachineIndependent/glslang_tab.cpp"
12619|      0|    break;
12620|       |
12621|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12621:3): [True: 0, False: 2.73M]
  ------------------
12622|      0|#line 4150 "MachineIndependent/glslang.y"
12623|      0|                             {
12624|      0|        (yyval.interm.intermNode) = 0;
12625|      0|    }
12626|      0|#line 12627 "MachineIndependent/glslang_tab.cpp"
12627|      0|    break;
12628|       |
12629|      0|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12629:3): [True: 0, False: 2.73M]
  ------------------
12630|      0|#line 4153 "MachineIndependent/glslang.y"
12631|      0|                                            {
12632|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12632:13): [True: 0, False: 0]
  |  Branch (12632:46): [True: 0, False: 0]
  ------------------
12633|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12634|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12635|      0|        }
12636|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12637|      0|    }
12638|      0|#line 12639 "MachineIndependent/glslang_tab.cpp"
12639|      0|    break;
12640|       |
12641|      0|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12641:3): [True: 0, False: 2.73M]
  ------------------
12642|      0|#line 4163 "MachineIndependent/glslang.y"
12643|      0|                {
12644|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12645|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12645:13): [True: 0, False: 0]
  |  Branch (12645:45): [True: 0, False: 0]
  |  Branch (12645:97): [True: 0, False: 0]
  ------------------
12646|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12646:45): [True: 0, False: 0]
  ------------------
12647|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12648|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12649|      0|        }
12650|      0|    }
12651|      0|#line 12652 "MachineIndependent/glslang_tab.cpp"
12652|      0|    break;
12653|       |
12654|      0|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12654:3): [True: 0, False: 2.73M]
  ------------------
12655|      0|#line 4171 "MachineIndependent/glslang.y"
12656|      0|                               {
12657|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12657:13): [True: 0, False: 0]
  |  Branch (12657:45): [True: 0, False: 0]
  |  Branch (12657:97): [True: 0, False: 0]
  ------------------
12658|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12658:45): [True: 0, False: 0]
  ------------------
12659|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12659:50): [True: 0, False: 0]
  ------------------
12660|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12661|      0|        } else
12662|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12663|      0|    }
12664|      0|#line 12665 "MachineIndependent/glslang_tab.cpp"
12665|      0|    break;
12666|       |
12667|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12667:3): [True: 0, False: 2.73M]
  ------------------
12668|      0|#line 4182 "MachineIndependent/glslang.y"
12669|      0|                 { (yyval.interm.intermNode) = 0; }
12670|      0|#line 12671 "MachineIndependent/glslang_tab.cpp"
12671|      0|    break;
12672|       |
12673|      0|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12673:3): [True: 0, False: 2.73M]
  ------------------
12674|      0|#line 4183 "MachineIndependent/glslang.y"
12675|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12676|      0|#line 12677 "MachineIndependent/glslang_tab.cpp"
12677|      0|    break;
12678|       |
12679|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12679:3): [True: 0, False: 2.73M]
  ------------------
12680|      0|#line 4187 "MachineIndependent/glslang.y"
12681|      0|                                        {
12682|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12683|      0|    }
12684|      0|#line 12685 "MachineIndependent/glslang_tab.cpp"
12685|      0|    break;
12686|       |
12687|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12687:3): [True: 0, False: 2.73M]
  ------------------
12688|      0|#line 4190 "MachineIndependent/glslang.y"
12689|      0|                                                  {
12690|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12691|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12692|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12693|      0|    }
12694|      0|#line 12695 "MachineIndependent/glslang_tab.cpp"
12695|      0|    break;
12696|       |
12697|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12697:3): [True: 0, False: 2.73M]
  ------------------
12698|      0|#line 4197 "MachineIndependent/glslang.y"
12699|      0|                                                                    {
12700|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12701|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12702|      0|    }
12703|      0|#line 12704 "MachineIndependent/glslang_tab.cpp"
12704|      0|    break;
12705|       |
12706|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12706:3): [True: 0, False: 2.73M]
  ------------------
12707|      0|#line 4204 "MachineIndependent/glslang.y"
12708|      0|                                             {
12709|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12710|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12711|      0|    }
12712|      0|#line 12713 "MachineIndependent/glslang_tab.cpp"
12713|      0|    break;
12714|       |
12715|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12715:3): [True: 0, False: 2.73M]
  ------------------
12716|      0|#line 4208 "MachineIndependent/glslang.y"
12717|      0|                       {
12718|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12719|      0|        (yyval.interm.nodePair).node2 = 0;
12720|      0|    }
12721|      0|#line 12722 "MachineIndependent/glslang_tab.cpp"
12722|      0|    break;
12723|       |
12724|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12724:3): [True: 0, False: 2.73M]
  ------------------
12725|      0|#line 4216 "MachineIndependent/glslang.y"
12726|      0|                 {
12727|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12728|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12729|      0|    }
12730|      0|#line 12731 "MachineIndependent/glslang_tab.cpp"
12731|      0|    break;
12732|       |
12733|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12733:3): [True: 0, False: 2.73M]
  ------------------
12734|      0|#line 4220 "MachineIndependent/glslang.y"
12735|      0|                                                        {
12736|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12737|       |
12738|      0|        TType type((yyvsp[-3].interm.type));
12739|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12740|      0|    }
12741|      0|#line 12742 "MachineIndependent/glslang_tab.cpp"
12742|      0|    break;
12743|       |
12744|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12744:3): [True: 0, False: 2.73M]
  ------------------
12745|      0|#line 4229 "MachineIndependent/glslang.y"
12746|      0|                                     {
12747|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12748|      0|    }
12749|      0|#line 12750 "MachineIndependent/glslang_tab.cpp"
12750|      0|    break;
12751|       |
12752|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12752:3): [True: 0, False: 2.73M]
  ------------------
12753|      0|#line 4232 "MachineIndependent/glslang.y"
12754|      0|                                               {
12755|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12756|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12757|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12758|      0|    }
12759|      0|#line 12760 "MachineIndependent/glslang_tab.cpp"
12760|      0|    break;
12761|       |
12762|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12762:3): [True: 0, False: 2.73M]
  ------------------
12763|      0|#line 4239 "MachineIndependent/glslang.y"
12764|      0|                                               {
12765|       |        // start new switch sequence on the switch stack
12766|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12769|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12770|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12771|      0|    }
12772|      0|#line 12773 "MachineIndependent/glslang_tab.cpp"
12773|      0|    break;
12774|       |
12775|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12775:3): [True: 0, False: 2.73M]
  ------------------
12776|      0|#line 4247 "MachineIndependent/glslang.y"
12777|      0|                                                 {
12778|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12778:117): [True: 0, False: 0]
  ------------------
12779|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12780|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12781|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12782|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12783|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12784|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12785|      0|    }
12786|      0|#line 12787 "MachineIndependent/glslang_tab.cpp"
12787|      0|    break;
12788|       |
12789|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12789:3): [True: 0, False: 2.73M]
  ------------------
12790|      0|#line 4259 "MachineIndependent/glslang.y"
12791|      0|                    {
12792|      0|        (yyval.interm.intermNode) = 0;
12793|      0|    }
12794|      0|#line 12795 "MachineIndependent/glslang_tab.cpp"
12795|      0|    break;
12796|       |
12797|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12797:3): [True: 0, False: 2.73M]
  ------------------
12798|      0|#line 4262 "MachineIndependent/glslang.y"
12799|      0|                     {
12800|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12801|      0|    }
12802|      0|#line 12803 "MachineIndependent/glslang_tab.cpp"
12803|      0|    break;
12804|       |
12805|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12805:3): [True: 0, False: 2.73M]
  ------------------
12806|      0|#line 4268 "MachineIndependent/glslang.y"
12807|      0|                            {
12808|      0|        (yyval.interm.intermNode) = 0;
12809|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12809:13): [True: 0, False: 0]
  ------------------
12810|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12811|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12811:18): [True: 0, False: 0]
  ------------------
12812|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12813|      0|        else {
12814|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12815|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12816|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12817|      0|        }
12818|      0|    }
12819|      0|#line 12820 "MachineIndependent/glslang_tab.cpp"
12820|      0|    break;
12821|       |
12822|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12822:3): [True: 0, False: 2.73M]
  ------------------
12823|      0|#line 4280 "MachineIndependent/glslang.y"
12824|      0|                    {
12825|      0|        (yyval.interm.intermNode) = 0;
12826|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12826:13): [True: 0, False: 0]
  ------------------
12827|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12828|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12828:18): [True: 0, False: 0]
  ------------------
12829|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12830|      0|        else
12831|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12832|      0|    }
12833|      0|#line 12834 "MachineIndependent/glslang_tab.cpp"
12834|      0|    break;
12835|       |
12836|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12836:3): [True: 0, False: 2.73M]
  ------------------
12837|      0|#line 4292 "MachineIndependent/glslang.y"
12838|      0|                                        {
12839|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12840|      0|    }
12841|      0|#line 12842 "MachineIndependent/glslang_tab.cpp"
12842|      0|    break;
12843|       |
12844|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12844:3): [True: 0, False: 2.73M]
  ------------------
12845|      0|#line 4295 "MachineIndependent/glslang.y"
12846|      0|                                                  {
12847|      0|        const char * extensions[3] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2, E_GL_QCOM_multiple_wait_queues };
12848|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12849|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12850|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12851|      0|    }
12852|      0|#line 12853 "MachineIndependent/glslang_tab.cpp"
12853|      0|    break;
12854|       |
12855|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12855:3): [True: 0, False: 2.73M]
  ------------------
12856|      0|#line 4303 "MachineIndependent/glslang.y"
12857|      0|                       {
12858|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12858:13): [True: 0, False: 0]
  ------------------
12859|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12863|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12864|      0|    }
12865|      0|#line 12866 "MachineIndependent/glslang_tab.cpp"
12866|      0|    break;
12867|       |
12868|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12868:3): [True: 0, False: 2.73M]
  ------------------
12869|      0|#line 4311 "MachineIndependent/glslang.y"
12870|      0|                                                   {
12871|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12873|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12873:13): [True: 0, False: 0]
  ------------------
12874|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12875|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12876|      0|        }
12877|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12879|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12880|      0|    }
12881|      0|#line 12882 "MachineIndependent/glslang_tab.cpp"
12882|      0|    break;
12883|       |
12884|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12884:3): [True: 0, False: 2.73M]
  ------------------
12885|      0|#line 4322 "MachineIndependent/glslang.y"
12886|      0|         {
12887|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12889|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12890|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12891|      0|    }
12892|      0|#line 12893 "MachineIndependent/glslang_tab.cpp"
12893|      0|    break;
12894|       |
12895|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12895:3): [True: 0, False: 2.73M]
  ------------------
12896|      0|#line 4328 "MachineIndependent/glslang.y"
12897|      0|                                                                  {
12898|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12898:13): [True: 0, False: 0]
  ------------------
12899|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12900|       |
12901|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12902|       |
12903|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12904|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12904:13): [True: 0, False: 0]
  ------------------
12905|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12906|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12907|      0|        }
12908|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12909|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12911|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12912|      0|    }
12913|      0|#line 12914 "MachineIndependent/glslang_tab.cpp"
12914|      0|    break;
12915|       |
12916|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12916:3): [True: 0, False: 2.73M]
  ------------------
12917|      0|#line 4344 "MachineIndependent/glslang.y"
12918|      0|                     {
12919|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12923|      0|    }
12924|      0|#line 12925 "MachineIndependent/glslang_tab.cpp"
12925|      0|    break;
12926|       |
12927|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12927:3): [True: 0, False: 2.73M]
  ------------------
12928|      0|#line 4350 "MachineIndependent/glslang.y"
12929|      0|                                                                               {
12930|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12931|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12932|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12933|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12933:13): [True: 0, False: 0]
  ------------------
12934|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12935|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12936|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12936:66): [True: 0, False: 0]
  ------------------
12937|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12938|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12939|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12940|      0|    }
12941|      0|#line 12942 "MachineIndependent/glslang_tab.cpp"
12942|      0|    break;
12943|       |
12944|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12944:3): [True: 0, False: 2.73M]
  ------------------
12945|      0|#line 4365 "MachineIndependent/glslang.y"
12946|      0|                           {
12947|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12948|      0|    }
12949|      0|#line 12950 "MachineIndependent/glslang_tab.cpp"
12950|      0|    break;
12951|       |
12952|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12952:3): [True: 0, False: 2.73M]
  ------------------
12953|      0|#line 4368 "MachineIndependent/glslang.y"
12954|      0|                            {
12955|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12956|      0|    }
12957|      0|#line 12958 "MachineIndependent/glslang_tab.cpp"
12958|      0|    break;
12959|       |
12960|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12960:3): [True: 0, False: 2.73M]
  ------------------
12961|      0|#line 4374 "MachineIndependent/glslang.y"
12962|      0|                {
12963|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12964|      0|    }
12965|      0|#line 12966 "MachineIndependent/glslang_tab.cpp"
12966|      0|    break;
12967|       |
12968|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12968:3): [True: 0, False: 2.73M]
  ------------------
12969|      0|#line 4377 "MachineIndependent/glslang.y"
12970|      0|                        {
12971|      0|        (yyval.interm.intermNode) = 0;
12972|      0|    }
12973|      0|#line 12974 "MachineIndependent/glslang_tab.cpp"
12974|      0|    break;
12975|       |
12976|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12976:3): [True: 0, False: 2.73M]
  ------------------
12977|      0|#line 4383 "MachineIndependent/glslang.y"
12978|      0|                             {
12979|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12980|      0|        (yyval.interm.nodePair).node2 = 0;
12981|      0|    }
12982|      0|#line 12983 "MachineIndependent/glslang_tab.cpp"
12983|      0|    break;
12984|       |
12985|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12985:3): [True: 0, False: 2.73M]
  ------------------
12986|      0|#line 4387 "MachineIndependent/glslang.y"
12987|      0|                                         {
12988|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12989|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12990|      0|    }
12991|      0|#line 12992 "MachineIndependent/glslang_tab.cpp"
12992|      0|    break;
12993|       |
12994|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12994:3): [True: 0, False: 2.73M]
  ------------------
12995|      0|#line 4394 "MachineIndependent/glslang.y"
12996|      0|                         {
12997|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12997:13): [True: 0, False: 0]
  ------------------
12998|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12999|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13000|      0|    }
13001|      0|#line 13002 "MachineIndependent/glslang_tab.cpp"
13002|      0|    break;
13003|       |
13004|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (13004:3): [True: 0, False: 2.73M]
  ------------------
13005|      0|#line 4399 "MachineIndependent/glslang.y"
13006|      0|                      {
13007|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13007:13): [True: 0, False: 0]
  ------------------
13008|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13009|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13010|      0|    }
13011|      0|#line 13012 "MachineIndependent/glslang_tab.cpp"
13012|      0|    break;
13013|       |
13014|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (13014:3): [True: 0, False: 2.73M]
  ------------------
13015|      0|#line 4404 "MachineIndependent/glslang.y"
13016|      0|                       {
13017|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13018|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13018:13): [True: 0, False: 0]
  ------------------
13019|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13020|      0|        if (parseContext.inMain)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13020:13): [True: 0, False: 0]
  ------------------
13021|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13022|      0|    }
13023|      0|#line 13024 "MachineIndependent/glslang_tab.cpp"
13024|      0|    break;
13025|       |
13026|      0|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13026:3): [True: 0, False: 2.73M]
  ------------------
13027|      0|#line 4411 "MachineIndependent/glslang.y"
13028|      0|                                  {
13029|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13030|      0|    }
13031|      0|#line 13032 "MachineIndependent/glslang_tab.cpp"
13032|      0|    break;
13033|       |
13034|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13034:3): [True: 0, False: 2.73M]
  ------------------
13035|      0|#line 4414 "MachineIndependent/glslang.y"
13036|      0|                        {
13037|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13039|      0|    }
13040|      0|#line 13041 "MachineIndependent/glslang_tab.cpp"
13041|      0|    break;
13042|       |
13043|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13043:3): [True: 0, False: 2.73M]
  ------------------
13044|      0|#line 4418 "MachineIndependent/glslang.y"
13045|      0|                                     {
13046|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13048|      0|    }
13049|      0|#line 13050 "MachineIndependent/glslang_tab.cpp"
13050|      0|    break;
13051|       |
13052|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13052:3): [True: 0, False: 2.73M]
  ------------------
13053|      0|#line 4422 "MachineIndependent/glslang.y"
13054|      0|                              {
13055|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13057|      0|    }
13058|      0|#line 13059 "MachineIndependent/glslang_tab.cpp"
13059|      0|    break;
13060|       |
13061|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13061:3): [True: 0, False: 2.73M]
  ------------------
13062|      0|#line 4426 "MachineIndependent/glslang.y"
13063|      0|                                    {
13064|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13065|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13066|      0|    }
13067|      0|#line 13068 "MachineIndependent/glslang_tab.cpp"
13068|      0|    break;
13069|       |
13070|    243|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13070:3): [True: 243, False: 2.73M]
  ------------------
13071|    243|#line 4435 "MachineIndependent/glslang.y"
13072|    243|                           {
13073|    243|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13074|    243|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    243|#define parseContext (*pParseContext)
  ------------------
13075|    243|    }
13076|    243|#line 13077 "MachineIndependent/glslang_tab.cpp"
13077|    243|    break;
13078|       |
13079|  95.9k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13079:3): [True: 95.9k, False: 2.64M]
  ------------------
13080|  95.9k|#line 4439 "MachineIndependent/glslang.y"
13081|  95.9k|                                            {
13082|  95.9k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13082:13): [True: 0, False: 95.9k]
  ------------------
13083|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13084|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13085|      0|        }
13086|  95.9k|    }
13087|  95.9k|#line 13088 "MachineIndependent/glslang_tab.cpp"
13088|  95.9k|    break;
13089|       |
13090|      0|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13090:3): [True: 0, False: 2.73M]
  ------------------
13091|      0|#line 4448 "MachineIndependent/glslang.y"
13092|      0|                          {
13093|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13094|      0|    }
13095|      0|#line 13096 "MachineIndependent/glslang_tab.cpp"
13096|      0|    break;
13097|       |
13098|  96.1k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13098:3): [True: 96.1k, False: 2.64M]
  ------------------
13099|  96.1k|#line 4451 "MachineIndependent/glslang.y"
13100|  96.1k|                  {
13101|  96.1k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13102|  96.1k|    }
13103|  96.1k|#line 13104 "MachineIndependent/glslang_tab.cpp"
13104|  96.1k|    break;
13105|       |
13106|      0|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13106:3): [True: 0, False: 2.73M]
  ------------------
13107|      0|#line 4454 "MachineIndependent/glslang.y"
13108|      0|                {
13109|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13110|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13111|      0|        (yyval.interm.intermNode) = nullptr;
13112|      0|    }
13113|      0|#line 13114 "MachineIndependent/glslang_tab.cpp"
13114|      0|    break;
13115|       |
13116|      0|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13116:3): [True: 0, False: 2.73M]
  ------------------
13117|      0|#line 4462 "MachineIndependent/glslang.y"
13118|      0|                         {
13119|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13120|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13121|       |
13122|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13123|       |        // body has a scope nested inside the function's definition.
13124|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13124:13): [True: 0, False: 0]
  |  Branch (13124:51): [True: 0, False: 0]
  ------------------
13125|      0|        {
13126|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13127|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13128|      0|        }
13129|      0|    }
13130|      0|#line 13131 "MachineIndependent/glslang_tab.cpp"
13131|      0|    break;
13132|       |
13133|      0|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13133:3): [True: 0, False: 2.73M]
  ------------------
13134|      0|#line 4474 "MachineIndependent/glslang.y"
13135|      0|                                    {
13136|       |        //   May be best done as post process phase on intermediate code
13137|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13137:13): [True: 0, False: 0]
  |  Branch (13137:76): [True: 0, False: 0]
  ------------------
13138|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", "%s", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13139|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13140|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13141|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13142|      0|        (yyval.interm.intermNode)->getAsAggregate()->setFunctionControl((yyvsp[-2].interm).function->getFunctionControl());
13143|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13144|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13145|       |
13146|       |        // store the pragma information for debug and optimize and other vendor specific
13147|       |        // information. This information can be queried from the parse tree
13148|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13149|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13150|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13151|       |
13152|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13153|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13154|       |
13155|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13156|       |        // body has a scope nested inside the function's definition.
13157|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13157:13): [True: 0, False: 0]
  |  Branch (13157:51): [True: 0, False: 0]
  ------------------
13158|      0|        {
13159|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13160|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13161|      0|        }
13162|      0|    }
13163|      0|#line 13164 "MachineIndependent/glslang_tab.cpp"
13164|      0|    break;
13165|       |
13166|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13166:3): [True: 0, False: 2.73M]
  ------------------
13167|      0|#line 4505 "MachineIndependent/glslang.y"
13168|      0|                                                                           {
13169|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13170|      0|    }
13171|      0|#line 13172 "MachineIndependent/glslang_tab.cpp"
13172|      0|    break;
13173|       |
13174|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13174:3): [True: 0, False: 2.73M]
  ------------------
13175|      0|#line 4510 "MachineIndependent/glslang.y"
13176|      0|                       {
13177|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13178|      0|    }
13179|      0|#line 13180 "MachineIndependent/glslang_tab.cpp"
13180|      0|    break;
13181|       |
13182|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13182:3): [True: 0, False: 2.73M]
  ------------------
13183|      0|#line 4513 "MachineIndependent/glslang.y"
13184|      0|                                            {
13185|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13186|      0|    }
13187|      0|#line 13188 "MachineIndependent/glslang_tab.cpp"
13188|      0|    break;
13189|       |
13190|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13190:3): [True: 0, False: 2.73M]
  ------------------
13191|      0|#line 4518 "MachineIndependent/glslang.y"
13192|      0|                 {
13193|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13194|      0|    }
13195|      0|#line 13196 "MachineIndependent/glslang_tab.cpp"
13196|      0|    break;
13197|       |
13198|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13198:3): [True: 0, False: 2.73M]
  ------------------
13199|      0|#line 4521 "MachineIndependent/glslang.y"
13200|      0|                                                            {
13201|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13202|      0|    }
13203|      0|#line 13204 "MachineIndependent/glslang_tab.cpp"
13204|      0|    break;
13205|       |
13206|      0|  case 695: /* single_attribute: INLINE  */
  ------------------
  |  Branch (13206:3): [True: 0, False: 2.73M]
  ------------------
13207|      0|#line 4524 "MachineIndependent/glslang.y"
13208|      0|             {
13209|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("inline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13210|      0|    }
13211|      0|#line 13212 "MachineIndependent/glslang_tab.cpp"
13212|      0|    break;
13213|       |
13214|      0|  case 696: /* single_attribute: NOINLINE  */
  ------------------
  |  Branch (13214:3): [True: 0, False: 2.73M]
  ------------------
13215|      0|#line 4527 "MachineIndependent/glslang.y"
13216|      0|               {
13217|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("noinline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13218|      0|    }
13219|      0|#line 13220 "MachineIndependent/glslang_tab.cpp"
13220|      0|    break;
13221|       |
13222|      0|  case 697: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13222:3): [True: 0, False: 2.73M]
  ------------------
13223|      0|#line 4532 "MachineIndependent/glslang.y"
13224|      0|                                   {
13225|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13226|      0|    }
13227|      0|#line 13228 "MachineIndependent/glslang_tab.cpp"
13228|      0|    break;
13229|       |
13230|      0|  case 698: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13230:3): [True: 0, False: 2.73M]
  ------------------
13231|      0|#line 4535 "MachineIndependent/glslang.y"
13232|      0|                                                                 {
13233|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13234|      0|    }
13235|      0|#line 13236 "MachineIndependent/glslang_tab.cpp"
13236|      0|    break;
13237|       |
13238|      0|  case 699: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13238:3): [True: 0, False: 2.73M]
  ------------------
13239|      0|#line 4540 "MachineIndependent/glslang.y"
13240|      0|                                                                       {
13241|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13242|      0|    }
13243|      0|#line 13244 "MachineIndependent/glslang_tab.cpp"
13244|      0|    break;
13245|       |
13246|      0|  case 700: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13246:3): [True: 0, False: 2.73M]
  ------------------
13247|      0|#line 4543 "MachineIndependent/glslang.y"
13248|      0|                                                                        {
13249|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13250|      0|    }
13251|      0|#line 13252 "MachineIndependent/glslang_tab.cpp"
13252|      0|    break;
13253|       |
13254|      0|  case 701: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13254:3): [True: 0, False: 2.73M]
  ------------------
13255|      0|#line 4548 "MachineIndependent/glslang.y"
13256|      0|                     {
13257|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13258|      0|    }
13259|      0|#line 13260 "MachineIndependent/glslang_tab.cpp"
13260|      0|    break;
13261|       |
13262|      0|  case 702: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13262:3): [True: 0, False: 2.73M]
  ------------------
13263|      0|#line 4551 "MachineIndependent/glslang.y"
13264|      0|                                                {
13265|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13266|      0|    }
13267|      0|#line 13268 "MachineIndependent/glslang_tab.cpp"
13268|      0|    break;
13269|       |
13270|      0|  case 703: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13270:3): [True: 0, False: 2.73M]
  ------------------
13271|      0|#line 4556 "MachineIndependent/glslang.y"
13272|      0|                  {
13273|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13274|      0|    }
13275|      0|#line 13276 "MachineIndependent/glslang_tab.cpp"
13276|      0|    break;
13277|       |
13278|      0|  case 704: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13278:3): [True: 0, False: 2.73M]
  ------------------
13279|      0|#line 4559 "MachineIndependent/glslang.y"
13280|      0|                                              {
13281|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13282|      0|    }
13283|      0|#line 13284 "MachineIndependent/glslang_tab.cpp"
13284|      0|    break;
13285|       |
13286|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13286:3): [True: 0, False: 2.73M]
  ------------------
13287|      0|#line 4564 "MachineIndependent/glslang.y"
13288|      0|                                                              {
13289|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13290|      0|        (yyval.interm.intermNode) = 0;
13291|      0|    }
13292|      0|#line 13293 "MachineIndependent/glslang_tab.cpp"
13293|      0|    break;
13294|       |
13295|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13295:3): [True: 0, False: 2.73M]
  ------------------
13296|      0|#line 4568 "MachineIndependent/glslang.y"
13297|      0|                                                                                            {
13298|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13299|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13300|      0|        (yyval.interm.intermNode) = 0;
13301|      0|    }
13302|      0|#line 13303 "MachineIndependent/glslang_tab.cpp"
13303|      0|    break;
13304|       |
13305|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13305:3): [True: 0, False: 2.73M]
  ------------------
13306|      0|#line 4573 "MachineIndependent/glslang.y"
13307|      0|                                                                                                        {
13308|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13309|      0|        (yyval.interm.intermNode) = 0;
13310|      0|    }
13311|      0|#line 13312 "MachineIndependent/glslang_tab.cpp"
13312|      0|    break;
13313|       |
13314|      0|  case 708: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13314:3): [True: 0, False: 2.73M]
  ------------------
13315|      0|#line 4577 "MachineIndependent/glslang.y"
13316|      0|                                                                                                                                      {
13317|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13318|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13319|      0|        (yyval.interm.intermNode) = 0;
13320|      0|    }
13321|      0|#line 13322 "MachineIndependent/glslang_tab.cpp"
13322|      0|    break;
13323|       |
13324|      0|  case 709: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13324:3): [True: 0, False: 2.73M]
  ------------------
13325|      0|#line 4582 "MachineIndependent/glslang.y"
13326|      0|                                                                                                              {
13327|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13328|      0|        (yyval.interm.intermNode) = 0;
13329|      0|    }
13330|      0|#line 13331 "MachineIndependent/glslang_tab.cpp"
13331|      0|    break;
13332|       |
13333|      0|  case 710: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13333:3): [True: 0, False: 2.73M]
  ------------------
13334|      0|#line 4586 "MachineIndependent/glslang.y"
13335|      0|                                                                                                                                            {
13336|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13337|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13338|      0|        (yyval.interm.intermNode) = 0;
13339|      0|    }
13340|      0|#line 13341 "MachineIndependent/glslang_tab.cpp"
13341|      0|    break;
13342|       |
13343|      0|  case 711: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13343:3): [True: 0, False: 2.73M]
  ------------------
13344|      0|#line 4593 "MachineIndependent/glslang.y"
13345|      0|                                     {
13346|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13347|      0|    }
13348|      0|#line 13349 "MachineIndependent/glslang_tab.cpp"
13349|      0|    break;
13350|       |
13351|      0|  case 712: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13351:3): [True: 0, False: 2.73M]
  ------------------
13352|      0|#line 4596 "MachineIndependent/glslang.y"
13353|      0|                                                                               {
13354|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13355|      0|    }
13356|      0|#line 13357 "MachineIndependent/glslang_tab.cpp"
13357|      0|    break;
13358|       |
13359|      0|  case 713: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13359:3): [True: 0, False: 2.73M]
  ------------------
13360|      0|#line 4601 "MachineIndependent/glslang.y"
13361|      0|                    {
13362|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13363|      0|    }
13364|      0|#line 13365 "MachineIndependent/glslang_tab.cpp"
13365|      0|    break;
13366|       |
13367|      0|  case 714: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13367:3): [True: 0, False: 2.73M]
  ------------------
13368|      0|#line 4604 "MachineIndependent/glslang.y"
13369|      0|                  {
13370|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13371|      0|    }
13372|      0|#line 13373 "MachineIndependent/glslang_tab.cpp"
13373|      0|    break;
13374|       |
13375|      0|  case 715: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13375:3): [True: 0, False: 2.73M]
  ------------------
13376|      0|#line 4607 "MachineIndependent/glslang.y"
13377|      0|                   {
13378|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13379|      0|    }
13380|      0|#line 13381 "MachineIndependent/glslang_tab.cpp"
13381|      0|    break;
13382|       |
13383|      0|  case 716: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13383:3): [True: 0, False: 2.73M]
  ------------------
13384|      0|#line 4610 "MachineIndependent/glslang.y"
13385|      0|                   {
13386|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13387|      0|    }
13388|      0|#line 13389 "MachineIndependent/glslang_tab.cpp"
13389|      0|    break;
13390|       |
13391|      0|  case 717: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13391:3): [True: 0, False: 2.73M]
  ------------------
13392|      0|#line 4613 "MachineIndependent/glslang.y"
13393|      0|                     {
13394|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13395|      0|    }
13396|      0|#line 13397 "MachineIndependent/glslang_tab.cpp"
13397|      0|    break;
13398|       |
13399|      0|  case 718: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13399:3): [True: 0, False: 2.73M]
  ------------------
13400|      0|#line 4618 "MachineIndependent/glslang.y"
13401|      0|                          {
13402|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13402:13): [True: 0, False: 0]
  ------------------
13403|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13403:13): [True: 0, False: 0]
  ------------------
13404|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13404:13): [True: 0, False: 0]
  ------------------
13405|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13405:13): [True: 0, False: 0]
  ------------------
13406|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13406:13): [True: 0, False: 0]
  ------------------
13407|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13408|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13409|      0|    }
13410|      0|#line 13411 "MachineIndependent/glslang_tab.cpp"
13411|      0|    break;
13412|       |
13413|      0|  case 719: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13413:3): [True: 0, False: 2.73M]
  ------------------
13414|      0|#line 4627 "MachineIndependent/glslang.y"
13415|      0|                                                                       {
13416|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13416:13): [True: 0, False: 0]
  ------------------
13417|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13417:13): [True: 0, False: 0]
  ------------------
13418|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13418:13): [True: 0, False: 0]
  ------------------
13419|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13419:13): [True: 0, False: 0]
  ------------------
13420|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13420:13): [True: 0, False: 0]
  ------------------
13421|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13422|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13423|      0|    }
13424|      0|#line 13425 "MachineIndependent/glslang_tab.cpp"
13425|      0|    break;
13426|       |
13427|      0|  case 720: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13427:3): [True: 0, False: 2.73M]
  ------------------
13428|      0|#line 4638 "MachineIndependent/glslang.y"
13429|      0|                                                             {
13430|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13431|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13432|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13433|      0|    }
13434|      0|#line 13435 "MachineIndependent/glslang_tab.cpp"
13435|      0|    break;
13436|       |
13437|      0|  case 721: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13437:3): [True: 0, False: 2.73M]
  ------------------
13438|      0|#line 4643 "MachineIndependent/glslang.y"
13439|      0|                                                                                           {
13440|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13441|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13442|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13443|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13444|      0|    }
13445|      0|#line 13446 "MachineIndependent/glslang_tab.cpp"
13446|      0|    break;
13447|       |
13448|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13448:3): [True: 0, False: 2.73M]
  ------------------
13449|      0|#line 4651 "MachineIndependent/glslang.y"
13450|      0|                                                       {
13451|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13452|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13453|      0|    }
13454|      0|#line 13455 "MachineIndependent/glslang_tab.cpp"
13455|      0|    break;
13456|       |
13457|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13457:3): [True: 0, False: 2.73M]
  ------------------
13458|      0|#line 4655 "MachineIndependent/glslang.y"
13459|      0|                                                                                     {
13460|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13461|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13462|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13463|      0|    }
13464|      0|#line 13465 "MachineIndependent/glslang_tab.cpp"
13465|      0|    break;
13466|       |
13467|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13467:3): [True: 0, False: 2.73M]
  ------------------
13468|      0|#line 4660 "MachineIndependent/glslang.y"
13469|      0|                                                                                            {
13470|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13471|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13472|      0|    }
13473|      0|#line 13474 "MachineIndependent/glslang_tab.cpp"
13474|      0|    break;
13475|       |
13476|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13476:3): [True: 0, False: 2.73M]
  ------------------
13477|      0|#line 4664 "MachineIndependent/glslang.y"
13478|      0|                                                                                                                          {
13479|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13480|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13481|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13482|      0|    }
13483|      0|#line 13484 "MachineIndependent/glslang_tab.cpp"
13484|      0|    break;
13485|       |
13486|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13486:3): [True: 0, False: 2.73M]
  ------------------
13487|      0|#line 4669 "MachineIndependent/glslang.y"
13488|      0|                                                                                                  {
13489|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13490|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13491|      0|    }
13492|      0|#line 13493 "MachineIndependent/glslang_tab.cpp"
13493|      0|    break;
13494|       |
13495|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13495:3): [True: 0, False: 2.73M]
  ------------------
13496|      0|#line 4673 "MachineIndependent/glslang.y"
13497|      0|                                                                                                                                {
13498|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13499|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13500|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13501|      0|    }
13502|      0|#line 13503 "MachineIndependent/glslang_tab.cpp"
13503|      0|    break;
13504|       |
13505|      0|  case 728: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13505:3): [True: 0, False: 2.73M]
  ------------------
13506|      0|#line 4678 "MachineIndependent/glslang.y"
13507|      0|                                                                                                          {
13508|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13509|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13510|      0|    }
13511|      0|#line 13512 "MachineIndependent/glslang_tab.cpp"
13512|      0|    break;
13513|       |
13514|      0|  case 729: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13514:3): [True: 0, False: 2.73M]
  ------------------
13515|      0|#line 4682 "MachineIndependent/glslang.y"
13516|      0|                                                                                                                                        {
13517|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13518|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13519|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13520|      0|    }
13521|      0|#line 13522 "MachineIndependent/glslang_tab.cpp"
13522|      0|    break;
13523|       |
13524|      0|  case 730: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13524:3): [True: 0, False: 2.73M]
  ------------------
13525|      0|#line 4689 "MachineIndependent/glslang.y"
13526|      0|                               {
13527|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13528|      0|    }
13529|      0|#line 13530 "MachineIndependent/glslang_tab.cpp"
13530|      0|    break;
13531|       |
13532|      0|  case 731: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13532:3): [True: 0, False: 2.73M]
  ------------------
13533|      0|#line 4692 "MachineIndependent/glslang.y"
13534|      0|                                                                   {
13535|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13536|      0|    }
13537|      0|#line 13538 "MachineIndependent/glslang_tab.cpp"
13538|      0|    break;
13539|       |
13540|      0|  case 732: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13540:3): [True: 0, False: 2.73M]
  ------------------
13541|      0|#line 4697 "MachineIndependent/glslang.y"
13542|      0|                    {
13543|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13544|      0|    }
13545|      0|#line 13546 "MachineIndependent/glslang_tab.cpp"
13546|      0|    break;
13547|       |
13548|      0|  case 733: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13548:3): [True: 0, False: 2.73M]
  ------------------
13549|      0|#line 4700 "MachineIndependent/glslang.y"
13550|      0|                  {
13551|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13552|      0|    }
13553|      0|#line 13554 "MachineIndependent/glslang_tab.cpp"
13554|      0|    break;
13555|       |
13556|      0|  case 734: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13556:3): [True: 0, False: 2.73M]
  ------------------
13557|      0|#line 4703 "MachineIndependent/glslang.y"
13558|      0|                   {
13559|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13560|      0|    }
13561|      0|#line 13562 "MachineIndependent/glslang_tab.cpp"
13562|      0|    break;
13563|       |
13564|      0|  case 735: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13564:3): [True: 0, False: 2.73M]
  ------------------
13565|      0|#line 4706 "MachineIndependent/glslang.y"
13566|      0|                   {
13567|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13568|      0|    }
13569|      0|#line 13570 "MachineIndependent/glslang_tab.cpp"
13570|      0|    break;
13571|       |
13572|      0|  case 736: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13572:3): [True: 0, False: 2.73M]
  ------------------
13573|      0|#line 4711 "MachineIndependent/glslang.y"
13574|      0|                                  {
13575|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13576|      0|    }
13577|      0|#line 13578 "MachineIndependent/glslang_tab.cpp"
13578|      0|    break;
13579|       |
13580|      0|  case 737: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13580:3): [True: 0, False: 2.73M]
  ------------------
13581|      0|#line 4714 "MachineIndependent/glslang.y"
13582|      0|                                                                         {
13583|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13584|      0|    }
13585|      0|#line 13586 "MachineIndependent/glslang_tab.cpp"
13586|      0|    break;
13587|       |
13588|      0|  case 738: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13588:3): [True: 0, False: 2.73M]
  ------------------
13589|      0|#line 4719 "MachineIndependent/glslang.y"
13590|      0|                          {
13591|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13591:13): [True: 0, False: 0]
  |  Branch (13591:72): [True: 0, False: 0]
  ------------------
13592|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13593|      0|        else
13594|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13595|      0|    }
13596|      0|#line 13597 "MachineIndependent/glslang_tab.cpp"
13597|      0|    break;
13598|       |
13599|      0|  case 739: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13599:3): [True: 0, False: 2.73M]
  ------------------
13600|      0|#line 4725 "MachineIndependent/glslang.y"
13601|      0|                    {
13602|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13603|      0|    }
13604|      0|#line 13605 "MachineIndependent/glslang_tab.cpp"
13605|      0|    break;
13606|       |
13607|      0|  case 740: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13607:3): [True: 0, False: 2.73M]
  ------------------
13608|      0|#line 4728 "MachineIndependent/glslang.y"
13609|      0|                  {
13610|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13611|      0|    }
13612|      0|#line 13613 "MachineIndependent/glslang_tab.cpp"
13613|      0|    break;
13614|       |
13615|      0|  case 741: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13615:3): [True: 0, False: 2.73M]
  ------------------
13616|      0|#line 4731 "MachineIndependent/glslang.y"
13617|      0|                   {
13618|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13619|      0|    }
13620|      0|#line 13621 "MachineIndependent/glslang_tab.cpp"
13621|      0|    break;
13622|       |
13623|      0|  case 742: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13623:3): [True: 0, False: 2.73M]
  ------------------
13624|      0|#line 4734 "MachineIndependent/glslang.y"
13625|      0|                   {
13626|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13627|      0|    }
13628|      0|#line 13629 "MachineIndependent/glslang_tab.cpp"
13629|      0|    break;
13630|       |
13631|      0|  case 743: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13631:3): [True: 0, False: 2.73M]
  ------------------
13632|      0|#line 4739 "MachineIndependent/glslang.y"
13633|      0|                     {
13634|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13635|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13636|      0|    }
13637|      0|#line 13638 "MachineIndependent/glslang_tab.cpp"
13638|      0|    break;
13639|       |
13640|      0|  case 744: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13640:3): [True: 0, False: 2.73M]
  ------------------
13641|      0|#line 4743 "MachineIndependent/glslang.y"
13642|      0|                                                                {
13643|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13644|      0|    }
13645|      0|#line 13646 "MachineIndependent/glslang_tab.cpp"
13646|      0|    break;
13647|       |
13648|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13648:3): [True: 0, False: 2.73M]
  ------------------
13649|      0|#line 4748 "MachineIndependent/glslang.y"
13650|      0|                                                                                                         {
13651|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13652|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13653|      0|    }
13654|      0|#line 13655 "MachineIndependent/glslang_tab.cpp"
13655|      0|    break;
13656|       |
13657|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13657:3): [True: 0, False: 2.73M]
  ------------------
13658|      0|#line 4752 "MachineIndependent/glslang.y"
13659|      0|                                                                                                                                       {
13660|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13661|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13662|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13663|      0|    }
13664|      0|#line 13665 "MachineIndependent/glslang_tab.cpp"
13665|      0|    break;
13666|       |
13667|      0|  case 747: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13667:3): [True: 0, False: 2.73M]
  ------------------
13668|      0|#line 4757 "MachineIndependent/glslang.y"
13669|      0|                                                                         {
13670|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13671|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13672|      0|    }
13673|      0|#line 13674 "MachineIndependent/glslang_tab.cpp"
13674|      0|    break;
13675|       |
13676|      0|  case 748: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13676:3): [True: 0, False: 2.73M]
  ------------------
13677|      0|#line 4761 "MachineIndependent/glslang.y"
13678|      0|                                                                                                       {
13679|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13680|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13681|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13682|      0|    }
13683|      0|#line 13684 "MachineIndependent/glslang_tab.cpp"
13684|      0|    break;
13685|       |
13686|      0|  case 749: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13686:3): [True: 0, False: 2.73M]
  ------------------
13687|      0|#line 4768 "MachineIndependent/glslang.y"
13688|      0|                           {
13689|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13690|      0|    }
13691|      0|#line 13692 "MachineIndependent/glslang_tab.cpp"
13692|      0|    break;
13693|       |
13694|      0|  case 750: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13694:3): [True: 0, False: 2.73M]
  ------------------
13695|      0|#line 4771 "MachineIndependent/glslang.y"
13696|      0|                                                           {
13697|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13698|      0|    }
13699|      0|#line 13700 "MachineIndependent/glslang_tab.cpp"
13700|      0|    break;
13701|       |
13702|      0|  case 751: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13702:3): [True: 0, False: 2.73M]
  ------------------
13703|      0|#line 4776 "MachineIndependent/glslang.y"
13704|      0|                          {
13705|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13706|      0|    }
13707|      0|#line 13708 "MachineIndependent/glslang_tab.cpp"
13708|      0|    break;
13709|       |
13710|      0|  case 752: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13710:3): [True: 0, False: 2.73M]
  ------------------
13711|      0|#line 4779 "MachineIndependent/glslang.y"
13712|      0|                              {
13713|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13714|      0|    }
13715|      0|#line 13716 "MachineIndependent/glslang_tab.cpp"
13716|      0|    break;
13717|       |
13718|      0|  case 753: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13718:3): [True: 0, False: 2.73M]
  ------------------
13719|      0|#line 4784 "MachineIndependent/glslang.y"
13720|      0|                                                                                {
13721|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13722|      0|    }
13723|      0|#line 13724 "MachineIndependent/glslang_tab.cpp"
13724|      0|    break;
13725|       |
13726|      0|  case 754: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13726:3): [True: 0, False: 2.73M]
  ------------------
13727|      0|#line 4787 "MachineIndependent/glslang.y"
13728|      0|                                                                                                              {
13729|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13730|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13731|      0|    }
13732|      0|#line 13733 "MachineIndependent/glslang_tab.cpp"
13733|      0|    break;
13734|       |
13735|      0|  case 755: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13735:3): [True: 0, False: 2.73M]
  ------------------
13736|      0|#line 4793 "MachineIndependent/glslang.y"
13737|      0|                                     {
13738|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13739|      0|    }
13740|      0|#line 13741 "MachineIndependent/glslang_tab.cpp"
13741|      0|    break;
13742|       |
13743|      0|  case 756: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13743:3): [True: 0, False: 2.73M]
  ------------------
13744|      0|#line 4796 "MachineIndependent/glslang.y"
13745|      0|                                                                            {
13746|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13747|      0|    }
13748|      0|#line 13749 "MachineIndependent/glslang_tab.cpp"
13749|      0|    break;
13750|       |
13751|      0|  case 757: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13751:3): [True: 0, False: 2.73M]
  ------------------
13752|      0|#line 4801 "MachineIndependent/glslang.y"
13753|      0|                                      {
13754|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13755|      0|    }
13756|      0|#line 13757 "MachineIndependent/glslang_tab.cpp"
13757|      0|    break;
13758|       |
13759|      0|  case 758: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13759:3): [True: 0, False: 2.73M]
  ------------------
13760|      0|#line 4804 "MachineIndependent/glslang.y"
13761|      0|                                   {
13762|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13763|      0|    }
13764|      0|#line 13765 "MachineIndependent/glslang_tab.cpp"
13765|      0|    break;
13766|       |
13767|       |
13768|      0|#line 13769 "MachineIndependent/glslang_tab.cpp"
13769|       |
13770|      0|      default: break;
  ------------------
  |  Branch (13770:7): [True: 0, False: 2.73M]
  ------------------
13771|  2.73M|    }
13772|       |  /* User semantic actions sometimes alter yychar, and that requires
13773|       |     that yytoken be updated with the new translation.  We take the
13774|       |     approach of translating immediately before every use of yytoken.
13775|       |     One alternative is translating here after every semantic action,
13776|       |     but that translation would be missed if the semantic action invokes
13777|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13778|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13779|       |     incorrect destructor might then be invoked immediately.  In the
13780|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13781|       |     to an incorrect destructor call or verbose syntax error message
13782|       |     before the lookahead is translated.  */
13783|  2.73M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5208|  2.73M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  2.73M|do {                                                                      \
  |  | 5210|  2.73M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 2.73M]
  |  |  ------------------
  |  | 5211|  2.73M|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  2.73M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 2.73M]
  |  |  ------------------
  ------------------
13784|       |
13785|  2.73M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|  2.73M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13786|  2.73M|  yylen = 0;
13787|       |
13788|  2.73M|  *++yyvsp = yyval;
13789|       |
13790|       |  /* Now 'shift' the result of the reduction.  Determine what state
13791|       |     that goes to, based on the state we popped back to and the rule
13792|       |     number reduced by.  */
13793|  2.73M|  {
13794|  2.73M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1116|  2.73M|#define YYNTOKENS  515
  ------------------
13795|  2.73M|    const int yyi = yypgoto[yylhs] + *yyssp;
13796|  2.73M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1113|  4.15M|#define YYLAST   15602
  ------------------
  |  Branch (13796:16): [True: 1.41M, False: 1.32M]
  |  Branch (13796:28): [True: 1.41M, False: 0]
  |  Branch (13796:45): [True: 925k, False: 489k]
  ------------------
13797|  2.73M|               ? yytable[yyi]
13798|  2.73M|               : yydefgoto[yylhs]);
13799|  2.73M|  }
13800|       |
13801|  2.73M|  goto yynewstate;
13802|       |
13803|       |
13804|       |/*--------------------------------------.
13805|       || yyerrlab -- here on detecting error.  |
13806|       |`--------------------------------------*/
13807|     60|yyerrlab:
13808|       |  /* Make sure we have latest lookahead translation.  See comments at
13809|       |     user semantic actions for why this is necessary.  */
13810|     60|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1131|    120|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     60|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 60, False: 0]
  |  |  |  Branch (1131:18): [True: 60, False: 0]
  |  |  ------------------
  |  | 1132|    120|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     60|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|    120|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13810:13): [True: 0, False: 60]
  ------------------
13811|       |  /* If not already recovering from an error, report this error.  */
13812|     60|  if (!yyerrstatus)
  ------------------
  |  Branch (13812:7): [True: 60, False: 0]
  ------------------
13813|     60|    {
13814|     60|      ++yynerrs;
13815|     60|      {
13816|     60|        yypcontext_t yyctx
13817|     60|          = {yyssp, yytoken};
13818|     60|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  915|     60|#  define YY_(Msgid) Msgid
  ------------------
13819|     60|        int yysyntax_error_status;
13820|     60|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13821|     60|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13821:13): [True: 60, False: 0]
  ------------------
13822|     60|          yymsgp = yymsg;
13823|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13823:18): [True: 0, False: 0]
  ------------------
13824|      0|          {
13825|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13825:17): [True: 0, False: 0]
  ------------------
13826|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13827|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13828|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13829|      0|            if (yymsg)
  ------------------
  |  Branch (13829:17): [True: 0, False: 0]
  ------------------
13830|      0|              {
13831|      0|                yysyntax_error_status
13832|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13833|      0|                yymsgp = yymsg;
13834|      0|              }
13835|      0|            else
13836|      0|              {
13837|      0|                yymsg = yymsgbuf;
13838|      0|                yymsg_alloc = sizeof yymsgbuf;
13839|      0|                yysyntax_error_status = YYENOMEM;
13840|      0|              }
13841|      0|          }
13842|     60|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  784|     60|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13843|     60|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13843:13): [True: 0, False: 60]
  ------------------
13844|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13845|     60|      }
13846|     60|    }
13847|       |
13848|     60|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13848:7): [True: 0, False: 60]
  ------------------
13849|      0|    {
13850|       |      /* If just tried and failed to reuse lookahead token after an
13851|       |         error, discard it.  */
13852|       |
13853|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13853:11): [True: 0, False: 0]
  ------------------
13854|      0|        {
13855|       |          /* Return failure if at end of input.  */
13856|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13856:15): [True: 0, False: 0]
  ------------------
13857|      0|            YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
13858|      0|        }
13859|      0|      else
13860|      0|        {
13861|      0|          yydestruct ("Error: discarding",
13862|      0|                      yytoken, &yylval, pParseContext);
13863|      0|          yychar = YYEMPTY;
13864|      0|        }
13865|      0|    }
13866|       |
13867|       |  /* Else will try to reuse lookahead token after shifting the error
13868|       |     token.  */
13869|     60|  goto yyerrlab1;
13870|       |
13871|       |
13872|       |/*---------------------------------------------------.
13873|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13874|       |`---------------------------------------------------*/
13875|     60|yyerrorlab:
13876|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13877|       |     label yyerrorlab therefore never appears in user code.  */
13878|      0|  if (0)
  ------------------
  |  Branch (13878:7): [Folded, False: 0]
  ------------------
13879|      0|    YYERROR;
  ------------------
  |  | 5163|      0|#define YYERROR         goto yyerrorlab
  ------------------
13880|      0|  ++yynerrs;
13881|       |
13882|       |  /* Do not reclaim the symbols of the rule whose action triggered
13883|       |     this YYERROR.  */
13884|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13885|      0|  yylen = 0;
13886|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13887|      0|  yystate = *yyssp;
13888|      0|  goto yyerrlab1;
13889|       |
13890|       |
13891|       |/*-------------------------------------------------------------.
13892|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13893|       |`-------------------------------------------------------------*/
13894|     60|yyerrlab1:
13895|     60|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13896|       |
13897|       |  /* Pop stack until we find a state that shifts the error token.  */
13898|     60|  for (;;)
13899|    679|    {
13900|    679|      yyn = yypact[yystate];
13901|    679|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|    679|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|    679|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (13901:11): [True: 664, False: 15]
  ------------------
13902|    664|        {
13903|    664|          yyn += YYSYMBOL_YYerror;
13904|    664|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1113|  1.21k|#define YYLAST   15602
  ------------------
  |  Branch (13904:15): [True: 554, False: 110]
  |  Branch (13904:27): [True: 554, False: 0]
  |  Branch (13904:44): [True: 0, False: 554]
  ------------------
13905|      0|            {
13906|      0|              yyn = yytable[yyn];
13907|      0|              if (0 < yyn)
  ------------------
  |  Branch (13907:19): [True: 0, False: 0]
  ------------------
13908|      0|                break;
13909|      0|            }
13910|    664|        }
13911|       |
13912|       |      /* Pop the current state because it cannot handle the error token.  */
13913|    679|      if (yyssp == yyss)
  ------------------
  |  Branch (13913:11): [True: 60, False: 619]
  ------------------
13914|     60|        YYABORT;
  ------------------
  |  | 5162|     60|#define YYABORT         goto yyabortlab
  ------------------
13915|       |
13916|       |
13917|    619|      yydestruct ("Error: popping",
13918|    619|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1302|    619|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    619|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13919|    619|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    619|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13920|    619|      yystate = *yyssp;
13921|    619|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    619|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    619|do {                                                            \
  |  | 5273|    619|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 619]
  |  |  ------------------
  |  | 5274|    619|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    619|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 619]
  |  |  ------------------
  ------------------
13922|    619|    }
13923|       |
13924|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13925|      0|  *++yyvsp = yylval;
13926|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13927|       |
13928|       |
13929|       |  /* Shift the error token.  */
13930|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5208|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|      0|do {                                                                      \
  |  | 5210|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13931|       |
13932|      0|  yystate = yyn;
13933|      0|  goto yynewstate;
13934|       |
13935|       |
13936|       |/*-------------------------------------.
13937|       || yyacceptlab -- YYACCEPT comes here.  |
13938|       |`-------------------------------------*/
13939|    206|yyacceptlab:
13940|    206|  yyresult = 0;
13941|    206|  goto yyreturnlab;
13942|       |
13943|       |
13944|       |/*-----------------------------------.
13945|       || yyabortlab -- YYABORT comes here.  |
13946|       |`-----------------------------------*/
13947|     60|yyabortlab:
13948|     60|  yyresult = 1;
13949|     60|  goto yyreturnlab;
13950|       |
13951|       |
13952|       |/*-----------------------------------------------------------.
13953|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13954|       |`-----------------------------------------------------------*/
13955|      0|yyexhaustedlab:
13956|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  784|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13957|      0|  yyresult = 2;
13958|      0|  goto yyreturnlab;
13959|       |
13960|       |
13961|       |/*----------------------------------------------------------.
13962|       || yyreturnlab -- parsing is finished, clean up and return.  |
13963|       |`----------------------------------------------------------*/
13964|    266|yyreturnlab:
13965|    266|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13965:7): [True: 60, False: 206]
  ------------------
13966|     60|    {
13967|       |      /* Make sure we have latest lookahead translation.  See comments at
13968|       |         user semantic actions for why this is necessary.  */
13969|     60|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|     60|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|     60|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 60, False: 0]
  |  |  |  Branch (1131:18): [True: 60, False: 0]
  |  |  ------------------
  |  | 1132|     60|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|     60|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|     60|   : YYSYMBOL_YYUNDEF)
  ------------------
13970|     60|      yydestruct ("Cleanup: discarding lookahead",
13971|     60|                  yytoken, &yylval, pParseContext);
13972|     60|    }
13973|       |  /* Do not reclaim the symbols of the rule whose action triggered
13974|       |     this YYABORT or YYACCEPT.  */
13975|    266|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|    266|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13976|    266|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    266|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    266|do {                                                            \
  |  | 5273|    266|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 266]
  |  |  ------------------
  |  | 5274|    266|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    266|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 266]
  |  |  ------------------
  ------------------
13977|    678|  while (yyssp != yyss)
  ------------------
  |  Branch (13977:10): [True: 412, False: 266]
  ------------------
13978|    412|    {
13979|    412|      yydestruct ("Cleanup: popping",
13980|    412|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1302|    412|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    412|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13981|    412|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    412|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13982|    412|    }
13983|    266|#ifndef yyoverflow
13984|    266|  if (yyss != yyssa)
  ------------------
  |  Branch (13984:7): [True: 1, False: 265]
  ------------------
13985|      1|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1023|      1|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      1|#   define YYFREE free
  |  |  ------------------
  ------------------
13986|    266|#endif
13987|    266|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13987:7): [True: 0, False: 266]
  ------------------
13988|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13989|    266|  return yyresult;
13990|     60|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5529|     60|{
 5530|     60|  enum { YYARGS_MAX = 5 };
 5531|       |  /* Internationalized format string. */
 5532|     60|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|     60|#    define YY_NULLPTR nullptr
  ------------------
 5533|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5534|       |     one per "expected"). */
 5535|     60|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5536|       |  /* Cumulated lengths of YYARG.  */
 5537|     60|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  865|     60|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5538|       |
 5539|       |  /* Actual size of YYARG. */
 5540|     60|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5541|     60|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5541:7): [True: 0, False: 60]
  ------------------
 5542|      0|    return YYENOMEM;
 5543|       |
 5544|     60|  switch (yycount)
 5545|     60|    {
 5546|      0|#define YYCASE_(N, S)                       \
 5547|      0|      case N:                               \
 5548|      0|        yyformat = S;                       \
 5549|      0|        break
 5550|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (5550:5): [True: 0, False: 60]
  ------------------
 5551|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 60]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5552|     22|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5547|     22|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 22, False: 38]
  |  |  ------------------
  |  | 5548|     22|        yyformat = S;                       \
  |  | 5549|     22|        break
  ------------------
 5553|      1|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5547|      1|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 1, False: 59]
  |  |  ------------------
  |  | 5548|      1|        yyformat = S;                       \
  |  | 5549|      1|        break
  ------------------
 5554|     37|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5547|     37|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 37, False: 23]
  |  |  ------------------
  |  | 5548|     37|        yyformat = S;                       \
  |  | 5549|     37|        break
  ------------------
 5555|      0|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 60]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5556|     60|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 60]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5557|     60|#undef YYCASE_
 5558|     60|    }
 5559|       |
 5560|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5561|       |     room for the terminator.  */
 5562|     60|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5388|     60|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|     60|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5563|     60|  {
 5564|     60|    int yyi;
 5565|    195|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5565:19): [True: 135, False: 60]
  ------------------
 5566|    135|      {
 5567|    135|        YYPTRDIFF_T yysize1
  ------------------
  |  |  865|    135|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5568|    135|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|    135|#    define YY_NULLPTR nullptr
  ------------------
 5569|    135|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1025|    135|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|    135|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    270|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 135, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5569:13): [True: 135, False: 0]
  |  Branch (5569:34): [True: 135, False: 0]
  ------------------
 5570|    135|          yysize = yysize1;
 5571|      0|        else
 5572|      0|          return YYENOMEM;
 5573|    135|      }
 5574|     60|  }
 5575|       |
 5576|     60|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5576:7): [True: 0, False: 60]
  ------------------
 5577|      0|    {
 5578|      0|      *yymsg_alloc = 2 * yysize;
 5579|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (5579:14): [True: 0, False: 0]
  ------------------
 5580|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5580:17): [True: 0, False: 0]
  ------------------
 5581|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  | 1025|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5582|      0|      return -1;
 5583|      0|    }
 5584|       |
 5585|       |  /* Avoid sprintf, as that infringes on the user's name space.
 5586|       |     Don't have undefined behavior even if the translation
 5587|       |     produced a string with the wrong number of "%s"s.  */
 5588|     60|  {
 5589|     60|    char *yyp = *yymsg;
 5590|     60|    int yyi = 0;
 5591|  2.29k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5591:12): [True: 2.23k, False: 60]
  ------------------
 5592|  2.23k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5592:11): [True: 135, False: 2.10k]
  |  Branch (5592:26): [True: 135, False: 0]
  |  Branch (5592:48): [True: 135, False: 0]
  ------------------
 5593|    135|        {
 5594|    135|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5595|    135|          yyformat += 2;
 5596|    135|        }
 5597|  2.10k|      else
 5598|  2.10k|        {
 5599|  2.10k|          ++yyp;
 5600|  2.10k|          ++yyformat;
 5601|  2.10k|        }
 5602|     60|  }
 5603|     60|  return 0;
 5604|     60|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5476|     60|{
 5477|       |  /* Actual size of YYARG. */
 5478|     60|  int yycount = 0;
 5479|       |  /* There are many possibilities here to consider:
 5480|       |     - If this state is a consistent state with a default action, then
 5481|       |       the only way this function was invoked is if the default action
 5482|       |       is an error action.  In that case, don't check for expected
 5483|       |       tokens because there are none.
 5484|       |     - The only way there can be no lookahead present (in yychar) is if
 5485|       |       this state is a consistent state with a default action.  Thus,
 5486|       |       detecting the absence of a lookahead is sufficient to determine
 5487|       |       that there is no unexpected or expected token to report.  In that
 5488|       |       case, just report a simple "syntax error".
 5489|       |     - Don't assume there isn't a lookahead just because this state is a
 5490|       |       consistent state with a default action.  There might have been a
 5491|       |       previous inconsistent state, consistent state with a non-default
 5492|       |       action, or user semantic action that manipulated yychar.
 5493|       |     - Of course, the expected token list depends on states to have
 5494|       |       correct lookahead information, and it depends on the parser not
 5495|       |       to perform extra reductions after fetching a lookahead from the
 5496|       |       scanner and before detecting a syntax error.  Thus, state merging
 5497|       |       (from LALR or IELR) and default reductions corrupt the expected
 5498|       |       token list.  However, the list is correct for canonical LR with
 5499|       |       one exception: it will still contain any token that will not be
 5500|       |       accepted due to an error action in a later state.
 5501|       |  */
 5502|     60|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5502:7): [True: 60, False: 0]
  ------------------
 5503|     60|    {
 5504|     60|      int yyn;
 5505|     60|      if (yyarg)
  ------------------
  |  Branch (5505:11): [True: 60, False: 0]
  ------------------
 5506|     60|        yyarg[yycount] = yyctx->yytoken;
 5507|     60|      ++yycount;
 5508|     60|      yyn = yypcontext_expected_tokens (yyctx,
 5509|     60|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5509:41): [True: 60, False: 0]
  ------------------
 5510|     60|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5510:11): [True: 0, False: 60]
  ------------------
 5511|      0|        return YYENOMEM;
 5512|     60|      else
 5513|     60|        yycount += yyn;
 5514|     60|    }
 5515|     60|  return yycount;
 5516|     60|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5352|     60|{
 5353|       |  /* Actual size of YYARG. */
 5354|     60|  int yycount = 0;
 5355|     60|  int yyn = yypact[+*yyctx->yyssp];
 5356|     60|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|     60|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|     60|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (5356:7): [True: 60, False: 0]
  ------------------
 5357|     60|    {
 5358|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 5359|       |         YYCHECK.  In other words, skip the first -YYN actions for
 5360|       |         this state because they are default actions.  */
 5361|     60|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5361:22): [True: 38, False: 22]
  ------------------
 5362|       |      /* Stay within bounds of both yycheck and yytname.  */
 5363|     60|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1113|     60|#define YYLAST   15602
  ------------------
 5364|     60|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     60|#define YYNTOKENS  515
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|     60|#define YYNTOKENS  515
  ------------------
  |  Branch (5364:20): [True: 0, False: 60]
  ------------------
 5365|     60|      int yyx;
 5366|  10.0k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5366:28): [True: 9.97k, False: 38]
  ------------------
 5367|  9.97k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5367:13): [True: 185, False: 9.78k]
  |  Branch (5367:42): [True: 185, False: 0]
  ------------------
 5368|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1495|      0|  0
  ------------------
  |  Branch (5368:16): [True: 0, Folded]
  ------------------
 5369|    185|          {
 5370|    185|            if (!yyarg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 185]
  ------------------
 5371|      0|              ++yycount;
 5372|    185|            else if (yycount == yyargn)
  ------------------
  |  Branch (5372:22): [True: 22, False: 163]
  ------------------
 5373|     22|              return 0;
 5374|    163|            else
 5375|    163|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    163|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5376|    185|          }
 5377|     60|    }
 5378|     38|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5378:7): [True: 38, False: 0]
  |  Branch (5378:16): [True: 0, False: 38]
  |  Branch (5378:32): [True: 0, False: 0]
  ------------------
 5379|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5380|     38|  return yycount;
 5381|     60|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5432|    270|{
 5433|    270|  if (*yystr == '"')
  ------------------
  |  Branch (5433:7): [True: 44, False: 226]
  ------------------
 5434|     44|    {
 5435|     44|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  865|     44|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5436|     44|      char const *yyp = yystr;
 5437|     44|      for (;;)
 5438|    528|        switch (*++yyp)
 5439|    528|          {
 5440|      0|          case '\'':
  ------------------
  |  Branch (5440:11): [True: 0, False: 528]
  ------------------
 5441|      0|          case ',':
  ------------------
  |  Branch (5441:11): [True: 0, False: 528]
  ------------------
 5442|      0|            goto do_not_strip_quotes;
 5443|       |
 5444|      0|          case '\\':
  ------------------
  |  Branch (5444:11): [True: 0, False: 528]
  ------------------
 5445|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (5445:17): [True: 0, False: 0]
  ------------------
 5446|      0|              goto do_not_strip_quotes;
 5447|      0|            else
 5448|      0|              goto append;
 5449|       |
 5450|      0|          append:
 5451|    484|          default:
  ------------------
  |  Branch (5451:11): [True: 484, False: 44]
  ------------------
 5452|    484|            if (yyres)
  ------------------
  |  Branch (5452:17): [True: 242, False: 242]
  ------------------
 5453|    242|              yyres[yyn] = *yyp;
 5454|    484|            yyn++;
 5455|    484|            break;
 5456|       |
 5457|     44|          case '"':
  ------------------
  |  Branch (5457:11): [True: 44, False: 484]
  ------------------
 5458|     44|            if (yyres)
  ------------------
  |  Branch (5458:17): [True: 22, False: 22]
  ------------------
 5459|     22|              yyres[yyn] = '\0';
 5460|     44|            return yyn;
 5461|    528|          }
 5462|      0|    do_not_strip_quotes: ;
 5463|      0|    }
 5464|       |
 5465|    226|  if (yyres)
  ------------------
  |  Branch (5465:7): [True: 113, False: 113]
  ------------------
 5466|    113|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5404|    113|#  define yystpcpy stpcpy
  ------------------
 5467|    113|  else
 5468|    113|    return yystrlen (yystr);
  ------------------
  |  | 5388|    113|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|    113|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5469|    226|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5614|  1.09k|{
 5615|  1.09k|  YY_USE (yyvaluep);
  ------------------
  |  |  938|  1.09k|# define YY_USE(E) ((void) (E))
  ------------------
 5616|  1.09k|  YY_USE (pParseContext);
  ------------------
  |  |  938|  1.09k|# define YY_USE(E) ((void) (E))
  ------------------
 5617|  1.09k|  if (!yymsg)
  ------------------
  |  Branch (5617:7): [True: 0, False: 1.09k]
  ------------------
 5618|      0|    yymsg = "Deleting";
 5619|  1.09k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5208|  1.09k|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  1.09k|do {                                                                      \
  |  | 5210|  1.09k|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 1.09k]
  |  |  ------------------
  |  | 5211|  1.09k|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|  1.09k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 5620|       |
 5621|  1.09k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5622|  1.09k|  YY_USE (yykind);
  ------------------
  |  |  938|  1.09k|# define YY_USE(E) ((void) (E))
  ------------------
 5623|  1.09k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5624|  1.09k|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  16.2k|{
   97|  16.2k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  16.2k|    int token = scanToken(ppToken);
  101|  16.2k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 16.2k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  16.2k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 7, False: 16.2k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|      7|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|      7|    }
  109|       |
  110|       |    // save the macro name
  111|  16.2k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  16.2k|    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|  16.2k|    token = scanToken(ppToken);
  116|  16.2k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 4, False: 16.2k]
  |  Branch (116:25): [True: 4, False: 0]
  ------------------
  117|      4|        mac.functionLike = 1;
  118|      4|        do {
  119|      4|            token = scanToken(ppToken);
  120|      4|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 4, False: 0]
  |  Branch (120:41): [True: 4, False: 0]
  ------------------
  121|      4|                break;
  122|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 0]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|      0|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|      0|            bool duplicate = false;
  131|      0|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 0, False: 0]
  ------------------
  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|      0|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 0, False: 0]
  ------------------
  139|      0|                mac.args.push_back(argAtom);
  140|      0|            token = scanToken(ppToken);
  141|      0|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 0, False: 0]
  ------------------
  142|      4|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 4]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|      4|        token = scanToken(ppToken);
  149|  16.2k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 16.2k, False: 0]
  |  Branch (149:33): [True: 16.2k, False: 0]
  |  Branch (149:56): [True: 0, False: 16.2k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  16.2k|    int pendingPoundSymbols = 0;
  156|  16.2k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  39.7k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 23.5k, False: 16.2k]
  |  Branch (158:29): [True: 23.5k, False: 0]
  ------------------
  159|  23.5k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 23.5k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  23.5k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 23.5k, False: 0]
  ------------------
  165|  23.5k|            mac.body.putToken(token, ppToken);
  166|  23.5k|        } else if (pendingPoundSymbols == 1) {
  ------------------
  |  Branch (166:20): [True: 0, False: 0]
  ------------------
  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|      0|        } else if (pendingPoundSymbols % 2 == 0) {
  ------------------
  |  Branch (187:20): [True: 0, False: 0]
  ------------------
  188|       |            // Any number of pastes '##' in a row: idempotent, just becomes one paste
  189|      0|            parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
  190|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, nullptr, "token pasting (##)");
  191|      0|            for (int i = 0; i < pendingPoundSymbols / 2; i++) {
  ------------------
  |  Branch (191:29): [True: 0, False: 0]
  ------------------
  192|      0|                mac.body.putToken(PpAtomPaste, &savePound);
  193|      0|            }
  194|      0|            mac.body.putToken(token, ppToken);
  195|      0|            pendingPoundSymbols = 0;
  196|      0|        } else {
  197|       |            // An odd number of '#' i.e., mix of paste and stringify: does not give valid preprocessing token
  198|      0|            parseContext.ppError(ppToken->loc, "Illegal sequence of paste (##) and stringify (#).", "#", "");
  199|      0|            return token;
  200|      0|        }
  201|       |
  202|  23.5k|        token = scanToken(ppToken);
  203|  23.5k|    }
  204|  16.2k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 16.2k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  16.2k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  16.2k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 16.2k]
  ------------------
  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|                    "%s", 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|                    "%s", 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|                       "%s", 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|                            "%s", 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|  16.2k|        addMacroDef(defAtom, mac);
  255|       |
  256|  16.2k|    return '\n';
  257|  16.2k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     95|{
  288|     95|    inElseSkip = true;
  289|     95|    int depth = 0;
  290|     95|    int token = scanToken(ppToken);
  291|       |
  292|  1.70M|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 1.70M, False: 12]
  ------------------
  293|  1.70M|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 1.49M, False: 211k]
  ------------------
  294|  5.38M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 3.89M, False: 1.49M]
  |  Branch (294:37): [True: 3.89M, False: 79]
  ------------------
  295|  3.89M|                token = scanToken(ppToken);
  296|       |
  297|  1.49M|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 79, False: 1.49M]
  ------------------
  298|     79|                return token;
  299|       |
  300|  1.49M|            token = scanToken(ppToken);
  301|  1.49M|            continue;
  302|  1.49M|        }
  303|       |
  304|   211k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 25.2k, False: 185k]
  ------------------
  305|  25.2k|            continue;
  306|       |
  307|   185k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|   185k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 623, False: 185k]
  |  Branch (308:37): [True: 22, False: 185k]
  |  Branch (308:64): [True: 19, False: 185k]
  ------------------
  309|    664|            depth++;
  310|    664|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 2, False: 662]
  |  Branch (310:44): [True: 0, False: 662]
  ------------------
  311|      2|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      2|                return EndOfInput;
  313|    662|            } else {
  314|    662|                ifdepth++;
  315|    662|                elsetracker++;
  316|    662|            }
  317|   185k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 65, False: 185k]
  ------------------
  318|     65|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|     65|            if (elsetracker >= 0)
  ------------------
  |  Branch (319:17): [True: 65, False: 0]
  ------------------
  320|     65|                elseSeen[elsetracker] = false;
  321|     65|            --elsetracker;
  322|     65|            if (depth == 0) {
  ------------------
  |  Branch (322:17): [True: 0, False: 65]
  ------------------
  323|       |                // found the #endif we are looking for
  324|      0|                if (ifdepth > 0)
  ------------------
  |  Branch (324:21): [True: 0, False: 0]
  ------------------
  325|      0|                    --ifdepth;
  326|      0|                break;
  327|      0|            }
  328|     65|            --depth;
  329|     65|            if (ifdepth > 0)
  ------------------
  |  Branch (329:17): [True: 65, False: 0]
  ------------------
  330|     65|                --ifdepth;
  331|   185k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (331:20): [True: 185k, False: 0]
  |  Branch (331:33): [True: 38.3k, False: 146k]
  ------------------
  332|  38.3k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (332:17): [True: 0, False: 38.3k]
  ------------------
  333|      0|                elseSeen[elsetracker] = true;
  334|      0|                token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  335|       |                // found the #else we are looking for
  336|      0|                break;
  337|  38.3k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (337:24): [True: 2, False: 38.3k]
  ------------------
  338|      2|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (338:21): [True: 0, False: 2]
  ------------------
  339|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  340|       |                /* we decrement ifdepth here, because CPPif will increment
  341|       |                * it and we really want to leave it alone */
  342|      2|                if (ifdepth > 0) {
  ------------------
  |  Branch (342:21): [True: 2, False: 0]
  ------------------
  343|      2|                    --ifdepth;
  344|      2|                    elseSeen[elsetracker] = false;
  345|      2|                    --elsetracker;
  346|      2|                }
  347|      2|                inElseSkip = false;
  348|      2|                return CPPif(ppToken);
  349|      2|            }
  350|   146k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (350:20): [True: 2, False: 146k]
  ------------------
  351|      2|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (351:17): [True: 0, False: 2]
  ------------------
  352|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  353|      2|            else
  354|      2|                elseSeen[elsetracker] = true;
  355|      2|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  356|   146k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (356:20): [True: 42, False: 146k]
  ------------------
  357|     42|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (357:17): [True: 0, False: 42]
  ------------------
  358|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  359|     42|        }
  360|   185k|    }
  361|       |
  362|     12|    inElseSkip = false;
  363|     12|    return token;
  364|     95|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  368|    161|{
  369|    161|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (369:9): [True: 2, False: 159]
  |  Branch (369:26): [True: 0, False: 2]
  ------------------
  370|      0|        static const char* message = "unexpected tokens following directive";
  371|       |
  372|      0|        const char* label;
  373|      0|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (373:13): [True: 0, False: 0]
  ------------------
  374|      0|            label = "#else";
  375|      0|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (375:18): [True: 0, False: 0]
  ------------------
  376|      0|            label = "#elif";
  377|      0|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (377:18): [True: 0, False: 0]
  ------------------
  378|      0|            label = "#endif";
  379|      0|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (379:18): [True: 0, False: 0]
  ------------------
  380|      0|            label = "#if";
  381|      0|        else if (contextAtom == PpAtomLine)
  ------------------
  |  Branch (381:18): [True: 0, False: 0]
  ------------------
  382|      0|            label = "#line";
  383|      0|        else
  384|      0|            label = "";
  385|       |
  386|      0|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (386:13): [True: 0, False: 0]
  ------------------
  387|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  388|      0|        else
  389|      0|            parseContext.ppError(ppToken->loc, message, label, "");
  390|       |
  391|      0|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (391:16): [True: 0, False: 0]
  |  Branch (391:33): [True: 0, False: 0]
  ------------------
  392|      0|            token = scanToken(ppToken);
  393|      0|    }
  394|       |
  395|    161|    return token;
  396|    161|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  470|    189|{
  471|    189|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  472|    189|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (472:9): [True: 3, False: 186]
  ------------------
  473|      3|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (473:13): [True: 0, False: 3]
  ------------------
  474|      0|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (474:17): [True: 0, False: 0]
  |  Branch (474:51): [True: 0, False: 0]
  ------------------
  475|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (475:21): [True: 0, False: 0]
  ------------------
  476|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  477|      0|                        "defined", "");
  478|      0|                else
  479|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  480|      0|                        "defined", "");
  481|      0|            }
  482|      0|            bool needclose = 0;
  483|      0|            token = scanToken(ppToken);
  484|      0|            if (token == '(') {
  ------------------
  |  Branch (484:17): [True: 0, False: 0]
  ------------------
  485|      0|                needclose = true;
  486|      0|                token = scanToken(ppToken);
  487|      0|            }
  488|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (488:17): [True: 0, False: 0]
  ------------------
  489|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  490|      0|                err = true;
  491|      0|                res = 0;
  492|       |
  493|      0|                return token;
  494|      0|            }
  495|       |
  496|      0|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  497|      0|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (497:19): [True: 0, False: 0]
  ------------------
  498|      0|            token = scanToken(ppToken);
  499|      0|            if (needclose) {
  ------------------
  |  Branch (499:17): [True: 0, False: 0]
  ------------------
  500|      0|                if (token != ')') {
  ------------------
  |  Branch (500:21): [True: 0, False: 0]
  ------------------
  501|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  502|      0|                    err = true;
  503|      0|                    res = 0;
  504|       |
  505|      0|                    return token;
  506|      0|                }
  507|      0|                token = scanToken(ppToken);
  508|      0|            }
  509|      3|        } else {
  510|      3|            token = tokenPaste(token, *ppToken);
  511|      3|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  512|      3|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  513|      3|        }
  514|    186|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (514:16): [True: 94, False: 92]
  ------------------
  515|     94|        res = ppToken->ival;
  516|     94|        token = scanToken(ppToken);
  517|     94|    } else if (token == '(') {
  ------------------
  |  Branch (517:16): [True: 0, False: 92]
  ------------------
  518|      0|        token = scanToken(ppToken);
  519|      0|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  520|      0|        if (! err) {
  ------------------
  |  Branch (520:13): [True: 0, False: 0]
  ------------------
  521|      0|            if (token != ')') {
  ------------------
  |  Branch (521:17): [True: 0, False: 0]
  ------------------
  522|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  523|      0|                err = true;
  524|      0|                res = 0;
  525|       |
  526|      0|                return token;
  527|      0|            }
  528|      0|            token = scanToken(ppToken);
  529|      0|        }
  530|     92|    } else {
  531|     92|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  467|     92|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  532|    368|        for (; op >= 0; op--) {
  ------------------
  |  Branch (532:16): [True: 368, False: 0]
  ------------------
  533|    368|            if (unop[op].token == token)
  ------------------
  |  Branch (533:17): [True: 92, False: 276]
  ------------------
  534|     92|                break;
  535|    368|        }
  536|     92|        if (op >= 0) {
  ------------------
  |  Branch (536:13): [True: 92, False: 0]
  ------------------
  537|     92|            token = scanToken(ppToken);
  538|     92|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  539|     92|            res = unop[op].op(res);
  540|     92|        } else {
  541|      0|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  542|      0|            err = true;
  543|      0|            res = 0;
  544|       |
  545|      0|            return token;
  546|      0|        }
  547|     92|    }
  548|       |
  549|    186|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  550|       |
  551|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  552|    186|    while (! err) {
  ------------------
  |  Branch (552:12): [True: 186, False: 0]
  ------------------
  553|    186|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (553:13): [True: 0, False: 186]
  |  Branch (553:29): [True: 184, False: 2]
  ------------------
  554|    184|            break;
  555|      2|        int op;
  556|     38|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  467|      2|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (556:44): [True: 36, False: 2]
  ------------------
  557|     36|            if (binop[op].token == token)
  ------------------
  |  Branch (557:17): [True: 0, False: 36]
  ------------------
  558|      0|                break;
  559|     36|        }
  560|      2|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (560:13): [True: 2, False: 0]
  |  Branch (560:23): [True: 0, False: 0]
  ------------------
  561|      2|            break;
  562|      0|        int leftSide = res;
  563|       |
  564|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  565|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  566|      0|        if (! shortCircuit) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (567:18): [True: 0, False: 0]
  |  Branch (567:40): [True: 0, False: 0]
  ------------------
  568|      0|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (568:18): [True: 0, False: 0]
  |  Branch (568:40): [True: 0, False: 0]
  ------------------
  569|      0|                shortCircuit = true;
  570|      0|        }
  571|       |
  572|      0|        token = scanToken(ppToken);
  573|      0|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  574|       |
  575|      0|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  |  Branch (575:39): [True: 0, False: 0]
  ------------------
  576|      0|            if (res == 0) {
  ------------------
  |  Branch (576:17): [True: 0, False: 0]
  ------------------
  577|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  578|      0|                res = 1;
  579|      0|            }
  580|      0|        }
  581|      0|        res = binop[op].op(leftSide, res);
  582|      0|    }
  583|       |
  584|    186|    return token;
  585|    189|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  589|    189|{
  590|    192|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (590:12): [True: 3, False: 189]
  |  Branch (590:41): [True: 3, False: 0]
  ------------------
  591|      3|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (591:17): [True: 3, False: 0]
  ------------------
  592|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 3]
  ------------------
  593|      0|        case MacroExpandError:
  ------------------
  |  Branch (593:9): [True: 0, False: 3]
  ------------------
  594|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  595|      0|            err = true;
  596|      0|            res = 0;
  597|      0|            break;
  598|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (598:9): [True: 0, False: 3]
  ------------------
  599|      0|            break;
  600|      3|        case MacroExpandUndef:
  ------------------
  |  Branch (600:9): [True: 3, False: 0]
  ------------------
  601|      3|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (601:17): [True: 3, False: 0]
  |  Branch (601:35): [True: 2, False: 1]
  ------------------
  602|      2|                const char* message = "undefined macro in expression not allowed in es profile";
  603|      2|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (603:21): [True: 0, False: 2]
  ------------------
  604|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", "%s", ppToken->name);
  605|      2|                else
  606|      2|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", "%s", ppToken->name);
  607|      2|            }
  608|      3|            break;
  609|      3|        }
  610|      3|        token = scanToken(ppToken);
  611|      3|        if (err)
  ------------------
  |  Branch (611:13): [True: 0, False: 3]
  ------------------
  612|      0|            break;
  613|      3|    }
  614|       |
  615|    189|    return token;
  616|    189|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  620|     94|{
  621|     94|    int token = scanToken(ppToken);
  622|     94|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (622:9): [True: 0, False: 94]
  |  Branch (622:36): [True: 0, False: 94]
  ------------------
  623|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  624|      0|        return EndOfInput;
  625|     94|    } else {
  626|     94|        elsetracker++;
  627|     94|        ifdepth++;
  628|     94|    }
  629|     94|    int res = 0;
  630|     94|    bool err = false;
  631|     94|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  632|     94|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  633|     94|    if (!res && !err)
  ------------------
  |  Branch (633:9): [True: 94, False: 0]
  |  Branch (633:17): [True: 94, False: 0]
  ------------------
  634|     94|        token = CPPelse(1, ppToken);
  635|       |
  636|     94|    return token;
  637|     94|}
_ZN7glslang10TPpContext8CPPifdefEiPNS_8TPpTokenE:
  641|      1|{
  642|      1|    int token = scanToken(ppToken);
  643|      1|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (643:9): [True: 0, False: 1]
  |  Branch (643:36): [True: 0, False: 1]
  ------------------
  644|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#ifdef", "");
  645|      0|        return EndOfInput;
  646|      1|    } else {
  647|      1|        elsetracker++;
  648|      1|        ifdepth++;
  649|      1|    }
  650|       |
  651|      1|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (651:9): [True: 0, False: 1]
  ------------------
  652|      0|        if (defined)
  ------------------
  |  Branch (652:13): [True: 0, False: 0]
  ------------------
  653|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifdef", "");
  654|      0|        else
  655|      0|            parseContext.ppError(ppToken->loc, "must be followed by macro name", "#ifndef", "");
  656|      1|    } else {
  657|      1|        MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  658|      1|        token = scanToken(ppToken);
  659|      1|        if (token != '\n') {
  ------------------
  |  Branch (659:13): [True: 0, False: 1]
  ------------------
  660|      0|            parseContext.ppError(ppToken->loc, "unexpected tokens following #ifdef directive - expected a newline", "#ifdef", "");
  661|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (661:20): [True: 0, False: 0]
  |  Branch (661:37): [True: 0, False: 0]
  ------------------
  662|      0|                token = scanToken(ppToken);
  663|      0|        }
  664|      1|        if (((macro != nullptr && !macro->undef) ? 1 : 0) != defined)
  ------------------
  |  Branch (664:13): [True: 1, False: 0]
  |  Branch (664:15): [True: 0, False: 1]
  |  Branch (664:35): [True: 0, False: 0]
  ------------------
  665|      1|            token = CPPelse(1, ppToken);
  666|      1|    }
  667|       |
  668|      1|    return token;
  669|      1|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  985|  16.3k|{
  986|  16.3k|    int token = scanToken(ppToken);
  987|       |
  988|  16.3k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (988:9): [True: 16.3k, False: 1]
  ------------------
  989|  16.3k|        switch (atomStrings.getAtom(ppToken->name)) {
  990|  16.2k|        case PpAtomDefine:
  ------------------
  |  Branch (990:9): [True: 16.2k, False: 93]
  ------------------
  991|  16.2k|            token = CPPdefine(ppToken);
  992|  16.2k|            break;
  993|      0|        case PpAtomElse:
  ------------------
  |  Branch (993:9): [True: 0, False: 16.3k]
  ------------------
  994|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (994:17): [True: 0, False: 0]
  ------------------
  995|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  996|      0|            elseSeen[elsetracker] = true;
  997|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (997:17): [True: 0, False: 0]
  ------------------
  998|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#else", "");
  999|      0|            token = extraTokenCheck(PpAtomElse, ppToken, scanToken(ppToken));
 1000|      0|            token = CPPelse(0, ppToken);
 1001|      0|            break;
 1002|      0|        case PpAtomElif:
  ------------------
  |  Branch (1002:9): [True: 0, False: 16.3k]
  ------------------
 1003|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1003:17): [True: 0, False: 0]
  ------------------
 1004|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#elif", "");
 1005|      0|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (1005:17): [True: 0, False: 0]
  ------------------
 1006|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
 1007|       |            // this token is really a dont care, but we still need to eat the tokens
 1008|      0|            token = scanToken(ppToken);
 1009|      0|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1009:20): [True: 0, False: 0]
  |  Branch (1009:37): [True: 0, False: 0]
  ------------------
 1010|      0|                token = scanToken(ppToken);
 1011|      0|            token = CPPelse(0, ppToken);
 1012|      0|            break;
 1013|      0|        case PpAtomEndif:
  ------------------
  |  Branch (1013:9): [True: 0, False: 16.3k]
  ------------------
 1014|      0|            if (ifdepth == 0)
  ------------------
  |  Branch (1014:17): [True: 0, False: 0]
  ------------------
 1015|      0|                parseContext.ppError(ppToken->loc, "mismatched statements", "#endif", "");
 1016|      0|            else {
 1017|      0|                if (elsetracker >= 0)
  ------------------
  |  Branch (1017:21): [True: 0, False: 0]
  ------------------
 1018|      0|                    elseSeen[elsetracker] = false;
 1019|      0|                --elsetracker;
 1020|      0|                --ifdepth;
 1021|      0|            }
 1022|      0|            token = extraTokenCheck(PpAtomEndif, ppToken, scanToken(ppToken));
 1023|      0|            break;
 1024|     92|        case PpAtomIf:
  ------------------
  |  Branch (1024:9): [True: 92, False: 16.2k]
  ------------------
 1025|     92|            token = CPPif(ppToken);
 1026|     92|            break;
 1027|      1|        case PpAtomIfdef:
  ------------------
  |  Branch (1027:9): [True: 1, False: 16.3k]
  ------------------
 1028|      1|            token = CPPifdef(1, ppToken);
 1029|      1|            break;
 1030|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1030:9): [True: 0, False: 16.3k]
  ------------------
 1031|      0|            token = CPPifdef(0, ppToken);
 1032|      0|            break;
 1033|      0|        case PpAtomLine:
  ------------------
  |  Branch (1033:9): [True: 0, False: 16.3k]
  ------------------
 1034|      0|            token = CPPline(ppToken);
 1035|      0|            break;
 1036|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1036:9): [True: 0, False: 16.3k]
  ------------------
 1037|      0|            if(!parseContext.isReadingHLSL()) {
  ------------------
  |  Branch (1037:16): [True: 0, False: 0]
  ------------------
 1038|      0|                const std::array exts = { E_GL_GOOGLE_include_directive, E_GL_ARB_shading_language_include };
 1039|      0|                parseContext.ppRequireExtensions(ppToken->loc, exts, "#include");
 1040|      0|            }
 1041|      0|            token = CPPinclude(ppToken);
 1042|      0|            break;
 1043|      0|        case PpAtomPragma:
  ------------------
  |  Branch (1043:9): [True: 0, False: 16.3k]
  ------------------
 1044|      0|            token = CPPpragma(ppToken);
 1045|      0|            break;
 1046|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1046:9): [True: 0, False: 16.3k]
  ------------------
 1047|      0|            token = CPPundef(ppToken);
 1048|      0|            break;
 1049|      0|        case PpAtomError:
  ------------------
  |  Branch (1049:9): [True: 0, False: 16.3k]
  ------------------
 1050|      0|            token = CPPerror(ppToken);
 1051|      0|            break;
 1052|      0|        case PpAtomVersion:
  ------------------
  |  Branch (1052:9): [True: 0, False: 16.3k]
  ------------------
 1053|      0|            token = CPPversion(ppToken);
 1054|      0|            break;
 1055|      0|        case PpAtomExtension:
  ------------------
  |  Branch (1055:9): [True: 0, False: 16.3k]
  ------------------
 1056|      0|            token = CPPextension(ppToken);
 1057|      0|            break;
 1058|      0|        default:
  ------------------
  |  Branch (1058:9): [True: 0, False: 16.3k]
  ------------------
 1059|      0|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", "%s", ppToken->name);
 1060|      0|            break;
 1061|  16.3k|        }
 1062|  16.3k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1062:16): [True: 1, False: 0]
  |  Branch (1062:33): [True: 1, False: 0]
  ------------------
 1063|      1|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1064|       |
 1065|  16.3k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1065:12): [True: 94, False: 16.2k]
  |  Branch (1065:29): [True: 1, False: 93]
  ------------------
 1066|      1|        token = scanToken(ppToken);
 1067|       |
 1068|  16.3k|    return token;
 1069|  16.3k|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1148|  2.33k|{
 1149|  2.33k|    int token;
 1150|  2.33k|    do {
 1151|  2.33k|        token = mac->body.getToken(pp->parseContext, ppToken);
 1152|  2.33k|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1152:14): [True: 0, False: 2.33k]
  ------------------
 1153|       |
 1154|       |    // Hash operators basically turn off a round of macro substitution
 1155|       |    // (the round done on the argument before the round done on the RHS of the
 1156|       |    // macro definition):
 1157|       |    //
 1158|       |    // "A parameter in the replacement list, unless preceded by a # or ##
 1159|       |    // preprocessing token or followed by a ## preprocessing token (see below),
 1160|       |    // is replaced by the corresponding argument after all macros contained
 1161|       |    // therein have been expanded."
 1162|       |    //
 1163|       |    // "If, in the replacement list, a parameter is immediately preceded or
 1164|       |    // followed by a ## preprocessing token, the parameter is replaced by the
 1165|       |    // corresponding argument's preprocessing token sequence."
 1166|       |
 1167|  2.33k|    bool pasting = false;
 1168|  2.33k|    if (postpaste) {
  ------------------
  |  Branch (1168:9): [True: 0, False: 2.33k]
  ------------------
 1169|       |        // don't expand next token
 1170|      0|        pasting = true;
 1171|      0|        postpaste = false;
 1172|      0|    }
 1173|       |
 1174|  2.33k|    if (prepaste) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 2.33k]
  ------------------
 1175|       |        // already know we should be on a ##, verify
 1176|      0|        assert(token == PpAtomPaste);
 1177|      0|        prepaste = false;
 1178|      0|        postpaste = true;
 1179|      0|    }
 1180|       |
 1181|       |    // see if are preceding a ##
 1182|  2.33k|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1182:9): [True: 0, False: 2.33k]
  ------------------
 1183|      0|        prepaste = true;
 1184|      0|        pasting = true;
 1185|      0|    }
 1186|       |
 1187|       |
 1188|       |    // TODO: preprocessor:  properly handle whitespace (or lack of it) between tokens when expanding
 1189|  2.33k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1189:9): [True: 584, False: 1.75k]
  ------------------
 1190|    584|        int i;
 1191|    584|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1191:45): [True: 0, False: 584]
  ------------------
 1192|      0|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1192:17): [True: 0, False: 0]
  ------------------
 1193|      0|                break;
 1194|    584|        if (i >= 0) {
  ------------------
  |  Branch (1194:13): [True: 0, False: 584]
  ------------------
 1195|      0|            TokenStream* arg = expandedArgs[i];
 1196|      0|            bool expanded = !!arg && !pasting;
  ------------------
  |  Branch (1196:29): [True: 0, False: 0]
  |  Branch (1196:38): [True: 0, False: 0]
  ------------------
 1197|       |            // HLSL does expand macros before concatenation
 1198|      0|            if (arg == nullptr || (pasting && !pp->parseContext.isReadingHLSL()) ) {
  ------------------
  |  Branch (1198:17): [True: 0, False: 0]
  |  Branch (1198:36): [True: 0, False: 0]
  |  Branch (1198:47): [True: 0, False: 0]
  ------------------
 1199|      0|                arg = args[i];
 1200|      0|            }
 1201|      0|            pp->pushTokenStreamInput(*arg, prepaste, expanded);
 1202|       |
 1203|      0|            return pp->scanToken(ppToken);
 1204|      0|        }
 1205|    584|    }
 1206|       |
 1207|  2.33k|    if (token == EndOfInput)
  ------------------
  |  Branch (1207:9): [True: 0, False: 2.33k]
  ------------------
 1208|      0|        mac->busy = 0;
 1209|       |
 1210|  2.33k|    return token;
 1211|  2.33k|}
_ZN7glslang10TPpContext10tZeroInput4scanEPNS_8TPpTokenE:
 1215|      6|{
 1216|      6|    if (done)
  ------------------
  |  Branch (1216:9): [True: 3, False: 3]
  ------------------
 1217|      3|        return EndOfInput;
 1218|       |
 1219|      3|    ppToken->name[0] = '0';
 1220|      3|    ppToken->name[1] = 0;
 1221|      3|    ppToken->ival = 0;
 1222|      3|    ppToken->space = false;
 1223|      3|    done = true;
 1224|       |
 1225|      3|    return PpAtomConstInt;
 1226|      6|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1241|  2.11M|{
 1242|  2.11M|    ppToken->space = false;
 1243|  2.11M|    int macroAtom = atomStrings.getAtom(ppToken->name);
 1244|       |
 1245|       |    // Bound total MacroExpand nesting depth to prevent stack overflow
 1246|       |    // via unbounded MacroExpand <-> PrescanMacroArg mutual recursion.
 1247|  2.11M|    if (macroExpandDepth >= maxMacroExpandDepth) {
  ------------------
  |  Branch (1247:9): [True: 0, False: 2.11M]
  ------------------
 1248|      0|        parseContext.ppError(ppToken->loc, "macro expansion depth limit exceeded",
 1249|      0|                             "macro expansion", "%s", ppToken->name);
 1250|      0|        return MacroExpandNotStarted;
 1251|      0|    }
 1252|  2.11M|    struct DepthGuard {
 1253|  2.11M|        int& d;
 1254|  2.11M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
 1255|  2.11M|        ~DepthGuard() { --d; }
 1256|  2.11M|    } guard(macroExpandDepth);
 1257|       |
 1258|  2.11M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1258:9): [True: 0, False: 2.11M]
  ------------------
 1259|      0|        return MacroExpandNotStarted;
 1260|       |
 1261|  2.11M|    switch (macroAtom) {
 1262|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1262:5): [True: 0, False: 2.11M]
  ------------------
 1263|       |        // Arguments which are macro have been replaced in the first stage.
 1264|      0|        if (ppToken->ival == 0)
  ------------------
  |  Branch (1264:13): [True: 0, False: 0]
  ------------------
 1265|      0|            ppToken->ival = parseContext.getCurrentLoc().line;
 1266|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1267|      0|        UngetToken(PpAtomConstInt, ppToken);
 1268|      0|        return MacroExpandStarted;
 1269|       |
 1270|      0|    case PpAtomFileMacro: {
  ------------------
  |  Branch (1270:5): [True: 0, False: 2.11M]
  ------------------
 1271|      0|        if (parseContext.getCurrentLoc().name)
  ------------------
  |  Branch (1271:13): [True: 0, False: 0]
  ------------------
 1272|      0|            parseContext.ppRequireExtensions(ppToken->loc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based __FILE__");
 1273|      0|        ppToken->ival = parseContext.getCurrentLoc().string;
 1274|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%s", ppToken->loc.getStringNameOrNum().c_str());
 1275|      0|        UngetToken(PpAtomConstInt, ppToken);
 1276|      0|        return MacroExpandStarted;
 1277|      0|    }
 1278|       |
 1279|      0|    case PpAtomVersionMacro:
  ------------------
  |  Branch (1279:5): [True: 0, False: 2.11M]
  ------------------
 1280|      0|        ppToken->ival = parseContext.version;
 1281|      0|        snprintf(ppToken->name, sizeof(ppToken->name), "%d", ppToken->ival);
 1282|      0|        UngetToken(PpAtomConstInt, ppToken);
 1283|      0|        return MacroExpandStarted;
 1284|       |
 1285|  2.11M|    default:
  ------------------
  |  Branch (1285:5): [True: 2.11M, False: 0]
  ------------------
 1286|  2.11M|        break;
 1287|  2.11M|    }
 1288|       |
 1289|  2.11M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1289:26): [True: 2.11M, False: 438]
  ------------------
 1290|       |
 1291|       |    // no recursive expansions
 1292|  2.11M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1292:9): [True: 438, False: 2.11M]
  |  Branch (1292:29): [True: 432, False: 6]
  ------------------
 1293|    432|        ppToken->fullyExpanded = true;
 1294|    432|        return MacroExpandNotStarted;
 1295|    432|    }
 1296|       |
 1297|       |    // not expanding undefined macros
 1298|  2.11M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1298:10): [True: 2.11M, False: 6]
  |  Branch (1298:30): [True: 0, False: 6]
  |  Branch (1298:47): [True: 2.11M, False: 3]
  ------------------
 1299|  2.11M|        return MacroExpandNotStarted;
 1300|       |
 1301|       |    // 0 is the value of an undefined macro
 1302|      9|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1302:10): [True: 3, False: 6]
  |  Branch (1302:30): [True: 0, False: 6]
  |  Branch (1302:47): [True: 3, False: 0]
  ------------------
 1303|      3|        pushInput(new tZeroInput(this));
 1304|      3|        return MacroExpandUndef;
 1305|      3|    }
 1306|       |
 1307|      6|    tMacroInput *in = new tMacroInput(this);
 1308|       |
 1309|      6|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1310|      6|    in->mac = macro;
 1311|      6|    if (macro->functionLike) {
  ------------------
  |  Branch (1311:9): [True: 4, False: 2]
  ------------------
 1312|       |        // We don't know yet if this will be a successful call of a
 1313|       |        // function-like macro; need to look for a '(', but without trashing
 1314|       |        // the passed in ppToken, until we know we are no longer speculative.
 1315|      4|        TPpToken parenToken;
 1316|      4|        int token = scanToken(&parenToken);
 1317|      4|        if (newLineOkay) {
  ------------------
  |  Branch (1317:13): [True: 4, False: 0]
  ------------------
 1318|      4|            while (token == '\n')
  ------------------
  |  Branch (1318:20): [True: 0, False: 4]
  ------------------
 1319|      0|                token = scanToken(&parenToken);
 1320|      4|        }
 1321|      4|        if (token != '(') {
  ------------------
  |  Branch (1321:13): [True: 0, False: 4]
  ------------------
 1322|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1323|       |            // (We ate exactly one token that might not be white space; put it back.
 1324|      0|            UngetToken(token, &parenToken);
 1325|      0|            delete in;
 1326|      0|            return MacroExpandNotStarted;
 1327|      0|        }
 1328|      4|        in->args.resize(in->mac->args.size());
 1329|      4|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1329:28): [True: 0, False: 4]
  ------------------
 1330|      0|            in->args[i] = new TokenStream;
 1331|      4|        in->expandedArgs.resize(in->mac->args.size());
 1332|      4|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1332:28): [True: 0, False: 4]
  ------------------
 1333|      0|            in->expandedArgs[i] = nullptr;
 1334|      4|        size_t arg = 0;
 1335|      4|        bool tokenRecorded = false;
 1336|      4|        do {
 1337|      4|            TVector<char> nestStack;
 1338|      4|            while (true) {
  ------------------
  |  Branch (1338:20): [True: 4, Folded]
  ------------------
 1339|      4|                token = scanToken(ppToken);
 1340|      4|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1340:21): [True: 0, False: 4]
  |  Branch (1340:44): [True: 0, False: 4]
  ------------------
 1341|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1342|      0|                    delete in;
 1343|      0|                    return MacroExpandError;
 1344|      0|                }
 1345|      4|                if (token == '\n') {
  ------------------
  |  Branch (1345:21): [True: 0, False: 4]
  ------------------
 1346|      0|                    if (! newLineOkay) {
  ------------------
  |  Branch (1346:25): [True: 0, False: 0]
  ------------------
 1347|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1348|      0|                        delete in;
 1349|      0|                        return MacroExpandError;
 1350|      0|                    }
 1351|      0|                    continue;
 1352|      0|                }
 1353|      4|                if (token == '#') {
  ------------------
  |  Branch (1353:21): [True: 0, False: 4]
  ------------------
 1354|      0|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1355|      0|                    delete in;
 1356|      0|                    return MacroExpandError;
 1357|      0|                }
 1358|      4|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1358:21): [True: 4, False: 0]
  |  Branch (1358:50): [True: 4, False: 0]
  ------------------
 1359|      4|                    break;
 1360|      0|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1360:21): [True: 0, False: 0]
  |  Branch (1360:47): [True: 0, False: 0]
  |  Branch (1360:63): [True: 0, False: 0]
  ------------------
 1361|      0|                    break;
 1362|      0|                if (token == '(')
  ------------------
  |  Branch (1362:21): [True: 0, False: 0]
  ------------------
 1363|      0|                    nestStack.push_back(')');
 1364|      0|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1364:26): [True: 0, False: 0]
  |  Branch (1364:42): [True: 0, False: 0]
  ------------------
 1365|      0|                    nestStack.push_back('}');
 1366|      0|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1366:26): [True: 0, False: 0]
  |  Branch (1366:50): [True: 0, False: 0]
  ------------------
 1367|      0|                    nestStack.pop_back();
 1368|       |
 1369|       |                //Macro replacement list is expanded in the last stage.
 1370|      0|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1370:21): [True: 0, False: 0]
  ------------------
 1371|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1372|       |
 1373|      0|                in->args[arg]->putToken(token, ppToken);
 1374|      0|                tokenRecorded = true;
 1375|      0|            }
 1376|       |            // end of single argument scan
 1377|       |
 1378|      4|            if (token == ')') {
  ------------------
  |  Branch (1378:17): [True: 0, False: 4]
  ------------------
 1379|       |                // closing paren of call
 1380|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1380:21): [True: 0, False: 0]
  |  Branch (1380:50): [True: 0, False: 0]
  ------------------
 1381|      0|                    break;
 1382|      0|                arg++;
 1383|      0|                break;
 1384|      0|            }
 1385|      4|            arg++;
 1386|      4|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1386:18): [True: 0, False: 4]
  ------------------
 1387|       |        // end of all arguments scan
 1388|       |
 1389|      4|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1389:13): [True: 0, False: 4]
  ------------------
 1390|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1391|      4|        else if (token != ')') {
  ------------------
  |  Branch (1391:18): [True: 4, False: 0]
  ------------------
 1392|       |            // Error recover code; find end of call, if possible
 1393|      4|            int depth = 0;
 1394|  26.2k|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1394:20): [True: 26.2k, False: 4]
  |  Branch (1394:44): [True: 26.1k, False: 57]
  |  Branch (1394:57): [True: 57, False: 0]
  ------------------
 1395|  26.2k|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1395:21): [True: 161, False: 26.0k]
  |  Branch (1395:37): [True: 9, False: 26.0k]
  ------------------
 1396|    170|                    depth--;
 1397|  26.2k|                token = scanToken(ppToken);
 1398|  26.2k|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1398:21): [True: 627, False: 25.6k]
  |  Branch (1398:37): [True: 17, False: 25.5k]
  ------------------
 1399|    644|                    depth++;
 1400|  26.2k|            }
 1401|       |
 1402|      4|            if (token == EndOfInput) {
  ------------------
  |  Branch (1402:17): [True: 4, False: 0]
  ------------------
 1403|      4|                parseContext.ppError(loc, "End of input in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1404|      4|                delete in;
 1405|      4|                return MacroExpandError;
 1406|      4|            }
 1407|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", "%s", atomStrings.getString(macroAtom));
 1408|      0|        }
 1409|       |
 1410|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1411|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1412|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1412:28): [True: 0, False: 0]
  ------------------
 1413|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1414|      0|    }
 1415|       |
 1416|      2|    pushInput(in);
 1417|      2|    macro->busy = 1;
 1418|      2|    macro->body.reset();
 1419|       |
 1420|      2|    return MacroExpandStarted;
 1421|      6|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  428|     92|    int op_pos(int a) { return a; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardC2ERi:
 1254|  2.11M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardD2Ev:
 1255|  2.11M|        ~DepthGuard() { --d; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  12.4M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  24.8M|    {
   96|  24.8M|        space = false;
   97|  24.8M|        i64val = 0;
   98|  24.8M|        loc.init();
   99|  24.8M|        name[0] = 0;
  100|  24.8M|        fullyExpanded = false;
  101|  24.8M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  2.33M|    {
  142|  2.33M|        auto it = atomMap.find(s);
  143|  2.33M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 2.30M, False: 28.5k]
  ------------------
  144|  2.33M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  16.2k|    {
  149|  16.2k|        int atom = getAtom(s);
  150|  16.2k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 16.2k, False: 0]
  ------------------
  151|  16.2k|            atom = nextAtom++;
  152|  16.2k|            addAtomFixed(s, atom);
  153|  16.2k|        }
  154|  16.2k|        return atom;
  155|  16.2k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  4.10M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|   130k|    {
  177|   130k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|   130k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 1.86k, False: 128k]
  ------------------
  179|  1.86k|            stringMap.resize(atom + 100, &badToken);
  180|   130k|        stringMap[atom] = &it->first;
  181|   130k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    441|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    441|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  6.64M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|  2.33k|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    437|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    437|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    437|    {
  233|    437|        inputStack.push_back(in);
  234|    437|        in->notifyActivated();
  235|    437|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    437|    {
  238|    437|        inputStack.back()->notifyDeleted();
  239|    437|        delete inputStack.back();
  240|    437|        inputStack.pop_back();
  241|    437|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  23.5k|                atom(atom),
  256|  23.5k|                space(ppToken.space),
  257|  23.5k|                i64val(ppToken.i64val),
  258|  23.5k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStream5Token3getERNS_8TPpTokenE:
  260|  2.33k|            {
  261|  2.33k|                ppToken.clear();
  262|  2.33k|                ppToken.space = space;
  263|  2.33k|                ppToken.i64val = i64val;
  264|  2.33k|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", name.c_str());
  265|  2.33k|                return atom;
  266|  2.33k|            }
_ZNK7glslang10TPpContext11TokenStream5Token6isAtomEi:
  267|  4.67k|            bool isAtom(int a) const { return atom == a; }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  32.4k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11TokenStream9peekTokenEi:
  281|  4.67k|        bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); }
  ------------------
  |  Branch (281:43): [True: 4.67k, False: 0]
  |  Branch (281:55): [True: 0, False: 4.67k]
  ------------------
_ZN7glslang10TPpContext11TokenStream5atEndEv:
  317|  7.00k|        bool atEnd() { return currentPos >= stream.size(); }
_ZN7glslang10TPpContext11TokenStream5resetEv:
  319|      2|        void reset() { currentPos = 0; }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  331|  32.4k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  16.6k|    {
  343|  16.6k|        auto existingMacroIt = macroDefs.find(atom);
  344|  16.6k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 16.2k, False: 438]
  ------------------
  345|  16.6k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  16.2k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  12.3M|    {
  370|  12.3M|        int token = EndOfInput;
  371|       |
  372|  12.3M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 12.3M, False: 389]
  ------------------
  373|  12.3M|            token = inputStack.back()->scan(ppToken);
  374|  12.3M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 12.3M, False: 390]
  |  Branch (374:40): [True: 0, False: 390]
  ------------------
  375|  12.3M|                break;
  376|    390|            popInput();
  377|    390|        }
  378|  12.3M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 12.3M, False: 389]
  |  Branch (378:36): [True: 12.3M, False: 2.33k]
  |  Branch (378:74): [True: 6.74M, False: 5.59M]
  ------------------
  379|  6.74M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 429k, False: 6.31M]
  ------------------
  380|   429k|                lastLineTokens.clear();
  381|   429k|                lastLineTokenLocs.clear();
  382|  6.31M|            } else {
  383|  6.31M|                lastLineTokens.push_back(token);
  384|  6.31M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  6.31M|            }
  386|  6.74M|        }
  387|  12.3M|        return token;
  388|  12.3M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|  52.4k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|  21.4k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  6.65M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 6.65M, False: 292]
  |  Branch (391:56): [True: 0, False: 6.65M]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  407|      6|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  409|      6|        {
  410|      6|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (410:32): [True: 0, False: 6]
  ------------------
  411|      0|                delete args[i];
  412|      6|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (412:32): [True: 0, False: 6]
  ------------------
  413|      0|                delete expandedArgs[i];
  414|      6|        }
_ZN7glslang10TPpContext11tMacroInput11peekPastingEv:
  419|  2.33k|        bool peekPasting() override { return prepaste; }
_ZN7glslang10TPpContext10tZeroInputC2EPS0_:
  460|      3|        tZeroInput(TPpContext* pp) : tInput(pp) { }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  550|    432|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  552|  12.3M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  557|  40.3M|        {
  558|  40.3M|            int ch = input->get();
  559|       |
  560|  40.3M|            if (ch == '\\') {
  ------------------
  |  Branch (560:17): [True: 72.5k, False: 40.2M]
  ------------------
  561|       |                // Move past escaped newlines, as many as sequentially exist
  562|  75.4k|                do {
  563|  75.4k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (563:25): [True: 42.9k, False: 32.4k]
  |  Branch (563:50): [True: 600, False: 31.8k]
  ------------------
  564|  43.5k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  565|  43.5k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (565:29): [True: 341, False: 43.2k]
  |  Branch (565:42): [True: 320, False: 21]
  ------------------
  566|    320|                            return '\\';
  567|       |
  568|       |                        // escape one newline now
  569|  43.2k|                        ch = input->get();
  570|  43.2k|                        int nextch = input->get();
  571|  43.2k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (571:29): [True: 42.6k, False: 605]
  |  Branch (571:43): [True: 1.47k, False: 41.1k]
  ------------------
  572|  1.47k|                            ch = input->get();
  573|  41.7k|                        else
  574|  41.7k|                            ch = nextch;
  575|  43.2k|                    } else
  576|  31.8k|                        return '\\';
  577|  75.4k|                } while (ch == '\\');
  ------------------
  |  Branch (577:26): [True: 2.83k, False: 40.3k]
  ------------------
  578|  72.5k|            }
  579|       |
  580|       |            // handle any non-escaped newline
  581|  40.3M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (581:17): [True: 2.06M, False: 38.2M]
  |  Branch (581:31): [True: 1.14M, False: 37.1M]
  ------------------
  582|  3.20M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (582:21): [True: 2.06M, False: 1.14M]
  |  Branch (582:35): [True: 11.9k, False: 2.05M]
  ------------------
  583|  11.9k|                    input->get();
  584|  3.20M|                return '\n';
  585|  3.20M|            }
  586|       |
  587|  37.1M|            return ch;
  588|  40.3M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  595|  4.20M|        {
  596|  4.20M|            input->unget();
  597|       |
  598|  4.20M|            do {
  599|  4.20M|                int ch = input->peek();
  600|  4.20M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:21): [True: 910k, False: 3.29M]
  |  Branch (600:35): [True: 244k, False: 3.04M]
  ------------------
  601|  1.15M|                    if (ch == '\n') {
  ------------------
  |  Branch (601:25): [True: 244k, False: 910k]
  ------------------
  602|       |                        // correct for two-character newline
  603|   244k|                        input->unget();
  604|   244k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (604:29): [True: 244k, False: 696]
  ------------------
  605|   244k|                            input->get();
  606|   244k|                    }
  607|       |                    // now in front of a complete newline, move past an escape character
  608|  1.15M|                    input->unget();
  609|  1.15M|                    if (input->peek() == '\\')
  ------------------
  |  Branch (609:25): [True: 0, False: 1.15M]
  ------------------
  610|      0|                        input->unget();
  611|  1.15M|                    else {
  612|  1.15M|                        input->get();
  613|  1.15M|                        break;
  614|  1.15M|                    }
  615|  1.15M|                } else
  616|  3.04M|                    break;
  617|  4.20M|            } while (true);
  ------------------
  |  Branch (617:22): [True: 0, Folded]
  ------------------
  618|  4.20M|        }

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

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

_ZN7glslang22PropagateNoContractionERKNS_13TIntermediateE:
  792|      2|{
  793|       |    // First, traverses the AST, records symbols with their defining operations
  794|       |    // and collects the initial set of precise symbols (symbol nodes that marked
  795|       |    // as 'noContraction') and precise return nodes.
  796|      2|    auto mappings_and_precise_objects =
  797|      2|        getSymbolToDefinitionMappingAndPreciseSymbolIDs(intermediate);
  798|       |
  799|       |    // The mapping of symbol node IDs to their defining nodes. This enables us
  800|       |    // to get the defining node directly from a given symbol ID without
  801|       |    // traversing the tree again.
  802|      2|    NodeMapping& symbol_definition_mapping = std::get<0>(mappings_and_precise_objects);
  803|       |
  804|       |    // The mapping of object nodes to their access chains recorded.
  805|      2|    AccessChainMapping& accesschain_mapping = std::get<1>(mappings_and_precise_objects);
  806|       |
  807|       |    // The initial set of 'precise' objects which are represented as the
  808|       |    // access chain toward them.
  809|      2|    ObjectAccesschainSet& precise_object_accesschains = std::get<2>(mappings_and_precise_objects);
  810|       |
  811|       |    // The set of 'precise' return nodes.
  812|      2|    ReturnBranchNodeSet& precise_return_nodes = std::get<3>(mappings_and_precise_objects);
  813|       |
  814|       |    // Second, uses the initial set of precise objects as a work list, pops an
  815|       |    // access chain, extract the symbol ID from it. Then:
  816|       |    //  1) Check the assignee object, see if it is 'precise' object node or
  817|       |    //  contains 'precise' object. Obtain the incremental access chain from the
  818|       |    //  assignee node to its nested 'precise' node (if any).
  819|       |    //  2) If the assignee object node is 'precise' or it contains 'precise'
  820|       |    //  objects, traverses the right side of the assignment operation
  821|       |    //  expression to mark arithmetic operations as 'noContration' and update
  822|       |    //  'precise' access chain work list with new found object nodes.
  823|       |    // Repeat above steps until the work list is empty.
  824|      2|    TNoContractionAssigneeCheckingTraverser checker(accesschain_mapping);
  825|      2|    TNoContractionPropagator propagator(&precise_object_accesschains, accesschain_mapping);
  826|       |
  827|       |    // We have two initial precise work lists to handle:
  828|       |    //  1) precise return nodes
  829|       |    //  2) precise object access chains
  830|       |    // We should process the precise return nodes first and the involved
  831|       |    // objects in the return expression should be added to the precise object
  832|       |    // access chain set.
  833|      2|    while (!precise_return_nodes.empty()) {
  ------------------
  |  Branch (833:12): [True: 0, False: 2]
  ------------------
  834|      0|        glslang::TIntermBranch* precise_return_node = *precise_return_nodes.begin();
  835|      0|        propagator.propagateNoContractionInReturnNode(precise_return_node);
  836|      0|        precise_return_nodes.erase(precise_return_node);
  837|      0|    }
  838|       |
  839|      2|    while (!precise_object_accesschains.empty()) {
  ------------------
  |  Branch (839:12): [True: 0, False: 2]
  ------------------
  840|       |        // Get the access chain of a precise object from the work list.
  841|      0|        ObjectAccessChain precise_object_accesschain = *precise_object_accesschains.begin();
  842|       |        // Get the symbol id from the access chain.
  843|      0|        ObjectAccessChain symbol_id = getFrontElement(precise_object_accesschain);
  844|       |        // Get all the defining nodes of that symbol ID.
  845|      0|        std::pair<NodeMapping::iterator, NodeMapping::iterator> range =
  846|      0|            symbol_definition_mapping.equal_range(symbol_id);
  847|       |        // Visits all the assignment nodes of that symbol ID and
  848|       |        //  1) Check if the assignee node is 'precise' or contains 'precise'
  849|       |        //  objects.
  850|       |        //  2) Propagate the 'precise' to the top layer object nodes
  851|       |        //  in the right side of the assignment operation, update the 'precise'
  852|       |        //  work list with new access chains representing the new 'precise'
  853|       |        //  objects, and mark arithmetic operations as 'noContraction'.
  854|      0|        for (NodeMapping::iterator defining_node_iter = range.first;
  855|      0|             defining_node_iter != range.second; defining_node_iter++) {
  ------------------
  |  Branch (855:14): [True: 0, False: 0]
  ------------------
  856|      0|            TIntermOperator* defining_node = defining_node_iter->second;
  857|       |            // Check the assignee node.
  858|      0|            auto checker_result = checker.getPrecisenessAndRemainedAccessChain(
  859|      0|                defining_node, precise_object_accesschain);
  860|      0|            bool& contain_precise = std::get<0>(checker_result);
  861|      0|            ObjectAccessChain& remained_accesschain = std::get<1>(checker_result);
  862|       |            // If the assignee node is 'precise' or contains 'precise', propagate the
  863|       |            // 'precise' to the right. Otherwise just skip this assignment node.
  864|      0|            if (contain_precise) {
  ------------------
  |  Branch (864:17): [True: 0, False: 0]
  ------------------
  865|      0|                propagator.propagateNoContractionInOneExpression(defining_node,
  866|      0|                                                                 remained_accesschain);
  867|      0|            }
  868|      0|        }
  869|       |        // Remove the last processed 'precise' object from the work list.
  870|      0|        precise_object_accesschains.erase(precise_object_accesschain);
  871|      0|    }
  872|      2|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_147getSymbolToDefinitionMappingAndPreciseSymbolIDsERKN7glslang13TIntermediateE:
  422|      2|{
  423|      2|    auto result_tuple = std::make_tuple(NodeMapping(), AccessChainMapping(), ObjectAccesschainSet(),
  424|      2|                                        ReturnBranchNodeSet());
  425|       |
  426|      2|    TIntermNode* root = intermediate.getTreeRoot();
  427|      2|    if (root == nullptr)
  ------------------
  |  Branch (427:9): [True: 0, False: 2]
  ------------------
  428|      0|        return result_tuple;
  429|       |
  430|      2|    NodeMapping& symbol_definition_mapping = std::get<0>(result_tuple);
  431|      2|    AccessChainMapping& accesschain_mapping = std::get<1>(result_tuple);
  432|      2|    ObjectAccesschainSet& precise_objects = std::get<2>(result_tuple);
  433|      2|    ReturnBranchNodeSet& precise_return_nodes = std::get<3>(result_tuple);
  434|       |
  435|       |    // Traverses the AST and populate the results.
  436|      2|    TSymbolDefinitionCollectingTraverser collector(&symbol_definition_mapping, &accesschain_mapping,
  437|      2|                                                   &precise_objects, &precise_return_nodes);
  438|      2|    root->traverse(&collector);
  439|       |
  440|      2|    return result_tuple;
  441|      2|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_136TSymbolDefinitionCollectingTraverserC2EPNSt3__118unordered_multimapINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPN7glslang15TIntermOperatorENS1_4hashIS8_EENS1_8equal_toIS8_EENS6_INS1_4pairIKS8_SB_EEEEEEPNS1_13unordered_mapIPNS9_12TIntermTypedES8_NSC_ISO_EENSE_ISO_EENS6_INSG_IKSO_S8_EEEEEEPNS1_13unordered_setIS8_SD_SF_NS6_IS8_EEEEPNSW_IPNS9_13TIntermBranchENSC_IS11_EENSE_IS11_EENS6_IS11_EEEE:
  278|      2|    : TIntermTraverser(true, false, false), symbol_definition_mapping_(*symbol_definition_mapping),
  279|      2|      precise_objects_(*precise_objects), precise_return_nodes_(*precise_return_nodes),
  280|      2|      current_object_(), accesschain_mapping_(*accesschain_mapping),
  281|      2|      current_function_definition_node_(nullptr) {}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_136TSymbolDefinitionCollectingTraverser14visitAggregateEN7glslang6TVisitEPNS1_16TIntermAggregateE:
  296|      4|{
  297|       |    // This aggregate node might be a function definition node, in which case we need to
  298|       |    // cache this node, so we can get the preciseness information of the return value
  299|       |    // of this function later.
  300|      4|    StateSettingGuard<glslang::TIntermAggregate*> current_function_definition_node_setting_guard(
  301|      4|        &current_function_definition_node_);
  302|      4|    if (node->getOp() == glslang::EOpFunction) {
  ------------------
  |  Branch (302:9): [True: 0, False: 4]
  ------------------
  303|       |        // This is function definition node, we need to cache this node so that we can
  304|       |        // get the preciseness of the return value later.
  305|      0|        current_function_definition_node_setting_guard.setState(node);
  306|      0|    }
  307|       |    // Traverse the items in the sequence.
  308|      4|    glslang::TIntermSequence& seq = node->getSequence();
  309|      6|    for (int i = 0; i < (int)seq.size(); ++i) {
  ------------------
  |  Branch (309:21): [True: 2, False: 4]
  ------------------
  310|      2|        current_object_.clear();
  311|      2|        seq[i]->traverse(this);
  312|      2|    }
  313|      4|    return false;
  314|      4|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_117StateSettingGuardIPN7glslang16TIntermAggregateEEC2EPS3_:
  199|      4|    StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_117StateSettingGuardIPN7glslang16TIntermAggregateEED2Ev:
  201|      4|    ~StateSettingGuard() { *state_ptr_ = previous_state_; }
propagateNoContraction.cpp:_ZN12_GLOBAL__N_139TNoContractionAssigneeCheckingTraverserC2ERKNSt3__113unordered_mapIPN7glslang12TIntermTypedENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_4hashIS5_EENS1_8equal_toIS5_EENS9_INS1_4pairIKS5_SB_EEEEEE:
  470|      2|        : TIntermTraverser(true, false, false), accesschain_mapping_(accesschain_mapping),
  471|      2|          precise_object_(nullptr) {}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_124TNoContractionPropagatorC2EPNSt3__113unordered_setINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_4hashIS8_EENS1_8equal_toIS8_EENS6_IS8_EEEERKNS1_13unordered_mapIPN7glslang12TIntermTypedES8_NS9_ISJ_EENSB_ISJ_EENS6_INS1_4pairIKSJ_S8_EEEEEE:
  623|      2|        : TIntermTraverser(true, false, false),
  624|      2|          precise_objects_(*precise_objects), added_precise_object_ids_(),
  625|      2|          remained_accesschain_(), accesschain_mapping_(accesschain_mapping) {}

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

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

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

