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

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

_ZN7glslang11HlslGrammar5parseEv:
   65|    224|{
   66|    224|    advanceToken();
   67|    224|    return acceptCompilationUnit();
   68|    224|}
_ZN7glslang11HlslGrammar8expectedEPKc:
   71|  2.55k|{
   72|  2.55k|    parseContext.error(token.loc, "Expected", syntax, "");
   73|  2.55k|}
_ZN7glslang11HlslGrammar16acceptIdentifierERNS_9HlslTokenE:
   87|  1.90M|{
   88|       |    // IDENTIFIER
   89|  1.90M|    if (peekTokenClass(EHTokIdentifier)) {
  ------------------
  |  Branch (89:9): [True: 449k, False: 1.45M]
  ------------------
   90|   449k|        idToken = token;
   91|   449k|        advanceToken();
   92|   449k|        return true;
   93|   449k|    }
   94|       |
   95|       |    // THIS
   96|       |    // -> maps to the IDENTIFIER spelled with the internal special name for 'this'
   97|  1.45M|    if (peekTokenClass(EHTokThis)) {
  ------------------
  |  Branch (97:9): [True: 0, False: 1.45M]
  ------------------
   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.45M|    const char* idString = getTypeString(peek());
  113|  1.45M|    if (idString == nullptr)
  ------------------
  |  Branch (113:9): [True: 1.45M, False: 4]
  ------------------
  114|  1.45M|        return false;
  115|       |
  116|      4|    token.string     = NewPoolTString(idString);
  117|      4|    token.tokenClass = EHTokIdentifier;
  118|      4|    idToken = token;
  119|      4|    typeIdentifiers = true;
  120|       |
  121|      4|    advanceToken();
  122|       |
  123|      4|    return true;
  124|  1.45M|}
_ZN7glslang11HlslGrammar21acceptCompilationUnitEv:
  130|    224|{
  131|    224|    if (! acceptDeclarationList(unitNode))
  ------------------
  |  Branch (131:9): [True: 33, False: 191]
  ------------------
  132|     33|        return false;
  133|       |
  134|    191|    if (! peekTokenClass(EHTokNone))
  ------------------
  |  Branch (134:9): [True: 0, False: 191]
  ------------------
  135|      0|        return false;
  136|       |
  137|       |    // set root of AST
  138|    191|    if (unitNode && !unitNode->getAsAggregate())
  ------------------
  |  Branch (138:9): [True: 0, False: 191]
  |  Branch (138:21): [True: 0, False: 0]
  ------------------
  139|      0|        unitNode = intermediate.growAggregate(nullptr, unitNode);
  140|    191|    intermediate.setTreeRoot(unitNode);
  141|       |
  142|    191|    return true;
  143|    191|}
_ZN7glslang11HlslGrammar21acceptDeclarationListERP11TIntermNode:
  156|    224|{
  157|   448k|    do {
  158|       |        // HLSL allows extra semicolons between global declarations
  159|   448k|        do { } while (acceptTokenClass(EHTokSemicolon));
  ------------------
  |  Branch (159:23): [True: 0, False: 448k]
  ------------------
  160|       |
  161|       |        // EOF or RIGHT_BRACE
  162|   448k|        if (peekTokenClass(EHTokNone) || peekTokenClass(EHTokRightBrace))
  ------------------
  |  Branch (162:13): [True: 191, False: 448k]
  |  Branch (162:42): [True: 0, False: 448k]
  ------------------
  163|    191|            return true;
  164|       |
  165|       |        // declaration
  166|   448k|        if (! acceptDeclaration(nodeList)) {
  ------------------
  |  Branch (166:13): [True: 33, False: 448k]
  ------------------
  167|     33|            expected("declaration");
  168|     33|            return false;
  169|     33|        }
  170|   448k|    } while (true);
  ------------------
  |  Branch (170:14): [True: 448k, Folded]
  ------------------
  171|       |
  172|      0|    return true;
  173|    224|}
_ZN7glslang11HlslGrammar18acceptSamplerStateEv:
  193|      9|{
  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|      9|    if (! acceptTokenClass(EHTokLeftBrace))
  ------------------
  |  Branch (197:9): [True: 9, False: 0]
  ------------------
  198|      9|        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|   448k|{
  335|       |    // NAMESPACE IDENTIFIER LEFT_BRACE declaration_list RIGHT_BRACE
  336|   448k|    if (acceptTokenClass(EHTokNamespace)) {
  ------------------
  |  Branch (336:9): [True: 0, False: 448k]
  ------------------
  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|   448k|    bool declarator_list = false; // true when processing comma separation
  360|       |
  361|       |    // attributes
  362|   448k|    TFunctionDeclarator declarator;
  363|   448k|    acceptAttributes(declarator.attributes);
  364|       |
  365|       |    // typedef
  366|   448k|    bool typedefDecl = acceptTokenClass(EHTokTypedef);
  367|       |
  368|   448k|    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|   448k|    bool forbidDeclarators = (peekTokenClass(EHTokCBuffer) || peekTokenClass(EHTokTBuffer));
  ------------------
  |  Branch (379:31): [True: 0, False: 448k]
  |  Branch (379:63): [True: 0, False: 448k]
  ------------------
  380|       |    // fully_specified_type
  381|   448k|    if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators))
  ------------------
  |  Branch (381:9): [True: 25, False: 448k]
  ------------------
  382|     25|        return false;
  383|       |
  384|       |    // cbuffer and tbuffer end with the closing '}'.
  385|       |    // No semicolon is included.
  386|   448k|    if (forbidDeclarators)
  ------------------
  |  Branch (386:9): [True: 0, False: 448k]
  ------------------
  387|      0|        return true;
  388|       |
  389|       |    // Check if there are invalid in/out qualifiers
  390|   448k|    switch (declaredType.getQualifier().storage) {
  391|      0|    case EvqIn:
  ------------------
  |  Branch (391:5): [True: 0, False: 448k]
  ------------------
  392|      1|    case EvqOut:
  ------------------
  |  Branch (392:5): [True: 1, False: 448k]
  ------------------
  393|      1|    case EvqInOut:
  ------------------
  |  Branch (393:5): [True: 0, False: 448k]
  ------------------
  394|      1|        parseContext.error(token.loc, "in/out qualifiers are only valid on parameters", token.getCStrOrEmpty(), "");
  395|      1|        break;
  396|   448k|    default:
  ------------------
  |  Branch (396:5): [True: 448k, False: 1]
  ------------------
  397|   448k|        break;
  398|   448k|    }
  399|       |
  400|       |    // declarator_list
  401|       |    //    : declarator
  402|       |    //         : identifier
  403|   448k|    HlslToken idToken;
  404|   448k|    TIntermAggregate* initializers = nullptr;
  405|   896k|    while (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (405:12): [True: 448k, False: 448k]
  ------------------
  406|   448k|        TString *fullName = idToken.string;
  407|   448k|        if (parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (407:13): [True: 448k, False: 0]
  ------------------
  408|   448k|            parseContext.getFullNamespaceName(fullName);
  409|   448k|        if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (409:13): [True: 448k, False: 10]
  ------------------
  410|       |            // looks like function parameters
  411|       |
  412|       |            // merge in the attributes into the return type
  413|   448k|            parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true);
  414|       |
  415|       |            // Potentially rename shader entry point function.  No-op most of the time.
  416|   448k|            parseContext.renameShaderFunction(fullName);
  417|       |
  418|       |            // function_parameters
  419|   448k|            declarator.function = new TFunction(fullName, declaredType);
  420|   448k|            if (!acceptFunctionParameters(*declarator.function)) {
  ------------------
  |  Branch (420:17): [True: 0, False: 448k]
  ------------------
  421|      0|                expected("function parameter list");
  422|      0|                return false;
  423|      0|            }
  424|       |
  425|       |            // post_decls
  426|   448k|            acceptPostDecls(declarator.function->getWritableType().getQualifier());
  427|       |
  428|       |            // compound_statement (function body definition) or just a prototype?
  429|   448k|            declarator.loc = token.loc;
  430|   448k|            if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (430:17): [True: 1, False: 448k]
  ------------------
  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|   448k|            } else {
  437|   448k|                if (typedefDecl)
  ------------------
  |  Branch (437:21): [True: 0, False: 448k]
  ------------------
  438|      0|                    parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
  439|   448k|                parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true);
  440|   448k|            }
  441|   448k|        } else {
  442|       |            // A variable declaration.
  443|       |
  444|       |            // merge in the attributes, the first time around, into the shared type
  445|     10|            if (! declarator_list)
  ------------------
  |  Branch (445:17): [True: 10, False: 0]
  ------------------
  446|     10|                parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType);
  447|       |
  448|       |            // Fix the storage qualifier if it's a global.
  449|     10|            if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
  ------------------
  |  Branch (449:17): [True: 7, False: 3]
  |  Branch (449:72): [True: 7, False: 0]
  ------------------
  450|      7|                declaredType.getQualifier().storage = EvqUniform;
  451|       |
  452|       |            // recognize array_specifier
  453|     10|            TArraySizes* arraySizes = nullptr;
  454|     10|            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|     10|            TType variableType;
  459|     10|            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|     10|            variableType.transferArraySizes(arraySizes);
  465|     10|            variableType.copyArrayInnerSizes(declaredType.getArraySizes());
  466|       |
  467|       |            // samplers accept immediate sampler state
  468|     10|            if (variableType.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (468:17): [True: 9, False: 1]
  ------------------
  469|      9|                if (! acceptSamplerState())
  ------------------
  |  Branch (469:21): [True: 0, False: 9]
  ------------------
  470|      0|                    return false;
  471|      9|            }
  472|       |
  473|       |            // post_decls
  474|     10|            acceptPostDecls(variableType.getQualifier());
  475|       |
  476|       |            // EQUAL assignment_expression
  477|     10|            TIntermTyped* expressionNode = nullptr;
  478|     10|            if (acceptTokenClass(EHTokAssign)) {
  ------------------
  |  Branch (478:17): [True: 0, False: 10]
  ------------------
  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|     10|            if (!(variableType.getBasicType() == EbtString && !variableType.getQualifier().isConstant()) &&
  ------------------
  |  Branch (489:19): [True: 0, False: 10]
  |  Branch (489:63): [True: 0, False: 0]
  ------------------
  490|     10|                parseContext.getAnnotationNestingLevel() == 0) {
  ------------------
  |  Branch (490:17): [True: 10, False: 0]
  ------------------
  491|     10|                if (typedefDecl)
  ------------------
  |  Branch (491:21): [True: 0, False: 10]
  ------------------
  492|      0|                    parseContext.declareTypedef(idToken.loc, *fullName, variableType);
  493|     10|                else if (variableType.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (493:26): [True: 0, False: 10]
  ------------------
  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|     10|                } else {
  499|     10|                    if (variableType.getQualifier().storage == EvqUniform && ! variableType.containsOpaque()) {
  ------------------
  |  Branch (499:25): [True: 9, False: 1]
  |  Branch (499:78): [True: 0, False: 9]
  ------------------
  500|       |                        // this isn't really an individual variable, but a member of the $Global buffer
  501|      0|                        parseContext.growGlobalUniformBlock(idToken.loc, variableType, *fullName);
  502|     10|                    } 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|     10|                        initializers = intermediate.growAggregate(initializers, 
  507|     10|                            parseContext.declareVariable(idToken.loc, *fullName, variableType, expressionNode),
  508|     10|                            idToken.loc);
  509|     10|                    }
  510|     10|                }
  511|     10|            }
  512|     10|        }
  513|       |
  514|       |        // COMMA
  515|   448k|        if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (515:13): [True: 0, False: 448k]
  ------------------
  516|      0|            declarator_list = true;
  517|   448k|    }
  518|       |
  519|       |    // The top-level initializer node is a sequence.
  520|   448k|    if (initializers != nullptr)
  ------------------
  |  Branch (520:9): [True: 0, False: 448k]
  ------------------
  521|      0|        initializers->setOperator(EOpSequence);
  522|       |
  523|       |    // if we have a locally scoped static, it needs a globally scoped initializer
  524|   448k|    if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (524:9): [True: 0, False: 448k]
  |  Branch (524:61): [True: 0, False: 0]
  ------------------
  525|      0|        unitNode = intermediate.growAggregate(unitNode, initializers, idToken.loc);
  526|   448k|    } else {
  527|       |        // Add the initializers' aggregate to the nodeList we were handed.
  528|   448k|        if (nodeList)
  ------------------
  |  Branch (528:13): [True: 0, False: 448k]
  ------------------
  529|      0|            nodeList = intermediate.growAggregate(nodeList, initializers);
  530|   448k|        else
  531|   448k|            nodeList = initializers;
  532|   448k|    }
  533|       |
  534|       |    // SEMICOLON
  535|   448k|    if (! acceptTokenClass(EHTokSemicolon)) {
  ------------------
  |  Branch (535:9): [True: 8, False: 448k]
  ------------------
  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|      8|        if (peek() == EHTokAssign || peek() == EHTokLeftBracket || peek() == EHTokDot || peek() == EHTokComma)
  ------------------
  |  Branch (540:13): [True: 0, False: 8]
  |  Branch (540:38): [True: 0, False: 8]
  |  Branch (540:68): [True: 0, False: 8]
  |  Branch (540:90): [True: 0, False: 8]
  ------------------
  541|      0|            recedeToken();
  542|      8|        else
  543|      8|            expected(";");
  544|      8|        return false;
  545|      8|    }
  546|       |
  547|   448k|    return true;
  548|   448k|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERKNS_5TListINS_14TAttributeArgsEEE:
  603|  1.00M|{
  604|  1.00M|    TIntermNode* nodeList = nullptr;
  605|  1.00M|    return acceptFullySpecifiedType(type, nodeList, attributes);
  606|  1.00M|}
_ZN7glslang11HlslGrammar24acceptFullySpecifiedTypeERNS_5TTypeERP11TIntermNodeRKNS_5TListINS_14TAttributeArgsEEEb:
  608|  1.45M|{
  609|       |    // type_qualifier
  610|  1.45M|    TQualifier qualifier;
  611|  1.45M|    qualifier.clear();
  612|  1.45M|    if (! acceptPreQualifier(qualifier))
  ------------------
  |  Branch (612:9): [True: 0, False: 1.45M]
  ------------------
  613|      0|        return false;
  614|  1.45M|    TSourceLoc loc = token.loc;
  615|       |
  616|       |    // type_specifier
  617|  1.45M|    if (! acceptType(type, nodeList)) {
  ------------------
  |  Branch (617:9): [True: 26, False: 1.45M]
  ------------------
  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|     26|        if (qualifier.sample)
  ------------------
  |  Branch (621:13): [True: 0, False: 26]
  ------------------
  622|      0|            recedeToken();
  623|       |
  624|     26|        return false;
  625|     26|    }
  626|       |
  627|       |    // type_qualifier
  628|  1.45M|    if (! acceptPostQualifier(qualifier))
  ------------------
  |  Branch (628:9): [True: 0, False: 1.45M]
  ------------------
  629|      0|       return false;
  630|       |
  631|  1.45M|    if (type.getBasicType() == EbtBlock) {
  ------------------
  |  Branch (631:9): [True: 0, False: 1.45M]
  ------------------
  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.45M|    } else {
  644|       |        // Some qualifiers are set when parsing the type.  Merge those with
  645|       |        // whatever comes from acceptPreQualifier and acceptPostQualifier.
  646|  1.45M|        assert(qualifier.layoutFormat == ElfNone);
  647|       |
  648|  1.45M|        qualifier.layoutFormat = type.getQualifier().layoutFormat;
  649|  1.45M|        qualifier.precision    = type.getQualifier().precision;
  650|       |
  651|  1.45M|        if (type.getQualifier().storage == EvqOut ||
  ------------------
  |  Branch (651:13): [True: 0, False: 1.45M]
  ------------------
  652|  1.45M|            type.getQualifier().storage == EvqBuffer) {
  ------------------
  |  Branch (652:13): [True: 0, False: 1.45M]
  ------------------
  653|      0|            qualifier.storage      = type.getQualifier().storage;
  654|      0|            qualifier.readonly     = type.getQualifier().readonly;
  655|      0|        }
  656|       |
  657|  1.45M|        if (type.isBuiltIn())
  ------------------
  |  Branch (657:13): [True: 0, False: 1.45M]
  ------------------
  658|      0|            qualifier.builtIn = type.getQualifier().builtIn;
  659|       |
  660|  1.45M|        type.getQualifier() = qualifier;
  661|  1.45M|    }
  662|       |
  663|  1.45M|    return true;
  664|  1.45M|}
_ZN7glslang11HlslGrammar18acceptPreQualifierERNS_10TQualifierE:
  672|  1.45M|{
  673|  1.55M|    do {
  674|  1.55M|        switch (peek()) {
  675|      0|        case EHTokStatic:
  ------------------
  |  Branch (675:9): [True: 0, False: 1.55M]
  ------------------
  676|      0|            qualifier.storage = EvqGlobal;
  677|      0|            break;
  678|      0|        case EHTokExtern:
  ------------------
  |  Branch (678:9): [True: 0, False: 1.55M]
  ------------------
  679|       |            // TODO: no meaning in glslang?
  680|      0|            break;
  681|      0|        case EHTokShared:
  ------------------
  |  Branch (681:9): [True: 0, False: 1.55M]
  ------------------
  682|       |            // TODO: hint
  683|      0|            break;
  684|      0|        case EHTokGroupShared:
  ------------------
  |  Branch (684:9): [True: 0, False: 1.55M]
  ------------------
  685|      0|            qualifier.storage = EvqShared;
  686|      0|            break;
  687|      0|        case EHTokUniform:
  ------------------
  |  Branch (687:9): [True: 0, False: 1.55M]
  ------------------
  688|      0|            qualifier.storage = EvqUniform;
  689|      0|            break;
  690|      1|        case EHTokConst:
  ------------------
  |  Branch (690:9): [True: 1, False: 1.55M]
  ------------------
  691|      1|            qualifier.storage = EvqConst;
  692|      1|            break;
  693|      0|        case EHTokVolatile:
  ------------------
  |  Branch (693:9): [True: 0, False: 1.55M]
  ------------------
  694|      0|            qualifier.volatil = true;
  695|      0|            break;
  696|      0|        case EHTokLinear:
  ------------------
  |  Branch (696:9): [True: 0, False: 1.55M]
  ------------------
  697|      0|            qualifier.smooth = true;
  698|      0|            break;
  699|      0|        case EHTokCentroid:
  ------------------
  |  Branch (699:9): [True: 0, False: 1.55M]
  ------------------
  700|      0|            qualifier.centroid = true;
  701|      0|            break;
  702|      0|        case EHTokNointerpolation:
  ------------------
  |  Branch (702:9): [True: 0, False: 1.55M]
  ------------------
  703|      0|            qualifier.flat = true;
  704|      0|            break;
  705|      0|        case EHTokNoperspective:
  ------------------
  |  Branch (705:9): [True: 0, False: 1.55M]
  ------------------
  706|      0|            qualifier.nopersp = true;
  707|      0|            break;
  708|      0|        case EHTokSample:
  ------------------
  |  Branch (708:9): [True: 0, False: 1.55M]
  ------------------
  709|      0|            qualifier.sample = true;
  710|      0|            break;
  711|      0|        case EHTokRowMajor:
  ------------------
  |  Branch (711:9): [True: 0, False: 1.55M]
  ------------------
  712|      0|            qualifier.layoutMatrix = ElmColumnMajor;
  713|      0|            break;
  714|      0|        case EHTokColumnMajor:
  ------------------
  |  Branch (714:9): [True: 0, False: 1.55M]
  ------------------
  715|      0|            qualifier.layoutMatrix = ElmRowMajor;
  716|      0|            break;
  717|      0|        case EHTokPrecise:
  ------------------
  |  Branch (717:9): [True: 0, False: 1.55M]
  ------------------
  718|      0|            qualifier.noContraction = true;
  719|      0|            break;
  720|      0|        case EHTokIn:
  ------------------
  |  Branch (720:9): [True: 0, False: 1.55M]
  ------------------
  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|  97.5k|        case EHTokOut:
  ------------------
  |  Branch (725:9): [True: 97.5k, False: 1.45M]
  ------------------
  726|  97.5k|            qualifier.storage = (qualifier.storage == EvqIn) ? EvqInOut : EvqOut;
  ------------------
  |  Branch (726:33): [True: 1, False: 97.5k]
  ------------------
  727|  97.5k|            break;
  728|      0|        case EHTokInOut:
  ------------------
  |  Branch (728:9): [True: 0, False: 1.55M]
  ------------------
  729|      0|            qualifier.storage = EvqInOut;
  730|      0|            break;
  731|      0|        case EHTokLayout:
  ------------------
  |  Branch (731:9): [True: 0, False: 1.55M]
  ------------------
  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.55M]
  ------------------
  736|      0|            qualifier.coherent = true;
  737|      0|            break;
  738|      0|        case EHTokInline:
  ------------------
  |  Branch (738:9): [True: 0, False: 1.55M]
  ------------------
  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.55M]
  ------------------
  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.55M]
  ------------------
  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.55M]
  ------------------
  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|      1|        case EHTokLineAdj:
  ------------------
  |  Branch (759:9): [True: 1, False: 1.55M]
  ------------------
  760|      1|            qualifier.storage = EvqIn;
  761|      1|            if (!parseContext.handleInputGeometry(token.loc, ElgLinesAdjacency))
  ------------------
  |  Branch (761:17): [True: 0, False: 1]
  ------------------
  762|      0|                return false;
  763|      1|            break;
  764|      1|        case EHTokTriangleAdj:
  ------------------
  |  Branch (764:9): [True: 0, False: 1.55M]
  ------------------
  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.45M|        default:
  ------------------
  |  Branch (770:9): [True: 1.45M, False: 97.5k]
  ------------------
  771|  1.45M|            return true;
  772|  1.55M|        }
  773|  97.5k|        advanceToken();
  774|  97.5k|    } while (true);
  ------------------
  |  Branch (774:14): [True: 97.5k, Folded]
  ------------------
  775|  1.45M|}
_ZN7glslang11HlslGrammar19acceptPostQualifierERNS_10TQualifierE:
  783|  1.45M|{
  784|  1.45M|    do {
  785|  1.45M|        switch (peek()) {
  786|      0|        case EHTokConst:
  ------------------
  |  Branch (786:9): [True: 0, False: 1.45M]
  ------------------
  787|      0|            qualifier.storage = EvqConst;
  788|      0|            break;
  789|  1.45M|        default:
  ------------------
  |  Branch (789:9): [True: 1.45M, False: 0]
  ------------------
  790|  1.45M|            return true;
  791|  1.45M|        }
  792|      0|        advanceToken();
  793|      0|    } while (true);
  ------------------
  |  Branch (793:14): [True: 0, Folded]
  ------------------
  794|  1.45M|}
_ZN7glslang11HlslGrammar22acceptSubpassInputTypeERNS_5TTypeE:
 1172|  2.68k|{
 1173|       |    // read subpass type
 1174|  2.68k|    const EHlslTokenClass subpassInputType = peek();
 1175|       |
 1176|  2.68k|    bool multisample;
 1177|       |
 1178|  2.68k|    switch (subpassInputType) {
 1179|  1.34k|    case EHTokSubpassInput:   multisample = false; break;
  ------------------
  |  Branch (1179:5): [True: 1.34k, False: 1.34k]
  ------------------
 1180|  1.34k|    case EHTokSubpassInputMS: multisample = true;  break;
  ------------------
  |  Branch (1180:5): [True: 1.34k, False: 1.34k]
  ------------------
 1181|      0|    default:
  ------------------
  |  Branch (1181:5): [True: 0, False: 2.68k]
  ------------------
 1182|      0|        return false;  // not a subpass input declaration
 1183|  2.68k|    }
 1184|       |
 1185|  2.68k|    advanceToken();  // consume the sampler type keyword
 1186|       |
 1187|  2.68k|    TType subpassType(EbtFloat, EvqUniform, 4); // default type is float4
 1188|       |
 1189|  2.68k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1189:9): [True: 2.68k, False: 0]
  ------------------
 1190|  2.68k|        if (! acceptType(subpassType)) {
  ------------------
  |  Branch (1190:13): [True: 0, False: 2.68k]
  ------------------
 1191|      0|            expected("scalar or vector type");
 1192|      0|            return false;
 1193|      0|        }
 1194|       |
 1195|  2.68k|        const TBasicType basicRetType = subpassType.getBasicType() ;
 1196|       |
 1197|  2.68k|        switch (basicRetType) {
 1198|    896|        case EbtFloat:
  ------------------
  |  Branch (1198:9): [True: 896, False: 1.79k]
  ------------------
 1199|  1.79k|        case EbtUint:
  ------------------
  |  Branch (1199:9): [True: 896, False: 1.79k]
  ------------------
 1200|  2.68k|        case EbtInt:
  ------------------
  |  Branch (1200:9): [True: 896, False: 1.79k]
  ------------------
 1201|  2.68k|        case EbtStruct:
  ------------------
  |  Branch (1201:9): [True: 0, False: 2.68k]
  ------------------
 1202|  2.68k|            break;
 1203|      0|        default:
  ------------------
  |  Branch (1203:9): [True: 0, False: 2.68k]
  ------------------
 1204|      0|            unimplemented("basic type in subpass input");
 1205|      0|            return false;
 1206|  2.68k|        }
 1207|       |
 1208|  2.68k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1208:13): [True: 0, False: 2.68k]
  ------------------
 1209|      0|            expected("right angle bracket");
 1210|      0|            return false;
 1211|      0|        }
 1212|  2.68k|    }
 1213|       |
 1214|  2.68k|    const TBasicType subpassBasicType = (subpassType.isStruct() && !subpassType.getStruct()->empty())
  ------------------
  |  Branch (1214:42): [True: 0, False: 2.68k]
  |  Branch (1214:68): [True: 0, False: 0]
  ------------------
 1215|  2.68k|        ? (*subpassType.getStruct())[0].type->getBasicType()
 1216|  2.68k|        : subpassType.getBasicType();
 1217|       |
 1218|  2.68k|    TSampler sampler;
 1219|  2.68k|    sampler.setSubpass(subpassBasicType, multisample);
 1220|       |
 1221|       |    // Remember the declared return type.  Function returns false on error.
 1222|  2.68k|    if (!parseContext.setTextureReturnType(sampler, subpassType, token.loc))
  ------------------
  |  Branch (1222:9): [True: 0, False: 2.68k]
  ------------------
 1223|      0|        return false;
 1224|       |
 1225|  2.68k|    type.shallowCopy(TType(sampler, EvqUniform));
 1226|       |
 1227|  2.68k|    return true;
 1228|  2.68k|}
_ZN7glslang11HlslGrammar20acceptSamplerTypeDX9ERNS_5TTypeE:
 1237|      1|{
 1238|       |    // read sampler type
 1239|      1|    const EHlslTokenClass samplerType = peek();
 1240|       |
 1241|      1|    TSamplerDim dim = EsdNone;
 1242|      1|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1243|       |
 1244|      1|    bool isShadow = false;
 1245|       |
 1246|      1|    switch (samplerType)
 1247|      1|    {
 1248|      0|    case EHTokSampler:		dim = Esd2D;	break;
  ------------------
  |  Branch (1248:5): [True: 0, False: 1]
  ------------------
 1249|      0|    case EHTokSampler1d:	dim = Esd1D;	break;
  ------------------
  |  Branch (1249:5): [True: 0, False: 1]
  ------------------
 1250|      1|    case EHTokSampler2d:	dim = Esd2D;	break;
  ------------------
  |  Branch (1250:5): [True: 1, False: 0]
  ------------------
 1251|      0|    case EHTokSampler3d:	dim = Esd3D;	break;
  ------------------
  |  Branch (1251:5): [True: 0, False: 1]
  ------------------
 1252|      0|    case EHTokSamplerCube:	dim = EsdCube;	break;
  ------------------
  |  Branch (1252:5): [True: 0, False: 1]
  ------------------
 1253|      0|    default:
  ------------------
  |  Branch (1253:5): [True: 0, False: 1]
  ------------------
 1254|      0|        return false; // not a dx9 sampler declaration
 1255|      1|    }
 1256|       |
 1257|      1|    advanceToken(); // consume the sampler type keyword
 1258|       |
 1259|      1|    TArraySizes *arraySizes = nullptr; // TODO: array
 1260|       |
 1261|      1|    TSampler sampler;
 1262|      1|    sampler.set(txType.getBasicType(), dim, false, isShadow, false);
 1263|       |
 1264|      1|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1264:9): [True: 0, False: 1]
  ------------------
 1265|      0|        return false;
 1266|       |
 1267|      1|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1268|      1|    type.getQualifier().layoutFormat = ElfNone;
 1269|       |
 1270|      1|    return true;
 1271|      1|}
_ZN7glslang11HlslGrammar17acceptSamplerTypeERNS_5TTypeE:
 1282|  69.8k|{
 1283|       |    // read sampler type
 1284|  69.8k|    const EHlslTokenClass samplerType = peek();
 1285|       |
 1286|       |    // TODO: for DX9
 1287|       |    // TSamplerDim dim = EsdNone;
 1288|       |
 1289|  69.8k|    bool isShadow = false;
 1290|       |
 1291|  69.8k|    switch (samplerType) {
 1292|  40.9k|    case EHTokSampler:      break;
  ------------------
  |  Branch (1292:5): [True: 40.9k, False: 28.9k]
  ------------------
 1293|      0|    case EHTokSampler1d:    /*dim = Esd1D*/; break;
  ------------------
  |  Branch (1293:5): [True: 0, False: 69.8k]
  ------------------
 1294|    678|    case EHTokSampler2d:    /*dim = Esd2D*/; break;
  ------------------
  |  Branch (1294:5): [True: 678, False: 69.2k]
  ------------------
 1295|    672|    case EHTokSampler3d:    /*dim = Esd3D*/; break;
  ------------------
  |  Branch (1295:5): [True: 672, False: 69.2k]
  ------------------
 1296|    672|    case EHTokSamplerCube:  /*dim = EsdCube*/; break;
  ------------------
  |  Branch (1296:5): [True: 672, False: 69.2k]
  ------------------
 1297|      0|    case EHTokSamplerState: break;
  ------------------
  |  Branch (1297:5): [True: 0, False: 69.8k]
  ------------------
 1298|  26.8k|    case EHTokSamplerComparisonState: isShadow = true; break;
  ------------------
  |  Branch (1298:5): [True: 26.8k, False: 43.0k]
  ------------------
 1299|      0|    default:
  ------------------
  |  Branch (1299:5): [True: 0, False: 69.8k]
  ------------------
 1300|      0|        return false;  // not a sampler declaration
 1301|  69.8k|    }
 1302|       |
 1303|  69.8k|    advanceToken();  // consume the sampler type keyword
 1304|       |
 1305|  69.8k|    TArraySizes* arraySizes = nullptr; // TODO: array
 1306|       |
 1307|  69.8k|    TSampler sampler;
 1308|  69.8k|    sampler.setPureSampler(isShadow);
 1309|       |
 1310|  69.8k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1311|       |
 1312|  69.8k|    return true;
 1313|  69.8k|}
_ZN7glslang11HlslGrammar17acceptTextureTypeERNS_5TTypeE:
 1334|  88.3k|{
 1335|  88.3k|    const EHlslTokenClass textureType = peek();
 1336|       |
 1337|  88.3k|    TSamplerDim dim = EsdNone;
 1338|  88.3k|    bool array = false;
 1339|  88.3k|    bool ms    = false;
 1340|  88.3k|    bool image = false;
 1341|  88.3k|    bool combined = true;
 1342|       |
 1343|  88.3k|    switch (textureType) {
 1344|    336|    case EHTokBuffer:            dim = EsdBuffer; combined = false;    break;
  ------------------
  |  Branch (1344:5): [True: 336, False: 88.0k]
  ------------------
 1345|  6.72k|    case EHTokTexture1d:         dim = Esd1D;                          break;
  ------------------
  |  Branch (1345:5): [True: 6.72k, False: 81.6k]
  ------------------
 1346|  6.72k|    case EHTokTexture1darray:    dim = Esd1D; array = true;            break;
  ------------------
  |  Branch (1346:5): [True: 6.72k, False: 81.6k]
  ------------------
 1347|  22.5k|    case EHTokTexture2d:         dim = Esd2D;                          break;
  ------------------
  |  Branch (1347:5): [True: 22.5k, False: 65.8k]
  ------------------
 1348|  22.5k|    case EHTokTexture2darray:    dim = Esd2D; array = true;            break;
  ------------------
  |  Branch (1348:5): [True: 22.5k, False: 65.8k]
  ------------------
 1349|  5.37k|    case EHTokTexture3d:         dim = Esd3D;                          break;
  ------------------
  |  Branch (1349:5): [True: 5.37k, False: 82.9k]
  ------------------
 1350|  7.39k|    case EHTokTextureCube:       dim = EsdCube;                        break;
  ------------------
  |  Branch (1350:5): [True: 7.39k, False: 80.9k]
  ------------------
 1351|  7.39k|    case EHTokTextureCubearray:  dim = EsdCube; array = true;          break;
  ------------------
  |  Branch (1351:5): [True: 7.39k, False: 80.9k]
  ------------------
 1352|  1.68k|    case EHTokTexture2DMS:       dim = Esd2D; ms = true;               break;
  ------------------
  |  Branch (1352:5): [True: 1.68k, False: 86.6k]
  ------------------
 1353|  1.68k|    case EHTokTexture2DMSarray:  dim = Esd2D; array = true; ms = true; break;
  ------------------
  |  Branch (1353:5): [True: 1.68k, False: 86.6k]
  ------------------
 1354|  1.00k|    case EHTokRWBuffer:          dim = EsdBuffer; image=true;          break;
  ------------------
  |  Branch (1354:5): [True: 1.00k, False: 87.3k]
  ------------------
 1355|  1.00k|    case EHTokRWTexture1d:       dim = Esd1D; array=false; image=true; break;
  ------------------
  |  Branch (1355:5): [True: 1.00k, False: 87.3k]
  ------------------
 1356|  1.00k|    case EHTokRWTexture1darray:  dim = Esd1D; array=true;  image=true; break;
  ------------------
  |  Branch (1356:5): [True: 1.00k, False: 87.3k]
  ------------------
 1357|  1.00k|    case EHTokRWTexture2d:       dim = Esd2D; array=false; image=true; break;
  ------------------
  |  Branch (1357:5): [True: 1.00k, False: 87.3k]
  ------------------
 1358|  1.00k|    case EHTokRWTexture2darray:  dim = Esd2D; array=true;  image=true; break;
  ------------------
  |  Branch (1358:5): [True: 1.00k, False: 87.3k]
  ------------------
 1359|  1.00k|    case EHTokRWTexture3d:       dim = Esd3D; array=false; image=true; break;
  ------------------
  |  Branch (1359:5): [True: 1.00k, False: 87.3k]
  ------------------
 1360|      0|    default:
  ------------------
  |  Branch (1360:5): [True: 0, False: 88.3k]
  ------------------
 1361|      0|        return false;  // not a texture declaration
 1362|  88.3k|    }
 1363|       |
 1364|  88.3k|    advanceToken();  // consume the texture object keyword
 1365|       |
 1366|  88.3k|    TType txType(EbtFloat, EvqUniform, 4); // default type is float4
 1367|       |
 1368|  88.3k|    TIntermTyped* msCount = nullptr;
 1369|       |
 1370|       |    // texture type: required for multisample types and RWBuffer/RWTextures!
 1371|  88.3k|    if (acceptTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (1371:9): [True: 88.3k, False: 0]
  ------------------
 1372|  88.3k|        if (! acceptType(txType)) {
  ------------------
  |  Branch (1372:13): [True: 0, False: 88.3k]
  ------------------
 1373|      0|            expected("scalar or vector type");
 1374|      0|            return false;
 1375|      0|        }
 1376|       |
 1377|  88.3k|        const TBasicType basicRetType = txType.getBasicType() ;
 1378|       |
 1379|  88.3k|        switch (basicRetType) {
 1380|  29.4k|        case EbtFloat:
  ------------------
  |  Branch (1380:9): [True: 29.4k, False: 58.9k]
  ------------------
 1381|  58.9k|        case EbtUint:
  ------------------
  |  Branch (1381:9): [True: 29.4k, False: 58.9k]
  ------------------
 1382|  88.3k|        case EbtInt:
  ------------------
  |  Branch (1382:9): [True: 29.4k, False: 58.9k]
  ------------------
 1383|  88.3k|        case EbtStruct:
  ------------------
  |  Branch (1383:9): [True: 0, False: 88.3k]
  ------------------
 1384|  88.3k|            break;
 1385|      0|        default:
  ------------------
  |  Branch (1385:9): [True: 0, False: 88.3k]
  ------------------
 1386|      0|            unimplemented("basic type in texture");
 1387|      0|            return false;
 1388|  88.3k|        }
 1389|       |
 1390|       |        // Buffers can handle small mats if they fit in 4 components
 1391|  88.3k|        if (dim == EsdBuffer && txType.isMatrix()) {
  ------------------
  |  Branch (1391:13): [True: 1.34k, False: 87.0k]
  |  Branch (1391:33): [True: 0, False: 1.34k]
  ------------------
 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|  88.3k|        if (!txType.isScalar() && !txType.isVector() && !txType.isStruct()) {
  ------------------
  |  Branch (1402:13): [True: 88.3k, False: 0]
  |  Branch (1402:35): [True: 0, False: 88.3k]
  |  Branch (1402:57): [True: 0, False: 0]
  ------------------
 1403|      0|            expected("scalar, vector, or struct type");
 1404|      0|            return false;
 1405|      0|        }
 1406|       |
 1407|  88.3k|        if (ms && acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (1407:13): [True: 3.36k, False: 85.0k]
  |  Branch (1407:19): [True: 0, False: 3.36k]
  ------------------
 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|  88.3k|        if (! acceptTokenClass(EHTokRightAngle)) {
  ------------------
  |  Branch (1418:13): [True: 0, False: 88.3k]
  ------------------
 1419|      0|            expected("right angle bracket");
 1420|      0|            return false;
 1421|      0|        }
 1422|  88.3k|    } else if (ms) {
  ------------------
  |  Branch (1422:16): [True: 0, False: 0]
  ------------------
 1423|      0|        expected("texture type for multisample");
 1424|      0|        return false;
 1425|      0|    } else if (image) {
  ------------------
  |  Branch (1425:16): [True: 0, False: 0]
  ------------------
 1426|      0|        expected("type for RWTexture/RWBuffer");
 1427|      0|        return false;
 1428|      0|    }
 1429|       |
 1430|  88.3k|    TArraySizes* arraySizes = nullptr;
 1431|  88.3k|    const bool shadow = false; // declared on the sampler
 1432|       |
 1433|  88.3k|    TSampler sampler;
 1434|  88.3k|    TLayoutFormat format = ElfNone;
 1435|       |
 1436|       |    // Buffer, RWBuffer and RWTexture (images) require a TLayoutFormat.  We handle only a limit set.
 1437|  88.3k|    if (image || dim == EsdBuffer)
  ------------------
  |  Branch (1437:9): [True: 6.04k, False: 82.3k]
  |  Branch (1437:18): [True: 336, False: 81.9k]
  ------------------
 1438|  6.38k|        format = parseContext.getLayoutFromTxType(token.loc, txType);
 1439|       |
 1440|  88.3k|    const TBasicType txBasicType = (txType.isStruct() && !txType.getStruct()->empty())
  ------------------
  |  Branch (1440:37): [True: 0, False: 88.3k]
  |  Branch (1440:58): [True: 0, False: 0]
  ------------------
 1441|  88.3k|        ? (*txType.getStruct())[0].type->getBasicType()
 1442|  88.3k|        : txType.getBasicType();
 1443|       |
 1444|       |    // Non-image Buffers are combined
 1445|  88.3k|    if (dim == EsdBuffer && !image) {
  ------------------
  |  Branch (1445:9): [True: 1.34k, False: 87.0k]
  |  Branch (1445:29): [True: 336, False: 1.00k]
  ------------------
 1446|    336|        sampler.set(txType.getBasicType(), dim, array);
 1447|  88.0k|    } else {
 1448|       |        // DX10 textures are separated.  TODO: DX9.
 1449|  88.0k|        if (image) {
  ------------------
  |  Branch (1449:13): [True: 6.04k, False: 81.9k]
  ------------------
 1450|  6.04k|            sampler.setImage(txBasicType, dim, array, shadow, ms);
 1451|  81.9k|        } else {
 1452|  81.9k|            sampler.setTexture(txBasicType, dim, array, shadow, ms);
 1453|  81.9k|        }
 1454|  88.0k|    }
 1455|       |
 1456|       |    // Remember the declared return type.  Function returns false on error.
 1457|  88.3k|    if (!parseContext.setTextureReturnType(sampler, txType, token.loc))
  ------------------
  |  Branch (1457:9): [True: 0, False: 88.3k]
  ------------------
 1458|      0|        return false;
 1459|       |
 1460|       |    // Force uncombined, if necessary
 1461|  88.3k|    if (!combined)
  ------------------
  |  Branch (1461:9): [True: 336, False: 88.0k]
  ------------------
 1462|    336|        sampler.combined = false;
 1463|       |
 1464|  88.3k|    type.shallowCopy(TType(sampler, EvqUniform, arraySizes));
 1465|  88.3k|    type.getQualifier().layoutFormat = format;
 1466|       |
 1467|  88.3k|    return true;
 1468|  88.3k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeE:
 1474|  94.2k|{
 1475|  94.2k|    TIntermNode* nodeList = nullptr;
 1476|  94.2k|    return acceptType(type, nodeList);
 1477|  94.2k|}
_ZN7glslang11HlslGrammar10acceptTypeERNS_5TTypeERP11TIntermNode:
 1479|  1.55M|{
 1480|       |    // Basic types for min* types, use native halfs if the option allows them.
 1481|  1.55M|    bool enable16BitTypes = parseContext.hlslEnable16BitTypes();
 1482|       |
 1483|  1.55M|    const TBasicType min16float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1483:38): [True: 3.20k, False: 1.54M]
  ------------------
 1484|  1.55M|    const TBasicType min10float_bt = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1484:38): [True: 3.20k, False: 1.54M]
  ------------------
 1485|  1.55M|    const TBasicType half_bt       = enable16BitTypes ? EbtFloat16 : EbtFloat;
  ------------------
  |  Branch (1485:38): [True: 3.20k, False: 1.54M]
  ------------------
 1486|  1.55M|    const TBasicType min16int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1486:38): [True: 3.20k, False: 1.54M]
  ------------------
 1487|  1.55M|    const TBasicType min12int_bt   = enable16BitTypes ? EbtInt16   : EbtInt;
  ------------------
  |  Branch (1487:38): [True: 3.20k, False: 1.54M]
  ------------------
 1488|  1.55M|    const TBasicType min16uint_bt  = enable16BitTypes ? EbtUint16  : EbtUint;
  ------------------
  |  Branch (1488:38): [True: 3.20k, False: 1.54M]
  ------------------
 1489|       |
 1490|       |    // Some types might have turned into identifiers. Take the hit for checking
 1491|       |    // when this has happened.
 1492|  1.55M|    if (typeIdentifiers) {
  ------------------
  |  Branch (1492:9): [True: 1, False: 1.55M]
  ------------------
 1493|      1|        const char* identifierString = getTypeString(peek());
 1494|      1|        if (identifierString != nullptr) {
  ------------------
  |  Branch (1494:13): [True: 0, False: 1]
  ------------------
 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|      1|    }
 1501|       |
 1502|  1.55M|    bool isUnorm = false;
 1503|  1.55M|    bool isSnorm = false;
 1504|       |
 1505|       |    // Accept snorm and unorm.  Presently, this is ignored, save for an error check below.
 1506|  1.55M|    switch (peek()) {
 1507|      0|    case EHTokUnorm:
  ------------------
  |  Branch (1507:5): [True: 0, False: 1.55M]
  ------------------
 1508|      0|        isUnorm = true;
 1509|      0|        advanceToken();  // eat the token
 1510|      0|        break;
 1511|      0|    case EHTokSNorm:
  ------------------
  |  Branch (1511:5): [True: 0, False: 1.55M]
  ------------------
 1512|      0|        isSnorm = true;
 1513|      0|        advanceToken();  // eat the token
 1514|      0|        break;
 1515|  1.55M|    default:
  ------------------
  |  Branch (1515:5): [True: 1.55M, False: 0]
  ------------------
 1516|  1.55M|        break;
 1517|  1.55M|    }
 1518|       |
 1519|  1.55M|    switch (peek()) {
 1520|      0|    case EHTokVector:
  ------------------
  |  Branch (1520:5): [True: 0, False: 1.55M]
  ------------------
 1521|      0|        return acceptVectorTemplateType(type);
 1522|      0|        break;
 1523|       |
 1524|      0|    case EHTokMatrix:
  ------------------
  |  Branch (1524:5): [True: 0, False: 1.55M]
  ------------------
 1525|      0|        return acceptMatrixTemplateType(type);
 1526|      0|        break;
 1527|       |
 1528|      0|    case EHTokPointStream:            // fall through
  ------------------
  |  Branch (1528:5): [True: 0, False: 1.55M]
  ------------------
 1529|      0|    case EHTokLineStream:             // ...
  ------------------
  |  Branch (1529:5): [True: 0, False: 1.55M]
  ------------------
 1530|      0|    case EHTokTriangleStream:         // ...
  ------------------
  |  Branch (1530:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1543|      0|    case EHTokOutputPatch:            // ...
  ------------------
  |  Branch (1543:5): [True: 0, False: 1.55M]
  ------------------
 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|  40.9k|    case EHTokSampler:                // fall through
  ------------------
  |  Branch (1551:5): [True: 40.9k, False: 1.50M]
  ------------------
 1552|  40.9k|    case EHTokSampler1d:              // ...
  ------------------
  |  Branch (1552:5): [True: 0, False: 1.55M]
  ------------------
 1553|  41.6k|    case EHTokSampler2d:              // ...
  ------------------
  |  Branch (1553:5): [True: 679, False: 1.54M]
  ------------------
 1554|  42.3k|    case EHTokSampler3d:              // ...
  ------------------
  |  Branch (1554:5): [True: 672, False: 1.54M]
  ------------------
 1555|  43.0k|    case EHTokSamplerCube:            // ...
  ------------------
  |  Branch (1555:5): [True: 672, False: 1.54M]
  ------------------
 1556|  43.0k|        if (parseContext.hlslDX9Compatible())
  ------------------
  |  Branch (1556:13): [True: 1, False: 43.0k]
  ------------------
 1557|      1|            return acceptSamplerTypeDX9(type);
 1558|  43.0k|        else
 1559|  43.0k|            return acceptSamplerType(type);
 1560|      0|        break;
 1561|       |
 1562|      0|    case EHTokSamplerState:           // fall through
  ------------------
  |  Branch (1562:5): [True: 0, False: 1.55M]
  ------------------
 1563|  26.8k|    case EHTokSamplerComparisonState: // ...
  ------------------
  |  Branch (1563:5): [True: 26.8k, False: 1.52M]
  ------------------
 1564|  26.8k|        return acceptSamplerType(type);
 1565|      0|        break;
 1566|       |
 1567|  1.34k|    case EHTokSubpassInput:           // fall through
  ------------------
  |  Branch (1567:5): [True: 1.34k, False: 1.54M]
  ------------------
 1568|  2.68k|    case EHTokSubpassInputMS:         // ...
  ------------------
  |  Branch (1568:5): [True: 1.34k, False: 1.54M]
  ------------------
 1569|  2.68k|        return acceptSubpassInputType(type);
 1570|      0|        break;
 1571|       |
 1572|    336|    case EHTokBuffer:                 // fall through
  ------------------
  |  Branch (1572:5): [True: 336, False: 1.54M]
  ------------------
 1573|  7.05k|    case EHTokTexture1d:              // ...
  ------------------
  |  Branch (1573:5): [True: 6.72k, False: 1.54M]
  ------------------
 1574|  13.7k|    case EHTokTexture1darray:         // ...
  ------------------
  |  Branch (1574:5): [True: 6.72k, False: 1.54M]
  ------------------
 1575|  36.2k|    case EHTokTexture2d:              // ...
  ------------------
  |  Branch (1575:5): [True: 22.5k, False: 1.52M]
  ------------------
 1576|  58.8k|    case EHTokTexture2darray:         // ...
  ------------------
  |  Branch (1576:5): [True: 22.5k, False: 1.52M]
  ------------------
 1577|  64.1k|    case EHTokTexture3d:              // ...
  ------------------
  |  Branch (1577:5): [True: 5.37k, False: 1.54M]
  ------------------
 1578|  71.5k|    case EHTokTextureCube:            // ...
  ------------------
  |  Branch (1578:5): [True: 7.39k, False: 1.54M]
  ------------------
 1579|  78.9k|    case EHTokTextureCubearray:       // ...
  ------------------
  |  Branch (1579:5): [True: 7.39k, False: 1.54M]
  ------------------
 1580|  80.6k|    case EHTokTexture2DMS:            // ...
  ------------------
  |  Branch (1580:5): [True: 1.68k, False: 1.54M]
  ------------------
 1581|  82.3k|    case EHTokTexture2DMSarray:       // ...
  ------------------
  |  Branch (1581:5): [True: 1.68k, False: 1.54M]
  ------------------
 1582|  83.3k|    case EHTokRWTexture1d:            // ...
  ------------------
  |  Branch (1582:5): [True: 1.00k, False: 1.54M]
  ------------------
 1583|  84.3k|    case EHTokRWTexture1darray:       // ...
  ------------------
  |  Branch (1583:5): [True: 1.00k, False: 1.54M]
  ------------------
 1584|  85.3k|    case EHTokRWTexture2d:            // ...
  ------------------
  |  Branch (1584:5): [True: 1.00k, False: 1.54M]
  ------------------
 1585|  86.3k|    case EHTokRWTexture2darray:       // ...
  ------------------
  |  Branch (1585:5): [True: 1.00k, False: 1.54M]
  ------------------
 1586|  87.3k|    case EHTokRWTexture3d:            // ...
  ------------------
  |  Branch (1586:5): [True: 1.00k, False: 1.54M]
  ------------------
 1587|  88.3k|    case EHTokRWBuffer:               // ...
  ------------------
  |  Branch (1587:5): [True: 1.00k, False: 1.54M]
  ------------------
 1588|  88.3k|        return acceptTextureType(type);
 1589|      0|        break;
 1590|       |
 1591|      0|    case EHTokAppendStructuredBuffer:
  ------------------
  |  Branch (1591:5): [True: 0, False: 1.55M]
  ------------------
 1592|      0|    case EHTokByteAddressBuffer:
  ------------------
  |  Branch (1592:5): [True: 0, False: 1.55M]
  ------------------
 1593|      0|    case EHTokConsumeStructuredBuffer:
  ------------------
  |  Branch (1593:5): [True: 0, False: 1.55M]
  ------------------
 1594|      0|    case EHTokRWByteAddressBuffer:
  ------------------
  |  Branch (1594:5): [True: 0, False: 1.55M]
  ------------------
 1595|      0|    case EHTokRWStructuredBuffer:
  ------------------
  |  Branch (1595:5): [True: 0, False: 1.55M]
  ------------------
 1596|      0|    case EHTokStructuredBuffer:
  ------------------
  |  Branch (1596:5): [True: 0, False: 1.55M]
  ------------------
 1597|      0|        return acceptStructBufferType(type);
 1598|      0|        break;
 1599|       |
 1600|      0|    case EHTokTextureBuffer:
  ------------------
  |  Branch (1600:5): [True: 0, False: 1.55M]
  ------------------
 1601|      0|        return acceptTextureBufferType(type);
 1602|      0|        break;
 1603|       |
 1604|      0|    case EHTokConstantBuffer:
  ------------------
  |  Branch (1604:5): [True: 0, False: 1.55M]
  ------------------
 1605|      0|        return acceptConstantBufferType(type);
 1606|       |
 1607|      0|    case EHTokClass:
  ------------------
  |  Branch (1607:5): [True: 0, False: 1.55M]
  ------------------
 1608|      0|    case EHTokStruct:
  ------------------
  |  Branch (1608:5): [True: 0, False: 1.55M]
  ------------------
 1609|      0|    case EHTokCBuffer:
  ------------------
  |  Branch (1609:5): [True: 0, False: 1.55M]
  ------------------
 1610|      0|    case EHTokTBuffer:
  ------------------
  |  Branch (1610:5): [True: 0, False: 1.55M]
  ------------------
 1611|      0|        return acceptStruct(type, nodeList);
 1612|       |
 1613|  1.04k|    case EHTokIdentifier:
  ------------------
  |  Branch (1613:5): [True: 1.04k, False: 1.54M]
  ------------------
 1614|       |        // An identifier could be for a user-defined type.
 1615|       |        // Note we cache the symbol table lookup, to save for a later rule
 1616|       |        // when this is not a type.
 1617|  1.04k|        if (parseContext.lookupUserType(*token.string, type) != nullptr) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 1.04k]
  ------------------
 1618|      0|            advanceToken();
 1619|      0|            return true;
 1620|      0|        } else
 1621|  1.04k|            return false;
 1622|       |
 1623|   100k|    case EHTokVoid:
  ------------------
  |  Branch (1623:5): [True: 100k, False: 1.45M]
  ------------------
 1624|   100k|        new(&type) TType(EbtVoid);
 1625|   100k|        break;
 1626|       |
 1627|      0|    case EHTokString:
  ------------------
  |  Branch (1627:5): [True: 0, False: 1.55M]
  ------------------
 1628|      0|        new(&type) TType(EbtString);
 1629|      0|        break;
 1630|       |
 1631|   105k|    case EHTokFloat:
  ------------------
  |  Branch (1631:5): [True: 105k, False: 1.44M]
  ------------------
 1632|   105k|        new(&type) TType(EbtFloat);
 1633|   105k|        break;
 1634|  8.73k|    case EHTokFloat1:
  ------------------
  |  Branch (1634:5): [True: 8.73k, False: 1.54M]
  ------------------
 1635|  8.73k|        new(&type) TType(EbtFloat);
 1636|  8.73k|        type.makeVector();
 1637|  8.73k|        break;
 1638|  72.0k|    case EHTokFloat2:
  ------------------
  |  Branch (1638:5): [True: 72.0k, False: 1.47M]
  ------------------
 1639|  72.0k|        new(&type) TType(EbtFloat, EvqTemporary, 2);
 1640|  72.0k|        break;
 1641|  61.4k|    case EHTokFloat3:
  ------------------
  |  Branch (1641:5): [True: 61.4k, False: 1.48M]
  ------------------
 1642|  61.4k|        new(&type) TType(EbtFloat, EvqTemporary, 3);
 1643|  61.4k|        break;
 1644|  64.1k|    case EHTokFloat4:
  ------------------
  |  Branch (1644:5): [True: 64.1k, False: 1.48M]
  ------------------
 1645|  64.1k|        new(&type) TType(EbtFloat, EvqTemporary, 4);
 1646|  64.1k|        break;
 1647|       |
 1648|  5.04k|    case EHTokDouble:
  ------------------
  |  Branch (1648:5): [True: 5.04k, False: 1.54M]
  ------------------
 1649|  5.04k|        new(&type) TType(EbtDouble);
 1650|  5.04k|        break;
 1651|      0|    case EHTokDouble1:
  ------------------
  |  Branch (1651:5): [True: 0, False: 1.55M]
  ------------------
 1652|      0|        new(&type) TType(EbtDouble);
 1653|      0|        type.makeVector();
 1654|      0|        break;
 1655|  5.04k|    case EHTokDouble2:
  ------------------
  |  Branch (1655:5): [True: 5.04k, False: 1.54M]
  ------------------
 1656|  5.04k|        new(&type) TType(EbtDouble, EvqTemporary, 2);
 1657|  5.04k|        break;
 1658|  4.81k|    case EHTokDouble3:
  ------------------
  |  Branch (1658:5): [True: 4.81k, False: 1.54M]
  ------------------
 1659|  4.81k|        new(&type) TType(EbtDouble, EvqTemporary, 3);
 1660|  4.81k|        break;
 1661|  4.81k|    case EHTokDouble4:
  ------------------
  |  Branch (1661:5): [True: 4.81k, False: 1.54M]
  ------------------
 1662|  4.81k|        new(&type) TType(EbtDouble, EvqTemporary, 4);
 1663|  4.81k|        break;
 1664|       |
 1665|  29.2k|    case EHTokInt:
  ------------------
  |  Branch (1665:5): [True: 29.2k, False: 1.52M]
  ------------------
 1666|  29.2k|    case EHTokDword:
  ------------------
  |  Branch (1666:5): [True: 0, False: 1.55M]
  ------------------
 1667|  29.2k|        new(&type) TType(EbtInt);
 1668|  29.2k|        break;
 1669|  6.04k|    case EHTokInt1:
  ------------------
  |  Branch (1669:5): [True: 6.04k, False: 1.54M]
  ------------------
 1670|  6.04k|        new(&type) TType(EbtInt);
 1671|  6.04k|        type.makeVector();
 1672|  6.04k|        break;
 1673|   100k|    case EHTokInt2:
  ------------------
  |  Branch (1673:5): [True: 100k, False: 1.44M]
  ------------------
 1674|   100k|        new(&type) TType(EbtInt, EvqTemporary, 2);
 1675|   100k|        break;
 1676|  19.8k|    case EHTokInt3:
  ------------------
  |  Branch (1676:5): [True: 19.8k, False: 1.53M]
  ------------------
 1677|  19.8k|        new(&type) TType(EbtInt, EvqTemporary, 3);
 1678|  19.8k|        break;
 1679|  41.1k|    case EHTokInt4:
  ------------------
  |  Branch (1679:5): [True: 41.1k, False: 1.50M]
  ------------------
 1680|  41.1k|        new(&type) TType(EbtInt, EvqTemporary, 4);
 1681|  41.1k|        break;
 1682|       |
 1683|  56.6k|    case EHTokUint:
  ------------------
  |  Branch (1683:5): [True: 56.6k, False: 1.49M]
  ------------------
 1684|  56.6k|        new(&type) TType(EbtUint);
 1685|  56.6k|        break;
 1686|  5.82k|    case EHTokUint1:
  ------------------
  |  Branch (1686:5): [True: 5.82k, False: 1.54M]
  ------------------
 1687|  5.82k|        new(&type) TType(EbtUint);
 1688|  5.82k|        type.makeVector();
 1689|  5.82k|        break;
 1690|  29.9k|    case EHTokUint2:
  ------------------
  |  Branch (1690:5): [True: 29.9k, False: 1.52M]
  ------------------
 1691|  29.9k|        new(&type) TType(EbtUint, EvqTemporary, 2);
 1692|  29.9k|        break;
 1693|  14.5k|    case EHTokUint3:
  ------------------
  |  Branch (1693:5): [True: 14.5k, False: 1.53M]
  ------------------
 1694|  14.5k|        new(&type) TType(EbtUint, EvqTemporary, 3);
 1695|  14.5k|        break;
 1696|  39.7k|    case EHTokUint4:
  ------------------
  |  Branch (1696:5): [True: 39.7k, False: 1.51M]
  ------------------
 1697|  39.7k|        new(&type) TType(EbtUint, EvqTemporary, 4);
 1698|  39.7k|        break;
 1699|       |
 1700|      8|    case EHTokUint64:
  ------------------
  |  Branch (1700:5): [True: 8, False: 1.55M]
  ------------------
 1701|      8|        new(&type) TType(EbtUint64);
 1702|      8|        break;
 1703|       |
 1704|  21.6k|    case EHTokBool:
  ------------------
  |  Branch (1704:5): [True: 21.6k, False: 1.52M]
  ------------------
 1705|  21.6k|        new(&type) TType(EbtBool);
 1706|  21.6k|        break;
 1707|      0|    case EHTokBool1:
  ------------------
  |  Branch (1707:5): [True: 0, False: 1.55M]
  ------------------
 1708|      0|        new(&type) TType(EbtBool);
 1709|      0|        type.makeVector();
 1710|      0|        break;
 1711|    672|    case EHTokBool2:
  ------------------
  |  Branch (1711:5): [True: 672, False: 1.54M]
  ------------------
 1712|    672|        new(&type) TType(EbtBool, EvqTemporary, 2);
 1713|    672|        break;
 1714|    672|    case EHTokBool3:
  ------------------
  |  Branch (1714:5): [True: 672, False: 1.54M]
  ------------------
 1715|    672|        new(&type) TType(EbtBool, EvqTemporary, 3);
 1716|    672|        break;
 1717|    672|    case EHTokBool4:
  ------------------
  |  Branch (1717:5): [True: 672, False: 1.54M]
  ------------------
 1718|    672|        new(&type) TType(EbtBool, EvqTemporary, 4);
 1719|    672|        break;
 1720|       |
 1721|      0|    case EHTokHalf:
  ------------------
  |  Branch (1721:5): [True: 0, False: 1.55M]
  ------------------
 1722|      0|        new(&type) TType(half_bt, EvqTemporary);
 1723|      0|        break;
 1724|      0|    case EHTokHalf1:
  ------------------
  |  Branch (1724:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1729|      0|        new(&type) TType(half_bt, EvqTemporary, 2);
 1730|      0|        break;
 1731|      0|    case EHTokHalf3:
  ------------------
  |  Branch (1731:5): [True: 0, False: 1.55M]
  ------------------
 1732|      0|        new(&type) TType(half_bt, EvqTemporary, 3);
 1733|      0|        break;
 1734|      0|    case EHTokHalf4:
  ------------------
  |  Branch (1734:5): [True: 0, False: 1.55M]
  ------------------
 1735|      0|        new(&type) TType(half_bt, EvqTemporary, 4);
 1736|      0|        break;
 1737|       |
 1738|      0|    case EHTokMin16float:
  ------------------
  |  Branch (1738:5): [True: 0, False: 1.55M]
  ------------------
 1739|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium);
 1740|      0|        break;
 1741|      0|    case EHTokMin16float1:
  ------------------
  |  Branch (1741:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1746|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 2);
 1747|      0|        break;
 1748|      0|    case EHTokMin16float3:
  ------------------
  |  Branch (1748:5): [True: 0, False: 1.55M]
  ------------------
 1749|      0|        new(&type) TType(min16float_bt, EvqTemporary, EpqMedium, 3);
 1750|      0|        break;
 1751|      0|    case EHTokMin16float4:
  ------------------
  |  Branch (1751:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1756|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium);
 1757|      0|        break;
 1758|      0|    case EHTokMin10float1:
  ------------------
  |  Branch (1758:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1763|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 2);
 1764|      0|        break;
 1765|      0|    case EHTokMin10float3:
  ------------------
  |  Branch (1765:5): [True: 0, False: 1.55M]
  ------------------
 1766|      0|        new(&type) TType(min10float_bt, EvqTemporary, EpqMedium, 3);
 1767|      0|        break;
 1768|      0|    case EHTokMin10float4:
  ------------------
  |  Branch (1768:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1773|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium);
 1774|      0|        break;
 1775|      0|    case EHTokMin16int1:
  ------------------
  |  Branch (1775:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1780|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 2);
 1781|      0|        break;
 1782|      0|    case EHTokMin16int3:
  ------------------
  |  Branch (1782:5): [True: 0, False: 1.55M]
  ------------------
 1783|      0|        new(&type) TType(min16int_bt, EvqTemporary, EpqMedium, 3);
 1784|      0|        break;
 1785|      0|    case EHTokMin16int4:
  ------------------
  |  Branch (1785:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1790|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium);
 1791|      0|        break;
 1792|      0|    case EHTokMin12int1:
  ------------------
  |  Branch (1792:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1797|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 2);
 1798|      0|        break;
 1799|      0|    case EHTokMin12int3:
  ------------------
  |  Branch (1799:5): [True: 0, False: 1.55M]
  ------------------
 1800|      0|        new(&type) TType(min12int_bt, EvqTemporary, EpqMedium, 3);
 1801|      0|        break;
 1802|      0|    case EHTokMin12int4:
  ------------------
  |  Branch (1802:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1807|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium);
 1808|      0|        break;
 1809|      0|    case EHTokMin16uint1:
  ------------------
  |  Branch (1809:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 1814|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 2);
 1815|      0|        break;
 1816|      0|    case EHTokMin16uint3:
  ------------------
  |  Branch (1816:5): [True: 0, False: 1.55M]
  ------------------
 1817|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 3);
 1818|      0|        break;
 1819|      0|    case EHTokMin16uint4:
  ------------------
  |  Branch (1819:5): [True: 0, False: 1.55M]
  ------------------
 1820|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 4);
 1821|      0|        break;
 1822|       |
 1823|  8.51k|    case EHTokInt1x1:
  ------------------
  |  Branch (1823:5): [True: 8.51k, False: 1.54M]
  ------------------
 1824|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 1);
 1825|  8.51k|        break;
 1826|  8.51k|    case EHTokInt1x2:
  ------------------
  |  Branch (1826:5): [True: 8.51k, False: 1.54M]
  ------------------
 1827|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 2);
 1828|  8.51k|        break;
 1829|  8.51k|    case EHTokInt1x3:
  ------------------
  |  Branch (1829:5): [True: 8.51k, False: 1.54M]
  ------------------
 1830|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 3);
 1831|  8.51k|        break;
 1832|  8.51k|    case EHTokInt1x4:
  ------------------
  |  Branch (1832:5): [True: 8.51k, False: 1.54M]
  ------------------
 1833|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 1, 4);
 1834|  8.51k|        break;
 1835|  8.51k|    case EHTokInt2x1:
  ------------------
  |  Branch (1835:5): [True: 8.51k, False: 1.54M]
  ------------------
 1836|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 1);
 1837|  8.51k|        break;
 1838|  8.51k|    case EHTokInt2x2:
  ------------------
  |  Branch (1838:5): [True: 8.51k, False: 1.54M]
  ------------------
 1839|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 2);
 1840|  8.51k|        break;
 1841|  8.51k|    case EHTokInt2x3:
  ------------------
  |  Branch (1841:5): [True: 8.51k, False: 1.54M]
  ------------------
 1842|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 3);
 1843|  8.51k|        break;
 1844|  8.51k|    case EHTokInt2x4:
  ------------------
  |  Branch (1844:5): [True: 8.51k, False: 1.54M]
  ------------------
 1845|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 2, 4);
 1846|  8.51k|        break;
 1847|  8.51k|    case EHTokInt3x1:
  ------------------
  |  Branch (1847:5): [True: 8.51k, False: 1.54M]
  ------------------
 1848|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 1);
 1849|  8.51k|        break;
 1850|  8.51k|    case EHTokInt3x2:
  ------------------
  |  Branch (1850:5): [True: 8.51k, False: 1.54M]
  ------------------
 1851|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 2);
 1852|  8.51k|        break;
 1853|  8.51k|    case EHTokInt3x3:
  ------------------
  |  Branch (1853:5): [True: 8.51k, False: 1.54M]
  ------------------
 1854|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 3);
 1855|  8.51k|        break;
 1856|  8.51k|    case EHTokInt3x4:
  ------------------
  |  Branch (1856:5): [True: 8.51k, False: 1.54M]
  ------------------
 1857|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 3, 4);
 1858|  8.51k|        break;
 1859|  8.51k|    case EHTokInt4x1:
  ------------------
  |  Branch (1859:5): [True: 8.51k, False: 1.54M]
  ------------------
 1860|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 1);
 1861|  8.51k|        break;
 1862|  8.51k|    case EHTokInt4x2:
  ------------------
  |  Branch (1862:5): [True: 8.51k, False: 1.54M]
  ------------------
 1863|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 2);
 1864|  8.51k|        break;
 1865|  8.51k|    case EHTokInt4x3:
  ------------------
  |  Branch (1865:5): [True: 8.51k, False: 1.54M]
  ------------------
 1866|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 3);
 1867|  8.51k|        break;
 1868|  8.51k|    case EHTokInt4x4:
  ------------------
  |  Branch (1868:5): [True: 8.51k, False: 1.54M]
  ------------------
 1869|  8.51k|        new(&type) TType(EbtInt, EvqTemporary, 0, 4, 4);
 1870|  8.51k|        break;
 1871|       |
 1872|  7.84k|    case EHTokUint1x1:
  ------------------
  |  Branch (1872:5): [True: 7.84k, False: 1.54M]
  ------------------
 1873|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 1);
 1874|  7.84k|        break;
 1875|  7.84k|    case EHTokUint1x2:
  ------------------
  |  Branch (1875:5): [True: 7.84k, False: 1.54M]
  ------------------
 1876|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 2);
 1877|  7.84k|        break;
 1878|  7.84k|    case EHTokUint1x3:
  ------------------
  |  Branch (1878:5): [True: 7.84k, False: 1.54M]
  ------------------
 1879|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 3);
 1880|  7.84k|        break;
 1881|  7.84k|    case EHTokUint1x4:
  ------------------
  |  Branch (1881:5): [True: 7.84k, False: 1.54M]
  ------------------
 1882|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 1, 4);
 1883|  7.84k|        break;
 1884|  7.84k|    case EHTokUint2x1:
  ------------------
  |  Branch (1884:5): [True: 7.84k, False: 1.54M]
  ------------------
 1885|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 1);
 1886|  7.84k|        break;
 1887|  7.84k|    case EHTokUint2x2:
  ------------------
  |  Branch (1887:5): [True: 7.84k, False: 1.54M]
  ------------------
 1888|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 2);
 1889|  7.84k|        break;
 1890|  7.84k|    case EHTokUint2x3:
  ------------------
  |  Branch (1890:5): [True: 7.84k, False: 1.54M]
  ------------------
 1891|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 3);
 1892|  7.84k|        break;
 1893|  7.84k|    case EHTokUint2x4:
  ------------------
  |  Branch (1893:5): [True: 7.84k, False: 1.54M]
  ------------------
 1894|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 2, 4);
 1895|  7.84k|        break;
 1896|  7.84k|    case EHTokUint3x1:
  ------------------
  |  Branch (1896:5): [True: 7.84k, False: 1.54M]
  ------------------
 1897|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 1);
 1898|  7.84k|        break;
 1899|  7.84k|    case EHTokUint3x2:
  ------------------
  |  Branch (1899:5): [True: 7.84k, False: 1.54M]
  ------------------
 1900|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 2);
 1901|  7.84k|        break;
 1902|  7.84k|    case EHTokUint3x3:
  ------------------
  |  Branch (1902:5): [True: 7.84k, False: 1.54M]
  ------------------
 1903|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 3);
 1904|  7.84k|        break;
 1905|  7.84k|    case EHTokUint3x4:
  ------------------
  |  Branch (1905:5): [True: 7.84k, False: 1.54M]
  ------------------
 1906|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 3, 4);
 1907|  7.84k|        break;
 1908|  7.84k|    case EHTokUint4x1:
  ------------------
  |  Branch (1908:5): [True: 7.84k, False: 1.54M]
  ------------------
 1909|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 1);
 1910|  7.84k|        break;
 1911|  7.84k|    case EHTokUint4x2:
  ------------------
  |  Branch (1911:5): [True: 7.84k, False: 1.54M]
  ------------------
 1912|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 2);
 1913|  7.84k|        break;
 1914|  7.84k|    case EHTokUint4x3:
  ------------------
  |  Branch (1914:5): [True: 7.84k, False: 1.54M]
  ------------------
 1915|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 3);
 1916|  7.84k|        break;
 1917|  7.84k|    case EHTokUint4x4:
  ------------------
  |  Branch (1917:5): [True: 7.84k, False: 1.54M]
  ------------------
 1918|  7.84k|        new(&type) TType(EbtUint, EvqTemporary, 0, 4, 4);
 1919|  7.84k|        break;
 1920|       |
 1921|    896|    case EHTokBool1x1:
  ------------------
  |  Branch (1921:5): [True: 896, False: 1.54M]
  ------------------
 1922|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 1);
 1923|    896|        break;
 1924|    896|    case EHTokBool1x2:
  ------------------
  |  Branch (1924:5): [True: 896, False: 1.54M]
  ------------------
 1925|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 2);
 1926|    896|        break;
 1927|    896|    case EHTokBool1x3:
  ------------------
  |  Branch (1927:5): [True: 896, False: 1.54M]
  ------------------
 1928|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 3);
 1929|    896|        break;
 1930|    896|    case EHTokBool1x4:
  ------------------
  |  Branch (1930:5): [True: 896, False: 1.54M]
  ------------------
 1931|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 1, 4);
 1932|    896|        break;
 1933|    896|    case EHTokBool2x1:
  ------------------
  |  Branch (1933:5): [True: 896, False: 1.54M]
  ------------------
 1934|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 1);
 1935|    896|        break;
 1936|    896|    case EHTokBool2x2:
  ------------------
  |  Branch (1936:5): [True: 896, False: 1.54M]
  ------------------
 1937|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 2);
 1938|    896|        break;
 1939|    896|    case EHTokBool2x3:
  ------------------
  |  Branch (1939:5): [True: 896, False: 1.54M]
  ------------------
 1940|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 3);
 1941|    896|        break;
 1942|    896|    case EHTokBool2x4:
  ------------------
  |  Branch (1942:5): [True: 896, False: 1.54M]
  ------------------
 1943|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 2, 4);
 1944|    896|        break;
 1945|    896|    case EHTokBool3x1:
  ------------------
  |  Branch (1945:5): [True: 896, False: 1.54M]
  ------------------
 1946|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 1);
 1947|    896|        break;
 1948|    896|    case EHTokBool3x2:
  ------------------
  |  Branch (1948:5): [True: 896, False: 1.54M]
  ------------------
 1949|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 2);
 1950|    896|        break;
 1951|    896|    case EHTokBool3x3:
  ------------------
  |  Branch (1951:5): [True: 896, False: 1.54M]
  ------------------
 1952|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 3);
 1953|    896|        break;
 1954|    896|    case EHTokBool3x4:
  ------------------
  |  Branch (1954:5): [True: 896, False: 1.54M]
  ------------------
 1955|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 3, 4);
 1956|    896|        break;
 1957|    896|    case EHTokBool4x1:
  ------------------
  |  Branch (1957:5): [True: 896, False: 1.54M]
  ------------------
 1958|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 1);
 1959|    896|        break;
 1960|    896|    case EHTokBool4x2:
  ------------------
  |  Branch (1960:5): [True: 896, False: 1.54M]
  ------------------
 1961|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 2);
 1962|    896|        break;
 1963|    896|    case EHTokBool4x3:
  ------------------
  |  Branch (1963:5): [True: 896, False: 1.54M]
  ------------------
 1964|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 3);
 1965|    896|        break;
 1966|    896|    case EHTokBool4x4:
  ------------------
  |  Branch (1966:5): [True: 896, False: 1.54M]
  ------------------
 1967|    896|        new(&type) TType(EbtBool, EvqTemporary, 0, 4, 4);
 1968|    896|        break;
 1969|       |
 1970|  18.1k|    case EHTokFloat1x1:
  ------------------
  |  Branch (1970:5): [True: 18.1k, False: 1.53M]
  ------------------
 1971|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 1);
 1972|  18.1k|        break;
 1973|  18.1k|    case EHTokFloat1x2:
  ------------------
  |  Branch (1973:5): [True: 18.1k, False: 1.53M]
  ------------------
 1974|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 2);
 1975|  18.1k|        break;
 1976|  18.1k|    case EHTokFloat1x3:
  ------------------
  |  Branch (1976:5): [True: 18.1k, False: 1.53M]
  ------------------
 1977|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 3);
 1978|  18.1k|        break;
 1979|  18.1k|    case EHTokFloat1x4:
  ------------------
  |  Branch (1979:5): [True: 18.1k, False: 1.53M]
  ------------------
 1980|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 1, 4);
 1981|  18.1k|        break;
 1982|  18.1k|    case EHTokFloat2x1:
  ------------------
  |  Branch (1982:5): [True: 18.1k, False: 1.53M]
  ------------------
 1983|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 1);
 1984|  18.1k|        break;
 1985|  18.1k|    case EHTokFloat2x2:
  ------------------
  |  Branch (1985:5): [True: 18.1k, False: 1.53M]
  ------------------
 1986|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 2);
 1987|  18.1k|        break;
 1988|  18.1k|    case EHTokFloat2x3:
  ------------------
  |  Branch (1988:5): [True: 18.1k, False: 1.53M]
  ------------------
 1989|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 3);
 1990|  18.1k|        break;
 1991|  18.1k|    case EHTokFloat2x4:
  ------------------
  |  Branch (1991:5): [True: 18.1k, False: 1.53M]
  ------------------
 1992|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 2, 4);
 1993|  18.1k|        break;
 1994|  18.1k|    case EHTokFloat3x1:
  ------------------
  |  Branch (1994:5): [True: 18.1k, False: 1.53M]
  ------------------
 1995|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 1);
 1996|  18.1k|        break;
 1997|  18.1k|    case EHTokFloat3x2:
  ------------------
  |  Branch (1997:5): [True: 18.1k, False: 1.53M]
  ------------------
 1998|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 2);
 1999|  18.1k|        break;
 2000|  18.1k|    case EHTokFloat3x3:
  ------------------
  |  Branch (2000:5): [True: 18.1k, False: 1.53M]
  ------------------
 2001|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 3);
 2002|  18.1k|        break;
 2003|  18.1k|    case EHTokFloat3x4:
  ------------------
  |  Branch (2003:5): [True: 18.1k, False: 1.53M]
  ------------------
 2004|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 3, 4);
 2005|  18.1k|        break;
 2006|  18.1k|    case EHTokFloat4x1:
  ------------------
  |  Branch (2006:5): [True: 18.1k, False: 1.53M]
  ------------------
 2007|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 1);
 2008|  18.1k|        break;
 2009|  18.1k|    case EHTokFloat4x2:
  ------------------
  |  Branch (2009:5): [True: 18.1k, False: 1.53M]
  ------------------
 2010|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 2);
 2011|  18.1k|        break;
 2012|  18.1k|    case EHTokFloat4x3:
  ------------------
  |  Branch (2012:5): [True: 18.1k, False: 1.53M]
  ------------------
 2013|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 3);
 2014|  18.1k|        break;
 2015|  18.1k|    case EHTokFloat4x4:
  ------------------
  |  Branch (2015:5): [True: 18.1k, False: 1.53M]
  ------------------
 2016|  18.1k|        new(&type) TType(EbtFloat, EvqTemporary, 0, 4, 4);
 2017|  18.1k|        break;
 2018|       |
 2019|      0|    case EHTokHalf1x1:
  ------------------
  |  Branch (2019:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 2065|      0|        new(&type) TType(half_bt, EvqTemporary, 0, 4, 4);
 2066|      0|        break;
 2067|       |
 2068|  1.34k|    case EHTokDouble1x1:
  ------------------
  |  Branch (2068:5): [True: 1.34k, False: 1.54M]
  ------------------
 2069|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 1);
 2070|  1.34k|        break;
 2071|  1.34k|    case EHTokDouble1x2:
  ------------------
  |  Branch (2071:5): [True: 1.34k, False: 1.54M]
  ------------------
 2072|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 2);
 2073|  1.34k|        break;
 2074|  1.34k|    case EHTokDouble1x3:
  ------------------
  |  Branch (2074:5): [True: 1.34k, False: 1.54M]
  ------------------
 2075|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 3);
 2076|  1.34k|        break;
 2077|  1.34k|    case EHTokDouble1x4:
  ------------------
  |  Branch (2077:5): [True: 1.34k, False: 1.54M]
  ------------------
 2078|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 1, 4);
 2079|  1.34k|        break;
 2080|  1.34k|    case EHTokDouble2x1:
  ------------------
  |  Branch (2080:5): [True: 1.34k, False: 1.54M]
  ------------------
 2081|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 1);
 2082|  1.34k|        break;
 2083|  1.34k|    case EHTokDouble2x2:
  ------------------
  |  Branch (2083:5): [True: 1.34k, False: 1.54M]
  ------------------
 2084|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 2);
 2085|  1.34k|        break;
 2086|  1.34k|    case EHTokDouble2x3:
  ------------------
  |  Branch (2086:5): [True: 1.34k, False: 1.54M]
  ------------------
 2087|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 3);
 2088|  1.34k|        break;
 2089|  1.34k|    case EHTokDouble2x4:
  ------------------
  |  Branch (2089:5): [True: 1.34k, False: 1.54M]
  ------------------
 2090|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 2, 4);
 2091|  1.34k|        break;
 2092|  1.34k|    case EHTokDouble3x1:
  ------------------
  |  Branch (2092:5): [True: 1.34k, False: 1.54M]
  ------------------
 2093|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 1);
 2094|  1.34k|        break;
 2095|  1.34k|    case EHTokDouble3x2:
  ------------------
  |  Branch (2095:5): [True: 1.34k, False: 1.54M]
  ------------------
 2096|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 2);
 2097|  1.34k|        break;
 2098|  1.34k|    case EHTokDouble3x3:
  ------------------
  |  Branch (2098:5): [True: 1.34k, False: 1.54M]
  ------------------
 2099|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 3);
 2100|  1.34k|        break;
 2101|  1.34k|    case EHTokDouble3x4:
  ------------------
  |  Branch (2101:5): [True: 1.34k, False: 1.54M]
  ------------------
 2102|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 3, 4);
 2103|  1.34k|        break;
 2104|  1.34k|    case EHTokDouble4x1:
  ------------------
  |  Branch (2104:5): [True: 1.34k, False: 1.54M]
  ------------------
 2105|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 1);
 2106|  1.34k|        break;
 2107|  1.34k|    case EHTokDouble4x2:
  ------------------
  |  Branch (2107:5): [True: 1.34k, False: 1.54M]
  ------------------
 2108|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 2);
 2109|  1.34k|        break;
 2110|  1.34k|    case EHTokDouble4x3:
  ------------------
  |  Branch (2110:5): [True: 1.34k, False: 1.54M]
  ------------------
 2111|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 3);
 2112|  1.34k|        break;
 2113|  1.34k|    case EHTokDouble4x4:
  ------------------
  |  Branch (2113:5): [True: 1.34k, False: 1.54M]
  ------------------
 2114|  1.34k|        new(&type) TType(EbtDouble, EvqTemporary, 0, 4, 4);
 2115|  1.34k|        break;
 2116|       |
 2117|      0|    case EHTokMin16float1x1:
  ------------------
  |  Branch (2117:5): [True: 0, False: 1.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 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.55M]
  ------------------
 2359|      0|        new(&type) TType(min16uint_bt, EvqTemporary, EpqMedium, 0, 4, 4);
 2360|      0|        break;
 2361|       |
 2362|  1.46k|    default:
  ------------------
  |  Branch (2362:5): [True: 1.46k, False: 1.54M]
  ------------------
 2363|  1.46k|        return false;
 2364|  1.55M|    }
 2365|       |
 2366|  1.38M|    advanceToken();
 2367|       |
 2368|  1.38M|    if ((isUnorm || isSnorm) && !type.isFloatingDomain()) {
  ------------------
  |  Branch (2368:10): [True: 0, False: 1.38M]
  |  Branch (2368:21): [True: 0, False: 1.38M]
  |  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.38M|    return true;
 2374|  1.38M|}
_ZN7glslang11HlslGrammar24acceptFunctionParametersERNS_9TFunctionE:
 2828|   448k|{
 2829|   448k|    parseContext.beginParameterParsing(function);
 2830|       |
 2831|       |    // LEFT_PAREN
 2832|   448k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (2832:9): [True: 0, False: 448k]
  ------------------
 2833|      0|        return false;
 2834|       |
 2835|       |    // VOID RIGHT_PAREN
 2836|   448k|    if (! acceptTokenClass(EHTokVoid)) {
  ------------------
  |  Branch (2836:9): [True: 444k, False: 3.92k]
  ------------------
 2837|  1.00M|        do {
 2838|       |            // parameter_declaration
 2839|  1.00M|            if (! acceptParameterDeclaration(function))
  ------------------
  |  Branch (2839:17): [True: 1, False: 1.00M]
  ------------------
 2840|      1|                break;
 2841|       |
 2842|       |            // COMMA
 2843|  1.00M|            if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (2843:17): [True: 444k, False: 562k]
  ------------------
 2844|   444k|                break;
 2845|  1.00M|        } while (true);
  ------------------
  |  Branch (2845:18): [True: 562k, Folded]
  ------------------
 2846|   444k|    }
 2847|       |
 2848|       |    // RIGHT_PAREN
 2849|   448k|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (2849:9): [True: 0, False: 448k]
  ------------------
 2850|      0|        expected(")");
 2851|      0|        return false;
 2852|      0|    }
 2853|       |
 2854|   448k|    return true;
 2855|   448k|}
_ZN7glslang11HlslGrammar33acceptDefaultParameterDeclarationERKNS_5TTypeERPNS_12TIntermTypedE:
 2861|  1.00M|{
 2862|  1.00M|    node = nullptr;
 2863|       |
 2864|       |    // Valid not to have a default_parameter_declaration
 2865|  1.00M|    if (!acceptTokenClass(EHTokAssign))
  ------------------
  |  Branch (2865:9): [True: 1.00M, False: 0]
  ------------------
 2866|  1.00M|        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|  1.00M|{
 2914|       |    // attributes
 2915|  1.00M|    TAttributes attributes;
 2916|  1.00M|    acceptAttributes(attributes);
 2917|       |
 2918|       |    // fully_specified_type
 2919|  1.00M|    TType* type = new TType;
 2920|  1.00M|    if (! acceptFullySpecifiedType(*type, attributes))
  ------------------
  |  Branch (2920:9): [True: 1, False: 1.00M]
  ------------------
 2921|      1|        return false;
 2922|       |
 2923|       |    // merge in the attributes
 2924|  1.00M|    parseContext.transferTypeAttributes(token.loc, attributes, *type);
 2925|       |
 2926|       |    // identifier
 2927|  1.00M|    HlslToken idToken;
 2928|  1.00M|    acceptIdentifier(idToken);
 2929|       |
 2930|       |    // array_specifier
 2931|  1.00M|    TArraySizes* arraySizes = nullptr;
 2932|  1.00M|    acceptArraySpecifier(arraySizes);
 2933|  1.00M|    if (arraySizes) {
  ------------------
  |  Branch (2933:9): [True: 0, False: 1.00M]
  ------------------
 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|  1.00M|    acceptPostDecls(type->getQualifier());
 2944|       |
 2945|  1.00M|    TIntermTyped* defaultValue;
 2946|  1.00M|    if (!acceptDefaultParameterDeclaration(*type, defaultValue))
  ------------------
  |  Branch (2946:9): [True: 0, False: 1.00M]
  ------------------
 2947|      0|        return false;
 2948|       |
 2949|  1.00M|    parseContext.paramFix(*type);
 2950|       |
 2951|       |    // If any prior parameters have default values, all the parameters after that must as well.
 2952|  1.00M|    if (defaultValue == nullptr && function.getDefaultParamCount() > 0) {
  ------------------
  |  Branch (2952:9): [True: 1.00M, False: 0]
  |  Branch (2952:36): [True: 0, False: 1.00M]
  ------------------
 2953|      0|        parseContext.error(idToken.loc, "invalid parameter after default value parameters", idToken.getCStrOrEmpty(), "");
 2954|      0|        return false;
 2955|      0|    }
 2956|       |
 2957|  1.00M|    TParameter param = { idToken.string, type, defaultValue };
 2958|  1.00M|    function.addParameter(param);
 2959|       |
 2960|  1.00M|    return true;
 2961|  1.00M|}
_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|  1.99k|{
 3054|  1.99k|    node = nullptr;
 3055|       |
 3056|       |    // assignment_expression
 3057|  1.99k|    if (! acceptAssignmentExpression(node))
  ------------------
  |  Branch (3057:9): [True: 1.96k, False: 23]
  ------------------
 3058|  1.96k|        return false;
 3059|       |
 3060|     23|    if (! peekTokenClass(EHTokComma))
  ------------------
  |  Branch (3060:9): [True: 23, False: 0]
  ------------------
 3061|     23|        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|  3.15k|{
 3153|       |    // initializer
 3154|  3.15k|    if (peekTokenClass(EHTokLeftBrace)) {
  ------------------
  |  Branch (3154:9): [True: 0, False: 3.15k]
  ------------------
 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|  3.15k|    if (! acceptConditionalExpression(node))
  ------------------
  |  Branch (3163:9): [True: 3.10k, False: 50]
  ------------------
 3164|  3.10k|        return false;
 3165|       |
 3166|       |    // assignment operation?
 3167|     50|    TOperator assignOp = HlslOpMap::assignment(peek());
 3168|     50|    if (assignOp == EOpNull)
  ------------------
  |  Branch (3168:9): [True: 50, False: 0]
  ------------------
 3169|     50|        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|  3.15k|{
 3208|       |    // binary_expression
 3209|  3.15k|    if (! acceptBinaryExpression(node, PlLogicalOr))
  ------------------
  |  Branch (3209:9): [True: 3.06k, False: 91]
  ------------------
 3210|  3.06k|        return false;
 3211|       |
 3212|     91|    if (! acceptTokenClass(EHTokQuestion))
  ------------------
  |  Branch (3212:9): [True: 38, False: 53]
  ------------------
 3213|     38|        return true;
 3214|       |
 3215|     53|    node = parseContext.convertConditionalExpression(token.loc, node, false);
 3216|     53|    if (node == nullptr)
  ------------------
  |  Branch (3216:9): [True: 40, False: 13]
  ------------------
 3217|     40|        return false;
 3218|       |
 3219|     13|    ++parseContext.controlFlowNestingLevel;  // this only needs to work right if no errors
 3220|       |
 3221|     13|    TIntermTyped* trueNode = nullptr;
 3222|     13|    if (! acceptExpression(trueNode)) {
  ------------------
  |  Branch (3222:9): [True: 0, False: 13]
  ------------------
 3223|      0|        expected("expression after ?");
 3224|      0|        return false;
 3225|      0|    }
 3226|     13|    TSourceLoc loc = token.loc;
 3227|       |
 3228|     13|    if (! acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (3228:9): [True: 0, False: 13]
  ------------------
 3229|      0|        expected(":");
 3230|      0|        return false;
 3231|      0|    }
 3232|       |
 3233|     13|    TIntermTyped* falseNode = nullptr;
 3234|     13|    if (! acceptAssignmentExpression(falseNode)) {
  ------------------
  |  Branch (3234:9): [True: 1, False: 12]
  ------------------
 3235|      1|        expected("expression after :");
 3236|      1|        return false;
 3237|      1|    }
 3238|       |
 3239|     12|    --parseContext.controlFlowNestingLevel;
 3240|       |
 3241|     12|    node = intermediate.addSelection(node, trueNode, falseNode, loc);
 3242|     12|    if (!node) {
  ------------------
  |  Branch (3242:9): [True: 0, False: 12]
  ------------------
 3243|      0|        parseContext.binaryOpError(loc, ":", trueNode->getCompleteString(), falseNode->getCompleteString());
 3244|      0|        return false;
 3245|      0|    }
 3246|       |
 3247|     12|    return true;
 3248|     12|}
_ZN7glslang11HlslGrammar22acceptBinaryExpressionERPNS_12TIntermTypedENS_15PrecedenceLevelE:
 3261|  37.9k|{
 3262|  37.9k|    if (precedenceLevel > PlMul)
  ------------------
  |  Branch (3262:9): [True: 3.22k, False: 34.6k]
  ------------------
 3263|  3.22k|        return acceptUnaryExpression(node);
 3264|       |
 3265|       |    // assignment_expression
 3266|  34.6k|    if (! acceptBinaryExpression(node, (PrecedenceLevel)(precedenceLevel + 1)))
  ------------------
  |  Branch (3266:9): [True: 33.6k, False: 1.09k]
  ------------------
 3267|  33.6k|        return false;
 3268|       |
 3269|  1.09k|    do {
 3270|  1.09k|        TOperator op = HlslOpMap::binary(peek());
 3271|  1.09k|        PrecedenceLevel tokenLevel = HlslOpMap::precedenceLevel(op);
 3272|  1.09k|        if (tokenLevel < precedenceLevel)
  ------------------
  |  Branch (3272:13): [True: 1.02k, False: 73]
  ------------------
 3273|  1.02k|            return true;
 3274|       |
 3275|       |        // ... op
 3276|     73|        TSourceLoc loc = token.loc;
 3277|     73|        advanceToken();
 3278|       |
 3279|       |        // ... expression
 3280|     73|        TIntermTyped* rightNode = nullptr;
 3281|     73|        if (! acceptBinaryExpression(rightNode, (PrecedenceLevel)(precedenceLevel + 1))) {
  ------------------
  |  Branch (3281:13): [True: 64, False: 9]
  ------------------
 3282|     64|            expected("expression");
 3283|     64|            return false;
 3284|     64|        }
 3285|       |
 3286|      9|        node = intermediate.addBinaryMath(op, node, rightNode, loc);
 3287|      9|        if (node == nullptr) {
  ------------------
  |  Branch (3287:13): [True: 3, False: 6]
  ------------------
 3288|      3|            parseContext.error(loc, "Could not perform requested binary operation", "", "");
 3289|      3|            return false;
 3290|      3|        }
 3291|      9|    } while (true);
  ------------------
  |  Branch (3291:14): [True: 6, Folded]
  ------------------
 3292|  1.09k|}
_ZN7glslang11HlslGrammar21acceptUnaryExpressionERPNS_12TIntermTypedE:
 3305|  3.25k|{
 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|  3.25k|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3309:9): [True: 1.69k, False: 1.55k]
  ------------------
 3310|  1.69k|        TType castType;
 3311|  1.69k|        if (acceptType(castType)) {
  ------------------
  |  Branch (3311:13): [True: 5, False: 1.69k]
  ------------------
 3312|       |            // recognize any array_specifier as part of the type
 3313|      5|            TArraySizes* arraySizes = nullptr;
 3314|      5|            acceptArraySpecifier(arraySizes);
 3315|      5|            if (arraySizes != nullptr)
  ------------------
  |  Branch (3315:17): [True: 0, False: 5]
  ------------------
 3316|      0|                castType.transferArraySizes(arraySizes);
 3317|      5|            TSourceLoc loc = token.loc;
 3318|      5|            if (acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3318:17): [True: 0, False: 5]
  ------------------
 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|      5|            } 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|      5|                recedeToken();
 3338|      5|                recedeToken();
 3339|       |
 3340|       |                // Note, there are no array constructors like
 3341|       |                //   (float[2](...))
 3342|      5|                if (arraySizes != nullptr)
  ------------------
  |  Branch (3342:21): [True: 0, False: 5]
  ------------------
 3343|      0|                    parseContext.error(loc, "parenthesized array constructor not allowed", "([]())", "", "");
 3344|      5|            }
 3345|  1.69k|        } 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|  1.69k|            recedeToken();
 3350|  1.69k|            return acceptPostfixExpression(node);
 3351|  1.69k|        }
 3352|  1.69k|    }
 3353|       |
 3354|       |    // peek for "op unary_expression"
 3355|  1.55k|    TOperator unaryOp = HlslOpMap::preUnary(peek());
 3356|       |
 3357|       |    // postfix_expression (if no unary operator)
 3358|  1.55k|    if (unaryOp == EOpNull)
  ------------------
  |  Branch (3358:9): [True: 1.53k, False: 25]
  ------------------
 3359|  1.53k|        return acceptPostfixExpression(node);
 3360|       |
 3361|       |    // op unary_expression
 3362|     25|    TSourceLoc loc = token.loc;
 3363|     25|    advanceToken();
 3364|     25|    if (! acceptUnaryExpression(node))
  ------------------
  |  Branch (3364:9): [True: 3, False: 22]
  ------------------
 3365|      3|        return false;
 3366|       |
 3367|       |    // + is a no-op
 3368|     22|    if (unaryOp == EOpAdd)
  ------------------
  |  Branch (3368:9): [True: 6, False: 16]
  ------------------
 3369|      6|        return true;
 3370|       |
 3371|     16|    node = intermediate.addUnaryMath(unaryOp, node, loc);
 3372|       |
 3373|       |    // These unary ops require lvalues
 3374|     16|    if (unaryOp == EOpPreIncrement || unaryOp == EOpPreDecrement)
  ------------------
  |  Branch (3374:9): [True: 0, False: 16]
  |  Branch (3374:39): [True: 0, False: 16]
  ------------------
 3375|      0|        node = parseContext.handleLvalue(loc, "unary operator", node);
 3376|       |
 3377|     16|    return node != nullptr;
 3378|     22|}
_ZN7glslang11HlslGrammar23acceptPostfixExpressionERPNS_12TIntermTypedE:
 3394|  3.22k|{
 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|  3.22k|    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|  3.22k|    if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3403:9): [True: 1.69k, False: 1.52k]
  ------------------
 3404|       |        // LEFT_PAREN expression RIGHT_PAREN
 3405|  1.69k|        if (! acceptExpression(node)) {
  ------------------
  |  Branch (3405:13): [True: 1.69k, False: 5]
  ------------------
 3406|  1.69k|            expected("expression");
 3407|  1.69k|            return false;
 3408|  1.69k|        }
 3409|      5|        if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3409:13): [True: 3, False: 2]
  ------------------
 3410|      3|            expected(")");
 3411|      3|            return false;
 3412|      3|        }
 3413|  1.52k|    } else if (acceptLiteral(node)) {
  ------------------
  |  Branch (3413:16): [True: 48, False: 1.47k]
  ------------------
 3414|       |        // literal (nothing else to do yet)
 3415|  1.47k|    } else if (acceptConstructor(node)) {
  ------------------
  |  Branch (3415:16): [True: 5, False: 1.47k]
  ------------------
 3416|       |        // constructor (nothing else to do yet)
 3417|  1.47k|    } else if (acceptIdentifier(idToken)) {
  ------------------
  |  Branch (3417:16): [True: 831, False: 643]
  ------------------
 3418|       |        // user-type, namespace name, variable, or function name
 3419|    831|        TString* fullName = idToken.string;
 3420|    831|        while (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3420:16): [True: 0, False: 831]
  ------------------
 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|    831|        if (! peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3431:13): [True: 388, False: 443]
  ------------------
 3432|    388|            node = parseContext.handleVariable(idToken.loc, fullName);
 3433|    388|            if (node == nullptr)
  ------------------
  |  Branch (3433:17): [True: 0, False: 388]
  ------------------
 3434|      0|                return false;
 3435|    443|        } else if (acceptFunctionCall(idToken.loc, *fullName, node, nullptr)) {
  ------------------
  |  Branch (3435:20): [True: 0, False: 443]
  ------------------
 3436|       |            // function_call (nothing else to do yet)
 3437|    443|        } else {
 3438|    443|            expected("function call arguments");
 3439|    443|            return false;
 3440|    443|        }
 3441|    831|    } else {
 3442|       |        // nothing found, can't post operate
 3443|    643|        return false;
 3444|    643|    }
 3445|       |
 3446|       |    // Something was found, chain as many postfix operations as exist.
 3447|    462|    do {
 3448|    462|        TSourceLoc loc = token.loc;
 3449|    462|        TOperator postOp = HlslOpMap::postUnary(peek());
 3450|       |
 3451|       |        // Consume only a valid post-unary operator, otherwise we are done.
 3452|    462|        switch (postOp) {
 3453|      3|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3453:9): [True: 3, False: 459]
  ------------------
 3454|    282|        case EOpIndexIndirect:
  ------------------
  |  Branch (3454:9): [True: 279, False: 183]
  ------------------
 3455|    282|        case EOpPostIncrement:
  ------------------
  |  Branch (3455:9): [True: 0, False: 462]
  ------------------
 3456|    294|        case EOpPostDecrement:
  ------------------
  |  Branch (3456:9): [True: 12, False: 450]
  ------------------
 3457|    294|        case EOpScoping:
  ------------------
  |  Branch (3457:9): [True: 0, False: 462]
  ------------------
 3458|    294|            advanceToken();
 3459|    294|            break;
 3460|    168|        default:
  ------------------
  |  Branch (3460:9): [True: 168, False: 294]
  ------------------
 3461|    168|            return true;
 3462|    462|        }
 3463|       |
 3464|       |        // We have a valid post-unary operator, process it.
 3465|    294|        switch (postOp) {
 3466|      0|        case EOpScoping:
  ------------------
  |  Branch (3466:9): [True: 0, False: 294]
  ------------------
 3467|      3|        case EOpIndexDirectStruct:
  ------------------
  |  Branch (3467:9): [True: 3, False: 291]
  ------------------
 3468|      3|        {
 3469|       |            // DOT IDENTIFIER
 3470|       |            // includes swizzles, member variables, and member functions
 3471|      3|            HlslToken field;
 3472|      3|            if (! acceptIdentifier(field)) {
  ------------------
  |  Branch (3472:17): [True: 0, False: 3]
  ------------------
 3473|      0|                expected("swizzle or member");
 3474|      0|                return false;
 3475|      0|            }
 3476|       |
 3477|      3|            if (peekTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3477:17): [True: 0, False: 3]
  ------------------
 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|      3|                node = parseContext.handleDotDereference(field.loc, node, *field.string);
 3488|       |
 3489|      3|            break;
 3490|      3|        }
 3491|    279|        case EOpIndexIndirect:
  ------------------
  |  Branch (3491:9): [True: 279, False: 15]
  ------------------
 3492|    279|        {
 3493|       |            // LEFT_BRACKET integer_expression RIGHT_BRACKET
 3494|    279|            TIntermTyped* indexNode = nullptr;
 3495|    279|            if (! acceptExpression(indexNode) ||
  ------------------
  |  Branch (3495:17): [True: 275, False: 4]
  ------------------
 3496|    275|                ! peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3496:17): [True: 0, False: 4]
  ------------------
 3497|    275|                expected("expression followed by ']'");
 3498|    275|                return false;
 3499|    275|            }
 3500|      4|            advanceToken();
 3501|      4|            node = parseContext.handleBracketDereference(indexNode->getLoc(), node, indexNode);
 3502|      4|            if (node == nullptr)
  ------------------
  |  Branch (3502:17): [True: 0, False: 4]
  ------------------
 3503|      0|                return false;
 3504|      4|            break;
 3505|      4|        }
 3506|      4|        case EOpPostIncrement:
  ------------------
  |  Branch (3506:9): [True: 0, False: 294]
  ------------------
 3507|       |            // INC_OP
 3508|       |            // fall through
 3509|     12|        case EOpPostDecrement:
  ------------------
  |  Branch (3509:9): [True: 12, False: 282]
  ------------------
 3510|       |            // DEC_OP
 3511|     12|            node = intermediate.addUnaryMath(postOp, node, loc);
 3512|     12|            node = parseContext.handleLvalue(loc, "unary operator", node);
 3513|     12|            break;
 3514|      0|        default:
  ------------------
  |  Branch (3514:9): [True: 0, False: 294]
  ------------------
 3515|      0|            assert(0);
 3516|      0|            break;
 3517|    294|        }
 3518|    294|    } while (true);
  ------------------
  |  Branch (3518:14): [True: 19, Folded]
  ------------------
 3519|    443|}
_ZN7glslang11HlslGrammar17acceptConstructorERPNS_12TIntermTypedE:
 3525|  1.47k|{
 3526|       |    // type
 3527|  1.47k|    TType type;
 3528|  1.47k|    if (acceptType(type)) {
  ------------------
  |  Branch (3528:9): [True: 692, False: 787]
  ------------------
 3529|    692|        TFunction* constructorFunction = parseContext.makeConstructorCall(token.loc, type);
 3530|    692|        if (constructorFunction == nullptr)
  ------------------
  |  Branch (3530:13): [True: 0, False: 692]
  ------------------
 3531|      0|            return false;
 3532|       |
 3533|       |        // arguments
 3534|    692|        TIntermTyped* arguments = nullptr;
 3535|    692|        if (! acceptArguments(constructorFunction, arguments)) {
  ------------------
  |  Branch (3535:13): [True: 687, False: 5]
  ------------------
 3536|       |            // It's possible this is a type keyword used as an identifier.  Put the token back
 3537|       |            // for later use.
 3538|    687|            recedeToken();
 3539|    687|            return false;
 3540|    687|        }
 3541|       |
 3542|      5|        if (arguments == nullptr) {
  ------------------
  |  Branch (3542:13): [True: 0, False: 5]
  ------------------
 3543|      0|            expected("one or more arguments");
 3544|      0|            return false;
 3545|      0|        }
 3546|       |
 3547|       |        // hook it up
 3548|      5|        node = parseContext.handleFunctionCall(token.loc, constructorFunction, arguments);
 3549|       |
 3550|      5|        return node != nullptr;
 3551|      5|    }
 3552|       |
 3553|    787|    return false;
 3554|  1.47k|}
_ZN7glslang11HlslGrammar18acceptFunctionCallERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERPNS_12TIntermTypedESD_:
 3562|    443|{
 3563|       |    // name
 3564|    443|    TString* functionName = nullptr;
 3565|    443|    if (baseObject == nullptr) {
  ------------------
  |  Branch (3565:9): [True: 443, False: 0]
  ------------------
 3566|    443|        functionName = &name;
 3567|    443|    } else if (parseContext.isBuiltInMethod(loc, baseObject, name)) {
  ------------------
  |  Branch (3567:16): [True: 0, False: 0]
  ------------------
 3568|       |        // Built-in methods are not in the symbol table as methods, but as global functions
 3569|       |        // taking an explicit 'this' as the first argument.
 3570|      0|        functionName = NewPoolTString(BUILTIN_PREFIX);
  ------------------
  |  |  513|      0|#define BUILTIN_PREFIX "__BI_"
  ------------------
 3571|      0|        functionName->append(name);
 3572|      0|    } else {
 3573|      0|        if (! baseObject->getType().isStruct()) {
  ------------------
  |  Branch (3573:13): [True: 0, False: 0]
  ------------------
 3574|      0|            expected("structure");
 3575|      0|            return false;
 3576|      0|        }
 3577|      0|        functionName = NewPoolTString("");
 3578|      0|        functionName->append(baseObject->getType().getTypeName());
 3579|      0|        parseContext.addScopeMangler(*functionName);
 3580|      0|        functionName->append(name);
 3581|      0|    }
 3582|       |
 3583|       |    // function
 3584|    443|    TFunction* function = new TFunction(functionName, TType(EbtVoid));
 3585|       |
 3586|       |    // arguments
 3587|    443|    TIntermTyped* arguments = nullptr;
 3588|    443|    if (baseObject != nullptr) {
  ------------------
  |  Branch (3588:9): [True: 0, False: 443]
  ------------------
 3589|       |        // Non-static member functions have an implicit first argument of the base object.
 3590|      0|        parseContext.handleFunctionArgument(function, arguments, baseObject);
 3591|      0|    }
 3592|    443|    if (! acceptArguments(function, arguments))
  ------------------
  |  Branch (3592:9): [True: 443, False: 0]
  ------------------
 3593|    443|        return false;
 3594|       |
 3595|       |    // call
 3596|      0|    node = parseContext.handleFunctionCall(loc, function, arguments);
 3597|       |
 3598|      0|    return node != nullptr;
 3599|    443|}
_ZN7glslang11HlslGrammar15acceptArgumentsEPNS_9TFunctionERPNS_12TIntermTypedE:
 3608|  1.13k|{
 3609|       |    // LEFT_PAREN
 3610|  1.13k|    if (! acceptTokenClass(EHTokLeftParen))
  ------------------
  |  Branch (3610:9): [True: 4, False: 1.13k]
  ------------------
 3611|      4|        return false;
 3612|       |
 3613|       |    // RIGHT_PAREN
 3614|  1.13k|    if (acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3614:9): [True: 0, False: 1.13k]
  ------------------
 3615|      0|        return true;
 3616|       |
 3617|       |    // must now be at least one expression...
 3618|  1.13k|    do {
 3619|       |        // expression
 3620|  1.13k|        TIntermTyped* arg;
 3621|  1.13k|        if (! acceptAssignmentExpression(arg))
  ------------------
  |  Branch (3621:13): [True: 1.11k, False: 13]
  ------------------
 3622|  1.11k|            return false;
 3623|       |
 3624|       |        // hook it up
 3625|     13|        parseContext.handleFunctionArgument(function, arguments, arg);
 3626|       |
 3627|       |        // COMMA
 3628|     13|        if (! acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3628:13): [True: 13, False: 0]
  ------------------
 3629|     13|            break;
 3630|     13|    } while (true);
  ------------------
  |  Branch (3630:14): [True: 0, Folded]
  ------------------
 3631|       |
 3632|       |    // RIGHT_PAREN
 3633|     13|    if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (3633:9): [True: 8, False: 5]
  ------------------
 3634|      8|        expected(")");
 3635|      8|        return false;
 3636|      8|    }
 3637|       |
 3638|      5|    return true;
 3639|     13|}
_ZN7glslang11HlslGrammar13acceptLiteralERPNS_12TIntermTypedE:
 3642|  1.52k|{
 3643|  1.52k|    switch (token.tokenClass) {
 3644|     45|    case EHTokIntConstant:
  ------------------
  |  Branch (3644:5): [True: 45, False: 1.48k]
  ------------------
 3645|     45|        node = intermediate.addConstantUnion(token.i, token.loc, true);
 3646|     45|        break;
 3647|      3|    case EHTokUintConstant:
  ------------------
  |  Branch (3647:5): [True: 3, False: 1.52k]
  ------------------
 3648|      3|        node = intermediate.addConstantUnion(token.u, token.loc, true);
 3649|      3|        break;
 3650|      0|    case EHTokFloat16Constant:
  ------------------
  |  Branch (3650:5): [True: 0, False: 1.52k]
  ------------------
 3651|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true);
 3652|      0|        break;
 3653|      0|    case EHTokFloatConstant:
  ------------------
  |  Branch (3653:5): [True: 0, False: 1.52k]
  ------------------
 3654|      0|        node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true);
 3655|      0|        break;
 3656|      0|    case EHTokDoubleConstant:
  ------------------
  |  Branch (3656:5): [True: 0, False: 1.52k]
  ------------------
 3657|      0|        node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true);
 3658|      0|        break;
 3659|      0|    case EHTokBoolConstant:
  ------------------
  |  Branch (3659:5): [True: 0, False: 1.52k]
  ------------------
 3660|      0|        node = intermediate.addConstantUnion(token.b, token.loc, true);
 3661|      0|        break;
 3662|      0|    case EHTokStringConstant:
  ------------------
  |  Branch (3662:5): [True: 0, False: 1.52k]
  ------------------
 3663|      0|        node = intermediate.addConstantUnion(token.string, token.loc, true);
 3664|      0|        break;
 3665|       |
 3666|  1.47k|    default:
  ------------------
  |  Branch (3666:5): [True: 1.47k, False: 48]
  ------------------
 3667|  1.47k|        return false;
 3668|  1.52k|    }
 3669|       |
 3670|     48|    advanceToken();
 3671|       |
 3672|     48|    return true;
 3673|  1.52k|}
_ZN7glslang11HlslGrammar21acceptSimpleStatementERP11TIntermNode:
 3681|      1|{
 3682|       |    // SEMICOLON
 3683|      1|    if (acceptTokenClass(EHTokSemicolon))
  ------------------
  |  Branch (3683:9): [True: 0, False: 1]
  ------------------
 3684|      0|        return true;
 3685|       |
 3686|       |    // declaration
 3687|      1|    if (acceptDeclaration(statement))
  ------------------
  |  Branch (3687:9): [True: 0, False: 1]
  ------------------
 3688|      0|        return true;
 3689|       |
 3690|       |    // expression
 3691|      1|    TIntermTyped* node;
 3692|      1|    if (acceptExpression(node))
  ------------------
  |  Branch (3692:9): [True: 1, False: 0]
  ------------------
 3693|      1|        statement = node;
 3694|      0|    else
 3695|      0|        return false;
 3696|       |
 3697|       |    // SEMICOLON (following an expression)
 3698|      1|    if (acceptTokenClass(EHTokSemicolon))
  ------------------
  |  Branch (3698:9): [True: 0, False: 1]
  ------------------
 3699|      0|        return true;
 3700|      1|    else {
 3701|      1|        expected(";");
 3702|      1|        return false;
 3703|      1|    }
 3704|      1|}
_ZN7glslang11HlslGrammar23acceptCompoundStatementERP11TIntermNode:
 3710|      1|{
 3711|      1|    TIntermAggregate* compoundStatement = nullptr;
 3712|       |
 3713|       |    // LEFT_CURLY
 3714|      1|    if (! acceptTokenClass(EHTokLeftBrace))
  ------------------
  |  Branch (3714:9): [True: 0, False: 1]
  ------------------
 3715|      0|        return false;
 3716|       |
 3717|       |    // statement statement ...
 3718|      1|    TIntermNode* statement = nullptr;
 3719|      1|    while (acceptStatement(statement)) {
  ------------------
  |  Branch (3719:12): [True: 0, False: 1]
  ------------------
 3720|      0|        TIntermBranch* branch = statement ? statement->getAsBranchNode() : nullptr;
  ------------------
  |  Branch (3720:33): [True: 0, False: 0]
  ------------------
 3721|      0|        if (branch != nullptr && (branch->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (3721:13): [True: 0, False: 0]
  |  Branch (3721:35): [True: 0, False: 0]
  ------------------
 3722|      0|                                  branch->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (3722:35): [True: 0, False: 0]
  ------------------
 3723|       |            // hook up individual subsequences within a switch statement
 3724|      0|            parseContext.wrapupSwitchSubsequence(compoundStatement, statement);
 3725|      0|            compoundStatement = nullptr;
 3726|      0|        } else {
 3727|       |            // hook it up to the growing compound statement
 3728|      0|            compoundStatement = intermediate.growAggregate(compoundStatement, statement);
 3729|      0|        }
 3730|      0|    }
 3731|      1|    if (compoundStatement)
  ------------------
  |  Branch (3731:9): [True: 0, False: 1]
  ------------------
 3732|      0|        compoundStatement->setOperator(intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  Branch (3732:40): [True: 0, False: 0]
  ------------------
 3733|       |
 3734|      1|    retStatement = compoundStatement;
 3735|       |
 3736|       |    // RIGHT_CURLY
 3737|      1|    return acceptTokenClass(EHTokRightBrace);
 3738|      1|}
_ZN7glslang11HlslGrammar15acceptStatementERP11TIntermNode:
 3772|      1|{
 3773|      1|    statement = nullptr;
 3774|       |
 3775|       |    // attributes
 3776|      1|    TAttributes attributes;
 3777|      1|    acceptAttributes(attributes);
 3778|       |
 3779|       |    // attributed_statement
 3780|      1|    switch (peek()) {
 3781|      0|    case EHTokLeftBrace:
  ------------------
  |  Branch (3781:5): [True: 0, False: 1]
  ------------------
 3782|      0|        return acceptScopedCompoundStatement(statement);
 3783|       |
 3784|      0|    case EHTokIf:
  ------------------
  |  Branch (3784:5): [True: 0, False: 1]
  ------------------
 3785|      0|        return acceptSelectionStatement(statement, attributes);
 3786|       |
 3787|      0|    case EHTokSwitch:
  ------------------
  |  Branch (3787:5): [True: 0, False: 1]
  ------------------
 3788|      0|        return acceptSwitchStatement(statement, attributes);
 3789|       |
 3790|      0|    case EHTokFor:
  ------------------
  |  Branch (3790:5): [True: 0, False: 1]
  ------------------
 3791|      0|    case EHTokDo:
  ------------------
  |  Branch (3791:5): [True: 0, False: 1]
  ------------------
 3792|      0|    case EHTokWhile:
  ------------------
  |  Branch (3792:5): [True: 0, False: 1]
  ------------------
 3793|      0|        return acceptIterationStatement(statement, attributes);
 3794|       |
 3795|      0|    case EHTokContinue:
  ------------------
  |  Branch (3795:5): [True: 0, False: 1]
  ------------------
 3796|      0|    case EHTokBreak:
  ------------------
  |  Branch (3796:5): [True: 0, False: 1]
  ------------------
 3797|      0|    case EHTokDiscard:
  ------------------
  |  Branch (3797:5): [True: 0, False: 1]
  ------------------
 3798|      0|    case EHTokReturn:
  ------------------
  |  Branch (3798:5): [True: 0, False: 1]
  ------------------
 3799|      0|        return acceptJumpStatement(statement);
 3800|       |
 3801|      0|    case EHTokCase:
  ------------------
  |  Branch (3801:5): [True: 0, False: 1]
  ------------------
 3802|      0|        return acceptCaseLabel(statement);
 3803|      0|    case EHTokDefault:
  ------------------
  |  Branch (3803:5): [True: 0, False: 1]
  ------------------
 3804|      0|        return acceptDefaultLabel(statement);
 3805|       |
 3806|      0|    case EHTokRightBrace:
  ------------------
  |  Branch (3806:5): [True: 0, False: 1]
  ------------------
 3807|       |        // Performance: not strictly necessary, but stops a bunch of hunting early,
 3808|       |        // and is how sequences of statements end.
 3809|      0|        return false;
 3810|       |
 3811|      1|    default:
  ------------------
  |  Branch (3811:5): [True: 1, False: 0]
  ------------------
 3812|      1|        return acceptSimpleStatement(statement);
 3813|      1|    }
 3814|       |
 3815|      0|    return true;
 3816|      1|}
_ZN7glslang11HlslGrammar16acceptAttributesERNS_5TListINS_14TAttributeArgsEEE:
 3849|  1.45M|{
 3850|       |    // For now, accept the [ XXX(X) ] syntax, but drop all but
 3851|       |    // numthreads, which is used to set the CS local size.
 3852|       |    // TODO: subset to correct set?  Pass on?
 3853|  1.45M|    do {
 3854|  1.45M|        HlslToken attributeToken;
 3855|       |
 3856|       |        // LEFT_BRACKET?
 3857|  1.45M|        if (! acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3857:13): [True: 1.45M, False: 7]
  ------------------
 3858|  1.45M|            return;
 3859|       |        // another LEFT_BRACKET?
 3860|      7|        bool doubleBrackets = false;
 3861|      7|        if (acceptTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (3861:13): [True: 6, False: 1]
  ------------------
 3862|      6|            doubleBrackets = true;
 3863|       |
 3864|       |        // attribute? (could be namespace; will adjust later)
 3865|      7|        if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3865:13): [True: 1, False: 6]
  ------------------
 3866|      1|            if (!peekTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3866:17): [True: 1, False: 0]
  ------------------
 3867|      1|                expected("namespace or attribute identifier");
 3868|      1|                advanceToken();
 3869|      1|            }
 3870|      1|        }
 3871|       |
 3872|      7|        TString nameSpace;
 3873|      7|        if (acceptTokenClass(EHTokColonColon)) {
  ------------------
  |  Branch (3873:13): [True: 0, False: 7]
  ------------------
 3874|       |            // namespace COLON COLON
 3875|      0|            nameSpace = *attributeToken.string;
 3876|       |            // attribute
 3877|      0|            if (!acceptIdentifier(attributeToken)) {
  ------------------
  |  Branch (3877:17): [True: 0, False: 0]
  ------------------
 3878|      0|                expected("attribute identifier");
 3879|      0|                return;
 3880|      0|            }
 3881|      0|        }
 3882|       |
 3883|      7|        TIntermAggregate* expressions = nullptr;
 3884|       |
 3885|       |        // (x, ...)
 3886|      7|        if (acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (3886:13): [True: 6, False: 1]
  ------------------
 3887|      6|            expressions = new TIntermAggregate;
 3888|       |
 3889|      6|            TIntermTyped* node;
 3890|      6|            bool expectingExpression = false;
 3891|       |
 3892|      8|            while (acceptAssignmentExpression(node)) {
  ------------------
  |  Branch (3892:20): [True: 2, False: 6]
  ------------------
 3893|      2|                expectingExpression = false;
 3894|      2|                expressions->getSequence().push_back(node);
 3895|      2|                if (acceptTokenClass(EHTokComma))
  ------------------
  |  Branch (3895:21): [True: 0, False: 2]
  ------------------
 3896|      0|                    expectingExpression = true;
 3897|      2|            }
 3898|       |
 3899|       |            // 'expressions' is an aggregate with the expressions in it
 3900|      6|            if (! acceptTokenClass(EHTokRightParen))
  ------------------
  |  Branch (3900:17): [True: 6, False: 0]
  ------------------
 3901|      6|                expected(")");
 3902|       |
 3903|       |            // Error for partial or missing expression
 3904|      6|            if (expectingExpression || expressions->getSequence().empty())
  ------------------
  |  Branch (3904:17): [True: 0, False: 6]
  |  Branch (3904:40): [True: 5, False: 1]
  ------------------
 3905|      5|                expected("expression");
 3906|      6|        }
 3907|       |
 3908|       |        // RIGHT_BRACKET
 3909|      7|        if (!acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3909:13): [True: 6, False: 1]
  ------------------
 3910|      6|            expected("]");
 3911|      6|            return;
 3912|      6|        }
 3913|       |        // another RIGHT_BRACKET?
 3914|      1|        if (doubleBrackets && !acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (3914:13): [True: 1, False: 0]
  |  Branch (3914:31): [True: 1, False: 0]
  ------------------
 3915|      1|            expected("]]");
 3916|      1|            return;
 3917|      1|        }
 3918|       |
 3919|       |        // Add any values we found into the attribute map.
 3920|      0|        if (attributeToken.string != nullptr) {
  ------------------
  |  Branch (3920:13): [True: 0, False: 0]
  ------------------
 3921|      0|            TAttributeType attributeType = parseContext.attributeFromName(nameSpace, *attributeToken.string);
 3922|      0|            if (attributeType == EatNone)
  ------------------
  |  Branch (3922:17): [True: 0, False: 0]
  ------------------
 3923|      0|                parseContext.warn(attributeToken.loc, "unrecognized attribute", attributeToken.getCStrOrEmpty(), "");
 3924|      0|            else {
 3925|      0|                TAttributeArgs attributeArgs = { attributeType, expressions };
 3926|      0|                attributes.push_back(attributeArgs);
 3927|      0|            }
 3928|      0|        }
 3929|      0|    } while (true);
  ------------------
  |  Branch (3929:14): [True: 0, Folded]
  ------------------
 3930|  1.45M|}
_ZN7glslang11HlslGrammar20acceptArraySpecifierERPNS_11TArraySizesE:
 4280|  1.00M|{
 4281|  1.00M|    arraySizes = nullptr;
 4282|       |
 4283|       |    // Early-out if there aren't any array dimensions
 4284|  1.00M|    if (!peekTokenClass(EHTokLeftBracket))
  ------------------
  |  Branch (4284:9): [True: 1.00M, False: 9]
  ------------------
 4285|  1.00M|        return;
 4286|       |
 4287|       |    // If we get here, we have at least one array dimension.  This will track the sizes we find.
 4288|      9|    arraySizes = new TArraySizes;
 4289|       |
 4290|       |    // Collect each array dimension.
 4291|     10|    while (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4291:12): [True: 9, False: 1]
  ------------------
 4292|      9|        TSourceLoc loc = token.loc;
 4293|      9|        TIntermTyped* sizeExpr = nullptr;
 4294|       |
 4295|       |        // Array sizing expression is optional.  If omitted, array will be later sized by initializer list.
 4296|      9|        const bool hasArraySize = acceptAssignmentExpression(sizeExpr);
 4297|       |
 4298|      9|        if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4298:13): [True: 8, False: 1]
  ------------------
 4299|      8|            expected("]");
 4300|      8|            return;
 4301|      8|        }
 4302|       |
 4303|      1|        if (hasArraySize) {
  ------------------
  |  Branch (4303:13): [True: 0, False: 1]
  ------------------
 4304|      0|            TArraySize arraySize;
 4305|      0|            parseContext.arraySizeCheck(loc, sizeExpr, arraySize);
 4306|      0|            arraySizes->addInnerSize(arraySize);
 4307|      1|        } else {
 4308|      1|            arraySizes->addInnerSize(0);  // sized by initializers.
 4309|      1|        }
 4310|      1|    }
 4311|      9|}
_ZN7glslang11HlslGrammar15acceptPostDeclsERNS_10TQualifierE:
 4325|  1.45M|{
 4326|  1.45M|    bool found = false;
 4327|       |
 4328|  1.45M|    do {
 4329|       |        // COLON
 4330|  1.45M|        if (acceptTokenClass(EHTokColon)) {
  ------------------
  |  Branch (4330:13): [True: 0, False: 1.45M]
  ------------------
 4331|      0|            found = true;
 4332|      0|            HlslToken idToken;
 4333|      0|            if (peekTokenClass(EHTokLayout))
  ------------------
  |  Branch (4333:17): [True: 0, False: 0]
  ------------------
 4334|      0|                acceptLayoutQualifierList(qualifier);
 4335|      0|            else if (acceptTokenClass(EHTokPackOffset)) {
  ------------------
  |  Branch (4335:22): [True: 0, False: 0]
  ------------------
 4336|       |                // PACKOFFSET LEFT_PAREN c[Subcomponent][.component] RIGHT_PAREN
 4337|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4337:21): [True: 0, False: 0]
  ------------------
 4338|      0|                    expected("(");
 4339|      0|                    return false;
 4340|      0|                }
 4341|      0|                HlslToken locationToken;
 4342|      0|                if (! acceptIdentifier(locationToken)) {
  ------------------
  |  Branch (4342:21): [True: 0, False: 0]
  ------------------
 4343|      0|                    expected("c[subcomponent][.component]");
 4344|      0|                    return false;
 4345|      0|                }
 4346|      0|                HlslToken componentToken;
 4347|      0|                if (acceptTokenClass(EHTokDot)) {
  ------------------
  |  Branch (4347:21): [True: 0, False: 0]
  ------------------
 4348|      0|                    if (! acceptIdentifier(componentToken)) {
  ------------------
  |  Branch (4348:25): [True: 0, False: 0]
  ------------------
 4349|      0|                        expected("component");
 4350|      0|                        return false;
 4351|      0|                    }
 4352|      0|                }
 4353|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4353:21): [True: 0, False: 0]
  ------------------
 4354|      0|                    expected(")");
 4355|      0|                    break;
 4356|      0|                }
 4357|      0|                parseContext.handlePackOffset(locationToken.loc, qualifier, *locationToken.string, componentToken.string);
 4358|      0|            } else if (! acceptIdentifier(idToken)) {
  ------------------
  |  Branch (4358:24): [True: 0, False: 0]
  ------------------
 4359|      0|                expected("layout, semantic, packoffset, or register");
 4360|      0|                return false;
 4361|      0|            } else if (*idToken.string == "register") {
  ------------------
  |  Branch (4361:24): [True: 0, False: 0]
  ------------------
 4362|       |                // REGISTER LEFT_PAREN [shader_profile,] Type#[subcomp]opt (COMMA SPACEN)opt RIGHT_PAREN
 4363|       |                // LEFT_PAREN
 4364|      0|                if (! acceptTokenClass(EHTokLeftParen)) {
  ------------------
  |  Branch (4364:21): [True: 0, False: 0]
  ------------------
 4365|      0|                    expected("(");
 4366|      0|                    return false;
 4367|      0|                }
 4368|      0|                HlslToken registerDesc;  // for Type#
 4369|      0|                HlslToken profile;
 4370|      0|                if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4370:21): [True: 0, False: 0]
  ------------------
 4371|      0|                    expected("register number description");
 4372|      0|                    return false;
 4373|      0|                }
 4374|      0|                if (registerDesc.string->size() > 1 && !isdigit((*registerDesc.string)[1]) &&
  ------------------
  |  Branch (4374:21): [True: 0, False: 0]
  |  Branch (4374:56): [True: 0, False: 0]
  ------------------
 4375|      0|                                                       acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4375:56): [True: 0, False: 0]
  ------------------
 4376|       |                    // Then we didn't really see the registerDesc yet, it was
 4377|       |                    // actually the profile.  Adjust...
 4378|      0|                    profile = registerDesc;
 4379|      0|                    if (! acceptIdentifier(registerDesc)) {
  ------------------
  |  Branch (4379:25): [True: 0, False: 0]
  ------------------
 4380|      0|                        expected("register number description");
 4381|      0|                        return false;
 4382|      0|                    }
 4383|      0|                }
 4384|      0|                int subComponent = 0;
 4385|      0|                if (acceptTokenClass(EHTokLeftBracket)) {
  ------------------
  |  Branch (4385:21): [True: 0, False: 0]
  ------------------
 4386|       |                    // LEFT_BRACKET subcomponent RIGHT_BRACKET
 4387|      0|                    if (! peekTokenClass(EHTokIntConstant)) {
  ------------------
  |  Branch (4387:25): [True: 0, False: 0]
  ------------------
 4388|      0|                        expected("literal integer");
 4389|      0|                        return false;
 4390|      0|                    }
 4391|      0|                    subComponent = token.i;
 4392|      0|                    advanceToken();
 4393|      0|                    if (! acceptTokenClass(EHTokRightBracket)) {
  ------------------
  |  Branch (4393:25): [True: 0, False: 0]
  ------------------
 4394|      0|                        expected("]");
 4395|      0|                        break;
 4396|      0|                    }
 4397|      0|                }
 4398|       |                // (COMMA SPACEN)opt
 4399|      0|                HlslToken spaceDesc;
 4400|      0|                if (acceptTokenClass(EHTokComma)) {
  ------------------
  |  Branch (4400:21): [True: 0, False: 0]
  ------------------
 4401|      0|                    if (! acceptIdentifier(spaceDesc)) {
  ------------------
  |  Branch (4401:25): [True: 0, False: 0]
  ------------------
 4402|      0|                        expected ("space identifier");
 4403|      0|                        return false;
 4404|      0|                    }
 4405|      0|                }
 4406|       |                // RIGHT_PAREN
 4407|      0|                if (! acceptTokenClass(EHTokRightParen)) {
  ------------------
  |  Branch (4407:21): [True: 0, False: 0]
  ------------------
 4408|      0|                    expected(")");
 4409|      0|                    break;
 4410|      0|                }
 4411|      0|                parseContext.handleRegister(registerDesc.loc, qualifier, profile.string, *registerDesc.string, subComponent, spaceDesc.string);
 4412|      0|            } else {
 4413|       |                // semantic, in idToken.string
 4414|      0|                TString semanticUpperCase = *idToken.string;
 4415|      0|                std::transform(semanticUpperCase.begin(), semanticUpperCase.end(), semanticUpperCase.begin(), ::toupper);
 4416|      0|                parseContext.handleSemantic(idToken.loc, qualifier, mapSemantic(semanticUpperCase.c_str()), semanticUpperCase);
 4417|      0|            }
 4418|  1.45M|        } else if (peekTokenClass(EHTokLeftAngle)) {
  ------------------
  |  Branch (4418:20): [True: 0, False: 1.45M]
  ------------------
 4419|      0|            found = true;
 4420|      0|            acceptAnnotations(qualifier);
 4421|      0|        } else
 4422|  1.45M|            break;
 4423|       |
 4424|  1.45M|    } while (true);
  ------------------
  |  Branch (4424:14): [True: 0, Folded]
  ------------------
 4425|       |
 4426|  1.45M|    return found;
 4427|  1.45M|}
_ZNK7glslang11HlslGrammar13getTypeStringENS_15EHlslTokenClassE:
 4464|  1.45M|{
 4465|  1.45M|    switch (tokenClass) {
 4466|      0|    case EHTokSample:     return "sample";
  ------------------
  |  Branch (4466:5): [True: 0, False: 1.45M]
  ------------------
 4467|      0|    case EHTokHalf:       return "half";
  ------------------
  |  Branch (4467:5): [True: 0, False: 1.45M]
  ------------------
 4468|      0|    case EHTokHalf1x1:    return "half1x1";
  ------------------
  |  Branch (4468:5): [True: 0, False: 1.45M]
  ------------------
 4469|      0|    case EHTokHalf1x2:    return "half1x2";
  ------------------
  |  Branch (4469:5): [True: 0, False: 1.45M]
  ------------------
 4470|      0|    case EHTokHalf1x3:    return "half1x3";
  ------------------
  |  Branch (4470:5): [True: 0, False: 1.45M]
  ------------------
 4471|      0|    case EHTokHalf1x4:    return "half1x4";
  ------------------
  |  Branch (4471:5): [True: 0, False: 1.45M]
  ------------------
 4472|      0|    case EHTokHalf2x1:    return "half2x1";
  ------------------
  |  Branch (4472:5): [True: 0, False: 1.45M]
  ------------------
 4473|      0|    case EHTokHalf2x2:    return "half2x2";
  ------------------
  |  Branch (4473:5): [True: 0, False: 1.45M]
  ------------------
 4474|      0|    case EHTokHalf2x3:    return "half2x3";
  ------------------
  |  Branch (4474:5): [True: 0, False: 1.45M]
  ------------------
 4475|      0|    case EHTokHalf2x4:    return "half2x4";
  ------------------
  |  Branch (4475:5): [True: 0, False: 1.45M]
  ------------------
 4476|      0|    case EHTokHalf3x1:    return "half3x1";
  ------------------
  |  Branch (4476:5): [True: 0, False: 1.45M]
  ------------------
 4477|      0|    case EHTokHalf3x2:    return "half3x2";
  ------------------
  |  Branch (4477:5): [True: 0, False: 1.45M]
  ------------------
 4478|      0|    case EHTokHalf3x3:    return "half3x3";
  ------------------
  |  Branch (4478:5): [True: 0, False: 1.45M]
  ------------------
 4479|      0|    case EHTokHalf3x4:    return "half3x4";
  ------------------
  |  Branch (4479:5): [True: 0, False: 1.45M]
  ------------------
 4480|      0|    case EHTokHalf4x1:    return "half4x1";
  ------------------
  |  Branch (4480:5): [True: 0, False: 1.45M]
  ------------------
 4481|      0|    case EHTokHalf4x2:    return "half4x2";
  ------------------
  |  Branch (4481:5): [True: 0, False: 1.45M]
  ------------------
 4482|      0|    case EHTokHalf4x3:    return "half4x3";
  ------------------
  |  Branch (4482:5): [True: 0, False: 1.45M]
  ------------------
 4483|      0|    case EHTokHalf4x4:    return "half4x4";
  ------------------
  |  Branch (4483:5): [True: 0, False: 1.45M]
  ------------------
 4484|      0|    case EHTokBool:       return "bool";
  ------------------
  |  Branch (4484:5): [True: 0, False: 1.45M]
  ------------------
 4485|      0|    case EHTokFloat:      return "float";
  ------------------
  |  Branch (4485:5): [True: 0, False: 1.45M]
  ------------------
 4486|      0|    case EHTokDouble:     return "double";
  ------------------
  |  Branch (4486:5): [True: 0, False: 1.45M]
  ------------------
 4487|      4|    case EHTokInt:        return "int";
  ------------------
  |  Branch (4487:5): [True: 4, False: 1.45M]
  ------------------
 4488|      0|    case EHTokUint:       return "uint";
  ------------------
  |  Branch (4488:5): [True: 0, False: 1.45M]
  ------------------
 4489|      0|    case EHTokMin16float: return "min16float";
  ------------------
  |  Branch (4489:5): [True: 0, False: 1.45M]
  ------------------
 4490|      0|    case EHTokMin10float: return "min10float";
  ------------------
  |  Branch (4490:5): [True: 0, False: 1.45M]
  ------------------
 4491|      0|    case EHTokMin16int:   return "min16int";
  ------------------
  |  Branch (4491:5): [True: 0, False: 1.45M]
  ------------------
 4492|      0|    case EHTokMin12int:   return "min12int";
  ------------------
  |  Branch (4492:5): [True: 0, False: 1.45M]
  ------------------
 4493|      0|    case EHTokConstantBuffer: return "ConstantBuffer";
  ------------------
  |  Branch (4493:5): [True: 0, False: 1.45M]
  ------------------
 4494|      0|    case EHTokLayout:     return "layout";
  ------------------
  |  Branch (4494:5): [True: 0, False: 1.45M]
  ------------------
 4495|  1.45M|    default:
  ------------------
  |  Branch (4495:5): [True: 1.45M, False: 4]
  ------------------
 4496|  1.45M|        return nullptr;
 4497|  1.45M|    }
 4498|  1.45M|}

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

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

_ZN7glslang16HlslParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkNSt3__112basic_stringIcNSC_11char_traitsIcEENS_14pool_allocatorIcEEEEb11EShMessages:
   69|  1.90k|    TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink,
   70|  1.90k|                      forwardCompatible, messages, &sourceEntryPointName),
   71|  1.90k|    annotationNestingLevel(0),
   72|  1.90k|    inputPatch(nullptr),
   73|  1.90k|    nextInLocation(0), nextOutLocation(0),
   74|  1.90k|    entryPointFunction(nullptr),
   75|  1.90k|    entryPointFunctionBody(nullptr),
   76|  1.90k|    gsStreamOutput(nullptr),
   77|  1.90k|    clipDistanceOutput(nullptr),
   78|  1.90k|    cullDistanceOutput(nullptr),
   79|  1.90k|    clipDistanceInput(nullptr),
   80|  1.90k|    cullDistanceInput(nullptr),
   81|  1.90k|    parsingEntrypointParameters(false)
   82|  1.90k|{
   83|  1.90k|    globalUniformDefaults.clear();
   84|  1.90k|    globalUniformDefaults.layoutMatrix = ElmRowMajor;
   85|  1.90k|    globalUniformDefaults.layoutPacking = ElpStd140;
   86|       |
   87|  1.90k|    globalBufferDefaults.clear();
   88|  1.90k|    globalBufferDefaults.layoutMatrix = ElmRowMajor;
   89|  1.90k|    globalBufferDefaults.layoutPacking = ElpStd430;
   90|       |
   91|  1.90k|    globalInputDefaults.clear();
   92|  1.90k|    globalOutputDefaults.clear();
   93|       |
   94|  1.90k|    clipSemanticNSizeIn.fill(0);
   95|  1.90k|    cullSemanticNSizeIn.fill(0);
   96|  1.90k|    clipSemanticNSizeOut.fill(0);
   97|  1.90k|    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.90k|    if (language == EShLangVertex ||
  ------------------
  |  Branch (102:9): [True: 448, False: 1.45k]
  ------------------
  103|  1.45k|        language == EShLangTessControl ||
  ------------------
  |  Branch (103:9): [True: 112, False: 1.34k]
  ------------------
  104|  1.34k|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (104:9): [True: 112, False: 1.23k]
  ------------------
  105|  1.23k|        language == EShLangGeometry)
  ------------------
  |  Branch (105:9): [True: 112, False: 1.12k]
  ------------------
  106|    784|        globalOutputDefaults.layoutXfbBuffer = 0;
  107|       |
  108|  1.90k|    if (language == EShLangGeometry)
  ------------------
  |  Branch (108:9): [True: 112, False: 1.79k]
  ------------------
  109|    112|        globalOutputDefaults.layoutStream = 0;
  110|  1.90k|}
_ZN7glslang16HlslParseContextD2Ev:
  113|  1.90k|{
  114|  1.90k|}
_ZN7glslang16HlslParseContext27initializeExtensionBehaviorEv:
  117|    112|{
  118|    112|    TParseContextBase::initializeExtensionBehavior();
  119|       |
  120|       |    // HLSL allows #line by default.
  121|    112|    extensionBehavior[E_GL_GOOGLE_cpp_style_line_directive] = EBhEnable;
  122|    112|}
_ZN7glslang16HlslParseContext9setLimitsERK16TBuiltInResource:
  125|    112|{
  126|    112|    resources = r;
  127|    112|    intermediate.setLimits(resources);
  128|    112|}
_ZN7glslang16HlslParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  136|    224|{
  137|    224|    currentScanner = &input;
  138|    224|    ppContext.setInput(input, versionWillBeError);
  139|       |
  140|    224|    HlslScanContext scanContext(*this, ppContext);
  141|    224|    HlslGrammar grammar(scanContext, *this);
  142|    224|    if (!grammar.parse()) {
  ------------------
  |  Branch (142:9): [True: 33, False: 191]
  ------------------
  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|     33|        const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
  146|     33|        infoSink.info << sourceLoc.getFilenameStr() << "(" << sourceLoc.line << "): error at column " << sourceLoc.column
  147|     33|                      << ", HLSL parsing failed.\n";
  148|     33|        ++numErrors;
  149|     33|        return false;
  150|     33|    }
  151|       |
  152|    191|    finish();
  153|       |
  154|    191|    return numErrors == 0;
  155|    224|}
_ZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeE:
  196|  6.38k|{
  197|  6.38k|    if (txType.isStruct()) {
  ------------------
  |  Branch (197:9): [True: 0, False: 6.38k]
  ------------------
  198|       |        // TODO: implement.
  199|      0|        error(loc, "unimplemented: structure type in image or buffer", "", "");
  200|      0|        return ElfNone;
  201|      0|    }
  202|       |
  203|  6.38k|    const int components = txType.getVectorSize();
  204|  6.38k|    const TBasicType txBasicType = txType.getBasicType();
  205|       |
  206|  6.38k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  6.38k|        if (intermediate.getNoStorageFormat())
  208|  6.38k|            return ElfNone;
  209|       |
  210|  6.38k|        return components == 1 ? v1 :
  211|  6.38k|               components == 2 ? v2 : v4;
  212|  6.38k|    };
  213|       |
  214|  6.38k|    switch (txBasicType) {
  215|  2.12k|    case EbtFloat: return selectFormat(ElfR32f,  ElfRg32f,  ElfRgba32f);
  ------------------
  |  Branch (215:5): [True: 2.12k, False: 4.25k]
  ------------------
  216|  2.12k|    case EbtInt:   return selectFormat(ElfR32i,  ElfRg32i,  ElfRgba32i);
  ------------------
  |  Branch (216:5): [True: 2.12k, False: 4.25k]
  ------------------
  217|  2.12k|    case EbtUint:  return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui);
  ------------------
  |  Branch (217:5): [True: 2.12k, False: 4.25k]
  ------------------
  218|      0|    default:
  ------------------
  |  Branch (218:5): [True: 0, False: 6.38k]
  ------------------
  219|      0|        error(loc, "unknown basic type in image format", "", "");
  220|      0|        return ElfNone;
  221|  6.38k|    }
  222|  6.38k|}
_ZN7glslang16HlslParseContext12handleLvalueERKNS_10TSourceLocEPKcRPNS_12TIntermTypedE:
  264|     12|{
  265|     12|    if (node == nullptr)
  ------------------
  |  Branch (265:9): [True: 12, False: 0]
  ------------------
  266|     12|        return nullptr;
  267|       |
  268|      0|    TIntermBinary* nodeAsBinary = node->getAsBinaryNode();
  269|      0|    TIntermUnary* nodeAsUnary = node->getAsUnaryNode();
  270|      0|    TIntermAggregate* sequence = nullptr;
  271|       |
  272|      0|    TIntermTyped* lhs = nodeAsUnary  ? nodeAsUnary->getOperand() :
  ------------------
  |  Branch (272:25): [True: 0, False: 0]
  ------------------
  273|      0|                        nodeAsBinary ? nodeAsBinary->getLeft() :
  ------------------
  |  Branch (273:25): [True: 0, False: 0]
  ------------------
  274|      0|                        nullptr;
  275|       |
  276|       |    // Early bail out if there is no conversion to apply
  277|      0|    if (!shouldConvertLValue(lhs)) {
  ------------------
  |  Branch (277:9): [True: 0, False: 0]
  ------------------
  278|      0|        if (lhs != nullptr)
  ------------------
  |  Branch (278:13): [True: 0, False: 0]
  ------------------
  279|      0|            if (lValueErrorCheck(loc, op, lhs))
  ------------------
  |  Branch (279:17): [True: 0, False: 0]
  ------------------
  280|      0|                return nullptr;
  281|      0|        return node;
  282|      0|    }
  283|       |
  284|       |    // *** If we get here, we're going to apply some conversion to an l-value.
  285|       |
  286|       |    // Helper to create a load.
  287|      0|    const auto makeLoad = [&](TIntermSymbol* rhsTmp, TIntermTyped* object, TIntermTyped* coord, const TType& derefType) {
  288|      0|        TIntermAggregate* loadOp = new TIntermAggregate(EOpImageLoad);
  289|      0|        loadOp->setLoc(loc);
  290|      0|        loadOp->getSequence().push_back(object);
  291|      0|        loadOp->getSequence().push_back(intermediate.addSymbol(*coord->getAsSymbolNode()));
  292|      0|        loadOp->setType(derefType);
  293|       |
  294|      0|        sequence = intermediate.growAggregate(sequence,
  295|      0|                                              intermediate.addAssign(EOpAssign, rhsTmp, loadOp, loc),
  296|      0|                                              loc);
  297|      0|    };
  298|       |
  299|       |    // Helper to create a store.
  300|      0|    const auto makeStore = [&](TIntermTyped* object, TIntermTyped* coord, TIntermSymbol* rhsTmp) {
  301|      0|        TIntermAggregate* storeOp = new TIntermAggregate(EOpImageStore);
  302|      0|        storeOp->getSequence().push_back(object);
  303|      0|        storeOp->getSequence().push_back(coord);
  304|      0|        storeOp->getSequence().push_back(intermediate.addSymbol(*rhsTmp));
  305|      0|        storeOp->setLoc(loc);
  306|      0|        storeOp->setType(TType(EbtVoid));
  307|       |
  308|      0|        sequence = intermediate.growAggregate(sequence, storeOp);
  309|      0|    };
  310|       |
  311|       |    // Helper to create an assign.
  312|      0|    const auto makeBinary = [&](TOperator op, TIntermTyped* lhs, TIntermTyped* rhs) {
  313|      0|        sequence = intermediate.growAggregate(sequence,
  314|      0|                                              intermediate.addBinaryNode(op, lhs, rhs, loc, lhs->getType()),
  315|      0|                                              loc);
  316|      0|    };
  317|       |
  318|       |    // Helper to complete sequence by adding trailing variable, so we evaluate to the right value.
  319|      0|    const auto finishSequence = [&](TIntermSymbol* rhsTmp, const TType& derefType) -> TIntermAggregate* {
  320|       |        // Add a trailing use of the temp, so the sequence returns the proper value.
  321|      0|        sequence = intermediate.growAggregate(sequence, intermediate.addSymbol(*rhsTmp));
  322|      0|        sequence->setOperator(EOpSequence);
  323|      0|        sequence->setLoc(loc);
  324|      0|        sequence->setType(derefType);
  325|       |
  326|      0|        return sequence;
  327|      0|    };
  328|       |
  329|       |    // Helper to add unary op
  330|      0|    const auto makeUnary = [&](TOperator op, TIntermSymbol* rhsTmp) {
  331|      0|        sequence = intermediate.growAggregate(sequence,
  332|      0|                                              intermediate.addUnaryNode(op, intermediate.addSymbol(*rhsTmp), loc,
  333|      0|                                                                        rhsTmp->getType()),
  334|      0|                                              loc);
  335|      0|    };
  336|       |
  337|       |    // Return true if swizzle or index writes all components of the given variable.
  338|      0|    const auto writesAllComponents = [&](TIntermSymbol* var, TIntermBinary* swizzle) -> bool {
  339|      0|        if (swizzle == nullptr)  // not a swizzle or index
  340|      0|            return true;
  341|       |
  342|       |        // Track which components are being set.
  343|      0|        std::array<bool, 4> compIsSet;
  344|      0|        compIsSet.fill(false);
  345|       |
  346|      0|        const TIntermConstantUnion* asConst     = swizzle->getRight()->getAsConstantUnion();
  347|      0|        const TIntermAggregate*     asAggregate = swizzle->getRight()->getAsAggregate();
  348|       |
  349|       |        // This could be either a direct index, or a swizzle.
  350|      0|        if (asConst) {
  351|      0|            compIsSet[asConst->getConstArray()[0].getIConst()] = true;
  352|      0|        } else if (asAggregate) {
  353|      0|            const TIntermSequence& seq = asAggregate->getSequence();
  354|      0|            for (int comp=0; comp<int(seq.size()); ++comp)
  355|      0|                compIsSet[seq[comp]->getAsConstantUnion()->getConstArray()[0].getIConst()] = true;
  356|      0|        } else {
  357|      0|            assert(0);
  358|      0|        }
  359|       |
  360|       |        // Return true if all components are being set by the index or swizzle
  361|      0|        return std::all_of(compIsSet.begin(), compIsSet.begin() + var->getType().getVectorSize(),
  362|      0|                           [](bool isSet) { return isSet; } );
  363|      0|    };
  364|       |
  365|       |    // Create swizzle matching input swizzle
  366|      0|    const auto addSwizzle = [&](TIntermSymbol* var, TIntermBinary* swizzle) -> TIntermTyped* {
  367|      0|        if (swizzle)
  368|      0|            return intermediate.addBinaryNode(swizzle->getOp(), var, swizzle->getRight(), loc, swizzle->getType());
  369|      0|        else
  370|      0|            return var;
  371|      0|    };
  372|       |
  373|      0|    TIntermBinary*    lhsAsBinary    = lhs->getAsBinaryNode();
  374|      0|    TIntermAggregate* lhsAsAggregate = lhs->getAsAggregate();
  375|      0|    bool lhsIsSwizzle = false;
  376|       |
  377|       |    // If it's a swizzled L-value, remember the swizzle, and use the LHS.
  378|      0|    if (lhsAsBinary != nullptr && (lhsAsBinary->getOp() == EOpVectorSwizzle || lhsAsBinary->getOp() == EOpIndexDirect)) {
  ------------------
  |  Branch (378:9): [True: 0, False: 0]
  |  Branch (378:36): [True: 0, False: 0]
  |  Branch (378:80): [True: 0, False: 0]
  ------------------
  379|      0|        lhsAsAggregate = lhsAsBinary->getLeft()->getAsAggregate();
  380|      0|        lhsIsSwizzle = true;
  381|      0|    }
  382|       |
  383|      0|    TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped();
  384|      0|    TIntermTyped* coord  = lhsAsAggregate->getSequence()[1]->getAsTyped();
  385|       |
  386|      0|    const TSampler& texSampler = object->getType().getSampler();
  387|       |
  388|      0|    TType objDerefType;
  389|      0|    getTextureReturnType(texSampler, objDerefType);
  390|       |
  391|      0|    if (nodeAsBinary) {
  ------------------
  |  Branch (391:9): [True: 0, False: 0]
  ------------------
  392|      0|        TIntermTyped* rhs = nodeAsBinary->getRight();
  393|      0|        const TOperator assignOp = nodeAsBinary->getOp();
  394|       |
  395|      0|        bool isModifyOp = false;
  396|       |
  397|      0|        switch (assignOp) {
  398|      0|        case EOpAddAssign:
  ------------------
  |  Branch (398:9): [True: 0, False: 0]
  ------------------
  399|      0|        case EOpSubAssign:
  ------------------
  |  Branch (399:9): [True: 0, False: 0]
  ------------------
  400|      0|        case EOpMulAssign:
  ------------------
  |  Branch (400:9): [True: 0, False: 0]
  ------------------
  401|      0|        case EOpVectorTimesMatrixAssign:
  ------------------
  |  Branch (401:9): [True: 0, False: 0]
  ------------------
  402|      0|        case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (402:9): [True: 0, False: 0]
  ------------------
  403|      0|        case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (403:9): [True: 0, False: 0]
  ------------------
  404|      0|        case EOpMatrixTimesMatrixAssign:
  ------------------
  |  Branch (404:9): [True: 0, False: 0]
  ------------------
  405|      0|        case EOpDivAssign:
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|        case EOpModAssign:
  ------------------
  |  Branch (406:9): [True: 0, False: 0]
  ------------------
  407|      0|        case EOpAndAssign:
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|      0|        case EOpInclusiveOrAssign:
  ------------------
  |  Branch (408:9): [True: 0, False: 0]
  ------------------
  409|      0|        case EOpExclusiveOrAssign:
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (410:9): [True: 0, False: 0]
  ------------------
  411|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (411:9): [True: 0, False: 0]
  ------------------
  412|      0|            isModifyOp = true;
  413|      0|            [[fallthrough]];
  414|      0|        case EOpAssign:
  ------------------
  |  Branch (414:9): [True: 0, False: 0]
  ------------------
  415|      0|            {
  416|       |                // Since this is an lvalue, we'll convert an image load to a sequence like this
  417|       |                // (to still provide the value):
  418|       |                //   OpSequence
  419|       |                //      OpImageStore(object, lhs, rhs)
  420|       |                //      rhs
  421|       |                // But if it's not a simple symbol RHS (say, a fn call), we don't want to duplicate the RHS,
  422|       |                // so we'll convert instead to this:
  423|       |                //   OpSequence
  424|       |                //      rhsTmp = rhs
  425|       |                //      OpImageStore(object, coord, rhsTmp)
  426|       |                //      rhsTmp
  427|       |                // If this is a read-modify-write op, like +=, we issue:
  428|       |                //   OpSequence
  429|       |                //      coordtmp = load's param1
  430|       |                //      rhsTmp = OpImageLoad(object, coordTmp)
  431|       |                //      rhsTmp op= rhs
  432|       |                //      OpImageStore(object, coordTmp, rhsTmp)
  433|       |                //      rhsTmp
  434|       |                //
  435|       |                // If the lvalue is swizzled, we apply that when writing the temp variable, like so:
  436|       |                //    ...
  437|       |                //    rhsTmp.some_swizzle = ...
  438|       |                // For partial writes, an error is generated.
  439|       |
  440|      0|                TIntermSymbol* rhsTmp = rhs->getAsSymbolNode();
  441|      0|                TIntermTyped* coordTmp = coord;
  442|       |
  443|      0|                if (rhsTmp == nullptr || isModifyOp || lhsIsSwizzle) {
  ------------------
  |  Branch (443:21): [True: 0, False: 0]
  |  Branch (443:42): [True: 0, False: 0]
  |  Branch (443:56): [True: 0, False: 0]
  ------------------
  444|      0|                    rhsTmp = makeInternalVariableNode(loc, "storeTemp", objDerefType);
  445|       |
  446|       |                    // Partial updates not yet supported
  447|      0|                    if (!writesAllComponents(rhsTmp, lhsAsBinary)) {
  ------------------
  |  Branch (447:25): [True: 0, False: 0]
  ------------------
  448|      0|                        error(loc, "unimplemented: partial image updates", "", "");
  449|      0|                    }
  450|       |
  451|       |                    // Assign storeTemp = rhs
  452|      0|                    if (isModifyOp) {
  ------------------
  |  Branch (452:25): [True: 0, False: 0]
  ------------------
  453|       |                        // We have to make a temp var for the coordinate, to avoid evaluating it twice.
  454|      0|                        coordTmp = makeInternalVariableNode(loc, "coordTemp", coord->getType());
  455|      0|                        makeBinary(EOpAssign, coordTmp, coord); // coordtmp = load[param1]
  456|      0|                        makeLoad(rhsTmp, object, coordTmp, objDerefType); // rhsTmp = OpImageLoad(object, coordTmp)
  457|      0|                    }
  458|       |
  459|       |                    // rhsTmp op= rhs.
  460|      0|                    makeBinary(assignOp, addSwizzle(intermediate.addSymbol(*rhsTmp), lhsAsBinary), rhs);
  461|      0|                }
  462|       |
  463|      0|                makeStore(object, coordTmp, rhsTmp);         // add a store
  464|      0|                return finishSequence(rhsTmp, objDerefType); // return rhsTmp from sequence
  465|      0|            }
  466|       |
  467|      0|        default:
  ------------------
  |  Branch (467:9): [True: 0, False: 0]
  ------------------
  468|      0|            break;
  469|      0|        }
  470|      0|    }
  471|       |
  472|      0|    if (nodeAsUnary) {
  ------------------
  |  Branch (472:9): [True: 0, False: 0]
  ------------------
  473|      0|        const TOperator assignOp = nodeAsUnary->getOp();
  474|       |
  475|      0|        switch (assignOp) {
  476|      0|        case EOpPreIncrement:
  ------------------
  |  Branch (476:9): [True: 0, False: 0]
  ------------------
  477|      0|        case EOpPreDecrement:
  ------------------
  |  Branch (477:9): [True: 0, False: 0]
  ------------------
  478|      0|            {
  479|       |                // We turn this into:
  480|       |                //   OpSequence
  481|       |                //      coordtmp = load's param1
  482|       |                //      rhsTmp = OpImageLoad(object, coordTmp)
  483|       |                //      rhsTmp op
  484|       |                //      OpImageStore(object, coordTmp, rhsTmp)
  485|       |                //      rhsTmp
  486|       |
  487|      0|                TIntermSymbol* rhsTmp = makeInternalVariableNode(loc, "storeTemp", objDerefType);
  488|      0|                TIntermTyped* coordTmp = makeInternalVariableNode(loc, "coordTemp", coord->getType());
  489|       |
  490|      0|                makeBinary(EOpAssign, coordTmp, coord);           // coordtmp = load[param1]
  491|      0|                makeLoad(rhsTmp, object, coordTmp, objDerefType); // rhsTmp = OpImageLoad(object, coordTmp)
  492|      0|                makeUnary(assignOp, rhsTmp);                      // op rhsTmp
  493|      0|                makeStore(object, coordTmp, rhsTmp);              // OpImageStore(object, coordTmp, rhsTmp)
  494|      0|                return finishSequence(rhsTmp, objDerefType);      // return rhsTmp from sequence
  495|      0|            }
  496|       |
  497|      0|        case EOpPostIncrement:
  ------------------
  |  Branch (497:9): [True: 0, False: 0]
  ------------------
  498|      0|        case EOpPostDecrement:
  ------------------
  |  Branch (498:9): [True: 0, False: 0]
  ------------------
  499|      0|            {
  500|       |                // We turn this into:
  501|       |                //   OpSequence
  502|       |                //      coordtmp = load's param1
  503|       |                //      rhsTmp1 = OpImageLoad(object, coordTmp)
  504|       |                //      rhsTmp2 = rhsTmp1
  505|       |                //      rhsTmp2 op
  506|       |                //      OpImageStore(object, coordTmp, rhsTmp2)
  507|       |                //      rhsTmp1 (pre-op value)
  508|      0|                TIntermSymbol* rhsTmp1 = makeInternalVariableNode(loc, "storeTempPre",  objDerefType);
  509|      0|                TIntermSymbol* rhsTmp2 = makeInternalVariableNode(loc, "storeTempPost", objDerefType);
  510|      0|                TIntermTyped* coordTmp = makeInternalVariableNode(loc, "coordTemp", coord->getType());
  511|       |
  512|      0|                makeBinary(EOpAssign, coordTmp, coord);            // coordtmp = load[param1]
  513|      0|                makeLoad(rhsTmp1, object, coordTmp, objDerefType); // rhsTmp1 = OpImageLoad(object, coordTmp)
  514|      0|                makeBinary(EOpAssign, rhsTmp2, rhsTmp1);           // rhsTmp2 = rhsTmp1
  515|      0|                makeUnary(assignOp, rhsTmp2);                      // rhsTmp op
  516|      0|                makeStore(object, coordTmp, rhsTmp2);              // OpImageStore(object, coordTmp, rhsTmp2)
  517|      0|                return finishSequence(rhsTmp1, objDerefType);      // return rhsTmp from sequence
  518|      0|            }
  519|       |
  520|      0|        default:
  ------------------
  |  Branch (520:9): [True: 0, False: 0]
  ------------------
  521|      0|            break;
  522|      0|        }
  523|      0|    }
  524|       |
  525|      0|    if (lhs)
  ------------------
  |  Branch (525:9): [True: 0, False: 0]
  ------------------
  526|      0|        if (lValueErrorCheck(loc, op, lhs))
  ------------------
  |  Branch (526:13): [True: 0, False: 0]
  ------------------
  527|      0|            return nullptr;
  528|       |
  529|      0|    return node;
  530|      0|}
_ZN7glslang16HlslParseContext14handleVariableERKNS_10TSourceLocEPKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  658|    388|{
  659|    388|    int thisDepth;
  660|    388|    TSymbol* symbol = symbolTable.find(*string, thisDepth);
  661|    388|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (661:9): [True: 0, False: 388]
  |  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|    388|    const TVariable* variable = nullptr;
  667|    388|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (667:31): [True: 0, False: 388]
  ------------------
  668|    388|    TIntermTyped* node = nullptr;
  669|    388|    if (anon) {
  ------------------
  |  Branch (669:9): [True: 0, False: 388]
  ------------------
  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|    388|    } 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|    388|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (693:20): [True: 0, False: 388]
  ------------------
  694|    388|        if (variable) {
  ------------------
  |  Branch (694:13): [True: 0, False: 388]
  ------------------
  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|    388|        } else {
  701|    388|            if (symbol)
  ------------------
  |  Branch (701:17): [True: 0, False: 388]
  ------------------
  702|      0|                error(loc, "variable name expected", string->c_str(), "");
  703|    388|        }
  704|       |
  705|       |        // Recovery, if it wasn't found or was not a variable.
  706|    388|        if (variable == nullptr) {
  ------------------
  |  Branch (706:13): [True: 388, False: 0]
  ------------------
  707|    388|            error(loc, "unknown variable", string->c_str(), "");
  708|    388|            variable = new TVariable(string, TType(EbtVoid));
  709|    388|        }
  710|       |
  711|    388|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (711:13): [True: 0, False: 388]
  ------------------
  712|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  713|    388|        else
  714|    388|            node = intermediate.addSymbol(*variable, loc);
  715|    388|    }
  716|       |
  717|    388|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (717:9): [True: 0, False: 388]
  ------------------
  718|      0|        intermediate.addIoAccessed(*string);
  719|       |
  720|    388|    return node;
  721|    388|}
_ZN7glslang16HlslParseContext21handleBracketOperatorERKNS_10TSourceLocEPNS_12TIntermTypedES5_:
  729|      4|{
  730|       |    // handle r-value operator[] on textures and images.  l-values will be processed later.
  731|      4|    if (base->getType().getBasicType() == EbtSampler && !base->isArray()) {
  ------------------
  |  Branch (731:9): [True: 0, False: 4]
  |  Branch (731:57): [True: 0, False: 0]
  ------------------
  732|      0|        const TSampler& sampler = base->getType().getSampler();
  733|      0|        if (sampler.isImage() || sampler.isTexture()) {
  ------------------
  |  Branch (733:13): [True: 0, False: 0]
  |  Branch (733:34): [True: 0, False: 0]
  ------------------
  734|      0|            if (! mipsOperatorMipArg.empty() && mipsOperatorMipArg.back().mipLevel == nullptr) {
  ------------------
  |  Branch (734:17): [True: 0, False: 0]
  |  Branch (734:49): [True: 0, False: 0]
  ------------------
  735|       |                // The first operator[] to a .mips[] sequence is the mip level.  We'll remember it.
  736|      0|                mipsOperatorMipArg.back().mipLevel = index;
  737|      0|                return base;  // next [] index is to the same base.
  738|      0|            } else {
  739|      0|                TIntermAggregate* load = new TIntermAggregate(sampler.isImage() ? EOpImageLoad : EOpTextureFetch);
  ------------------
  |  Branch (739:63): [True: 0, False: 0]
  ------------------
  740|       |
  741|      0|                TType sampReturnType;
  742|      0|                getTextureReturnType(sampler, sampReturnType);
  743|       |
  744|      0|                load->setType(sampReturnType);
  745|      0|                load->setLoc(loc);
  746|      0|                load->getSequence().push_back(base);
  747|      0|                load->getSequence().push_back(index);
  748|       |
  749|       |                // Textures need a MIP.  If we saw one go by, use it.  Otherwise, use zero.
  750|      0|                if (sampler.isTexture()) {
  ------------------
  |  Branch (750:21): [True: 0, False: 0]
  ------------------
  751|      0|                    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (751:25): [True: 0, False: 0]
  ------------------
  752|      0|                        load->getSequence().push_back(mipsOperatorMipArg.back().mipLevel);
  753|      0|                        mipsOperatorMipArg.pop_back();
  754|      0|                    } else {
  755|      0|                        load->getSequence().push_back(intermediate.addConstantUnion(0, loc, true));
  756|      0|                    }
  757|      0|                }
  758|       |
  759|      0|                return load;
  760|      0|            }
  761|      0|        }
  762|      0|    }
  763|       |
  764|       |    // Handle operator[] on structured buffers: this indexes into the array element of the buffer.
  765|       |    // indexStructBufferContent returns nullptr if it isn't a structuredbuffer (SSBO).
  766|      4|    TIntermTyped* sbArray = indexStructBufferContent(loc, base);
  767|      4|    if (sbArray != nullptr) {
  ------------------
  |  Branch (767:9): [True: 0, False: 4]
  ------------------
  768|       |        // Now we'll apply the [] index to that array
  769|      0|        const TOperator idxOp = (index->getQualifier().storage == EvqConst) ? EOpIndexDirect : EOpIndexIndirect;
  ------------------
  |  Branch (769:33): [True: 0, False: 0]
  ------------------
  770|       |
  771|      0|        TIntermTyped* element = intermediate.addIndex(idxOp, sbArray, index, loc);
  772|      0|        const TType derefType(sbArray->getType(), 0);
  773|      0|        element->setType(derefType);
  774|      0|        return element;
  775|      0|    }
  776|       |
  777|      4|    return nullptr;
  778|      4|}
_ZN7glslang16HlslParseContext16makeIntegerIndexEPNS_12TIntermTypedE:
  783|      4|{
  784|      4|    const TBasicType indexBasicType = index->getType().getBasicType();
  785|      4|    const int vecSize = index->getType().getVectorSize();
  786|       |
  787|       |    // We can use int types directly as the index
  788|      4|    if (indexBasicType == EbtInt || indexBasicType == EbtUint ||
  ------------------
  |  Branch (788:9): [True: 4, False: 0]
  |  Branch (788:37): [True: 0, False: 0]
  ------------------
  789|      0|        indexBasicType == EbtInt64 || indexBasicType == EbtUint64)
  ------------------
  |  Branch (789:9): [True: 0, False: 0]
  |  Branch (789:39): [True: 0, False: 0]
  ------------------
  790|      4|        return index;
  791|       |
  792|       |    // Cast index to unsigned integer if it isn't one.
  793|      0|    return intermediate.addConversion(EOpConstructUint, TType(EbtUint, EvqTemporary, vecSize), index);
  794|      4|}
_ZN7glslang16HlslParseContext24handleBracketDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedES5_:
  800|      4|{
  801|      4|    index = makeIntegerIndex(index);
  802|       |
  803|      4|    if (index == nullptr) {
  ------------------
  |  Branch (803:9): [True: 0, False: 4]
  ------------------
  804|      0|        error(loc, " unknown index type ", "", "");
  805|      0|        return nullptr;
  806|      0|    }
  807|       |
  808|      4|    TIntermTyped* result = handleBracketOperator(loc, base, index);
  809|       |
  810|      4|    if (result != nullptr)
  ------------------
  |  Branch (810:9): [True: 0, False: 4]
  ------------------
  811|      0|        return result;  // it was handled as an operator[]
  812|       |
  813|      4|    bool flattened = false;
  814|      4|    int64_t indexValue = 0;
  815|      4|    if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (815:9): [True: 4, False: 0]
  ------------------
  816|      4|        if (index->getType().contains64BitInt()) {
  ------------------
  |  Branch (816:13): [True: 0, False: 4]
  ------------------
  817|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getI64Const();
  818|      4|        } else if (index->getType().getBasicType() == EbtUint) {
  ------------------
  |  Branch (818:20): [True: 0, False: 4]
  ------------------
  819|      0|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getUConst();
  820|      4|        } else {
  821|      4|            indexValue = index->getAsConstantUnion()->getConstArray()[0].getIConst();
  822|      4|        }
  823|      4|    }
  824|       |
  825|      4|    variableCheck(base);
  826|      4|    if (! base->isArray() && ! base->isMatrix() && ! base->isVector()) {
  ------------------
  |  Branch (826:9): [True: 4, False: 0]
  |  Branch (826:30): [True: 4, False: 0]
  |  Branch (826:52): [True: 4, False: 0]
  ------------------
  827|      4|        if (base->getAsSymbolNode())
  ------------------
  |  Branch (827:13): [True: 4, False: 0]
  ------------------
  828|      4|            error(loc, " left of '[' is not of type array, matrix, or vector ",
  829|      4|                  base->getAsSymbolNode()->getName().c_str(), "");
  830|      0|        else
  831|      0|            error(loc, " left of '[' is not of type array, matrix, or vector ", "expression", "");
  832|      4|    } else if (base->getType().getQualifier().isFrontEndConstant() &&
  ------------------
  |  Branch (832:16): [True: 0, False: 0]
  ------------------
  833|      0|               index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (833:16): [True: 0, False: 0]
  ------------------
  834|       |        // both base and index are front-end constants
  835|      0|        checkIndex(loc, base->getType(), indexValue);
  836|      0|        return intermediate.foldDereference(base, indexValue, loc);
  837|      0|    } else {
  838|       |        // at least one of base and index is variable...
  839|       |
  840|      0|        if (index->getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (840:13): [True: 0, False: 0]
  ------------------
  841|      0|            checkIndex(loc, base->getType(), indexValue);
  842|       |
  843|      0|        if (base->getType().isScalarOrVec1())
  ------------------
  |  Branch (843:13): [True: 0, False: 0]
  ------------------
  844|      0|            result = base;
  845|      0|        else if (base->getAsSymbolNode() && wasFlattened(base)) {
  ------------------
  |  Branch (845:18): [True: 0, False: 0]
  |  Branch (845:45): [True: 0, False: 0]
  ------------------
  846|      0|            if (index->getQualifier().storage != EvqConst)
  ------------------
  |  Branch (846:17): [True: 0, False: 0]
  ------------------
  847|      0|                error(loc, "Invalid variable index to flattened array", base->getAsSymbolNode()->getName().c_str(), "");
  848|       |
  849|      0|            result = flattenAccess(base, indexValue);
  850|      0|            flattened = (result != base);
  851|      0|        } else {
  852|      0|            if (index->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (852:17): [True: 0, False: 0]
  ------------------
  853|      0|                if (base->getType().isUnsizedArray())
  ------------------
  |  Branch (853:21): [True: 0, False: 0]
  ------------------
  854|      0|                    base->getWritableType().updateImplicitArraySize(indexValue + 1);
  855|      0|                else
  856|      0|                    checkIndex(loc, base->getType(), indexValue);
  857|      0|                result = intermediate.addIndex(EOpIndexDirect, base, index, loc);
  858|      0|            } else
  859|      0|                result = intermediate.addIndex(EOpIndexIndirect, base, index, loc);
  860|      0|        }
  861|      0|    }
  862|       |
  863|      4|    if (result == nullptr) {
  ------------------
  |  Branch (863:9): [True: 4, False: 0]
  ------------------
  864|       |        // Insert dummy error-recovery result
  865|      4|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
  866|      4|    } else {
  867|       |        // If the array reference was flattened, it has the correct type.  E.g, if it was
  868|       |        // a uniform array, it was flattened INTO a set of scalar uniforms, not scalar temps.
  869|       |        // In that case, we preserve the qualifiers.
  870|      0|        if (!flattened) {
  ------------------
  |  Branch (870:13): [True: 0, False: 0]
  ------------------
  871|       |            // Insert valid dereferenced result
  872|      0|            TType newType(base->getType(), 0);  // dereferenced type
  873|      0|            if (base->getType().getQualifier().storage == EvqConst && index->getQualifier().storage == EvqConst)
  ------------------
  |  Branch (873:17): [True: 0, False: 0]
  |  Branch (873:71): [True: 0, False: 0]
  ------------------
  874|      0|                newType.getQualifier().storage = EvqConst;
  875|      0|            else
  876|      0|                newType.getQualifier().storage = EvqTemporary;
  877|      0|            result->setType(newType);
  878|      0|        }
  879|      0|    }
  880|       |
  881|      4|    return result;
  882|      4|}
_ZN7glslang16HlslParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  943|      3|{
  944|      3|    variableCheck(base);
  945|       |
  946|      3|    if (base->isArray()) {
  ------------------
  |  Branch (946:9): [True: 0, False: 3]
  ------------------
  947|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
  948|      0|        return base;
  949|      0|    }
  950|       |
  951|      3|    TIntermTyped* result = base;
  952|       |
  953|      3|    if (base->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (953:9): [True: 0, False: 3]
  ------------------
  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|                      base->getType().getCompleteString().c_str());
  967|      0|        }
  968|      3|    } else if (base->isVector() || base->isScalar()) {
  ------------------
  |  Branch (968:16): [True: 0, False: 3]
  |  Branch (968:36): [True: 3, False: 0]
  ------------------
  969|      3|        TSwizzleSelectors<TVectorSelector> selectors;
  970|      3|        parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
  971|       |
  972|      3|        if (base->isScalar()) {
  ------------------
  |  Branch (972:13): [True: 3, False: 0]
  ------------------
  973|      3|            if (selectors.size() == 1)
  ------------------
  |  Branch (973:17): [True: 0, False: 3]
  ------------------
  974|      0|                return result;
  975|      3|            else {
  976|      3|                TType type(base->getBasicType(), EvqTemporary, selectors.size());
  977|      3|                return addConstructor(loc, base, type);
  978|      3|            }
  979|      3|        }
  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(), base->getType().getCompleteString().c_str());
 1069|       |
 1070|      0|    return result;
 1071|      3|}
_ZNK7glslang16HlslParseContext13shouldFlattenERKNS_5TTypeENS_17TStorageQualifierEb:
 1170|     10|{
 1171|     10|    switch (qualifier) {
 1172|      0|    case EvqVaryingIn:
  ------------------
  |  Branch (1172:5): [True: 0, False: 10]
  ------------------
 1173|      0|    case EvqVaryingOut:
  ------------------
  |  Branch (1173:5): [True: 0, False: 10]
  ------------------
 1174|      0|        return type.isStruct() || type.isArray();
  ------------------
  |  Branch (1174:16): [True: 0, False: 0]
  |  Branch (1174:35): [True: 0, False: 0]
  ------------------
 1175|      9|    case EvqUniform:
  ------------------
  |  Branch (1175:5): [True: 9, False: 1]
  ------------------
 1176|      9|        return (type.isArray() && intermediate.getFlattenUniformArrays() && topLevel) ||
  ------------------
  |  Branch (1176:17): [True: 9, False: 0]
  |  Branch (1176:35): [True: 0, False: 9]
  |  Branch (1176:77): [True: 0, False: 0]
  ------------------
 1177|      9|               (type.isStruct() && type.containsOpaque());
  ------------------
  |  Branch (1177:17): [True: 0, False: 9]
  |  Branch (1177:36): [True: 0, False: 0]
  ------------------
 1178|      1|    default:
  ------------------
  |  Branch (1178:5): [True: 1, False: 9]
  ------------------
 1179|      1|        return false;
 1180|     10|    };
 1181|      0|}
_ZN7glslang16HlslParseContext12trackLinkageERNS_7TSymbolE:
 1473|     10|{
 1474|     10|    TBuiltInVariable biType = symbol.getType().getQualifier().builtIn;
 1475|       |
 1476|     10|    if (biType != EbvNone)
  ------------------
  |  Branch (1476:9): [True: 0, False: 10]
  ------------------
 1477|      0|        builtInTessLinkageSymbols[biType] = symbol.clone();
 1478|       |
 1479|     10|    TParseContextBase::trackLinkage(symbol);
 1480|     10|}
_ZN7glslang16HlslParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1605|   448k|{
 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|   448k|    bool builtIn;
 1613|   448k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1614|   448k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1614:32): [True: 2.68k, False: 445k]
  ------------------
 1615|       |
 1616|   448k|    if (prototype) {
  ------------------
  |  Branch (1616:9): [True: 448k, 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|   448k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1619:13): [True: 448k, False: 0]
  ------------------
 1620|   448k|            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|   448k|    }
 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|   448k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1630:9): [True: 0, False: 448k]
  ------------------
 1631|      0|        error(loc, "function name is redeclaration of existing name", function.getName().c_str(), "");
 1632|   448k|}
_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:
 1933|  1.45M|{
 1934|  1.45M|    if (attributes.size() == 0)
  ------------------
  |  Branch (1934:9): [True: 1.45M, False: 0]
  ------------------
 1935|  1.45M|        return;
 1936|       |
 1937|      0|    int value;
 1938|      0|    TString builtInString;
 1939|      0|    for (auto it = attributes.begin(); it != attributes.end(); ++it) {
  ------------------
  |  Branch (1939:40): [True: 0, False: 0]
  ------------------
 1940|      0|        switch (it->name) {
 1941|      0|        case EatLocation:
  ------------------
  |  Branch (1941:9): [True: 0, False: 0]
  ------------------
 1942|       |            // location
 1943|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1943:17): [True: 0, False: 0]
  ------------------
 1944|      0|                type.getQualifier().layoutLocation = value;
 1945|      0|            else
 1946|      0|                error(loc, "needs a literal integer", "location", "");
 1947|      0|            break;
 1948|      0|        case EatBinding:
  ------------------
  |  Branch (1948:9): [True: 0, False: 0]
  ------------------
 1949|       |            // binding
 1950|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1950:17): [True: 0, False: 0]
  ------------------
 1951|      0|                type.getQualifier().layoutBinding = value;
 1952|      0|                type.getQualifier().layoutSet = 0;
 1953|      0|            } else
 1954|      0|                error(loc, "needs a literal integer", "binding", "");
 1955|       |            // set
 1956|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1956:17): [True: 0, False: 0]
  ------------------
 1957|      0|                type.getQualifier().layoutSet = value;
 1958|      0|            break;
 1959|      0|        case EatGlobalBinding:
  ------------------
  |  Branch (1959:9): [True: 0, False: 0]
  ------------------
 1960|       |            // global cbuffer binding
 1961|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                globalUniformBinding = value;
 1963|      0|            else
 1964|      0|                error(loc, "needs a literal integer", "global binding", "");
 1965|       |            // global cbuffer set
 1966|      0|            if (it->getInt(value, 1))
  ------------------
  |  Branch (1966:17): [True: 0, False: 0]
  ------------------
 1967|      0|                globalUniformSet = value;
 1968|      0|            break;
 1969|      0|        case EatInputAttachment:
  ------------------
  |  Branch (1969:9): [True: 0, False: 0]
  ------------------
 1970|       |            // input attachment
 1971|      0|            if (it->getInt(value))
  ------------------
  |  Branch (1971:17): [True: 0, False: 0]
  ------------------
 1972|      0|                type.getQualifier().layoutAttachment = value;
 1973|      0|            else
 1974|      0|                error(loc, "needs a literal integer", "input attachment", "");
 1975|      0|            break;
 1976|      0|        case EatBuiltIn:
  ------------------
  |  Branch (1976:9): [True: 0, False: 0]
  ------------------
 1977|       |            // PointSize built-in
 1978|      0|            if (it->getString(builtInString, 0, false)) {
  ------------------
  |  Branch (1978:17): [True: 0, False: 0]
  ------------------
 1979|      0|                if (builtInString == "PointSize")
  ------------------
  |  Branch (1979:21): [True: 0, False: 0]
  ------------------
 1980|      0|                    type.getQualifier().builtIn = EbvPointSize;
 1981|      0|            }
 1982|      0|            break;
 1983|      0|        case EatPushConstant:
  ------------------
  |  Branch (1983:9): [True: 0, False: 0]
  ------------------
 1984|       |            // push_constant
 1985|      0|            type.getQualifier().layoutPushConstant = true;
 1986|      0|            break;
 1987|      0|        case EatConstantId:
  ------------------
  |  Branch (1987:9): [True: 0, False: 0]
  ------------------
 1988|       |            // specialization constant
 1989|      0|            if (type.getQualifier().storage != EvqConst) {
  ------------------
  |  Branch (1989:17): [True: 0, False: 0]
  ------------------
 1990|      0|                error(loc, "needs a const type", "constant_id", "");
 1991|      0|                break;
 1992|      0|            }
 1993|      0|            if (it->getInt(value)) {
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                TSourceLoc loc;
 1995|      0|                loc.init();
 1996|      0|                setSpecConstantId(loc, type.getQualifier(), (unsigned)value);
 1997|      0|            }
 1998|      0|            break;
 1999|       |
 2000|       |        // image formats
 2001|      0|        case EatFormatRgba32f:      type.getQualifier().layoutFormat = ElfRgba32f;      break;
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        case EatFormatRgba16f:      type.getQualifier().layoutFormat = ElfRgba16f;      break;
  ------------------
  |  Branch (2002:9): [True: 0, False: 0]
  ------------------
 2003|      0|        case EatFormatR32f:         type.getQualifier().layoutFormat = ElfR32f;         break;
  ------------------
  |  Branch (2003:9): [True: 0, False: 0]
  ------------------
 2004|      0|        case EatFormatRgba8:        type.getQualifier().layoutFormat = ElfRgba8;        break;
  ------------------
  |  Branch (2004:9): [True: 0, False: 0]
  ------------------
 2005|      0|        case EatFormatRgba8Snorm:   type.getQualifier().layoutFormat = ElfRgba8Snorm;   break;
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        case EatFormatRg32f:        type.getQualifier().layoutFormat = ElfRg32f;        break;
  ------------------
  |  Branch (2006:9): [True: 0, False: 0]
  ------------------
 2007|      0|        case EatFormatRg16f:        type.getQualifier().layoutFormat = ElfRg16f;        break;
  ------------------
  |  Branch (2007:9): [True: 0, False: 0]
  ------------------
 2008|      0|        case EatFormatR11fG11fB10f: type.getQualifier().layoutFormat = ElfR11fG11fB10f; break;
  ------------------
  |  Branch (2008:9): [True: 0, False: 0]
  ------------------
 2009|      0|        case EatFormatR16f:         type.getQualifier().layoutFormat = ElfR16f;         break;
  ------------------
  |  Branch (2009:9): [True: 0, False: 0]
  ------------------
 2010|      0|        case EatFormatRgba16:       type.getQualifier().layoutFormat = ElfRgba16;       break;
  ------------------
  |  Branch (2010:9): [True: 0, False: 0]
  ------------------
 2011|      0|        case EatFormatRgb10A2:      type.getQualifier().layoutFormat = ElfRgb10A2;      break;
  ------------------
  |  Branch (2011:9): [True: 0, False: 0]
  ------------------
 2012|      0|        case EatFormatRg16:         type.getQualifier().layoutFormat = ElfRg16;         break;
  ------------------
  |  Branch (2012:9): [True: 0, False: 0]
  ------------------
 2013|      0|        case EatFormatRg8:          type.getQualifier().layoutFormat = ElfRg8;          break;
  ------------------
  |  Branch (2013:9): [True: 0, False: 0]
  ------------------
 2014|      0|        case EatFormatR16:          type.getQualifier().layoutFormat = ElfR16;          break;
  ------------------
  |  Branch (2014:9): [True: 0, False: 0]
  ------------------
 2015|      0|        case EatFormatR8:           type.getQualifier().layoutFormat = ElfR8;           break;
  ------------------
  |  Branch (2015:9): [True: 0, False: 0]
  ------------------
 2016|      0|        case EatFormatRgba16Snorm:  type.getQualifier().layoutFormat = ElfRgba16Snorm;  break;
  ------------------
  |  Branch (2016:9): [True: 0, False: 0]
  ------------------
 2017|      0|        case EatFormatRg16Snorm:    type.getQualifier().layoutFormat = ElfRg16Snorm;    break;
  ------------------
  |  Branch (2017:9): [True: 0, False: 0]
  ------------------
 2018|      0|        case EatFormatRg8Snorm:     type.getQualifier().layoutFormat = ElfRg8Snorm;     break;
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  ------------------
 2019|      0|        case EatFormatR16Snorm:     type.getQualifier().layoutFormat = ElfR16Snorm;     break;
  ------------------
  |  Branch (2019:9): [True: 0, False: 0]
  ------------------
 2020|      0|        case EatFormatR8Snorm:      type.getQualifier().layoutFormat = ElfR8Snorm;      break;
  ------------------
  |  Branch (2020:9): [True: 0, False: 0]
  ------------------
 2021|      0|        case EatFormatRgba32i:      type.getQualifier().layoutFormat = ElfRgba32i;      break;
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        case EatFormatRgba16i:      type.getQualifier().layoutFormat = ElfRgba16i;      break;
  ------------------
  |  Branch (2022:9): [True: 0, False: 0]
  ------------------
 2023|      0|        case EatFormatRgba8i:       type.getQualifier().layoutFormat = ElfRgba8i;       break;
  ------------------
  |  Branch (2023:9): [True: 0, False: 0]
  ------------------
 2024|      0|        case EatFormatR32i:         type.getQualifier().layoutFormat = ElfR32i;         break;
  ------------------
  |  Branch (2024:9): [True: 0, False: 0]
  ------------------
 2025|      0|        case EatFormatRg32i:        type.getQualifier().layoutFormat = ElfRg32i;        break;
  ------------------
  |  Branch (2025:9): [True: 0, False: 0]
  ------------------
 2026|      0|        case EatFormatRg16i:        type.getQualifier().layoutFormat = ElfRg16i;        break;
  ------------------
  |  Branch (2026:9): [True: 0, False: 0]
  ------------------
 2027|      0|        case EatFormatRg8i:         type.getQualifier().layoutFormat = ElfRg8i;         break;
  ------------------
  |  Branch (2027:9): [True: 0, False: 0]
  ------------------
 2028|      0|        case EatFormatR16i:         type.getQualifier().layoutFormat = ElfR16i;         break;
  ------------------
  |  Branch (2028:9): [True: 0, False: 0]
  ------------------
 2029|      0|        case EatFormatR8i:          type.getQualifier().layoutFormat = ElfR8i;          break;
  ------------------
  |  Branch (2029:9): [True: 0, False: 0]
  ------------------
 2030|      0|        case EatFormatRgba32ui:     type.getQualifier().layoutFormat = ElfRgba32ui;     break;
  ------------------
  |  Branch (2030:9): [True: 0, False: 0]
  ------------------
 2031|      0|        case EatFormatRgba16ui:     type.getQualifier().layoutFormat = ElfRgba16ui;     break;
  ------------------
  |  Branch (2031:9): [True: 0, False: 0]
  ------------------
 2032|      0|        case EatFormatRgba8ui:      type.getQualifier().layoutFormat = ElfRgba8ui;      break;
  ------------------
  |  Branch (2032:9): [True: 0, False: 0]
  ------------------
 2033|      0|        case EatFormatR32ui:        type.getQualifier().layoutFormat = ElfR32ui;        break;
  ------------------
  |  Branch (2033:9): [True: 0, False: 0]
  ------------------
 2034|      0|        case EatFormatRgb10a2ui:    type.getQualifier().layoutFormat = ElfRgb10a2ui;    break;
  ------------------
  |  Branch (2034:9): [True: 0, False: 0]
  ------------------
 2035|      0|        case EatFormatRg32ui:       type.getQualifier().layoutFormat = ElfRg32ui;       break;
  ------------------
  |  Branch (2035:9): [True: 0, False: 0]
  ------------------
 2036|      0|        case EatFormatRg16ui:       type.getQualifier().layoutFormat = ElfRg16ui;       break;
  ------------------
  |  Branch (2036:9): [True: 0, False: 0]
  ------------------
 2037|      0|        case EatFormatRg8ui:        type.getQualifier().layoutFormat = ElfRg8ui;        break;
  ------------------
  |  Branch (2037:9): [True: 0, False: 0]
  ------------------
 2038|      0|        case EatFormatR16ui:        type.getQualifier().layoutFormat = ElfR16ui;        break;
  ------------------
  |  Branch (2038:9): [True: 0, False: 0]
  ------------------
 2039|      0|        case EatFormatR8ui:         type.getQualifier().layoutFormat = ElfR8ui;         break;
  ------------------
  |  Branch (2039:9): [True: 0, False: 0]
  ------------------
 2040|      0|        case EatFormatUnknown:      type.getQualifier().layoutFormat = ElfNone;         break;
  ------------------
  |  Branch (2040:9): [True: 0, False: 0]
  ------------------
 2041|       |
 2042|      0|        case EatNonWritable:  type.getQualifier().readonly = true;   break;
  ------------------
  |  Branch (2042:9): [True: 0, False: 0]
  ------------------
 2043|      0|        case EatNonReadable:  type.getQualifier().writeonly = true;  break;
  ------------------
  |  Branch (2043:9): [True: 0, False: 0]
  ------------------
 2044|       |
 2045|      0|        default:
  ------------------
  |  Branch (2045:9): [True: 0, False: 0]
  ------------------
 2046|      0|            if (! allowEntry)
  ------------------
  |  Branch (2046:17): [True: 0, False: 0]
  ------------------
 2047|      0|                warn(loc, "attribute does not apply to a type", "", "");
 2048|      0|            break;
 2049|      0|        }
 2050|      0|    }
 2051|      0|}
_ZN7glslang16HlslParseContext19transformEntryPointERKNS_10TSourceLocERNS_9TFunctionERKNS_5TListINS_14TAttributeArgsEEE:
 2087|      1|{
 2088|       |    // Return true if this is a tessellation patch constant function input to a domain shader.
 2089|      1|    const auto isDsPcfInput = [this](const TType& type) {
 2090|      1|        return language == EShLangTessEvaluation &&
 2091|      1|        type.contains([](const TType* t) {
 2092|      1|                return t->getQualifier().builtIn == EbvTessLevelOuter ||
 2093|      1|                       t->getQualifier().builtIn == EbvTessLevelInner;
 2094|      1|            });
 2095|      1|    };
 2096|       |
 2097|       |    // if we aren't in the entry point, fix the IO as such and exit
 2098|      1|    if (! isEntrypointName(userFunction.getName())) {
  ------------------
  |  Branch (2098:9): [True: 1, False: 0]
  ------------------
 2099|      1|        remapNonEntryPointIO(userFunction);
 2100|      1|        return nullptr;
 2101|      1|    }
 2102|       |
 2103|      0|    entryPointFunction = &userFunction; // needed in finish()
 2104|       |
 2105|       |    // Handle entry point attributes
 2106|      0|    handleEntryPointAttributes(loc, attributes);
 2107|       |
 2108|       |    // entry point logic...
 2109|       |
 2110|       |    // Move parameters and return value to shader in/out
 2111|      0|    TVariable* entryPointOutput; // gets created in remapEntryPointIO
 2112|      0|    TVector<TVariable*> inputs;
 2113|      0|    TVector<TVariable*> outputs;
 2114|      0|    remapEntryPointIO(userFunction, entryPointOutput, inputs, outputs);
 2115|       |
 2116|       |    // Further this return/in/out transform by flattening, splitting, and assigning locations
 2117|      0|    const auto makeVariableInOut = [&](TVariable& variable) {
 2118|      0|        if (variable.getType().isStruct()) {
 2119|      0|            bool arrayed = variable.getType().getQualifier().isArrayedIo(language);
 2120|      0|            flatten(variable, false /* don't track linkage here, it will be tracked in assignToInterface() */, arrayed);
 2121|      0|        }
 2122|       |        // TODO: flatten arrays too
 2123|       |        // TODO: flatten everything in I/O
 2124|       |        // TODO: replace all split with flatten, make all paths can create flattened I/O, then split code can be removed
 2125|       |
 2126|       |        // For clip and cull distance, multiple output variables potentially get merged
 2127|       |        // into one in assignClipCullDistance.  That code in assignClipCullDistance
 2128|       |        // handles the interface logic, so we avoid it here in that case.
 2129|      0|        if (!isClipOrCullDistance(variable.getType()))
 2130|      0|            assignToInterface(variable);
 2131|      0|    };
 2132|      0|    if (entryPointOutput != nullptr)
  ------------------
  |  Branch (2132:9): [True: 0, False: 0]
  ------------------
 2133|      0|        makeVariableInOut(*entryPointOutput);
 2134|      0|    for (auto it = inputs.begin(); it != inputs.end(); ++it)
  ------------------
  |  Branch (2134:36): [True: 0, False: 0]
  ------------------
 2135|      0|        if (!isDsPcfInput((*it)->getType()))  // wait until the end for PCF input (see comment below)
  ------------------
  |  Branch (2135:13): [True: 0, False: 0]
  ------------------
 2136|      0|            makeVariableInOut(*(*it));
 2137|      0|    for (auto it = outputs.begin(); it != outputs.end(); ++it)
  ------------------
  |  Branch (2137:37): [True: 0, False: 0]
  ------------------
 2138|      0|        makeVariableInOut(*(*it));
 2139|       |
 2140|       |    // In the domain shader, PCF input must be at the end of the linkage.  That's because in the
 2141|       |    // hull shader there is no ordering: the output comes from the separate PCF, which does not
 2142|       |    // participate in the argument list.  That is always put at the end of the HS linkage, so the
 2143|       |    // input side of the DS must match.  The argument may be in any position in the DS argument list
 2144|       |    // however, so this ensures the linkage is built in the correct order regardless of argument order.
 2145|      0|    if (language == EShLangTessEvaluation) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 0]
  ------------------
 2146|      0|        for (auto it = inputs.begin(); it != inputs.end(); ++it)
  ------------------
  |  Branch (2146:40): [True: 0, False: 0]
  ------------------
 2147|      0|            if (isDsPcfInput((*it)->getType()))
  ------------------
  |  Branch (2147:17): [True: 0, False: 0]
  ------------------
 2148|      0|                makeVariableInOut(*(*it));
 2149|      0|    }
 2150|       |
 2151|       |    // Add uniform parameters to the $Global uniform block.
 2152|      0|    TVector<TVariable*> opaque_uniforms;
 2153|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2153:21): [True: 0, False: 0]
  ------------------
 2154|      0|        TType& paramType = *userFunction[i].type;
 2155|      0|        TString& paramName = *userFunction[i].name;
 2156|      0|        if (paramType.getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (2156:13): [True: 0, False: 0]
  ------------------
 2157|      0|            if (!paramType.containsOpaque()) {
  ------------------
  |  Branch (2157:17): [True: 0, False: 0]
  ------------------
 2158|       |                // Add it to the global uniform block.
 2159|      0|                growGlobalUniformBlock(loc, paramType, paramName);
 2160|      0|            } else {
 2161|       |                // Declare it as a separate variable.
 2162|      0|                TVariable *var = makeInternalVariable(paramName.c_str(), paramType);
 2163|      0|                opaque_uniforms.push_back(var);
 2164|      0|            }
 2165|      0|        }
 2166|      0|    }
 2167|       |
 2168|       |    // Synthesize the call
 2169|       |
 2170|      0|    pushScope(); // matches the one in handleFunctionBody()
 2171|       |
 2172|       |    // new signature
 2173|      0|    TType voidType(EbtVoid);
 2174|      0|    TFunction synthEntryPoint(&userFunction.getName(), voidType);
 2175|      0|    TIntermAggregate* synthParams = new TIntermAggregate();
 2176|      0|    intermediate.setAggregateOperator(synthParams, EOpParameters, voidType, loc);
 2177|      0|    intermediate.setEntryPointMangledName(synthEntryPoint.getMangledName().c_str());
 2178|      0|    intermediate.incrementEntryPointCount();
 2179|      0|    TFunction callee(&userFunction.getName(), voidType); // call based on old name, which is still in the symbol table
 2180|       |
 2181|       |    // change original name
 2182|      0|    userFunction.addPrefix("@");                         // change the name in the function, but not in the symbol table
 2183|       |
 2184|       |    // Copy inputs (shader-in -> calling arg), while building up the call node
 2185|      0|    TVector<TVariable*> argVars;
 2186|      0|    TIntermAggregate* synthBody = new TIntermAggregate();
 2187|      0|    auto inputIt = inputs.begin();
 2188|      0|    auto opaqueUniformIt = opaque_uniforms.begin();
 2189|      0|    TIntermTyped* callingArgs = nullptr;
 2190|       |
 2191|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2191:21): [True: 0, False: 0]
  ------------------
 2192|      0|        TParameter& param = userFunction[i];
 2193|      0|        argVars.push_back(makeInternalVariable(*param.name, *param.type));
 2194|      0|        argVars.back()->getWritableType().getQualifier().makeTemporary();
 2195|       |
 2196|       |        // Track the input patch, which is the only non-builtin supported by hull shader PCF.
 2197|      0|        if (param.getDeclaredBuiltIn() == EbvInputPatch)
  ------------------
  |  Branch (2197:13): [True: 0, False: 0]
  ------------------
 2198|      0|            inputPatch = argVars.back();
 2199|       |
 2200|      0|        TIntermSymbol* arg = intermediate.addSymbol(*argVars.back());
 2201|      0|        handleFunctionArgument(&callee, callingArgs, arg);
 2202|      0|        if (param.type->getQualifier().isParamInput()) {
  ------------------
  |  Branch (2202:13): [True: 0, False: 0]
  ------------------
 2203|      0|            TIntermTyped* input = intermediate.addSymbol(**inputIt);
 2204|      0|            if (input->getType().getQualifier().builtIn == EbvFragCoord && intermediate.getDxPositionW()) {
  ------------------
  |  Branch (2204:17): [True: 0, False: 0]
  |  Branch (2204:76): [True: 0, False: 0]
  ------------------
 2205|       |                // Replace FragCoord W with reciprocal
 2206|      0|                auto pos_xyz = handleDotDereference(loc, input, "xyz");
 2207|      0|                auto pos_w   = handleDotDereference(loc, input, "w");
 2208|      0|                auto one     = intermediate.addConstantUnion(1.0, EbtFloat, loc);
 2209|      0|                auto recip_w = intermediate.addBinaryMath(EOpDiv, one, pos_w, loc);
 2210|      0|                TIntermAggregate* dst = new TIntermAggregate(EOpConstructVec4);
 2211|      0|                dst->getSequence().push_back(pos_xyz);
 2212|      0|                dst->getSequence().push_back(recip_w);
 2213|      0|                dst->setType(TType(EbtFloat, EvqTemporary, 4));
 2214|      0|                dst->setLoc(loc);
 2215|      0|                input = dst;
 2216|      0|            }
 2217|      0|            intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg, input));
 2218|      0|            inputIt++;
 2219|      0|        }
 2220|      0|        if (param.type->getQualifier().storage == EvqUniform) {
  ------------------
  |  Branch (2220:13): [True: 0, False: 0]
  ------------------
 2221|      0|            if (!param.type->containsOpaque()) {
  ------------------
  |  Branch (2221:17): [True: 0, False: 0]
  ------------------
 2222|       |                // Look it up in the $Global uniform block.
 2223|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg,
 2224|      0|                                                                   handleVariable(loc, param.name)));
 2225|      0|            } else {
 2226|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign, arg,
 2227|      0|                                                                   intermediate.addSymbol(**opaqueUniformIt)));
 2228|      0|                ++opaqueUniformIt;
 2229|      0|            }
 2230|      0|        }
 2231|      0|    }
 2232|       |
 2233|       |    // Call
 2234|      0|    currentCaller = synthEntryPoint.getMangledName();
 2235|      0|    TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
 2236|      0|    currentCaller = userFunction.getMangledName();
 2237|       |
 2238|       |    // Return value
 2239|      0|    if (entryPointOutput) {
  ------------------
  |  Branch (2239:9): [True: 0, False: 0]
  ------------------
 2240|      0|        TIntermTyped* returnAssign;
 2241|       |
 2242|       |        // For hull shaders, the wrapped entry point return value is written to
 2243|       |        // an array element as indexed by invocation ID, which we might have to make up.
 2244|       |        // This is required to match SPIR-V semantics.
 2245|      0|        if (language == EShLangTessControl) {
  ------------------
  |  Branch (2245:13): [True: 0, False: 0]
  ------------------
 2246|      0|            TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
 2247|       |
 2248|       |            // If there is no user declared invocation ID, we must make one.
 2249|      0|            if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (2249:17): [True: 0, False: 0]
  ------------------
 2250|      0|                TType invocationIdType(EbtUint, EvqIn, 1);
 2251|      0|                TString* invocationIdName = NewPoolTString("InvocationId");
 2252|      0|                invocationIdType.getQualifier().builtIn = EbvInvocationId;
 2253|       |
 2254|      0|                TVariable* variable = makeInternalVariable(*invocationIdName, invocationIdType);
 2255|       |
 2256|      0|                globalQualifierFix(loc, variable->getWritableType().getQualifier());
 2257|      0|                trackLinkage(*variable);
 2258|       |
 2259|      0|                invocationIdSym = intermediate.addSymbol(*variable);
 2260|      0|            }
 2261|       |
 2262|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexIndirect, intermediate.addSymbol(*entryPointOutput),
 2263|      0|                                                          invocationIdSym, loc);
 2264|       |
 2265|       |            // Set the type of the array element being dereferenced
 2266|      0|            const TType derefElementType(entryPointOutput->getType(), 0);
 2267|      0|            element->setType(derefElementType);
 2268|       |
 2269|      0|            returnAssign = handleAssign(loc, EOpAssign, element, callReturn);
 2270|      0|        } else {
 2271|      0|            returnAssign = handleAssign(loc, EOpAssign, intermediate.addSymbol(*entryPointOutput), callReturn);
 2272|      0|        }
 2273|      0|        intermediate.growAggregate(synthBody, returnAssign);
 2274|      0|    } else
 2275|      0|        intermediate.growAggregate(synthBody, callReturn);
 2276|       |
 2277|       |    // Output copies
 2278|      0|    auto outputIt = outputs.begin();
 2279|      0|    for (int i = 0; i < userFunction.getParamCount(); i++) {
  ------------------
  |  Branch (2279:21): [True: 0, False: 0]
  ------------------
 2280|      0|        TParameter& param = userFunction[i];
 2281|       |
 2282|       |        // GS outputs are via emit, so we do not copy them here.
 2283|      0|        if (param.type->getQualifier().isParamOutput()) {
  ------------------
  |  Branch (2283:13): [True: 0, False: 0]
  ------------------
 2284|      0|            if (param.getDeclaredBuiltIn() == EbvGsOutputStream) {
  ------------------
  |  Branch (2284:17): [True: 0, False: 0]
  ------------------
 2285|       |                // GS output stream does not assign outputs here: it's the Append() method
 2286|       |                // which writes to the output, probably multiple times separated by Emit.
 2287|       |                // We merely remember the output to use, here.
 2288|      0|                gsStreamOutput = *outputIt;
 2289|      0|            } else {
 2290|      0|                intermediate.growAggregate(synthBody, handleAssign(loc, EOpAssign,
 2291|      0|                                                                   intermediate.addSymbol(**outputIt),
 2292|      0|                                                                   intermediate.addSymbol(*argVars[i])));
 2293|      0|            }
 2294|       |
 2295|      0|            outputIt++;
 2296|      0|        }
 2297|      0|    }
 2298|       |
 2299|       |    // Put the pieces together to form a full function subtree
 2300|       |    // for the synthesized entry point.
 2301|      0|    synthBody->setOperator(EOpSequence);
 2302|      0|    TIntermNode* synthFunctionDef = synthParams;
 2303|      0|    handleFunctionBody(loc, synthEntryPoint, synthBody, synthFunctionDef);
 2304|       |
 2305|      0|    entryPointFunctionBody = synthBody;
 2306|       |
 2307|      0|    return synthFunctionDef;
 2308|      1|}
_ZN7glslang16HlslParseContext20remapNonEntryPointIOERNS_9TFunctionE:
 2454|      1|{
 2455|       |    // return value
 2456|      1|    if (function.getType().getBasicType() != EbtVoid)
  ------------------
  |  Branch (2456:9): [True: 0, False: 1]
  ------------------
 2457|      0|        clearUniformInputOutput(function.getWritableType().getQualifier());
 2458|       |
 2459|       |    // parameters.
 2460|       |    // References to structuredbuffer types are left unmodified
 2461|      1|    for (int i = 0; i < function.getParamCount(); i++)
  ------------------
  |  Branch (2461:21): [True: 0, False: 1]
  ------------------
 2462|      0|        if (!isReference(*function[i].type))
  ------------------
  |  Branch (2462:13): [True: 0, False: 0]
  ------------------
 2463|      0|            clearUniformInputOutput(function[i].type->getQualifier());
 2464|      1|}
_ZN7glslang16HlslParseContext22handleFunctionArgumentEPNS_9TFunctionERPNS_12TIntermTypedES4_:
 2495|     13|{
 2496|     13|    TParameter param = { nullptr, new TType, nullptr };
 2497|     13|    param.type->shallowCopy(newArg->getType());
 2498|       |
 2499|     13|    function->addParameter(param);
 2500|     13|    if (arguments)
  ------------------
  |  Branch (2500:9): [True: 0, False: 13]
  ------------------
 2501|      0|        arguments = intermediate.growAggregate(arguments, newArg);
 2502|     13|    else
 2503|     13|        arguments = newArg;
 2504|     13|}
_ZN7glslang16HlslParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEPNS_12TIntermTypedE:
 5560|      5|{
 5561|      5|    TIntermTyped* result = nullptr;
 5562|       |
 5563|      5|    TOperator op = function->getBuiltInOp();
 5564|      5|    if (op != EOpNull) {
  ------------------
  |  Branch (5564:9): [True: 5, False: 0]
  ------------------
 5565|       |        //
 5566|       |        // Then this should be a constructor.
 5567|       |        // Don't go through the symbol table for constructors.
 5568|       |        // Their parameters will be verified algorithmically.
 5569|       |        //
 5570|      5|        TType type(EbtVoid);  // use this to get the type back
 5571|      5|        if (! constructorError(loc, arguments, *function, op, type)) {
  ------------------
  |  Branch (5571:13): [True: 5, False: 0]
  ------------------
 5572|       |            //
 5573|       |            // It's a constructor, of type 'type'.
 5574|       |            //
 5575|      5|            result = handleConstructor(loc, arguments, type);
 5576|      5|            if (result == nullptr) {
  ------------------
  |  Branch (5576:17): [True: 0, False: 5]
  ------------------
 5577|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString().c_str(), "");
 5578|      0|                return nullptr;
 5579|      0|            }
 5580|      5|        }
 5581|      5|    } else {
 5582|       |        //
 5583|       |        // Find it in the symbol table.
 5584|       |        //
 5585|      0|        const TFunction* fnCandidate = nullptr;
 5586|      0|        bool builtIn = false;
 5587|      0|        int thisDepth = 0;
 5588|       |
 5589|       |        // For mat mul, the situation is unusual: we have to compare vector sizes to mat row or col sizes,
 5590|       |        // and clamp the opposite arg.  Since that's complex, we farm it off to a separate method.
 5591|       |        // It doesn't naturally fall out of processing an argument at a time in isolation.
 5592|      0|        if (function->getName() == "mul")
  ------------------
  |  Branch (5592:13): [True: 0, False: 0]
  ------------------
 5593|      0|            addGenMulArgumentConversion(loc, *function, arguments);
 5594|       |
 5595|      0|        TIntermAggregate* aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5595:39): [True: 0, False: 0]
  ------------------
 5596|       |
 5597|       |        // TODO: this needs improvement: there's no way at present to look up a signature in
 5598|       |        // the symbol table for an arbitrary type.  This is a temporary hack until that ability exists.
 5599|       |        // It will have false positives, since it doesn't check arg counts or types.
 5600|      0|        if (arguments) {
  ------------------
  |  Branch (5600:13): [True: 0, False: 0]
  ------------------
 5601|       |            // Check if first argument is struct buffer type.  It may be an aggregate or a symbol, so we
 5602|       |            // look for either case.
 5603|       |
 5604|      0|            TIntermTyped* arg0 = nullptr;
 5605|       |
 5606|      0|            if (aggregate && aggregate->getSequence().size() > 0 && aggregate->getSequence()[0])
  ------------------
  |  Branch (5606:17): [True: 0, False: 0]
  |  Branch (5606:30): [True: 0, False: 0]
  |  Branch (5606:69): [True: 0, False: 0]
  ------------------
 5607|      0|                arg0 = aggregate->getSequence()[0]->getAsTyped();
 5608|      0|            else if (arguments->getAsSymbolNode())
  ------------------
  |  Branch (5608:22): [True: 0, False: 0]
  ------------------
 5609|      0|                arg0 = arguments->getAsSymbolNode();
 5610|       |
 5611|      0|            if (arg0 != nullptr && isStructBufferType(arg0->getType())) {
  ------------------
  |  Branch (5611:17): [True: 0, False: 0]
  |  Branch (5611:36): [True: 0, False: 0]
  ------------------
 5612|      0|                static const int methodPrefixSize = sizeof(BUILTIN_PREFIX)-1;
  ------------------
  |  |  513|      0|#define BUILTIN_PREFIX "__BI_"
  ------------------
 5613|       |
 5614|      0|                if (function->getName().length() > methodPrefixSize &&
  ------------------
  |  Branch (5614:21): [True: 0, False: 0]
  |  Branch (5614:21): [True: 0, False: 0]
  ------------------
 5615|      0|                    isStructBufferMethod(function->getName().substr(methodPrefixSize))) {
  ------------------
  |  Branch (5615:21): [True: 0, False: 0]
  ------------------
 5616|      0|                    const TString mangle = function->getName() + "(";
 5617|      0|                    TSymbol* symbol = symbolTable.find(mangle, &builtIn);
 5618|       |
 5619|      0|                    if (symbol)
  ------------------
  |  Branch (5619:25): [True: 0, False: 0]
  ------------------
 5620|      0|                        fnCandidate = symbol->getAsFunction();
 5621|      0|                }
 5622|      0|            }
 5623|      0|        }
 5624|       |
 5625|      0|        if (fnCandidate == nullptr)
  ------------------
  |  Branch (5625:13): [True: 0, False: 0]
  ------------------
 5626|      0|            fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments);
 5627|       |
 5628|      0|        if (fnCandidate) {
  ------------------
  |  Branch (5628:13): [True: 0, False: 0]
  ------------------
 5629|       |            // This is a declared function that might map to
 5630|       |            //  - a built-in operator,
 5631|       |            //  - a built-in function not mapped to an operator, or
 5632|       |            //  - a user function.
 5633|       |
 5634|       |            // turn an implicit member-function resolution into an explicit call
 5635|      0|            TString callerName;
 5636|      0|            if (thisDepth == 0)
  ------------------
  |  Branch (5636:17): [True: 0, False: 0]
  ------------------
 5637|      0|                callerName = fnCandidate->getMangledName();
 5638|      0|            else {
 5639|       |                // get the explicit (full) name of the function
 5640|      0|                assert(currentTypePrefix.size() >= size_t(thisDepth));
 5641|      0|                callerName = currentTypePrefix[currentTypePrefix.size() - thisDepth];
 5642|      0|                callerName += fnCandidate->getMangledName();
 5643|       |                // insert the implicit calling argument
 5644|      0|                pushFrontArguments(intermediate.addSymbol(*getImplicitThis(thisDepth)), arguments);
 5645|      0|            }
 5646|       |
 5647|       |            // Convert 'in' arguments, so that types match.
 5648|       |            // However, skip those that need expansion, that is covered next.
 5649|      0|            if (arguments)
  ------------------
  |  Branch (5649:17): [True: 0, False: 0]
  ------------------
 5650|      0|                addInputArgumentConversions(*fnCandidate, arguments);
 5651|       |
 5652|       |            // Expand arguments.  Some arguments must physically expand to a different set
 5653|       |            // than what the shader declared and passes.
 5654|      0|            if (arguments && !builtIn)
  ------------------
  |  Branch (5654:17): [True: 0, False: 0]
  |  Branch (5654:30): [True: 0, False: 0]
  ------------------
 5655|      0|                expandArguments(loc, *fnCandidate, arguments);
 5656|       |
 5657|       |            // Expansion may have changed the form of arguments
 5658|      0|            aggregate = arguments ? arguments->getAsAggregate() : nullptr;
  ------------------
  |  Branch (5658:25): [True: 0, False: 0]
  ------------------
 5659|       |
 5660|      0|            op = fnCandidate->getBuiltInOp();
 5661|      0|            if (builtIn && op != EOpNull) {
  ------------------
  |  Branch (5661:17): [True: 0, False: 0]
  |  Branch (5661:28): [True: 0, False: 0]
  ------------------
 5662|       |                // SM 4.0 and above guarantees roundEven semantics for round()
 5663|      0|                if (!hlslDX9Compatible() && op == EOpRound)
  ------------------
  |  Branch (5663:21): [True: 0, False: 0]
  |  Branch (5663:45): [True: 0, False: 0]
  ------------------
 5664|      0|                    op = EOpRoundEven;
 5665|       |
 5666|       |                // A function call mapped to a built-in operation.
 5667|      0|                result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments,
 5668|      0|                                                             fnCandidate->getType());
 5669|      0|                if (result == nullptr)  {
  ------------------
  |  Branch (5669:21): [True: 0, False: 0]
  ------------------
 5670|      0|                    error(arguments->getLoc(), " wrong operand type", "Internal Error",
 5671|      0|                        "built in unary operator function.  Type: %s",
 5672|      0|                        static_cast<TIntermTyped*>(arguments)->getCompleteString().c_str());
 5673|      0|                } else if (result->getAsOperator()) {
  ------------------
  |  Branch (5673:28): [True: 0, False: 0]
  ------------------
 5674|      0|                    builtInOpCheck(loc, *fnCandidate, *result->getAsOperator());
 5675|      0|                }
 5676|      0|            } else {
 5677|       |                // This is a function call not mapped to built-in operator.
 5678|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 5679|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 5680|      0|                TIntermAggregate* call = result->getAsAggregate();
 5681|      0|                call->setName(callerName);
 5682|       |
 5683|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 5684|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 5685|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 5686|      0|                if (! builtIn) {
  ------------------
  |  Branch (5686:21): [True: 0, False: 0]
  ------------------
 5687|      0|                    call->setUserDefined();
 5688|      0|                    intermediate.addToCallGraph(infoSink, currentCaller, callerName);
 5689|      0|                }
 5690|      0|            }
 5691|       |
 5692|       |            // for decompositions, since we want to operate on the function node, not the aggregate holding
 5693|       |            // output conversions.
 5694|      0|            const TIntermTyped* fnNode = result;
 5695|       |
 5696|      0|            decomposeStructBufferMethods(loc, result, arguments); // HLSL->AST struct buffer method decompositions
 5697|      0|            decomposeIntrinsic(loc, result, arguments);           // HLSL->AST intrinsic decompositions
 5698|      0|            decomposeSampleMethods(loc, result, arguments);       // HLSL->AST sample method decompositions
 5699|      0|            decomposeGeometryMethods(loc, result, arguments);     // HLSL->AST geometry method decompositions
 5700|       |
 5701|       |            // Create the qualifier list, carried in the AST for the call.
 5702|       |            // Because some arguments expand to multiple arguments, the qualifier list will
 5703|       |            // be longer than the formal parameter list.
 5704|      0|            if (result == fnNode && result->getAsAggregate()) {
  ------------------
  |  Branch (5704:17): [True: 0, False: 0]
  |  Branch (5704:37): [True: 0, False: 0]
  ------------------
 5705|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 5706|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (5706:33): [True: 0, False: 0]
  ------------------
 5707|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 5708|      0|                    if (hasStructBuffCounter(*(*fnCandidate)[i].type)) {
  ------------------
  |  Branch (5708:25): [True: 0, False: 0]
  ------------------
 5709|       |                        // add buffer and counter buffer argument qualifier
 5710|      0|                        qualifierList.push_back(qual);
 5711|      0|                        qualifierList.push_back(qual);
 5712|      0|                    } else if (shouldFlatten(*(*fnCandidate)[i].type, (*fnCandidate)[i].type->getQualifier().storage,
  ------------------
  |  Branch (5712:32): [True: 0, False: 0]
  ------------------
 5713|      0|                                             true)) {
 5714|       |                        // add structure member expansion
 5715|      0|                        for (int memb = 0; memb < (int)(*fnCandidate)[i].type->getStruct()->size(); ++memb)
  ------------------
  |  Branch (5715:44): [True: 0, False: 0]
  ------------------
 5716|      0|                            qualifierList.push_back(qual);
 5717|      0|                    } else {
 5718|       |                        // Normal 1:1 case
 5719|      0|                        qualifierList.push_back(qual);
 5720|      0|                    }
 5721|      0|                }
 5722|      0|            }
 5723|       |
 5724|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 5725|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 5726|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 5727|       |            // We don't do this is if there has been a decomposition, which will have added its own conversions
 5728|       |            // for output parameters.
 5729|      0|            if (result == fnNode && result->getAsAggregate())
  ------------------
  |  Branch (5729:17): [True: 0, False: 0]
  |  Branch (5729:37): [True: 0, False: 0]
  ------------------
 5730|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsOperator());
 5731|      0|        }
 5732|      0|    }
 5733|       |
 5734|       |    // generic error recovery
 5735|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to
 5736|       |    //       reduce cascades
 5737|      5|    if (result == nullptr)
  ------------------
  |  Branch (5737:9): [True: 0, False: 5]
  ------------------
 5738|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 5739|       |
 5740|      5|    return result;
 5741|      5|}
_ZN7glslang16HlslParseContext19makeConstructorCallERKNS_10TSourceLocERKNS_5TTypeE:
 6279|    692|{
 6280|    692|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 6281|       |
 6282|    692|    if (op == EOpNull) {
  ------------------
  |  Branch (6282:9): [True: 0, False: 692]
  ------------------
 6283|      0|        error(loc, "cannot construct this type", type.getBasicString(), "");
 6284|      0|        return nullptr;
 6285|      0|    }
 6286|       |
 6287|    692|    TString empty("");
 6288|       |
 6289|    692|    return new TFunction(&empty, type, op);
 6290|    692|}
_ZN7glslang16HlslParseContext28convertConditionalExpressionERKNS_10TSourceLocEPNS_12TIntermTypedEb:
 6516|     53|{
 6517|     53|    if (mustBeScalar && !condition->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (6517:9): [True: 0, False: 53]
  |  Branch (6517:25): [True: 0, False: 0]
  ------------------
 6518|      0|        error(loc, "requires a scalar", "conditional expression", "");
 6519|      0|        return nullptr;
 6520|      0|    }
 6521|       |
 6522|     53|    return intermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVectorSize()),
 6523|     53|                                      condition);
 6524|     53|}
_ZN7glslang16HlslParseContext13variableCheckERPNS_12TIntermTypedE:
 6562|      7|{
 6563|      7|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 6564|      7|    if (! symbol)
  ------------------
  |  Branch (6564:9): [True: 3, False: 4]
  ------------------
 6565|      3|        return;
 6566|       |
 6567|      4|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (6567:9): [True: 4, False: 0]
  ------------------
 6568|      4|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), "");
 6569|       |
 6570|       |        // Add to symbol table to prevent future error messages on the same name
 6571|      4|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (6571:13): [True: 4, False: 0]
  ------------------
 6572|      4|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 6573|      4|            symbolTable.insert(*fakeVariable);
 6574|       |
 6575|       |            // substitute a symbol node for this new variable
 6576|      4|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 6577|      4|        }
 6578|      4|    }
 6579|      4|}
_ZN7glslang16HlslParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 6627|      5|{
 6628|      5|    type.shallowCopy(function.getType());
 6629|       |
 6630|      5|    bool constructingMatrix = false;
 6631|      5|    switch (op) {
 6632|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (6632:5): [True: 0, False: 5]
  ------------------
 6633|      0|        error(loc, "unhandled texture constructor", "constructor", "");
 6634|      0|        return true;
 6635|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (6635:5): [True: 0, False: 5]
  ------------------
 6636|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (6636:5): [True: 0, False: 5]
  ------------------
 6637|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (6637:5): [True: 0, False: 5]
  ------------------
 6638|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (6638:5): [True: 0, False: 5]
  ------------------
 6639|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (6639:5): [True: 0, False: 5]
  ------------------
 6640|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (6640:5): [True: 0, False: 5]
  ------------------
 6641|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (6641:5): [True: 0, False: 5]
  ------------------
 6642|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (6642:5): [True: 0, False: 5]
  ------------------
 6643|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (6643:5): [True: 0, False: 5]
  ------------------
 6644|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (6644:5): [True: 0, False: 5]
  ------------------
 6645|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (6645:5): [True: 0, False: 5]
  ------------------
 6646|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (6646:5): [True: 0, False: 5]
  ------------------
 6647|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (6647:5): [True: 0, False: 5]
  ------------------
 6648|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (6648:5): [True: 0, False: 5]
  ------------------
 6649|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (6649:5): [True: 0, False: 5]
  ------------------
 6650|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (6650:5): [True: 0, False: 5]
  ------------------
 6651|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (6651:5): [True: 0, False: 5]
  ------------------
 6652|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (6652:5): [True: 0, False: 5]
  ------------------
 6653|      0|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (6653:5): [True: 0, False: 5]
  ------------------
 6654|      0|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (6654:5): [True: 0, False: 5]
  ------------------
 6655|      0|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (6655:5): [True: 0, False: 5]
  ------------------
 6656|      0|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (6656:5): [True: 0, False: 5]
  ------------------
 6657|      0|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (6657:5): [True: 0, False: 5]
  ------------------
 6658|      0|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (6658:5): [True: 0, False: 5]
  ------------------
 6659|      0|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (6659:5): [True: 0, False: 5]
  ------------------
 6660|      0|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (6660:5): [True: 0, False: 5]
  ------------------
 6661|      0|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (6661:5): [True: 0, False: 5]
  ------------------
 6662|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (6662:5): [True: 0, False: 5]
  ------------------
 6663|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (6663:5): [True: 0, False: 5]
  ------------------
 6664|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (6664:5): [True: 0, False: 5]
  ------------------
 6665|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (6665:5): [True: 0, False: 5]
  ------------------
 6666|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (6666:5): [True: 0, False: 5]
  ------------------
 6667|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (6667:5): [True: 0, False: 5]
  ------------------
 6668|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (6668:5): [True: 0, False: 5]
  ------------------
 6669|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (6669:5): [True: 0, False: 5]
  ------------------
 6670|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (6670:5): [True: 0, False: 5]
  ------------------
 6671|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (6671:5): [True: 0, False: 5]
  ------------------
 6672|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (6672:5): [True: 0, False: 5]
  ------------------
 6673|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (6673:5): [True: 0, False: 5]
  ------------------
 6674|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (6674:5): [True: 0, False: 5]
  ------------------
 6675|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (6675:5): [True: 0, False: 5]
  ------------------
 6676|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (6676:5): [True: 0, False: 5]
  ------------------
 6677|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (6677:5): [True: 0, False: 5]
  ------------------
 6678|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (6678:5): [True: 0, False: 5]
  ------------------
 6679|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (6679:5): [True: 0, False: 5]
  ------------------
 6680|      0|        constructingMatrix = true;
 6681|      0|        break;
 6682|      5|    default:
  ------------------
  |  Branch (6682:5): [True: 5, False: 0]
  ------------------
 6683|      5|        break;
 6684|      5|    }
 6685|       |
 6686|       |    //
 6687|       |    // Walk the arguments for first-pass checks and collection of information.
 6688|       |    //
 6689|       |
 6690|      5|    int size = 0;
 6691|      5|    bool constType = true;
 6692|      5|    bool full = false;
 6693|      5|    bool overFull = false;
 6694|      5|    bool matrixInMatrix = false;
 6695|      5|    bool arrayArg = false;
 6696|     10|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (6696:23): [True: 5, False: 5]
  ------------------
 6697|      5|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (6697:13): [True: 0, False: 5]
  ------------------
 6698|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (6698:17): [True: 0, False: 0]
  ------------------
 6699|       |                // Can't construct from an unsized array.
 6700|      0|                error(loc, "array argument must be sized", "constructor", "");
 6701|      0|                return true;
 6702|      0|            }
 6703|      0|            arrayArg = true;
 6704|      0|        }
 6705|      5|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (6705:13): [True: 0, False: 5]
  |  Branch (6705:35): [True: 0, False: 0]
  ------------------
 6706|      0|            matrixInMatrix = true;
 6707|       |
 6708|       |        // 'full' will go to true when enough args have been seen.  If we loop
 6709|       |        // again, there is an extra argument.
 6710|      5|        if (full) {
  ------------------
  |  Branch (6710:13): [True: 0, False: 5]
  ------------------
 6711|       |            // For vectors and matrices, it's okay to have too many components
 6712|       |            // available, but not okay to have unused arguments.
 6713|      0|            overFull = true;
 6714|      0|        }
 6715|       |
 6716|      5|        size += function[arg].type->computeNumComponents();
 6717|      5|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (6717:13): [True: 5, False: 0]
  |  Branch (6717:41): [True: 5, False: 0]
  |  Branch (6717:61): [True: 5, False: 0]
  ------------------
 6718|      5|            full = true;
 6719|       |
 6720|      5|        if (function[arg].type->getQualifier().storage != EvqConst)
  ------------------
  |  Branch (6720:13): [True: 5, False: 0]
  ------------------
 6721|      5|            constType = false;
 6722|      5|    }
 6723|       |
 6724|      5|    if (constType)
  ------------------
  |  Branch (6724:9): [True: 0, False: 5]
  ------------------
 6725|      0|        type.getQualifier().storage = EvqConst;
 6726|       |
 6727|      5|    if (type.isArray()) {
  ------------------
  |  Branch (6727:9): [True: 0, False: 5]
  ------------------
 6728|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (6728:13): [True: 0, False: 0]
  ------------------
 6729|      0|            error(loc, "array constructor must have at least one argument", "constructor", "");
 6730|      0|            return true;
 6731|      0|        }
 6732|       |
 6733|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (6733:13): [True: 0, False: 0]
  ------------------
 6734|       |            // auto adapt the constructor type to the number of arguments
 6735|      0|            type.changeOuterArraySize(function.getParamCount());
 6736|      0|        } else if (type.getOuterArraySize() != function.getParamCount() && type.computeNumComponents() > size) {
  ------------------
  |  Branch (6736:20): [True: 0, False: 0]
  |  Branch (6736:76): [True: 0, False: 0]
  ------------------
 6737|      0|            error(loc, "array constructor needs one argument per array element", "constructor", "");
 6738|      0|            return true;
 6739|      0|        }
 6740|       |
 6741|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (6741:13): [True: 0, False: 0]
  ------------------
 6742|       |            // Types have to match, but we're still making the type.
 6743|       |            // Finish making the type, and the comparison is done later
 6744|       |            // when checking for conversion.
 6745|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 6746|       |
 6747|       |            // At least the dimensionalities have to match.
 6748|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (6748:17): [True: 0, False: 0]
  ------------------
 6749|      0|                arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (6749:17): [True: 0, False: 0]
  ------------------
 6750|      0|                error(loc, "array constructor argument not correct type to construct array element", "constructor", "");
 6751|      0|                return true;
 6752|      0|            }
 6753|       |
 6754|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (6754:17): [True: 0, False: 0]
  ------------------
 6755|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 6756|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 6757|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (6757:33): [True: 0, False: 0]
  ------------------
 6758|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (6758:25): [True: 0, False: 0]
  ------------------
 6759|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 6760|      0|                    }
 6761|      0|                }
 6762|      0|            }
 6763|      0|        }
 6764|      0|    }
 6765|       |
 6766|       |    // Some array -> array type casts are okay
 6767|      5|    if (arrayArg && function.getParamCount() == 1 && op != EOpConstructStruct && type.isArray() &&
  ------------------
  |  Branch (6767:9): [True: 0, False: 5]
  |  Branch (6767:21): [True: 0, False: 0]
  |  Branch (6767:54): [True: 0, False: 0]
  |  Branch (6767:82): [True: 0, False: 0]
  ------------------
 6768|      0|        !type.isArrayOfArrays() && !function[0].type->isArrayOfArrays() &&
  ------------------
  |  Branch (6768:9): [True: 0, False: 0]
  |  Branch (6768:36): [True: 0, False: 0]
  ------------------
 6769|      0|        type.getVectorSize() >= 1 && function[0].type->getVectorSize() >= 1)
  ------------------
  |  Branch (6769:9): [True: 0, False: 0]
  |  Branch (6769:38): [True: 0, False: 0]
  ------------------
 6770|      0|        return false;
 6771|       |
 6772|      5|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (6772:9): [True: 0, False: 5]
  |  Branch (6772:21): [True: 0, False: 0]
  |  Branch (6772:49): [True: 0, False: 0]
  ------------------
 6773|      0|        error(loc, "constructing non-array constituent from array argument", "constructor", "");
 6774|      0|        return true;
 6775|      0|    }
 6776|       |
 6777|      5|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (6777:9): [True: 0, False: 5]
  |  Branch (6777:27): [True: 0, False: 0]
  ------------------
 6778|      0|        return false;
 6779|      0|    }
 6780|       |
 6781|      5|    if (overFull) {
  ------------------
  |  Branch (6781:9): [True: 0, False: 5]
  ------------------
 6782|      0|        error(loc, "too many arguments", "constructor", "");
 6783|      0|        return true;
 6784|      0|    }
 6785|       |
 6786|      5|    if (op == EOpConstructStruct && ! type.isArray()) {
  ------------------
  |  Branch (6786:9): [True: 0, False: 5]
  |  Branch (6786:37): [True: 0, False: 0]
  ------------------
 6787|      0|        if (isScalarConstructor(node))
  ------------------
  |  Branch (6787:13): [True: 0, False: 0]
  ------------------
 6788|      0|            return false;
 6789|       |
 6790|       |        // Self-type construction: e.g, we can construct a struct from a single identically typed object.
 6791|      0|        if (function.getParamCount() == 1 && type == *function[0].type)
  ------------------
  |  Branch (6791:13): [True: 0, False: 0]
  |  Branch (6791:46): [True: 0, False: 0]
  ------------------
 6792|      0|            return false;
 6793|       |
 6794|      0|        if ((int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (6794:13): [True: 0, False: 0]
  ------------------
 6795|      0|            error(loc, "Number of constructor parameters does not match the number of structure fields", "constructor", "");
 6796|      0|            return true;
 6797|      0|        }
 6798|      0|    }
 6799|       |
 6800|      5|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (6800:10): [True: 5, False: 0]
  |  Branch (6800:38): [True: 3, False: 2]
  |  Branch (6800:51): [True: 0, False: 3]
  ------------------
 6801|      5|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (6801:10): [True: 0, False: 5]
  |  Branch (6801:38): [True: 0, False: 0]
  ------------------
 6802|      0|        error(loc, "not enough data provided for construction", "constructor", "");
 6803|      0|        return true;
 6804|      0|    }
 6805|       |
 6806|      5|    return false;
 6807|      5|}
_ZN7glslang16HlslParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 6831|     10|{
 6832|     10|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (6832:9): [True: 0, False: 10]
  ------------------
 6833|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 6834|      0|        return true;
 6835|      0|    }
 6836|       |
 6837|     10|    return false;
 6838|     10|}
_ZN7glslang16HlslParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolEb:
 6968|      9|{
 6969|      9|    if (symbol == nullptr) {
  ------------------
  |  Branch (6969:9): [True: 9, False: 0]
  ------------------
 6970|      9|        bool currentScope;
 6971|      9|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6972|       |
 6973|      9|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6973:13): [True: 0, False: 9]
  |  Branch (6973:23): [True: 0, False: 0]
  |  Branch (6973:50): [True: 0, False: 0]
  ------------------
 6974|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6975|      0|            return;
 6976|      0|        }
 6977|      9|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6977:13): [True: 9, False: 0]
  |  Branch (6977:34): [True: 0, False: 0]
  ------------------
 6978|       |            //
 6979|       |            // Successfully process a new definition.
 6980|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6981|       |            //
 6982|      9|            symbol = new TVariable(&identifier, type);
 6983|      9|            symbolTable.insert(*symbol);
 6984|      9|            if (track && symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6984:17): [True: 9, False: 0]
  |  Branch (6984:26): [True: 9, False: 0]
  ------------------
 6985|      9|                trackLinkage(*symbol);
 6986|       |
 6987|      9|            return;
 6988|      9|        }
 6989|      0|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6989:13): [True: 0, False: 0]
  ------------------
 6990|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6991|      0|            symbol = nullptr;
 6992|      0|            return;
 6993|      0|        }
 6994|      0|    }
 6995|       |
 6996|       |    //
 6997|       |    // Process a redeclaration.
 6998|       |    //
 6999|       |
 7000|      0|    if (symbol == nullptr) {
  ------------------
  |  Branch (7000:9): [True: 0, False: 0]
  ------------------
 7001|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 7002|      0|        return;
 7003|      0|    }
 7004|       |
 7005|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 7006|      0|    TType& existingType = symbol->getWritableType();
 7007|       |
 7008|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (7008:9): [True: 0, False: 0]
  ------------------
 7009|       |        // be more lenient for input arrays to geometry shaders and tessellation control outputs,
 7010|       |        // where the redeclaration is the same size
 7011|      0|        return;
 7012|      0|    }
 7013|       |
 7014|      0|    existingType.updateArraySizes(type);
 7015|      0|}
_ZN7glslang16HlslParseContext12fixConstInitERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeERPNS_12TIntermTypedE:
 7022|     10|{
 7023|       |    //
 7024|       |    // Make the qualifier make sense, given that there is an initializer.
 7025|       |    //
 7026|     10|    if (initializer == nullptr) {
  ------------------
  |  Branch (7026:9): [True: 10, False: 0]
  ------------------
 7027|     10|        if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (7027:13): [True: 0, False: 10]
  ------------------
 7028|     10|            type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (7028:13): [True: 0, False: 10]
  ------------------
 7029|      0|            initializer = intermediate.makeAggregate(loc);
 7030|      0|            warn(loc, "variable with qualifier 'const' not initialized; zero initializing", identifier.c_str(), "");
 7031|      0|        }
 7032|     10|    }
 7033|     10|}
_ZNK7glslang16HlslParseContext24indexStructBufferContentERKNS_10TSourceLocEPNS_12TIntermTypedE:
 7059|      4|{
 7060|       |    // Bail out if not a struct buffer
 7061|      4|    if (buffer == nullptr || ! isStructBufferType(buffer->getType()))
  ------------------
  |  Branch (7061:9): [True: 0, False: 4]
  |  Branch (7061:30): [True: 4, False: 0]
  ------------------
 7062|      4|        return nullptr;
 7063|       |
 7064|       |    // Runtime sized array is always the last element.
 7065|      0|    const TTypeList* bufferStruct = buffer->getType().getStruct();
 7066|      0|    TIntermTyped* arrayPosition = intermediate.addConstantUnion(unsigned(bufferStruct->size()-1), loc);
 7067|       |
 7068|      0|    TIntermTyped* argArray = intermediate.addIndex(EOpIndexDirectStruct, buffer, arrayPosition, loc);
 7069|      0|    argArray->setType(*(*bufferStruct)[bufferStruct->size()-1].type);
 7070|       |
 7071|      0|    return argArray;
 7072|      4|}
_ZNK7glslang16HlslParseContext26getStructBufferContentTypeERKNS_5TTypeE:
 7079|      4|{
 7080|      4|    if (type.getBasicType() != EbtBlock || type.getQualifier().storage != EvqBuffer)
  ------------------
  |  Branch (7080:9): [True: 4, False: 0]
  |  Branch (7080:44): [True: 0, False: 0]
  ------------------
 7081|      4|        return nullptr;
 7082|       |
 7083|      0|    const int memberCount = (int)type.getStruct()->size();
 7084|      0|    assert(memberCount > 0);
 7085|       |
 7086|      0|    TType* contentType = (*type.getStruct())[memberCount-1].type;
 7087|       |
 7088|      0|    return contentType->isUnsizedArray() ? contentType : nullptr;
  ------------------
  |  Branch (7088:12): [True: 0, False: 0]
  ------------------
 7089|      4|}
_ZN7glslang16HlslParseContext8paramFixERNS_5TTypeE:
 7148|  1.00M|{
 7149|  1.00M|    switch (type.getQualifier().storage) {
 7150|      0|    case EvqConst:
  ------------------
  |  Branch (7150:5): [True: 0, False: 1.00M]
  ------------------
 7151|      0|        type.getQualifier().storage = EvqConstReadOnly;
 7152|      0|        break;
 7153|      0|    case EvqGlobal:
  ------------------
  |  Branch (7153:5): [True: 0, False: 1.00M]
  ------------------
 7154|   909k|    case EvqTemporary:
  ------------------
  |  Branch (7154:5): [True: 909k, False: 97.5k]
  ------------------
 7155|   909k|        type.getQualifier().storage = EvqIn;
 7156|   909k|        break;
 7157|      0|    case EvqBuffer:
  ------------------
  |  Branch (7157:5): [True: 0, False: 1.00M]
  ------------------
 7158|      0|        {
 7159|       |            // SSBO parameter.  These do not go through the declareBlock path since they are fn parameters.
 7160|      0|            correctUniform(type.getQualifier());
 7161|      0|            TQualifier bufferQualifier = globalBufferDefaults;
 7162|      0|            mergeObjectLayoutQualifiers(bufferQualifier, type.getQualifier(), true);
 7163|      0|            bufferQualifier.storage = type.getQualifier().storage;
 7164|      0|            bufferQualifier.readonly = type.getQualifier().readonly;
 7165|      0|            bufferQualifier.coherent = type.getQualifier().coherent;
 7166|      0|            bufferQualifier.declaredBuiltIn = type.getQualifier().declaredBuiltIn;
 7167|      0|            type.getQualifier() = bufferQualifier;
 7168|      0|            break;
 7169|      0|        }
 7170|  97.5k|    default:
  ------------------
  |  Branch (7170:5): [True: 97.5k, False: 909k]
  ------------------
 7171|  97.5k|        break;
 7172|  1.00M|    }
 7173|  1.00M|}
_ZN7glslang16HlslParseContext14lookupUserTypeERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 8031|  1.04k|{
 8032|  1.04k|    TSymbol* symbol = symbolTable.find(typeName);
 8033|  1.04k|    if (symbol && symbol->getAsVariable() && symbol->getAsVariable()->isUserType()) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 1.04k]
  |  Branch (8033:19): [True: 0, False: 0]
  |  Branch (8033:46): [True: 0, False: 0]
  ------------------
 8034|      0|        type.shallowCopy(symbol->getType());
 8035|      0|        return symbol;
 8036|      0|    } else
 8037|  1.04k|        return nullptr;
 8038|  1.04k|}
_ZN7glslang16HlslParseContext15declareVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeEPNS_12TIntermTypedE:
 8053|     10|{
 8054|     10|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (8054:9): [True: 0, False: 10]
  ------------------
 8055|      0|        return nullptr;
 8056|       |
 8057|       |    // Global consts with initializers that are non-const act like EvqGlobal in HLSL.
 8058|       |    // This test is implicitly recursive, because initializers propagate constness
 8059|       |    // up the aggregate node tree during creation.  E.g, for:
 8060|       |    //    { { 1, 2 }, { 3, 4 } }
 8061|       |    // the initializer list is marked EvqConst at the top node, and remains so here.  However:
 8062|       |    //    { 1, { myvar, 2 }, 3 }
 8063|       |    // is not a const intializer, and still becomes EvqGlobal here.
 8064|       |
 8065|     10|    const bool nonConstInitializer = (initializer != nullptr && initializer->getQualifier().storage != EvqConst);
  ------------------
  |  Branch (8065:39): [True: 0, False: 10]
  |  Branch (8065:65): [True: 0, False: 0]
  ------------------
 8066|       |
 8067|     10|    if (type.getQualifier().storage == EvqConst && symbolTable.atGlobalLevel() && nonConstInitializer) {
  ------------------
  |  Branch (8067:9): [True: 0, False: 10]
  |  Branch (8067:52): [True: 0, False: 0]
  |  Branch (8067:83): [True: 0, False: 0]
  ------------------
 8068|       |        // Force to global
 8069|      0|        type.getQualifier().storage = EvqGlobal;
 8070|      0|    }
 8071|       |
 8072|       |    // make const and initialization consistent
 8073|     10|    fixConstInit(loc, identifier, type, initializer);
 8074|       |
 8075|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 8076|     10|    TSymbol* symbol = nullptr;
 8077|       |
 8078|     10|    inheritGlobalDefaults(type.getQualifier());
 8079|       |
 8080|     10|    const bool flattenVar = shouldFlatten(type, type.getQualifier().storage, true);
 8081|       |
 8082|       |    // correct IO in the type
 8083|     10|    switch (type.getQualifier().storage) {
 8084|      0|    case EvqGlobal:
  ------------------
  |  Branch (8084:5): [True: 0, False: 10]
  ------------------
 8085|      0|    case EvqTemporary:
  ------------------
  |  Branch (8085:5): [True: 0, False: 10]
  ------------------
 8086|      0|        clearUniformInputOutput(type.getQualifier());
 8087|      0|        break;
 8088|      9|    case EvqUniform:
  ------------------
  |  Branch (8088:5): [True: 9, False: 1]
  ------------------
 8089|      9|    case EvqBuffer:
  ------------------
  |  Branch (8089:5): [True: 0, False: 10]
  ------------------
 8090|      9|        correctUniform(type.getQualifier());
 8091|      9|        if (type.isStruct()) {
  ------------------
  |  Branch (8091:13): [True: 0, False: 9]
  ------------------
 8092|      0|            auto it = ioTypeMap.find(type.getStruct());
 8093|      0|            if (it != ioTypeMap.end())
  ------------------
  |  Branch (8093:17): [True: 0, False: 0]
  ------------------
 8094|      0|                type.setStruct(it->second.uniform);
 8095|      0|        }
 8096|       |
 8097|      9|        break;
 8098|      1|    default:
  ------------------
  |  Branch (8098:5): [True: 1, False: 9]
  ------------------
 8099|      1|        break;
 8100|     10|    }
 8101|       |
 8102|       |    // Declare the variable
 8103|     10|    if (type.isArray()) {
  ------------------
  |  Branch (8103:9): [True: 9, False: 1]
  ------------------
 8104|       |        // array case
 8105|      9|        declareArray(loc, identifier, type, symbol, !flattenVar);
 8106|      9|    } else {
 8107|       |        // non-array case
 8108|      1|        if (symbol == nullptr)
  ------------------
  |  Branch (8108:13): [True: 1, False: 0]
  ------------------
 8109|      1|            symbol = declareNonArray(loc, identifier, type, !flattenVar);
 8110|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (8110:18): [True: 0, False: 0]
  ------------------
 8111|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 8112|      1|    }
 8113|       |
 8114|     10|    if (symbol == nullptr)
  ------------------
  |  Branch (8114:9): [True: 0, False: 10]
  ------------------
 8115|      0|        return nullptr;
 8116|       |
 8117|     10|    if (flattenVar)
  ------------------
  |  Branch (8117:9): [True: 0, False: 10]
  ------------------
 8118|      0|        flatten(*symbol->getAsVariable(), symbolTable.atGlobalLevel());
 8119|       |
 8120|     10|    TVariable* variable = symbol->getAsVariable();
 8121|       |
 8122|     10|    if (initializer == nullptr) {
  ------------------
  |  Branch (8122:9): [True: 10, False: 0]
  ------------------
 8123|     10|        if (intermediate.getDebugInfo())
  ------------------
  |  Branch (8123:13): [True: 0, False: 10]
  ------------------
 8124|      0|            return executeDeclaration(loc, variable);
 8125|     10|        else
 8126|     10|            return nullptr;
 8127|     10|    }
 8128|       |
 8129|       |    // Deal with initializer
 8130|      0|    if (variable == nullptr) {
  ------------------
  |  Branch (8130:9): [True: 0, False: 0]
  ------------------
 8131|      0|        error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 8132|      0|        return nullptr;
 8133|      0|    }
 8134|      0|    return executeInitializer(loc, initializer, variable);
 8135|      0|}
_ZNK7glslang16HlslParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
 8139|     10|{
 8140|     10|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (8140:9): [True: 0, False: 10]
  ------------------
 8141|      0|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (8141:13): [True: 0, False: 0]
  |  Branch (8141:34): [True: 0, False: 0]
  ------------------
 8142|      0|            dst.layoutStream = globalOutputDefaults.layoutStream;
 8143|      0|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (8143:13): [True: 0, False: 0]
  ------------------
 8144|      0|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
 8145|      0|    }
 8146|     10|}
_ZN7glslang16HlslParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeEb:
 8181|      1|{
 8182|       |    // make a new variable
 8183|      1|    TVariable* variable = new TVariable(&identifier, type);
 8184|       |
 8185|       |    // add variable to symbol table
 8186|      1|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (8186:9): [True: 1, False: 0]
  ------------------
 8187|      1|        if (track && symbolTable.atGlobalLevel())
  ------------------
  |  Branch (8187:13): [True: 1, False: 0]
  |  Branch (8187:22): [True: 1, False: 0]
  ------------------
 8188|      1|            trackLinkage(*variable);
 8189|      1|        return variable;
 8190|      1|    }
 8191|       |
 8192|      0|    error(loc, "redefinition", variable->getName().c_str(), "");
 8193|      0|    return nullptr;
 8194|      1|}
_ZN7glslang16HlslParseContext17handleConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8487|      5|{
 8488|      5|    if (node == nullptr)
  ------------------
  |  Branch (8488:9): [True: 0, False: 5]
  ------------------
 8489|      0|        return nullptr;
 8490|       |
 8491|       |    // Construct identical type
 8492|      5|    if (type == node->getType())
  ------------------
  |  Branch (8492:9): [True: 2, False: 3]
  ------------------
 8493|      2|        return node;
 8494|       |
 8495|       |    // Handle the idiom "(struct type)<scalar value>"
 8496|      3|    if (type.isStruct() && isScalarConstructor(node)) {
  ------------------
  |  Branch (8496:9): [True: 0, False: 3]
  |  Branch (8496:28): [True: 0, False: 0]
  ------------------
 8497|       |        // 'node' will almost always get used multiple times, so should not be used directly,
 8498|       |        // it would create a DAG instead of a tree, which might be okay (would
 8499|       |        // like to formalize that for constants and symbols), but if it has
 8500|       |        // side effects, they would get executed multiple times, which is not okay.
 8501|      0|        if (node->getAsConstantUnion() == nullptr && node->getAsSymbolNode() == nullptr) {
  ------------------
  |  Branch (8501:13): [True: 0, False: 0]
  |  Branch (8501:54): [True: 0, False: 0]
  ------------------
 8502|      0|            TIntermAggregate* seq = intermediate.makeAggregate(loc);
 8503|      0|            TIntermSymbol* copy = makeInternalVariableNode(loc, "scalarCopy", node->getType());
 8504|      0|            seq = intermediate.growAggregate(seq, intermediate.addBinaryNode(EOpAssign, copy, node, loc));
 8505|      0|            seq = intermediate.growAggregate(seq, convertInitializerList(loc, type, intermediate.makeAggregate(loc), copy));
 8506|      0|            seq->setOp(EOpComma);
 8507|      0|            seq->setType(type);
 8508|      0|            return seq;
 8509|      0|        } else
 8510|      0|            return convertInitializerList(loc, type, intermediate.makeAggregate(loc), node);
 8511|      0|    }
 8512|       |
 8513|      3|    return addConstructor(loc, node, type);
 8514|      3|}
_ZN7glslang16HlslParseContext14addConstructorERKNS_10TSourceLocEPNS_12TIntermTypedERKNS_5TTypeE:
 8525|      6|{
 8526|      6|    TIntermAggregate* aggrNode = node->getAsAggregate();
 8527|      6|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 8528|       |
 8529|      6|    if (op == EOpConstructTextureSampler)
  ------------------
  |  Branch (8529:9): [True: 0, False: 6]
  ------------------
 8530|      0|        return intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8531|       |
 8532|      6|    TTypeList::const_iterator memberTypes;
 8533|      6|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (8533:9): [True: 0, False: 6]
  ------------------
 8534|      0|        memberTypes = type.getStruct()->begin();
 8535|       |
 8536|      6|    TType elementType;
 8537|      6|    if (type.isArray()) {
  ------------------
  |  Branch (8537:9): [True: 0, False: 6]
  ------------------
 8538|      0|        TType dereferenced(type, 0);
 8539|      0|        elementType.shallowCopy(dereferenced);
 8540|      0|    } else
 8541|      6|        elementType.shallowCopy(type);
 8542|       |
 8543|      6|    bool singleArg;
 8544|      6|    if (aggrNode != nullptr) {
  ------------------
  |  Branch (8544:9): [True: 0, False: 6]
  ------------------
 8545|      0|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (8545:13): [True: 0, False: 0]
  ------------------
 8546|      0|            singleArg = true;
 8547|      0|        else
 8548|      0|            singleArg = false;
 8549|      0|    } else
 8550|      6|        singleArg = true;
 8551|       |
 8552|      6|    TIntermTyped *newNode;
 8553|      6|    if (singleArg) {
  ------------------
  |  Branch (8553:9): [True: 6, False: 0]
  ------------------
 8554|       |        // Handle array -> array conversion
 8555|       |        // Constructing an array of one type from an array of another type is allowed,
 8556|       |        // assuming there are enough components available (semantic-checked earlier).
 8557|      6|        if (type.isArray() && node->isArray())
  ------------------
  |  Branch (8557:13): [True: 0, False: 6]
  |  Branch (8557:31): [True: 0, False: 0]
  ------------------
 8558|      0|            newNode = convertArray(node, type);
 8559|       |
 8560|       |        // If structure constructor or array constructor is being called
 8561|       |        // for only one parameter inside the aggregate, we need to call constructAggregate function once.
 8562|      6|        else if (type.isArray())
  ------------------
  |  Branch (8562:18): [True: 0, False: 6]
  ------------------
 8563|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
 8564|      6|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8564:18): [True: 0, False: 6]
  ------------------
 8565|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
 8566|      6|        else {
 8567|       |            // shape conversion for matrix constructor from scalar.  HLSL semantics are: scalar
 8568|       |            // is replicated into every element of the matrix (not just the diagnonal), so
 8569|       |            // that is handled specially here.
 8570|      6|            if (type.isMatrix() && node->getType().isScalarOrVec1())
  ------------------
  |  Branch (8570:17): [True: 0, False: 6]
  |  Branch (8570:36): [True: 0, False: 0]
  ------------------
 8571|      0|                node = intermediate.addShapeConversion(type, node);
 8572|       |
 8573|      6|            newNode = constructBuiltIn(type, op, node, node->getLoc(), false);
 8574|      6|        }
 8575|       |
 8576|      6|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (8576:13): [True: 6, False: 0]
  |  Branch (8576:25): [True: 0, False: 6]
  |  Branch (8576:43): [True: 0, False: 6]
  ------------------
 8577|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
 8578|       |
 8579|      6|        return newNode;
 8580|      6|    }
 8581|       |
 8582|       |    //
 8583|       |    // Handle list of arguments.
 8584|       |    //
 8585|      0|    TIntermSequence& sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
 8586|       |    // if the structure constructor contains more than one parameter, then construct
 8587|       |    // each parameter
 8588|       |
 8589|      0|    int paramCount = 0;  // keeps a track of the constructor parameter number being checked
 8590|       |
 8591|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
 8592|       |    // to the right type if possible (and allowed).
 8593|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
 8594|       |
 8595|      0|    for (TIntermSequence::iterator p = sequenceVector.begin();
 8596|      0|        p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (8596:9): [True: 0, False: 0]
  ------------------
 8597|      0|        if (type.isArray())
  ------------------
  |  Branch (8597:13): [True: 0, False: 0]
  ------------------
 8598|      0|            newNode = constructAggregate(*p, elementType, paramCount + 1, node->getLoc());
 8599|      0|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (8599:18): [True: 0, False: 0]
  ------------------
 8600|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount + 1, node->getLoc());
 8601|      0|        else
 8602|      0|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
 8603|       |
 8604|      0|        if (newNode)
  ------------------
  |  Branch (8604:13): [True: 0, False: 0]
  ------------------
 8605|      0|            *p = newNode;
 8606|      0|        else
 8607|      0|            return nullptr;
 8608|      0|    }
 8609|       |
 8610|      0|    TIntermTyped* constructor = intermediate.setAggregateOperator(aggrNode, op, type, loc);
 8611|       |
 8612|      0|    return constructor;
 8613|      0|}
_ZN7glslang16HlslParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
 8624|      6|{
 8625|      6|    TIntermTyped* newNode;
 8626|      6|    TOperator basicOp;
 8627|       |
 8628|       |    //
 8629|       |    // First, convert types as needed.
 8630|       |    //
 8631|      6|    switch (op) {
 8632|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (8632:5): [True: 0, False: 6]
  ------------------
 8633|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (8633:5): [True: 0, False: 6]
  ------------------
 8634|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (8634:5): [True: 0, False: 6]
  ------------------
 8635|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (8635:5): [True: 0, False: 6]
  ------------------
 8636|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (8636:5): [True: 0, False: 6]
  ------------------
 8637|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (8637:5): [True: 0, False: 6]
  ------------------
 8638|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (8638:5): [True: 0, False: 6]
  ------------------
 8639|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (8639:5): [True: 0, False: 6]
  ------------------
 8640|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (8640:5): [True: 0, False: 6]
  ------------------
 8641|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (8641:5): [True: 0, False: 6]
  ------------------
 8642|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (8642:5): [True: 0, False: 6]
  ------------------
 8643|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (8643:5): [True: 0, False: 6]
  ------------------
 8644|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (8644:5): [True: 0, False: 6]
  ------------------
 8645|      0|        basicOp = EOpConstructFloat16;
 8646|      0|        break;
 8647|       |
 8648|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (8648:5): [True: 0, False: 6]
  ------------------
 8649|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (8649:5): [True: 0, False: 6]
  ------------------
 8650|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (8650:5): [True: 0, False: 6]
  ------------------
 8651|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (8651:5): [True: 0, False: 6]
  ------------------
 8652|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (8652:5): [True: 0, False: 6]
  ------------------
 8653|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (8653:5): [True: 0, False: 6]
  ------------------
 8654|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (8654:5): [True: 0, False: 6]
  ------------------
 8655|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (8655:5): [True: 0, False: 6]
  ------------------
 8656|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (8656:5): [True: 0, False: 6]
  ------------------
 8657|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (8657:5): [True: 0, False: 6]
  ------------------
 8658|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (8658:5): [True: 0, False: 6]
  ------------------
 8659|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (8659:5): [True: 0, False: 6]
  ------------------
 8660|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (8660:5): [True: 0, False: 6]
  ------------------
 8661|      0|        basicOp = EOpConstructFloat;
 8662|      0|        break;
 8663|       |
 8664|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (8664:5): [True: 0, False: 6]
  ------------------
 8665|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (8665:5): [True: 0, False: 6]
  ------------------
 8666|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (8666:5): [True: 0, False: 6]
  ------------------
 8667|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (8667:5): [True: 0, False: 6]
  ------------------
 8668|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (8668:5): [True: 0, False: 6]
  ------------------
 8669|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (8669:5): [True: 0, False: 6]
  ------------------
 8670|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (8670:5): [True: 0, False: 6]
  ------------------
 8671|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (8671:5): [True: 0, False: 6]
  ------------------
 8672|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (8672:5): [True: 0, False: 6]
  ------------------
 8673|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (8673:5): [True: 0, False: 6]
  ------------------
 8674|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (8674:5): [True: 0, False: 6]
  ------------------
 8675|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (8675:5): [True: 0, False: 6]
  ------------------
 8676|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (8676:5): [True: 0, False: 6]
  ------------------
 8677|      0|        basicOp = EOpConstructDouble;
 8678|      0|        break;
 8679|       |
 8680|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (8680:5): [True: 0, False: 6]
  ------------------
 8681|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (8681:5): [True: 0, False: 6]
  ------------------
 8682|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (8682:5): [True: 0, False: 6]
  ------------------
 8683|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (8683:5): [True: 0, False: 6]
  ------------------
 8684|      0|        basicOp = EOpConstructInt16;
 8685|      0|        break;
 8686|       |
 8687|      3|    case EOpConstructIVec2:
  ------------------
  |  Branch (8687:5): [True: 3, False: 3]
  ------------------
 8688|      3|    case EOpConstructIVec3:
  ------------------
  |  Branch (8688:5): [True: 0, False: 6]
  ------------------
 8689|      3|    case EOpConstructIVec4:
  ------------------
  |  Branch (8689:5): [True: 0, False: 6]
  ------------------
 8690|      3|    case EOpConstructIMat2x2:
  ------------------
  |  Branch (8690:5): [True: 0, False: 6]
  ------------------
 8691|      3|    case EOpConstructIMat2x3:
  ------------------
  |  Branch (8691:5): [True: 0, False: 6]
  ------------------
 8692|      3|    case EOpConstructIMat2x4:
  ------------------
  |  Branch (8692:5): [True: 0, False: 6]
  ------------------
 8693|      3|    case EOpConstructIMat3x2:
  ------------------
  |  Branch (8693:5): [True: 0, False: 6]
  ------------------
 8694|      3|    case EOpConstructIMat3x3:
  ------------------
  |  Branch (8694:5): [True: 0, False: 6]
  ------------------
 8695|      3|    case EOpConstructIMat3x4:
  ------------------
  |  Branch (8695:5): [True: 0, False: 6]
  ------------------
 8696|      3|    case EOpConstructIMat4x2:
  ------------------
  |  Branch (8696:5): [True: 0, False: 6]
  ------------------
 8697|      3|    case EOpConstructIMat4x3:
  ------------------
  |  Branch (8697:5): [True: 0, False: 6]
  ------------------
 8698|      3|    case EOpConstructIMat4x4:
  ------------------
  |  Branch (8698:5): [True: 0, False: 6]
  ------------------
 8699|      6|    case EOpConstructInt:
  ------------------
  |  Branch (8699:5): [True: 3, False: 3]
  ------------------
 8700|      6|        basicOp = EOpConstructInt;
 8701|      6|        break;
 8702|       |
 8703|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (8703:5): [True: 0, False: 6]
  ------------------
 8704|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (8704:5): [True: 0, False: 6]
  ------------------
 8705|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (8705:5): [True: 0, False: 6]
  ------------------
 8706|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (8706:5): [True: 0, False: 6]
  ------------------
 8707|      0|        basicOp = EOpConstructUint16;
 8708|      0|        break;
 8709|       |
 8710|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (8710:5): [True: 0, False: 6]
  ------------------
 8711|      0|    case EOpConstructUVec3:
  ------------------
  |  Branch (8711:5): [True: 0, False: 6]
  ------------------
 8712|      0|    case EOpConstructUVec4:
  ------------------
  |  Branch (8712:5): [True: 0, False: 6]
  ------------------
 8713|      0|    case EOpConstructUMat2x2:
  ------------------
  |  Branch (8713:5): [True: 0, False: 6]
  ------------------
 8714|      0|    case EOpConstructUMat2x3:
  ------------------
  |  Branch (8714:5): [True: 0, False: 6]
  ------------------
 8715|      0|    case EOpConstructUMat2x4:
  ------------------
  |  Branch (8715:5): [True: 0, False: 6]
  ------------------
 8716|      0|    case EOpConstructUMat3x2:
  ------------------
  |  Branch (8716:5): [True: 0, False: 6]
  ------------------
 8717|      0|    case EOpConstructUMat3x3:
  ------------------
  |  Branch (8717:5): [True: 0, False: 6]
  ------------------
 8718|      0|    case EOpConstructUMat3x4:
  ------------------
  |  Branch (8718:5): [True: 0, False: 6]
  ------------------
 8719|      0|    case EOpConstructUMat4x2:
  ------------------
  |  Branch (8719:5): [True: 0, False: 6]
  ------------------
 8720|      0|    case EOpConstructUMat4x3:
  ------------------
  |  Branch (8720:5): [True: 0, False: 6]
  ------------------
 8721|      0|    case EOpConstructUMat4x4:
  ------------------
  |  Branch (8721:5): [True: 0, False: 6]
  ------------------
 8722|      0|    case EOpConstructUint:
  ------------------
  |  Branch (8722:5): [True: 0, False: 6]
  ------------------
 8723|      0|        basicOp = EOpConstructUint;
 8724|      0|        break;
 8725|       |
 8726|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (8726:5): [True: 0, False: 6]
  ------------------
 8727|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (8727:5): [True: 0, False: 6]
  ------------------
 8728|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (8728:5): [True: 0, False: 6]
  ------------------
 8729|      0|    case EOpConstructBMat2x2:
  ------------------
  |  Branch (8729:5): [True: 0, False: 6]
  ------------------
 8730|      0|    case EOpConstructBMat2x3:
  ------------------
  |  Branch (8730:5): [True: 0, False: 6]
  ------------------
 8731|      0|    case EOpConstructBMat2x4:
  ------------------
  |  Branch (8731:5): [True: 0, False: 6]
  ------------------
 8732|      0|    case EOpConstructBMat3x2:
  ------------------
  |  Branch (8732:5): [True: 0, False: 6]
  ------------------
 8733|      0|    case EOpConstructBMat3x3:
  ------------------
  |  Branch (8733:5): [True: 0, False: 6]
  ------------------
 8734|      0|    case EOpConstructBMat3x4:
  ------------------
  |  Branch (8734:5): [True: 0, False: 6]
  ------------------
 8735|      0|    case EOpConstructBMat4x2:
  ------------------
  |  Branch (8735:5): [True: 0, False: 6]
  ------------------
 8736|      0|    case EOpConstructBMat4x3:
  ------------------
  |  Branch (8736:5): [True: 0, False: 6]
  ------------------
 8737|      0|    case EOpConstructBMat4x4:
  ------------------
  |  Branch (8737:5): [True: 0, False: 6]
  ------------------
 8738|      0|    case EOpConstructBool:
  ------------------
  |  Branch (8738:5): [True: 0, False: 6]
  ------------------
 8739|      0|        basicOp = EOpConstructBool;
 8740|      0|        break;
 8741|       |
 8742|      0|    default:
  ------------------
  |  Branch (8742:5): [True: 0, False: 6]
  ------------------
 8743|      0|        error(loc, "unsupported construction", "", "");
 8744|       |
 8745|      0|        return nullptr;
 8746|      6|    }
 8747|      6|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
 8748|      6|    if (newNode == nullptr) {
  ------------------
  |  Branch (8748:9): [True: 0, False: 6]
  ------------------
 8749|      0|        error(loc, "can't convert", "constructor", "");
 8750|      0|        return nullptr;
 8751|      0|    }
 8752|       |
 8753|       |    //
 8754|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
 8755|       |    //
 8756|       |
 8757|       |    // Otherwise, skip out early.
 8758|      6|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (8758:9): [True: 0, False: 6]
  |  Branch (8758:20): [True: 3, False: 3]
  |  Branch (8758:39): [True: 0, False: 3]
  ------------------
 8759|      0|        return newNode;
 8760|       |
 8761|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
 8762|      6|    return intermediate.setAggregateOperator(newNode, op, type, loc);
 8763|      6|}
_ZN7glslang16HlslParseContext19handleInputGeometryERKNS_10TSourceLocERKNS_15TLayoutGeometryE:
 9204|      1|{
 9205|       |    // these can be declared on non-entry-points, in which case they lose their meaning
 9206|      1|    if (! parsingEntrypointParameters)
  ------------------
  |  Branch (9206:9): [True: 1, False: 0]
  ------------------
 9207|      1|        return true;
 9208|       |
 9209|      0|    switch (geometry) {
 9210|      0|    case ElgPoints:             // fall through
  ------------------
  |  Branch (9210:5): [True: 0, False: 0]
  ------------------
 9211|      0|    case ElgLines:              // ...
  ------------------
  |  Branch (9211:5): [True: 0, False: 0]
  ------------------
 9212|      0|    case ElgTriangles:          // ...
  ------------------
  |  Branch (9212:5): [True: 0, False: 0]
  ------------------
 9213|      0|    case ElgLinesAdjacency:     // ...
  ------------------
  |  Branch (9213:5): [True: 0, False: 0]
  ------------------
 9214|      0|    case ElgTrianglesAdjacency: // ...
  ------------------
  |  Branch (9214:5): [True: 0, False: 0]
  ------------------
 9215|      0|        if (! intermediate.setInputPrimitive(geometry)) {
  ------------------
  |  Branch (9215:13): [True: 0, False: 0]
  ------------------
 9216|      0|            error(loc, "input primitive geometry redefinition", TQualifier::getGeometryString(geometry), "");
 9217|      0|            return false;
 9218|      0|        }
 9219|      0|        break;
 9220|       |
 9221|      0|    default:
  ------------------
  |  Branch (9221:5): [True: 0, False: 0]
  ------------------
 9222|      0|        error(loc, "cannot apply to 'in'", TQualifier::getGeometryString(geometry), "");
 9223|      0|        return false;
 9224|      0|    }
 9225|       |
 9226|      0|    return true;
 9227|      0|}
_ZNK7glslang16HlslParseContext20getFullNamespaceNameERPNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 9555|   448k|{
 9556|   448k|    if (currentTypePrefix.size() == 0)
  ------------------
  |  Branch (9556:9): [True: 448k, False: 0]
  ------------------
 9557|   448k|        return;
 9558|       |
 9559|      0|    TString* fullName = NewPoolTString(currentTypePrefix.back().c_str());
 9560|      0|    fullName->append(*name);
 9561|      0|    name = fullName;
 9562|      0|}
_ZN7glslang16HlslParseContext14correctUniformERNS_10TQualifierE:
 9765|      9|{
 9766|      9|    if (qualifier.declaredBuiltIn == EbvNone)
  ------------------
  |  Branch (9766:9): [True: 9, False: 0]
  ------------------
 9767|      9|        qualifier.declaredBuiltIn = qualifier.builtIn;
 9768|       |
 9769|      9|    qualifier.builtIn = EbvNone;
 9770|      9|    qualifier.clearInterstage();
 9771|      9|    qualifier.clearInterstageLayout();
 9772|      9|}
_ZN7glslang16HlslParseContext20setTextureReturnTypeERNS_8TSamplerERKNS_5TTypeERKNS_10TSourceLocE:
 9784|  91.0k|{
 9785|       |    // Seed the output with an invalid index.  We will set it to a valid one if we can.
 9786|  91.0k|    sampler.structReturnIndex = TSampler::noReturnStruct;
 9787|       |
 9788|       |    // Arrays aren't supported.
 9789|  91.0k|    if (retType.isArray()) {
  ------------------
  |  Branch (9789:9): [True: 0, False: 91.0k]
  ------------------
 9790|      0|        error(loc, "Arrays not supported in texture template types", "", "");
 9791|      0|        return false;
 9792|      0|    }
 9793|       |
 9794|       |    // If return type is a vector, remember the vector size in the sampler, and return.
 9795|  91.0k|    if (retType.isVector() || retType.isScalar()) {
  ------------------
  |  Branch (9795:9): [True: 91.0k, False: 0]
  |  Branch (9795:31): [True: 0, False: 0]
  ------------------
 9796|  91.0k|        sampler.vectorSize = retType.getVectorSize();
 9797|  91.0k|        return true;
 9798|  91.0k|    }
 9799|       |
 9800|       |    // If it wasn't a vector, it must be a struct meeting certain requirements.  The requirements
 9801|       |    // are checked below: just check for struct-ness here.
 9802|      0|    if (!retType.isStruct()) {
  ------------------
  |  Branch (9802:9): [True: 0, False: 0]
  ------------------
 9803|      0|        error(loc, "Invalid texture template type", "", "");
 9804|      0|        return false;
 9805|      0|    }
 9806|       |
 9807|       |    // TODO: Subpass doesn't handle struct returns, due to some oddities with fn overloading.
 9808|      0|    if (sampler.isSubpass()) {
  ------------------
  |  Branch (9808:9): [True: 0, False: 0]
  ------------------
 9809|      0|        error(loc, "Unimplemented: structure template type in subpass input", "", "");
 9810|      0|        return false;
 9811|      0|    }
 9812|       |
 9813|      0|    TTypeList* members = retType.getWritableStruct();
 9814|       |
 9815|       |    // Check for too many or not enough structure members.
 9816|      0|    if (members->size() > 4 || members->size() == 0) {
  ------------------
  |  Branch (9816:9): [True: 0, False: 0]
  |  Branch (9816:32): [True: 0, False: 0]
  ------------------
 9817|      0|        error(loc, "Invalid member count in texture template structure", "", "");
 9818|      0|        return false;
 9819|      0|    }
 9820|       |
 9821|       |    // Error checking: We must have <= 4 total components, all of the same basic type.
 9822|      0|    unsigned totalComponents = 0;
 9823|      0|    for (unsigned m = 0; m < members->size(); ++m) {
  ------------------
  |  Branch (9823:26): [True: 0, False: 0]
  ------------------
 9824|       |        // Check for bad member types
 9825|      0|        if (!(*members)[m].type->isScalar() && !(*members)[m].type->isVector()) {
  ------------------
  |  Branch (9825:13): [True: 0, False: 0]
  |  Branch (9825:48): [True: 0, False: 0]
  ------------------
 9826|      0|            error(loc, "Invalid texture template struct member type", "", "");
 9827|      0|            return false;
 9828|      0|        }
 9829|       |
 9830|      0|        const unsigned memberVectorSize = (*members)[m].type->getVectorSize();
 9831|      0|        totalComponents += memberVectorSize;
 9832|       |
 9833|       |        // too many total member components
 9834|      0|        if (totalComponents > 4) {
  ------------------
  |  Branch (9834:13): [True: 0, False: 0]
  ------------------
 9835|      0|            error(loc, "Too many components in texture template structure type", "", "");
 9836|      0|            return false;
 9837|      0|        }
 9838|       |
 9839|       |        // All members must be of a common basic type
 9840|      0|        if ((*members)[m].type->getBasicType() != (*members)[0].type->getBasicType()) {
  ------------------
  |  Branch (9840:13): [True: 0, False: 0]
  ------------------
 9841|      0|            error(loc, "Texture template structure members must same basic type", "", "");
 9842|      0|            return false;
 9843|      0|        }
 9844|      0|    }
 9845|       |
 9846|       |    // If the structure in the return type already exists in the table, we'll use it.  Otherwise, we'll make
 9847|       |    // a new entry.  This is a linear search, but it hardly ever happens, and the list cannot be very large.
 9848|      0|    for (unsigned int idx = 0; idx < textureReturnStruct.size(); ++idx) {
  ------------------
  |  Branch (9848:32): [True: 0, False: 0]
  ------------------
 9849|      0|        if (textureReturnStruct[idx] == members) {
  ------------------
  |  Branch (9849:13): [True: 0, False: 0]
  ------------------
 9850|      0|            sampler.structReturnIndex = idx;
 9851|      0|            return true;
 9852|      0|        }
 9853|      0|    }
 9854|       |
 9855|       |    // It wasn't found as an existing entry.  See if we have room for a new one.
 9856|      0|    if (textureReturnStruct.size() >= TSampler::structReturnSlots) {
  ------------------
  |  Branch (9856:9): [True: 0, False: 0]
  ------------------
 9857|      0|        error(loc, "Texture template struct return slots exceeded", "", "");
 9858|      0|        return false;
 9859|      0|    }
 9860|       |
 9861|       |    // Insert it in the vector that tracks struct return types.
 9862|      0|    sampler.structReturnIndex = unsigned(textureReturnStruct.size());
 9863|      0|    textureReturnStruct.push_back(members);
 9864|       |
 9865|       |    // Success!
 9866|      0|    return true;
 9867|      0|}
_ZN7glslang16HlslParseContext26addPatchConstantInvocationEv:
 9933|    191|{
 9934|    191|    TSourceLoc loc;
 9935|    191|    loc.init();
 9936|       |
 9937|       |    // If there's no patch constant function, or we're not a HS, do nothing.
 9938|    191|    if (patchConstantFunctionName.empty() || language != EShLangTessControl)
  ------------------
  |  Branch (9938:9): [True: 191, False: 0]
  |  Branch (9938:46): [True: 0, False: 0]
  ------------------
 9939|    191|        return;
 9940|       |
 9941|       |    // Look for built-in variables in a function's parameter list.
 9942|      0|    const auto findBuiltIns = [&](const TFunction& function, std::set<tInterstageIoData>& builtIns) {
 9943|      0|        for (int p=0; p<function.getParamCount(); ++p) {
 9944|      0|            TStorageQualifier storage = function[p].type->getQualifier().storage;
 9945|       |
 9946|      0|            if (storage == EvqConstReadOnly) // treated identically to input
 9947|      0|                storage = EvqIn;
 9948|       |
 9949|      0|            if (function[p].getDeclaredBuiltIn() != EbvNone)
 9950|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].getDeclaredBuiltIn(), storage));
 9951|      0|            else
 9952|      0|                builtIns.insert(HlslParseContext::tInterstageIoData(function[p].type->getQualifier().builtIn, storage));
 9953|      0|        }
 9954|      0|    };
 9955|       |
 9956|       |    // If we synthesize a built-in interface variable, we must add it to the linkage.
 9957|      0|    const auto addToLinkage = [&](const TType& type, const TString* name, TIntermSymbol** symbolNode) {
 9958|      0|        if (name == nullptr) {
 9959|      0|            error(loc, "unable to locate patch function parameter name", "", "");
 9960|      0|            return;
 9961|      0|        } else {
 9962|      0|            TVariable& variable = *new TVariable(name, type);
 9963|      0|            if (! symbolTable.insert(variable)) {
 9964|      0|                error(loc, "unable to declare patch constant function interface variable", name->c_str(), "");
 9965|      0|                return;
 9966|      0|            }
 9967|       |
 9968|      0|            globalQualifierFix(loc, variable.getWritableType().getQualifier());
 9969|       |
 9970|      0|            if (symbolNode != nullptr)
 9971|      0|                *symbolNode = intermediate.addSymbol(variable);
 9972|       |
 9973|      0|            trackLinkage(variable);
 9974|      0|        }
 9975|      0|    };
 9976|       |
 9977|      0|    const auto isOutputPatch = [](TFunction& patchConstantFunction, int param) {
 9978|      0|        const TType& type = *patchConstantFunction[param].type;
 9979|      0|        const TBuiltInVariable biType = patchConstantFunction[param].getDeclaredBuiltIn();
 9980|       |
 9981|      0|        return type.isSizedArray() && biType == EbvOutputPatch;
 9982|      0|    };
 9983|       |
 9984|       |    // We will perform these steps.  Each is in a scoped block for separation: they could
 9985|       |    // become separate functions to make addPatchConstantInvocation shorter.
 9986|       |    //
 9987|       |    // 1. Union the interfaces, and create built-ins for anything present in the PCF and
 9988|       |    //    declared as a built-in variable that isn't present in the entry point's signature.
 9989|       |    //
 9990|       |    // 2. Synthesizes a call to the patchconstfunction using built-in variables from either main,
 9991|       |    //    or the ones we created.  Matching is based on built-in type.  We may use synthesized
 9992|       |    //    variables from (1) above.
 9993|       |    //
 9994|       |    // 2B: Synthesize per control point invocations of wrapped entry point if the PCF requires them.
 9995|       |    //
 9996|       |    // 3. Create a return sequence: copy the return value (if any) from the PCF to a
 9997|       |    //    (non-sanitized) output variable.  In case this may involve multiple copies, such as for
 9998|       |    //    an arrayed variable, a temporary copy of the PCF output is created to avoid multiple
 9999|       |    //    indirections into a complex R-value coming from the call to the PCF.
10000|       |    //
10001|       |    // 4. Create a barrier.
10002|       |    //
10003|       |    // 5/5B. Call the PCF inside an if test for (invocation id == 0).
10004|       |
10005|      0|    TFunction* patchConstantFunctionPtr = const_cast<TFunction*>(findPatchConstantFunction(loc));
10006|       |
10007|      0|    if (patchConstantFunctionPtr == nullptr)
  ------------------
  |  Branch (10007:9): [True: 0, False: 0]
  ------------------
10008|      0|        return;
10009|       |
10010|      0|    TFunction& patchConstantFunction = *patchConstantFunctionPtr;
10011|       |
10012|      0|    const int pcfParamCount = patchConstantFunction.getParamCount();
10013|      0|    TIntermSymbol* invocationIdSym = findTessLinkageSymbol(EbvInvocationId);
10014|      0|    TIntermSequence& epBodySeq = entryPointFunctionBody->getAsAggregate()->getSequence();
10015|       |
10016|      0|    int outPatchParam = -1; // -1 means there isn't one.
10017|       |
10018|       |    // ================ Step 1A: Union Interfaces ================
10019|       |    // Our patch constant function.
10020|      0|    {
10021|      0|        std::set<tInterstageIoData> pcfBuiltIns;  // patch constant function built-ins
10022|      0|        std::set<tInterstageIoData> epfBuiltIns;  // entry point function built-ins
10023|       |
10024|      0|        assert(entryPointFunction);
10025|      0|        assert(entryPointFunctionBody);
10026|       |
10027|      0|        findBuiltIns(patchConstantFunction, pcfBuiltIns);
10028|      0|        findBuiltIns(*entryPointFunction,   epfBuiltIns);
10029|       |
10030|       |        // Find the set of built-ins in the PCF that are not present in the entry point.
10031|      0|        std::set<tInterstageIoData> notInEntryPoint;
10032|       |
10033|      0|        notInEntryPoint = pcfBuiltIns;
10034|       |
10035|       |        // std::set_difference not usable on unordered containers
10036|      0|        for (auto bi = epfBuiltIns.begin(); bi != epfBuiltIns.end(); ++bi)
  ------------------
  |  Branch (10036:45): [True: 0, False: 0]
  ------------------
10037|      0|            notInEntryPoint.erase(*bi);
10038|       |
10039|       |        // Now we'll add those to the entry and to the linkage.
10040|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10040:23): [True: 0, False: 0]
  ------------------
10041|      0|            const TBuiltInVariable biType   = patchConstantFunction[p].getDeclaredBuiltIn();
10042|      0|            TStorageQualifier storage = patchConstantFunction[p].type->getQualifier().storage;
10043|       |
10044|       |            // Track whether there is an output patch param
10045|      0|            if (isOutputPatch(patchConstantFunction, p)) {
  ------------------
  |  Branch (10045:17): [True: 0, False: 0]
  ------------------
10046|      0|                if (outPatchParam >= 0) {
  ------------------
  |  Branch (10046:21): [True: 0, False: 0]
  ------------------
10047|       |                    // Presently we only support one per ctrl pt input.
10048|      0|                    error(loc, "unimplemented: multiple output patches in patch constant function", "", "");
10049|      0|                    return;
10050|      0|                }
10051|      0|                outPatchParam = p;
10052|      0|            }
10053|       |
10054|      0|            if (biType != EbvNone) {
  ------------------
  |  Branch (10054:17): [True: 0, False: 0]
  ------------------
10055|      0|                TType* paramType = patchConstantFunction[p].type->clone();
10056|       |
10057|      0|                if (storage == EvqConstReadOnly) // treated identically to input
  ------------------
  |  Branch (10057:21): [True: 0, False: 0]
  ------------------
10058|      0|                    storage = EvqIn;
10059|       |
10060|       |                // Presently, the only non-built-in we support is InputPatch, which is treated as
10061|       |                // a pseudo-built-in.
10062|      0|                if (biType == EbvInputPatch) {
  ------------------
  |  Branch (10062:21): [True: 0, False: 0]
  ------------------
10063|      0|                    builtInTessLinkageSymbols[biType] = inputPatch;
10064|      0|                } else if (biType == EbvOutputPatch) {
  ------------------
  |  Branch (10064:28): [True: 0, False: 0]
  ------------------
10065|       |                    // Nothing...
10066|      0|                } else {
10067|       |                    // Use the original declaration type for the linkage
10068|      0|                    paramType->getQualifier().builtIn = biType;
10069|      0|                    if (biType == EbvTessLevelInner || biType == EbvTessLevelOuter)
  ------------------
  |  Branch (10069:25): [True: 0, False: 0]
  |  Branch (10069:56): [True: 0, False: 0]
  ------------------
10070|      0|                        paramType->getQualifier().patch = true;
10071|       |
10072|      0|                    if (notInEntryPoint.count(tInterstageIoData(biType, storage)) == 1)
  ------------------
  |  Branch (10072:25): [True: 0, False: 0]
  ------------------
10073|      0|                        addToLinkage(*paramType, patchConstantFunction[p].name, nullptr);
10074|      0|                }
10075|      0|            }
10076|      0|        }
10077|       |
10078|       |        // If we didn't find it because the shader made one, add our own.
10079|      0|        if (invocationIdSym == nullptr) {
  ------------------
  |  Branch (10079:13): [True: 0, False: 0]
  ------------------
10080|      0|            TType invocationIdType(EbtUint, EvqIn, 1);
10081|      0|            TString* invocationIdName = NewPoolTString("InvocationId");
10082|      0|            invocationIdType.getQualifier().builtIn = EbvInvocationId;
10083|      0|            addToLinkage(invocationIdType, invocationIdName, &invocationIdSym);
10084|      0|        }
10085|       |
10086|      0|        assert(invocationIdSym);
10087|      0|    }
10088|       |
10089|      0|    TIntermTyped* pcfArguments = nullptr;
10090|      0|    TVariable* perCtrlPtVar = nullptr;
10091|       |
10092|       |    // ================ Step 1B: Argument synthesis ================
10093|       |    // Create pcfArguments for synthesis of patchconstantfunction invocation
10094|      0|    {
10095|      0|        for (int p=0; p<pcfParamCount; ++p) {
  ------------------
  |  Branch (10095:23): [True: 0, False: 0]
  ------------------
10096|      0|            TIntermTyped* inputArg = nullptr;
10097|       |
10098|      0|            if (p == outPatchParam) {
  ------------------
  |  Branch (10098:17): [True: 0, False: 0]
  ------------------
10099|      0|                if (perCtrlPtVar == nullptr) {
  ------------------
  |  Branch (10099:21): [True: 0, False: 0]
  ------------------
10100|      0|                    perCtrlPtVar = makeInternalVariable(*patchConstantFunction[outPatchParam].name,
10101|      0|                                                        *patchConstantFunction[outPatchParam].type);
10102|       |
10103|      0|                    perCtrlPtVar->getWritableType().getQualifier().makeTemporary();
10104|      0|                }
10105|      0|                inputArg = intermediate.addSymbol(*perCtrlPtVar, loc);
10106|      0|            } else {
10107|       |                // find which built-in it is
10108|      0|                const TBuiltInVariable biType = patchConstantFunction[p].getDeclaredBuiltIn();
10109|       |
10110|      0|                if (biType == EbvInputPatch && inputPatch == nullptr) {
  ------------------
  |  Branch (10110:21): [True: 0, False: 0]
  |  Branch (10110:48): [True: 0, False: 0]
  ------------------
10111|      0|                    error(loc, "unimplemented: PCF input patch without entry point input patch parameter", "", "");
10112|      0|                    return;
10113|      0|                }
10114|       |
10115|      0|                inputArg = findTessLinkageSymbol(biType);
10116|       |
10117|      0|                if (inputArg == nullptr) {
  ------------------
  |  Branch (10117:21): [True: 0, False: 0]
  ------------------
10118|      0|                    error(loc, "unable to find patch constant function built-in variable", "", "");
10119|      0|                    return;
10120|      0|                }
10121|      0|            }
10122|       |
10123|      0|            if (pcfParamCount == 1)
  ------------------
  |  Branch (10123:17): [True: 0, False: 0]
  ------------------
10124|      0|                pcfArguments = inputArg;
10125|      0|            else
10126|      0|                pcfArguments = intermediate.growAggregate(pcfArguments, inputArg);
10127|      0|        }
10128|      0|    }
10129|       |
10130|       |    // ================ Step 2: Synthesize call to PCF ================
10131|      0|    TIntermAggregate* pcfCallSequence = nullptr;
10132|      0|    TIntermTyped* pcfCall = nullptr;
10133|       |
10134|      0|    {
10135|       |        // Create a function call to the patchconstantfunction
10136|      0|        if (pcfArguments)
  ------------------
  |  Branch (10136:13): [True: 0, False: 0]
  ------------------
10137|      0|            addInputArgumentConversions(patchConstantFunction, pcfArguments);
10138|       |
10139|       |        // Synthetic call.
10140|      0|        pcfCall = intermediate.setAggregateOperator(pcfArguments, EOpFunctionCall, patchConstantFunction.getType(), loc);
10141|      0|        pcfCall->getAsAggregate()->setUserDefined();
10142|      0|        pcfCall->getAsAggregate()->setName(patchConstantFunction.getMangledName());
10143|      0|        intermediate.addToCallGraph(infoSink, intermediate.getEntryPointMangledName().c_str(),
10144|      0|                                    patchConstantFunction.getMangledName());
10145|       |
10146|      0|        if (pcfCall->getAsAggregate()) {
  ------------------
  |  Branch (10146:13): [True: 0, False: 0]
  ------------------
10147|      0|            TQualifierList& qualifierList = pcfCall->getAsAggregate()->getQualifierList();
10148|      0|            for (int i = 0; i < patchConstantFunction.getParamCount(); ++i) {
  ------------------
  |  Branch (10148:29): [True: 0, False: 0]
  ------------------
10149|      0|                TStorageQualifier qual = patchConstantFunction[i].type->getQualifier().storage;
10150|      0|                qualifierList.push_back(qual);
10151|      0|            }
10152|      0|            pcfCall = addOutputArgumentConversions(patchConstantFunction, *pcfCall->getAsOperator());
10153|      0|        }
10154|      0|    }
10155|       |
10156|       |    // ================ Step 2B: Per Control Point synthesis ================
10157|       |    // If there is per control point data, we must either emulate that with multiple
10158|       |    // invocations of the entry point to build up an array, or (TODO:) use a yet
10159|       |    // unavailable extension to look across the SIMD lanes.  This is the former
10160|       |    // as a placeholder for the latter.
10161|      0|    if (outPatchParam >= 0) {
  ------------------
  |  Branch (10161:9): [True: 0, False: 0]
  ------------------
10162|       |        // We must introduce a local temp variable of the type wanted by the PCF input.
10163|      0|        const int arraySize = patchConstantFunction[outPatchParam].type->getOuterArraySize();
10164|       |
10165|      0|        if (entryPointFunction->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (10165:13): [True: 0, False: 0]
  ------------------
10166|      0|            error(loc, "entry point must return a value for use with patch constant function", "", "");
10167|      0|            return;
10168|      0|        }
10169|       |
10170|       |        // Create calls to wrapped main to fill in the array.  We will substitute fixed values
10171|       |        // of invocation ID when calling the wrapped main.
10172|       |
10173|       |        // This is the type of the each member of the per ctrl point array.
10174|      0|        const TType derefType(perCtrlPtVar->getType(), 0);
10175|       |
10176|      0|        for (int cpt = 0; cpt < arraySize; ++cpt) {
  ------------------
  |  Branch (10176:27): [True: 0, False: 0]
  ------------------
10177|       |            // TODO: improve.  substr(1) here is to avoid the '@' that was grafted on but isn't in the symtab
10178|       |            // for this function.
10179|      0|            const TString origName = entryPointFunction->getName().substr(1);
10180|      0|            TFunction callee(&origName, TType(EbtVoid));
10181|      0|            TIntermTyped* callingArgs = nullptr;
10182|       |
10183|      0|            for (int i = 0; i < entryPointFunction->getParamCount(); i++) {
  ------------------
  |  Branch (10183:29): [True: 0, False: 0]
  ------------------
10184|      0|                TParameter& param = (*entryPointFunction)[i];
10185|      0|                TType& paramType = *param.type;
10186|       |
10187|      0|                if (paramType.getQualifier().isParamOutput()) {
  ------------------
  |  Branch (10187:21): [True: 0, False: 0]
  ------------------
10188|      0|                    error(loc, "unimplemented: entry point outputs in patch constant function invocation", "", "");
10189|      0|                    return;
10190|      0|                }
10191|       |
10192|      0|                if (paramType.getQualifier().isParamInput())  {
  ------------------
  |  Branch (10192:21): [True: 0, False: 0]
  ------------------
10193|      0|                    TIntermTyped* arg = nullptr;
10194|      0|                    if ((*entryPointFunction)[i].getDeclaredBuiltIn() == EbvInvocationId) {
  ------------------
  |  Branch (10194:25): [True: 0, False: 0]
  ------------------
10195|       |                        // substitute invocation ID with the array element ID
10196|      0|                        arg = intermediate.addConstantUnion(cpt, loc);
10197|      0|                    } else {
10198|      0|                        TVariable* argVar = makeInternalVariable(*param.name, *param.type);
10199|      0|                        argVar->getWritableType().getQualifier().makeTemporary();
10200|      0|                        arg = intermediate.addSymbol(*argVar);
10201|      0|                    }
10202|       |
10203|      0|                    handleFunctionArgument(&callee, callingArgs, arg);
10204|      0|                }
10205|      0|            }
10206|       |
10207|       |            // Call and assign to per ctrl point variable
10208|      0|            currentCaller = intermediate.getEntryPointMangledName().c_str();
10209|      0|            TIntermTyped* callReturn = handleFunctionCall(loc, &callee, callingArgs);
10210|      0|            TIntermTyped* index = intermediate.addConstantUnion(cpt, loc);
10211|      0|            TIntermSymbol* perCtrlPtSym = intermediate.addSymbol(*perCtrlPtVar, loc);
10212|      0|            TIntermTyped* element = intermediate.addIndex(EOpIndexDirect, perCtrlPtSym, index, loc);
10213|      0|            element->setType(derefType);
10214|      0|            element->setLoc(loc);
10215|       |
10216|      0|            pcfCallSequence = intermediate.growAggregate(pcfCallSequence,
10217|      0|                                                         handleAssign(loc, EOpAssign, element, callReturn));
10218|      0|        }
10219|      0|    }
10220|       |
10221|       |    // ================ Step 3: Create return Sequence ================
10222|       |    // Return sequence: copy PCF result to a temporary, then to shader output variable.
10223|      0|    if (pcfCall->getBasicType() != EbtVoid) {
  ------------------
  |  Branch (10223:9): [True: 0, False: 0]
  ------------------
10224|      0|        const TType* retType = &patchConstantFunction.getType();  // return type from the PCF
10225|      0|        TType outType; // output type that goes with the return type.
10226|      0|        outType.shallowCopy(*retType);
10227|       |
10228|       |        // substitute the output type
10229|      0|        const auto newLists = ioTypeMap.find(retType->getStruct());
10230|      0|        if (newLists != ioTypeMap.end())
  ------------------
  |  Branch (10230:13): [True: 0, False: 0]
  ------------------
10231|      0|            outType.setStruct(newLists->second.output);
10232|       |
10233|       |        // Substitute the top level type's built-in type
10234|      0|        if (patchConstantFunction.getDeclaredBuiltInType() != EbvNone)
  ------------------
  |  Branch (10234:13): [True: 0, False: 0]
  ------------------
10235|      0|            outType.getQualifier().builtIn = patchConstantFunction.getDeclaredBuiltInType();
10236|       |
10237|      0|        outType.getQualifier().patch = true; // make it a per-patch variable
10238|       |
10239|      0|        TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType);
10240|      0|        pcfOutput->getWritableType().getQualifier().storage = EvqVaryingOut;
10241|       |
10242|      0|        if (pcfOutput->getType().isStruct())
  ------------------
  |  Branch (10242:13): [True: 0, False: 0]
  ------------------
10243|      0|            flatten(*pcfOutput, false);
10244|       |
10245|      0|        assignToInterface(*pcfOutput);
10246|       |
10247|      0|        TIntermSymbol* pcfOutputSym = intermediate.addSymbol(*pcfOutput, loc);
10248|       |
10249|       |        // The call to the PCF is a complex R-value: we want to store it in a temp to avoid
10250|       |        // repeated calls to the PCF:
10251|      0|        TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType);
10252|      0|        pcfCallResult->getWritableType().getQualifier().makeTemporary();
10253|       |
10254|      0|        TIntermSymbol* pcfResultVar = intermediate.addSymbol(*pcfCallResult, loc);
10255|      0|        TIntermNode* pcfResultAssign = handleAssign(loc, EOpAssign, pcfResultVar, pcfCall);
10256|      0|        TIntermNode* pcfResultToOut = handleAssign(loc, EOpAssign, pcfOutputSym,
10257|      0|                                                   intermediate.addSymbol(*pcfCallResult, loc));
10258|       |
10259|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultAssign);
10260|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfResultToOut);
10261|      0|    } else {
10262|      0|        pcfCallSequence = intermediate.growAggregate(pcfCallSequence, pcfCall);
10263|      0|    }
10264|       |
10265|       |    // ================ Step 4: Barrier ================
10266|      0|    TIntermTyped* barrier = new TIntermAggregate(EOpBarrier);
10267|      0|    barrier->setLoc(loc);
10268|      0|    barrier->setType(TType(EbtVoid));
10269|      0|    epBodySeq.insert(epBodySeq.end(), barrier);
10270|       |
10271|       |    // ================ Step 5: Test on invocation ID ================
10272|      0|    TIntermTyped* zero = intermediate.addConstantUnion(0, loc, true);
10273|      0|    TIntermTyped* cmp =  intermediate.addBinaryNode(EOpEqual, invocationIdSym, zero, loc, TType(EbtBool));
10274|       |
10275|       |
10276|       |    // ================ Step 5B: Create if statement on Invocation ID == 0 ================
10277|      0|    intermediate.setAggregateOperator(pcfCallSequence, EOpSequence, TType(EbtVoid), loc);
10278|      0|    TIntermTyped* invocationIdTest = new TIntermSelection(cmp, pcfCallSequence, nullptr);
10279|      0|    invocationIdTest->setLoc(loc);
10280|       |
10281|       |    // add our test sequence before the return.
10282|      0|    epBodySeq.insert(epBodySeq.end(), invocationIdTest);
10283|      0|}
_ZN7glslang16HlslParseContext32removeUnusedStructBufferCountersEv:
10289|    191|{
10290|    191|    const auto endIt = std::remove_if(linkageSymbols.begin(), linkageSymbols.end(),
10291|    191|                                      [this](const TSymbol* sym) {
10292|    191|                                          const auto sbcIt = structBufferCounter.find(sym->getName());
10293|    191|                                          return sbcIt != structBufferCounter.end() && !sbcIt->second;
10294|    191|                                      });
10295|       |
10296|    191|    linkageSymbols.erase(endIt, linkageSymbols.end());
10297|    191|}
_ZN7glslang16HlslParseContext21fixTextureShadowModesEv:
10301|    191|{
10302|    191|    for (auto symbol = linkageSymbols.begin(); symbol != linkageSymbols.end(); ++symbol) {
  ------------------
  |  Branch (10302:48): [True: 0, False: 191]
  ------------------
10303|      0|        TSampler& sampler = (*symbol)->getWritableType().getSampler();
10304|       |
10305|      0|        if (sampler.isTexture()) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            const auto shadowMode = textureShadowVariant.find((*symbol)->getUniqueId());
10307|      0|            if (shadowMode != textureShadowVariant.end()) {
  ------------------
  |  Branch (10307:17): [True: 0, False: 0]
  ------------------
10308|       |
10309|      0|                if (shadowMode->second->overloaded())
  ------------------
  |  Branch (10309:21): [True: 0, False: 0]
  ------------------
10310|       |                    // Texture needs legalization if it's been seen with both shadow and non-shadow modes.
10311|      0|                    intermediate.setNeedsLegalization();
10312|       |
10313|      0|                sampler.shadow = shadowMode->second->isShadowId((*symbol)->getUniqueId());
10314|      0|            }
10315|      0|        }
10316|      0|    }
10317|    191|}
_ZN7glslang16HlslParseContext21finalizeAppendMethodsEv:
10322|    191|{
10323|    191|    TSourceLoc loc;
10324|    191|    loc.init();
10325|       |
10326|       |    // Nothing to do: bypass test for valid stream output.
10327|    191|    if (gsAppends.empty())
  ------------------
  |  Branch (10327:9): [True: 191, False: 0]
  ------------------
10328|    191|        return;
10329|       |
10330|      0|    if (gsStreamOutput == nullptr) {
  ------------------
  |  Branch (10330:9): [True: 0, False: 0]
  ------------------
10331|      0|        error(loc, "unable to find output symbol for Append()", "", "");
10332|      0|        return;
10333|      0|    }
10334|       |
10335|       |    // Patch append sequences, now that we know the stream output symbol.
10336|      0|    for (auto append = gsAppends.begin(); append != gsAppends.end(); ++append) {
  ------------------
  |  Branch (10336:43): [True: 0, False: 0]
  ------------------
10337|      0|        append->node->getSequence()[0] =
10338|      0|            handleAssign(append->loc, EOpAssign,
10339|      0|                         intermediate.addSymbol(*gsStreamOutput, append->loc),
10340|      0|                         append->node->getSequence()[0]->getAsTyped());
10341|      0|    }
10342|      0|}
_ZN7glslang16HlslParseContext6finishEv:
10346|    191|{
10347|       |    // Error check: There was a dangling .mips operator.  These are not nested constructs in the grammar, so
10348|       |    // cannot be detected there.  This is not strictly needed in a non-validating parser; it's just helpful.
10349|    191|    if (! mipsOperatorMipArg.empty()) {
  ------------------
  |  Branch (10349:9): [True: 0, False: 191]
  ------------------
10350|      0|        error(mipsOperatorMipArg.back().loc, "unterminated mips operator:", "", "");
10351|      0|    }
10352|       |
10353|    191|    removeUnusedStructBufferCounters();
10354|    191|    addPatchConstantInvocation();
10355|    191|    fixTextureShadowModes();
10356|    191|    finalizeAppendMethods();
10357|       |
10358|       |    // Communicate out (esp. for command line) that we formed AST that will make
10359|       |    // illegal AST SPIR-V and it needs transforms to legalize it.
10360|    191|    if (intermediate.needsLegalization() && (messages & EShMsgHlslLegalization))
  ------------------
  |  Branch (10360:9): [True: 0, False: 191]
  |  Branch (10360:45): [True: 0, False: 0]
  ------------------
10361|      0|        infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
10362|       |
10363|    191|    TParseContextBase::finish();
10364|    191|}
hlslParseHelper.cpp:_ZZN7glslang16HlslParseContext19getLayoutFromTxTypeERKNS_10TSourceLocERKNS_5TTypeEENK3$_0clENS_13TLayoutFormatES8_S8_:
  206|  6.38k|    const auto selectFormat = [this,&components](TLayoutFormat v1, TLayoutFormat v2, TLayoutFormat v4) -> TLayoutFormat {
  207|  6.38k|        if (intermediate.getNoStorageFormat())
  ------------------
  |  Branch (207:13): [True: 0, False: 6.38k]
  ------------------
  208|      0|            return ElfNone;
  209|       |
  210|  6.38k|        return components == 1 ? v1 :
  ------------------
  |  Branch (210:16): [True: 3.36k, False: 3.02k]
  ------------------
  211|  6.38k|               components == 2 ? v2 : v4;
  ------------------
  |  Branch (211:16): [True: 2.01k, False: 1.00k]
  ------------------
  212|  6.38k|    };

_ZN7glslang16HlslParseContext20reservedPpErrorCheckERKNS_10TSourceLocEPKcS5_:
   67|     12|    void reservedPpErrorCheck(const TSourceLoc&, const char* /*name*/, const char* /*op*/) override { }
_ZN7glslang16HlslParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
   68|  20.2k|    bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
_ZNK7glslang16HlslParseContext30lineDirectiveShouldSetNextLineEv:
   69|      1|    bool lineDirectiveShouldSetNextLine() const override { return true; }
_ZN7glslang16HlslParseContext25getAnnotationNestingLevelEv:
  172|     10|    int getAnnotationNestingLevel() { return annotationNestingLevel; }
_ZN7glslang16HlslParseContext9pushScopeEv:
  173|      1|    void pushScope()         { symbolTable.push(); }
_ZN7glslang16HlslParseContext8popScopeEv:
  174|      1|    void popScope()          { symbolTable.pop(nullptr); }
_ZN7glslang16HlslParseContext21beginParameterParsingERNS_9TFunctionE:
  189|   448k|    {
  190|   448k|        parsingEntrypointParameters = isEntrypointName(function.getName());
  191|   448k|    }
_ZN7glslang16HlslParseContext16isEntrypointNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  252|   448k|    bool isEntrypointName(const TString& name) { return name.compare(intermediate.getEntryPointName().c_str()) == 0; }
_ZNK7glslang16HlslParseContext18isStructBufferTypeERKNS_5TTypeE:
  309|      4|    bool isStructBufferType(const TType& type) const { return getStructBufferContentType(type) != nullptr; }

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

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

_ZN7glslang9HlslTokenC2Ev:
   57|  2.91M|    HlslToken() : string(nullptr) { loc.init(); }
_ZN7glslang9HlslToken14getCStrOrEmptyEv:
   69|      1|    const char* getCStrOrEmpty() {
   70|      1|      if (tokenClass == EHTokIdentifier || tokenClass == EHTokStringConstant) {
  ------------------
  |  Branch (70:11): [True: 1, False: 0]
  |  Branch (70:44): [True: 0, False: 0]
  ------------------
   71|      1|        return string->c_str();
   72|      1|      }
   73|      0|      return "";
   74|      1|    }
_ZN7glslang15HlslScanContextC2ERNS_17TParseContextBaseERNS_10TPpContextE:
   85|    224|        : parseContext(parseContext), ppContext(ppContext) { }
_ZN7glslang15HlslScanContextD2Ev:
   86|    224|    virtual ~HlslScanContext() { }

_ZN7glslang15HlslTokenStream12pushPreTokenERKNS_9HlslTokenE:
   41|  2.39k|{
   42|       |    assert(preTokenStackSize < tokenBufferSize);
   43|  2.39k|    preTokenStack[preTokenStackSize++] = tok;
   44|  2.39k|}
_ZN7glslang15HlslTokenStream11popPreTokenEv:
   47|  1.78k|{
   48|  1.78k|    assert(preTokenStackSize > 0);
   49|       |
   50|  1.78k|    return preTokenStack[--preTokenStackSize];
   51|  1.78k|}
_ZN7glslang15HlslTokenStream15pushTokenBufferERKNS_9HlslTokenE:
   54|  4.19M|{
   55|  4.19M|    tokenBuffer[tokenBufferPos] = tok;
   56|  4.19M|    tokenBufferPos = (tokenBufferPos+1) % tokenBufferSize;
   57|  4.19M|}
_ZN7glslang15HlslTokenStream14popTokenBufferEv:
   60|  2.39k|{
   61|       |    // Back up
   62|  2.39k|    tokenBufferPos = (tokenBufferPos+tokenBufferSize-1) % tokenBufferSize;
   63|       |
   64|  2.39k|    return tokenBuffer[tokenBufferPos];
   65|  2.39k|}
_ZN7glslang15HlslTokenStream12advanceTokenEv:
  102|  4.19M|{
  103|  4.19M|    pushTokenBuffer(token);
  104|  4.19M|    if (preTokenStackSize > 0)
  ------------------
  |  Branch (104:9): [True: 1.78k, False: 4.19M]
  ------------------
  105|  1.78k|        token = popPreToken();
  106|  4.19M|    else {
  107|  4.19M|        if (tokenStreamStack.size() == 0)
  ------------------
  |  Branch (107:13): [True: 4.19M, False: 0]
  ------------------
  108|  4.19M|            scanner.tokenize(token);
  109|      0|        else {
  110|      0|            ++tokenPosition.back();
  111|      0|            if (tokenPosition.back() >= (int)tokenStreamStack.back()->size())
  ------------------
  |  Branch (111:17): [True: 0, False: 0]
  ------------------
  112|      0|                token.tokenClass = EHTokNone;
  113|      0|            else
  114|      0|                token = (*tokenStreamStack.back())[tokenPosition.back()];
  115|      0|        }
  116|  4.19M|    }
  117|  4.19M|}
_ZN7glslang15HlslTokenStream11recedeTokenEv:
  120|  2.39k|{
  121|  2.39k|    pushPreToken(token);
  122|  2.39k|    token = popTokenBuffer();
  123|  2.39k|}
_ZNK7glslang15HlslTokenStream4peekEv:
  127|  24.9M|{
  128|  24.9M|    return token.tokenClass;
  129|  24.9M|}
_ZNK7glslang15HlslTokenStream14peekTokenClassENS_15EHlslTokenClassE:
  134|  17.2M|{
  135|  17.2M|    return peek() == tokenClass;
  136|  17.2M|}
_ZN7glslang15HlslTokenStream16acceptTokenClassENS_15EHlslTokenClassE:
  141|  8.70M|{
  142|  8.70M|    if (peekTokenClass(tokenClass)) {
  ------------------
  |  Branch (142:9): [True: 2.09M, False: 6.61M]
  ------------------
  143|  2.09M|        advanceToken();
  144|  2.09M|        return true;
  145|  2.09M|    }
  146|       |
  147|  6.61M|    return false;
  148|  8.70M|}

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

_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorEPKNS_12TIntermTypedE:
   86|      6|{
   87|       |    // For most cases, the return type matches the argument type, so set that
   88|       |    // up and just code to exceptions below.
   89|      6|    TType returnType;
   90|      6|    returnType.shallowCopy(getType());
   91|       |
   92|       |    //
   93|       |    // A pair of nodes is to be folded together
   94|       |    //
   95|       |
   96|      6|    const TIntermConstantUnion *rightNode = rightConstantNode->getAsConstantUnion();
   97|      6|    TConstUnionArray leftUnionArray = getConstArray();
   98|      6|    TConstUnionArray rightUnionArray = rightNode->getConstArray();
   99|       |
  100|       |    // Figure out the size of the result
  101|      6|    int newComps;
  102|      6|    int constComps;
  103|      6|    switch(op) {
  104|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (104:5): [True: 0, False: 6]
  ------------------
  105|      0|        newComps = rightNode->getMatrixCols() * getMatrixRows();
  106|      0|        break;
  107|      0|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (107:5): [True: 0, False: 6]
  ------------------
  108|      0|        newComps = getMatrixRows();
  109|      0|        break;
  110|      0|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (110:5): [True: 0, False: 6]
  ------------------
  111|      0|        newComps = rightNode->getMatrixCols();
  112|      0|        break;
  113|      6|    default:
  ------------------
  |  Branch (113:5): [True: 6, False: 0]
  ------------------
  114|      6|        newComps = getType().computeNumComponents();
  115|      6|        constComps = rightConstantNode->getType().computeNumComponents();
  116|      6|        if (constComps == 1 && newComps > 1) {
  ------------------
  |  Branch (116:13): [True: 6, False: 0]
  |  Branch (116:32): [True: 0, False: 6]
  ------------------
  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|      6|        } else if (constComps > 1 && newComps == 1) {
  ------------------
  |  Branch (120:20): [True: 0, False: 6]
  |  Branch (120:38): [True: 0, False: 0]
  ------------------
  121|       |            // for a case like vec4 f = 1.2 + vec4(2,3,4,5);
  122|      0|            newComps = constComps;
  123|      0|            rightUnionArray = rightNode->getConstArray();
  124|      0|            TConstUnionArray smearedArray(newComps, getConstArray()[0]);
  125|      0|            leftUnionArray = smearedArray;
  126|      0|            returnType.shallowCopy(rightNode->getType());
  127|      0|        }
  128|      6|        break;
  129|      6|    }
  130|       |
  131|      6|    TConstUnionArray newConstArray(newComps);
  132|      6|    TType constBool(EbtBool, EvqConst);
  133|       |
  134|      6|    switch(op) {
  135|      3|    case EOpAdd:
  ------------------
  |  Branch (135:5): [True: 3, False: 3]
  ------------------
  136|      6|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (136:25): [True: 3, False: 3]
  ------------------
  137|      3|            newConstArray[i] = leftUnionArray[i] + rightUnionArray[i];
  138|      3|        break;
  139|      3|    case EOpSub:
  ------------------
  |  Branch (139:5): [True: 3, False: 3]
  ------------------
  140|      6|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (140:25): [True: 3, False: 3]
  ------------------
  141|      3|            newConstArray[i] = leftUnionArray[i] - rightUnionArray[i];
  142|      3|        break;
  143|       |
  144|      0|    case EOpMul:
  ------------------
  |  Branch (144:5): [True: 0, False: 6]
  ------------------
  145|      0|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (145:5): [True: 0, False: 6]
  ------------------
  146|      0|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (146:5): [True: 0, False: 6]
  ------------------
  147|      0|        for (int i = 0; i < newComps; i++)
  ------------------
  |  Branch (147:25): [True: 0, False: 0]
  ------------------
  148|      0|            newConstArray[i] = leftUnionArray[i] * rightUnionArray[i];
  149|      0|        break;
  150|      0|    case EOpMatrixTimesMatrix:
  ------------------
  |  Branch (150:5): [True: 0, False: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  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: 6]
  ------------------
  374|      0|        return nullptr;
  375|      6|    }
  376|       |
  377|      6|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  378|      6|    newNode->setLoc(getLoc());
  379|       |
  380|      6|    return newNode;
  381|      6|}
_ZNK7glslang20TIntermConstantUnion4foldENS_9TOperatorERKNS_5TTypeE:
  389|     15|{
  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|     15|    int resultSize;
  394|     15|    bool componentWise = true;
  395|       |
  396|     15|    int objectSize = getType().computeNumComponents();
  397|     15|    switch (op) {
  398|      0|    case EOpDeterminant:
  ------------------
  |  Branch (398:5): [True: 0, False: 15]
  ------------------
  399|      0|    case EOpAny:
  ------------------
  |  Branch (399:5): [True: 0, False: 15]
  ------------------
  400|      0|    case EOpAll:
  ------------------
  |  Branch (400:5): [True: 0, False: 15]
  ------------------
  401|      0|    case EOpLength:
  ------------------
  |  Branch (401:5): [True: 0, False: 15]
  ------------------
  402|      0|        componentWise = false;
  403|      0|        resultSize = 1;
  404|      0|        break;
  405|       |
  406|      0|    case EOpEmitStreamVertex:
  ------------------
  |  Branch (406:5): [True: 0, False: 15]
  ------------------
  407|      0|    case EOpEndStreamPrimitive:
  ------------------
  |  Branch (407:5): [True: 0, False: 15]
  ------------------
  408|       |        // These don't fold
  409|      0|        return nullptr;
  410|       |
  411|      0|    case EOpPackSnorm2x16:
  ------------------
  |  Branch (411:5): [True: 0, False: 15]
  ------------------
  412|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (412:5): [True: 0, False: 15]
  ------------------
  413|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (413:5): [True: 0, False: 15]
  ------------------
  414|      0|        componentWise = false;
  415|      0|        resultSize = 1;
  416|      0|        break;
  417|       |
  418|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (418:5): [True: 0, False: 15]
  ------------------
  419|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (419:5): [True: 0, False: 15]
  ------------------
  420|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (420:5): [True: 0, False: 15]
  ------------------
  421|      0|        componentWise = false;
  422|      0|        resultSize = 2;
  423|      0|        break;
  424|       |
  425|      0|    case EOpPack16:
  ------------------
  |  Branch (425:5): [True: 0, False: 15]
  ------------------
  426|      0|    case EOpPack32:
  ------------------
  |  Branch (426:5): [True: 0, False: 15]
  ------------------
  427|      0|    case EOpPack64:
  ------------------
  |  Branch (427:5): [True: 0, False: 15]
  ------------------
  428|      0|    case EOpUnpack32:
  ------------------
  |  Branch (428:5): [True: 0, False: 15]
  ------------------
  429|      0|    case EOpUnpack16:
  ------------------
  |  Branch (429:5): [True: 0, False: 15]
  ------------------
  430|      0|    case EOpUnpack8:
  ------------------
  |  Branch (430:5): [True: 0, False: 15]
  ------------------
  431|      0|    case EOpNormalize:
  ------------------
  |  Branch (431:5): [True: 0, False: 15]
  ------------------
  432|      0|        componentWise = false;
  433|      0|        resultSize = objectSize;
  434|      0|        break;
  435|       |
  436|     15|    default:
  ------------------
  |  Branch (436:5): [True: 15, False: 0]
  ------------------
  437|     15|        resultSize = objectSize;
  438|     15|        break;
  439|     15|    }
  440|       |
  441|       |    // Set up for processing
  442|     15|    TConstUnionArray newConstArray(resultSize);
  443|     15|    const TConstUnionArray& unionArray = getConstArray();
  444|       |
  445|       |    // Process non-component-wise operations
  446|     15|    switch (op) {
  447|      0|    case EOpLength:
  ------------------
  |  Branch (447:5): [True: 0, False: 15]
  ------------------
  448|      0|    case EOpNormalize:
  ------------------
  |  Branch (448:5): [True: 0, False: 15]
  ------------------
  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: 15]
  ------------------
  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: 15]
  ------------------
  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: 15]
  ------------------
  485|      0|    case EOpPackUnorm2x16:
  ------------------
  |  Branch (485:5): [True: 0, False: 15]
  ------------------
  486|      0|    case EOpPackHalf2x16:
  ------------------
  |  Branch (486:5): [True: 0, False: 15]
  ------------------
  487|      0|    case EOpPack16:
  ------------------
  |  Branch (487:5): [True: 0, False: 15]
  ------------------
  488|      0|    case EOpPack32:
  ------------------
  |  Branch (488:5): [True: 0, False: 15]
  ------------------
  489|      0|    case EOpPack64:
  ------------------
  |  Branch (489:5): [True: 0, False: 15]
  ------------------
  490|      0|    case EOpUnpack32:
  ------------------
  |  Branch (490:5): [True: 0, False: 15]
  ------------------
  491|      0|    case EOpUnpack16:
  ------------------
  |  Branch (491:5): [True: 0, False: 15]
  ------------------
  492|      0|    case EOpUnpack8:
  ------------------
  |  Branch (492:5): [True: 0, False: 15]
  ------------------
  493|       |
  494|      0|    case EOpUnpackSnorm2x16:
  ------------------
  |  Branch (494:5): [True: 0, False: 15]
  ------------------
  495|      0|    case EOpUnpackUnorm2x16:
  ------------------
  |  Branch (495:5): [True: 0, False: 15]
  ------------------
  496|      0|    case EOpUnpackHalf2x16:
  ------------------
  |  Branch (496:5): [True: 0, False: 15]
  ------------------
  497|       |
  498|      0|    case EOpDeterminant:
  ------------------
  |  Branch (498:5): [True: 0, False: 15]
  ------------------
  499|      0|    case EOpMatrixInverse:
  ------------------
  |  Branch (499:5): [True: 0, False: 15]
  ------------------
  500|      0|    case EOpTranspose:
  ------------------
  |  Branch (500:5): [True: 0, False: 15]
  ------------------
  501|      0|        return nullptr;
  502|       |
  503|     15|    default:
  ------------------
  |  Branch (503:5): [True: 15, False: 0]
  ------------------
  504|     15|        assert(componentWise);
  505|     15|        break;
  506|     15|    }
  507|       |
  508|       |    // Turn off the componentwise loop
  509|     15|    if (! componentWise)
  ------------------
  |  Branch (509:9): [True: 0, False: 15]
  ------------------
  510|      0|        objectSize = 0;
  511|       |
  512|       |    // Process component-wise operations
  513|     33|    for (int i = 0; i < objectSize; i++) {
  ------------------
  |  Branch (513:21): [True: 18, False: 15]
  ------------------
  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|     18|        if (IsOpNumericConv(op)) {
  ------------------
  |  Branch (517:13): [True: 0, False: 18]
  ------------------
  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|     18|        switch (op) {
  696|      0|        case EOpNegative:
  ------------------
  |  Branch (696:9): [True: 0, False: 18]
  ------------------
  697|      0|            switch (getType().getBasicType()) {
  698|      0|            case EbtDouble:
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|            case EbtFloat16:
  ------------------
  |  Branch (699:13): [True: 0, False: 0]
  ------------------
  700|      0|            case EbtBFloat16:
  ------------------
  |  Branch (700:13): [True: 0, False: 0]
  ------------------
  701|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (701:13): [True: 0, False: 0]
  ------------------
  702|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (702:13): [True: 0, False: 0]
  ------------------
  703|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (703:13): [True: 0, False: 0]
  ------------------
  704|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (704:13): [True: 0, False: 0]
  ------------------
  705|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (705:13): [True: 0, False: 0]
  ------------------
  706|      0|            case EbtFloatUE8M0:
  ------------------
  |  Branch (706:13): [True: 0, False: 0]
  ------------------
  707|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (707:13): [True: 0, False: 0]
  ------------------
  708|      0|            case EbtFloat: newConstArray[i].setDConst(-unionArray[i].getDConst()); break;
  ------------------
  |  Branch (708:13): [True: 0, False: 0]
  ------------------
  709|       |            // Note: avoid UBSAN error regarding negating 0x80000000
  710|      0|            case EbtInt:   newConstArray[i].setIConst(
  ------------------
  |  Branch (710:13): [True: 0, False: 0]
  ------------------
  711|      0|                                static_cast<unsigned int>(unionArray[i].getIConst()) == 0x80000000
  ------------------
  |  Branch (711:33): [True: 0, False: 0]
  ------------------
  712|      0|                                    ? -0x7FFFFFFF - 1
  713|      0|                                    : -unionArray[i].getIConst());
  714|      0|                           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: 0]
  ------------------
  716|      0|            case EbtInt8:  newConstArray[i].setI8Const(-unionArray[i].getI8Const()); break;
  ------------------
  |  Branch (716:13): [True: 0, False: 0]
  ------------------
  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: 0]
  ------------------
  718|      0|            case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break;
  ------------------
  |  Branch (718:13): [True: 0, False: 0]
  ------------------
  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: 0]
  ------------------
  720|      0|            case EbtInt64: {
  ------------------
  |  Branch (720:13): [True: 0, False: 0]
  ------------------
  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: 0]
  ------------------
  726|      0|            default:
  ------------------
  |  Branch (726:13): [True: 0, False: 0]
  ------------------
  727|      0|                return nullptr;
  728|      0|            }
  729|      0|            break;
  730|     18|        case EOpLogicalNot:
  ------------------
  |  Branch (730:9): [True: 18, False: 0]
  ------------------
  731|     18|        case EOpVectorLogicalNot:
  ------------------
  |  Branch (731:9): [True: 0, False: 18]
  ------------------
  732|     18|            switch (getType().getBasicType()) {
  733|     18|            case EbtBool:  newConstArray[i].setBConst(!unionArray[i].getBConst()); break;
  ------------------
  |  Branch (733:13): [True: 18, False: 0]
  ------------------
  734|      0|            default:
  ------------------
  |  Branch (734:13): [True: 0, False: 18]
  ------------------
  735|      0|                return nullptr;
  736|     18|            }
  737|     18|            break;
  738|     18|        case EOpBitwiseNot:
  ------------------
  |  Branch (738:9): [True: 0, False: 18]
  ------------------
  739|      0|            newConstArray[i] = ~unionArray[i];
  740|      0|            break;
  741|      0|        case EOpRadians:
  ------------------
  |  Branch (741:9): [True: 0, False: 18]
  ------------------
  742|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * pi / 180.0);
  743|      0|            break;
  744|      0|        case EOpDegrees:
  ------------------
  |  Branch (744:9): [True: 0, False: 18]
  ------------------
  745|      0|            newConstArray[i].setDConst(unionArray[i].getDConst() * 180.0 / pi);
  746|      0|            break;
  747|      0|        case EOpSin:
  ------------------
  |  Branch (747:9): [True: 0, False: 18]
  ------------------
  748|      0|            newConstArray[i].setDConst(sin(unionArray[i].getDConst()));
  749|      0|            break;
  750|      0|        case EOpCos:
  ------------------
  |  Branch (750:9): [True: 0, False: 18]
  ------------------
  751|      0|            newConstArray[i].setDConst(cos(unionArray[i].getDConst()));
  752|      0|            break;
  753|      0|        case EOpTan:
  ------------------
  |  Branch (753:9): [True: 0, False: 18]
  ------------------
  754|      0|            newConstArray[i].setDConst(tan(unionArray[i].getDConst()));
  755|      0|            break;
  756|      0|        case EOpAsin:
  ------------------
  |  Branch (756:9): [True: 0, False: 18]
  ------------------
  757|      0|            newConstArray[i].setDConst(asin(unionArray[i].getDConst()));
  758|      0|            break;
  759|      0|        case EOpAcos:
  ------------------
  |  Branch (759:9): [True: 0, False: 18]
  ------------------
  760|      0|            newConstArray[i].setDConst(acos(unionArray[i].getDConst()));
  761|      0|            break;
  762|      0|        case EOpAtan:
  ------------------
  |  Branch (762:9): [True: 0, False: 18]
  ------------------
  763|      0|            newConstArray[i].setDConst(atan(unionArray[i].getDConst()));
  764|      0|            break;
  765|      0|        case EOpSinh:
  ------------------
  |  Branch (765:9): [True: 0, False: 18]
  ------------------
  766|      0|            newConstArray[i].setDConst(sinh(unionArray[i].getDConst()));
  767|      0|            break;
  768|      0|        case EOpCosh:
  ------------------
  |  Branch (768:9): [True: 0, False: 18]
  ------------------
  769|      0|            newConstArray[i].setDConst(cosh(unionArray[i].getDConst()));
  770|      0|            break;
  771|      0|        case EOpTanh:
  ------------------
  |  Branch (771:9): [True: 0, False: 18]
  ------------------
  772|      0|            newConstArray[i].setDConst(tanh(unionArray[i].getDConst()));
  773|      0|            break;
  774|      0|        case EOpAsinh:
  ------------------
  |  Branch (774:9): [True: 0, False: 18]
  ------------------
  775|      0|            newConstArray[i].setDConst(asinh(unionArray[i].getDConst()));
  776|      0|            break;
  777|      0|        case EOpAcosh:
  ------------------
  |  Branch (777:9): [True: 0, False: 18]
  ------------------
  778|      0|            newConstArray[i].setDConst(acosh(unionArray[i].getDConst()));
  779|      0|            break;
  780|      0|        case EOpAtanh:
  ------------------
  |  Branch (780:9): [True: 0, False: 18]
  ------------------
  781|      0|            newConstArray[i].setDConst(atanh(unionArray[i].getDConst()));
  782|      0|            break;
  783|       |
  784|      0|        case EOpDPdx:
  ------------------
  |  Branch (784:9): [True: 0, False: 18]
  ------------------
  785|      0|        case EOpDPdy:
  ------------------
  |  Branch (785:9): [True: 0, False: 18]
  ------------------
  786|      0|        case EOpFwidth:
  ------------------
  |  Branch (786:9): [True: 0, False: 18]
  ------------------
  787|      0|        case EOpDPdxFine:
  ------------------
  |  Branch (787:9): [True: 0, False: 18]
  ------------------
  788|      0|        case EOpDPdyFine:
  ------------------
  |  Branch (788:9): [True: 0, False: 18]
  ------------------
  789|      0|        case EOpFwidthFine:
  ------------------
  |  Branch (789:9): [True: 0, False: 18]
  ------------------
  790|      0|        case EOpDPdxCoarse:
  ------------------
  |  Branch (790:9): [True: 0, False: 18]
  ------------------
  791|      0|        case EOpDPdyCoarse:
  ------------------
  |  Branch (791:9): [True: 0, False: 18]
  ------------------
  792|      0|        case EOpFwidthCoarse:
  ------------------
  |  Branch (792:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  798|      0|            newConstArray[i].setDConst(exp(unionArray[i].getDConst()));
  799|      0|            break;
  800|      0|        case EOpLog:
  ------------------
  |  Branch (800:9): [True: 0, False: 18]
  ------------------
  801|      0|            newConstArray[i].setDConst(log(unionArray[i].getDConst()));
  802|      0|            break;
  803|      0|        case EOpExp2:
  ------------------
  |  Branch (803:9): [True: 0, False: 18]
  ------------------
  804|      0|            newConstArray[i].setDConst(exp2(unionArray[i].getDConst()));
  805|      0|            break;
  806|      0|        case EOpLog2:
  ------------------
  |  Branch (806:9): [True: 0, False: 18]
  ------------------
  807|      0|            newConstArray[i].setDConst(log2(unionArray[i].getDConst()));
  808|      0|            break;
  809|      0|        case EOpSqrt:
  ------------------
  |  Branch (809:9): [True: 0, False: 18]
  ------------------
  810|      0|            newConstArray[i].setDConst(sqrt(unionArray[i].getDConst()));
  811|      0|            break;
  812|      0|        case EOpInverseSqrt:
  ------------------
  |  Branch (812:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  832|      0|            newConstArray[i].setDConst(floor(unionArray[i].getDConst()));
  833|      0|            break;
  834|      0|        case EOpTrunc:
  ------------------
  |  Branch (834:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  841|      0|            newConstArray[i].setDConst(floor(0.5 + unionArray[i].getDConst()));
  842|      0|            break;
  843|      0|        case EOpRoundEven:
  ------------------
  |  Branch (843:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  852|      0|            newConstArray[i].setDConst(ceil(unionArray[i].getDConst()));
  853|      0|            break;
  854|      0|        case EOpFract:
  ------------------
  |  Branch (854:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  873|      0|        case EOpConvUint64ToPtr:
  ------------------
  |  Branch (873:9): [True: 0, False: 18]
  ------------------
  874|      0|        case EOpConstructReference:
  ------------------
  |  Branch (874:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  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: 18]
  ------------------
  886|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getIConst()));
  887|      0|            break;
  888|      0|        case EOpUintBitsToFloat:
  ------------------
  |  Branch (888:9): [True: 0, False: 18]
  ------------------
  889|      0|            newConstArray[i].setDConst(bitCast<float>(unionArray[i].getUConst()));
  890|      0|            break;
  891|      0|        case EOpDoubleBitsToInt64:
  ------------------
  |  Branch (891:9): [True: 0, False: 18]
  ------------------
  892|      0|            newConstArray[i].setI64Const(bitCast<long long>(unionArray[i].getDConst()));
  893|      0|            break;
  894|      0|        case EOpDoubleBitsToUint64:
  ------------------
  |  Branch (894:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  898|      0|            newConstArray[i].setDConst(bitCast<double>(unionArray[i].getI64Const()));
  899|      0|            break;
  900|      0|        case EOpUint64BitsToDouble:
  ------------------
  |  Branch (900:9): [True: 0, False: 18]
  ------------------
  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: 18]
  ------------------
  907|      0|        case EOpFloat16BitsToUint16:
  ------------------
  |  Branch (907:9): [True: 0, False: 18]
  ------------------
  908|      0|        case EOpInt16BitsToFloat16:
  ------------------
  |  Branch (908:9): [True: 0, False: 18]
  ------------------
  909|      0|        case EOpUint16BitsToFloat16:
  ------------------
  |  Branch (909:9): [True: 0, False: 18]
  ------------------
  910|      0|        default:
  ------------------
  |  Branch (910:9): [True: 0, False: 18]
  ------------------
  911|      0|            return nullptr;
  912|     18|        }
  913|     18|    }
  914|       |
  915|     15|    TIntermConstantUnion *newNode = new TIntermConstantUnion(newConstArray, returnType);
  916|     15|    newNode->getWritableType().getQualifier().storage = EvqConst;
  917|     15|    newNode->setLoc(getLoc());
  918|       |
  919|     15|    return newNode;
  920|     15|}
_ZN7glslang13TIntermediate4foldEPNS_16TIntermAggregateE:
  927|     41|{
  928|     41|    if (aggrNode == nullptr)
  ------------------
  |  Branch (928:9): [True: 0, False: 41]
  ------------------
  929|      0|        return aggrNode;
  930|       |
  931|     41|    if (! areAllChildConst(aggrNode))
  ------------------
  |  Branch (931:9): [True: 4, False: 37]
  ------------------
  932|      4|        return aggrNode;
  933|       |
  934|     37|    if (aggrNode->isConstructor())
  ------------------
  |  Branch (934:9): [True: 36, False: 1]
  ------------------
  935|     36|        return foldConstructor(aggrNode);
  936|       |
  937|      1|    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|      1|    bool componentwise = false;  // will also say componentwise if a scalar argument gets repeated to make per-component results
  943|      1|    int objectSize;
  944|      1|    switch (aggrNode->getOp()) {
  945|      0|    case EOpAtan:
  ------------------
  |  Branch (945:5): [True: 0, False: 1]
  ------------------
  946|      0|    case EOpPow:
  ------------------
  |  Branch (946:5): [True: 0, False: 1]
  ------------------
  947|      0|    case EOpMin:
  ------------------
  |  Branch (947:5): [True: 0, False: 1]
  ------------------
  948|      0|    case EOpMax:
  ------------------
  |  Branch (948:5): [True: 0, False: 1]
  ------------------
  949|      0|    case EOpMix:
  ------------------
  |  Branch (949:5): [True: 0, False: 1]
  ------------------
  950|      0|    case EOpMod:
  ------------------
  |  Branch (950:5): [True: 0, False: 1]
  ------------------
  951|      0|    case EOpClamp:
  ------------------
  |  Branch (951:5): [True: 0, False: 1]
  ------------------
  952|      0|    case EOpLessThan:
  ------------------
  |  Branch (952:5): [True: 0, False: 1]
  ------------------
  953|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (953:5): [True: 0, False: 1]
  ------------------
  954|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (954:5): [True: 0, False: 1]
  ------------------
  955|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (955:5): [True: 0, False: 1]
  ------------------
  956|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (956:5): [True: 0, False: 1]
  ------------------
  957|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (957:5): [True: 0, False: 1]
  ------------------
  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: 1]
  ------------------
  962|      0|    case EOpReflect:
  ------------------
  |  Branch (962:5): [True: 0, False: 1]
  ------------------
  963|      0|    case EOpRefract:
  ------------------
  |  Branch (963:5): [True: 0, False: 1]
  ------------------
  964|      0|    case EOpFaceForward:
  ------------------
  |  Branch (964:5): [True: 0, False: 1]
  ------------------
  965|      0|        objectSize = children[0]->getAsConstantUnion()->getType().computeNumComponents();
  966|      0|        break;
  967|      0|    case EOpDistance:
  ------------------
  |  Branch (967:5): [True: 0, False: 1]
  ------------------
  968|      0|    case EOpDot:
  ------------------
  |  Branch (968:5): [True: 0, False: 1]
  ------------------
  969|      0|        objectSize = 1;
  970|      0|        break;
  971|      0|    case EOpOuterProduct:
  ------------------
  |  Branch (971:5): [True: 0, False: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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|      1|    default:
  ------------------
  |  Branch (991:5): [True: 1, False: 0]
  ------------------
  992|      1|        return aggrNode;
  993|      1|    }
  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|     41|{
 1299|     41|    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|     41|    if (aggrNode) {
  ------------------
  |  Branch (1303:9): [True: 41, False: 0]
  ------------------
 1304|     41|        TIntermSequence& childSequenceVector = aggrNode->getSequence();
 1305|     41|        for (TIntermSequence::iterator p  = childSequenceVector.begin();
 1306|    119|                                       p != childSequenceVector.end(); p++) {
  ------------------
  |  Branch (1306:40): [True: 82, False: 37]
  ------------------
 1307|     82|            if (!(*p)->getAsTyped()->getAsConstantUnion())
  ------------------
  |  Branch (1307:17): [True: 4, False: 78]
  ------------------
 1308|      4|                return false;
 1309|     82|        }
 1310|     41|    }
 1311|       |
 1312|     37|    return allConstant;
 1313|     41|}
_ZN7glslang13TIntermediate15foldConstructorEPNS_16TIntermAggregateE:
 1316|     36|{
 1317|     36|    bool error = false;
 1318|       |
 1319|     36|    TConstUnionArray unionArray(aggrNode->getType().computeNumComponents());
 1320|     36|    if (aggrNode->getSequence().size() == 1)
  ------------------
  |  Branch (1320:9): [True: 15, False: 21]
  ------------------
 1321|     15|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType(), true);
 1322|     21|    else
 1323|     21|        error = parseConstTree(aggrNode, unionArray, aggrNode->getOp(), aggrNode->getType());
 1324|       |
 1325|     36|    if (error)
  ------------------
  |  Branch (1325:9): [True: 0, False: 36]
  ------------------
 1326|      0|        return aggrNode;
 1327|       |
 1328|     36|    return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc());
 1329|     36|}

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

_ZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionE:
  509|     45|{
  510|     45|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|     45|        for (const auto& fn : functions) {
  512|     45|            if (ValidVersion(fn, version, profile, spvVersion)) {
  513|     45|                AddTabledBuiltin(decls, fn);
  514|     45|                if (profile != EEsProfile) {
  515|     45|                    AddLongVectorBuiltin(decls, fn);
  516|     45|                }
  517|     45|            }
  518|     45|        }
  519|     45|    };
  520|       |
  521|     45|    forEachFunction(commonBuiltins, BaseFunctions);
  522|     45|    forEachFunction(stageBuiltins[EShLangFragment], DerivativeFunctions);
  523|       |
  524|     45|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450))
  ------------------
  |  Branch (524:10): [True: 38, False: 7]
  |  Branch (524:35): [True: 0, False: 38]
  |  Branch (524:55): [True: 7, False: 38]
  |  Branch (524:80): [True: 7, False: 0]
  ------------------
  525|      7|        forEachFunction(stageBuiltins[EShLangCompute], DerivativeFunctions);
  526|     45|}
_ZN7glslang9TBuiltIns20relateTabledBuiltinsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
  530|    133|{
  531|    133|    RelateTabledBuiltins(BaseFunctions, symbolTable);
  532|    133|    RelateTabledBuiltins(DerivativeFunctions, symbolTable);
  533|    133|    RelateTabledBuiltins(CustomFunctions, symbolTable);
  534|    133|}
_ZN7glslang18TBuiltInParseablesC2Ev:
  544|    273|{
  545|    273|}
_ZN7glslang18TBuiltInParseablesD2Ev:
  549|    273|{
  550|    273|}
_ZN7glslang9TBuiltInsC2Ev:
  553|     49|{
  554|       |    // Set up textual representations for making all the permutations
  555|       |    // of texturing/imaging functions.
  556|     49|    prefixes[EbtFloat] =  "";
  557|     49|    prefixes[EbtInt]   = "i";
  558|     49|    prefixes[EbtUint]  = "u";
  559|     49|    prefixes[EbtFloat16] = "f16";
  560|     49|    prefixes[EbtInt8]  = "i8";
  561|     49|    prefixes[EbtUint8] = "u8";
  562|     49|    prefixes[EbtInt16]  = "i16";
  563|     49|    prefixes[EbtUint16] = "u16";
  564|     49|    prefixes[EbtInt64]  = "i64";
  565|     49|    prefixes[EbtUint64] = "u64";
  566|       |
  567|     49|    postfixes[2] = "2";
  568|     49|    postfixes[3] = "3";
  569|     49|    postfixes[4] = "4";
  570|       |
  571|       |    // Map from symbolic class of texturing dimension to numeric dimensions.
  572|     49|    dimMap[Esd2D] = 2;
  573|     49|    dimMap[Esd3D] = 3;
  574|     49|    dimMap[EsdCube] = 3;
  575|     49|    dimMap[Esd1D] = 1;
  576|     49|    dimMap[EsdRect] = 2;
  577|     49|    dimMap[EsdBuffer] = 1;
  578|     49|    dimMap[EsdSubpass] = 2;  // potentially unused for now
  579|     49|    dimMap[EsdAttachmentEXT] = 2;  // potentially unused for now
  580|     49|}
_ZN7glslang9TBuiltIns10initializeEi8EProfileRKNS_10SpvVersionE:
  596|     45|{
  597|     45|    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|     45|    TString derivatives (
  609|     45|        "float dFdx(float p);"
  610|     45|        "vec2  dFdx(vec2  p);"
  611|     45|        "vec3  dFdx(vec3  p);"
  612|     45|        "vec4  dFdx(vec4  p);"
  613|       |
  614|     45|        "float dFdy(float p);"
  615|     45|        "vec2  dFdy(vec2  p);"
  616|     45|        "vec3  dFdy(vec3  p);"
  617|     45|        "vec4  dFdy(vec4  p);"
  618|       |
  619|     45|        "float fwidth(float p);"
  620|     45|        "vec2  fwidth(vec2  p);"
  621|     45|        "vec3  fwidth(vec3  p);"
  622|     45|        "vec4  fwidth(vec4  p);"
  623|     45|    );
  624|       |
  625|     45|    TString derivativeControls (
  626|     45|        "float dFdxFine(float p);"
  627|     45|        "vec2  dFdxFine(vec2  p);"
  628|     45|        "vec3  dFdxFine(vec3  p);"
  629|     45|        "vec4  dFdxFine(vec4  p);"
  630|       |
  631|     45|        "float dFdyFine(float p);"
  632|     45|        "vec2  dFdyFine(vec2  p);"
  633|     45|        "vec3  dFdyFine(vec3  p);"
  634|     45|        "vec4  dFdyFine(vec4  p);"
  635|       |
  636|     45|        "float fwidthFine(float p);"
  637|     45|        "vec2  fwidthFine(vec2  p);"
  638|     45|        "vec3  fwidthFine(vec3  p);"
  639|     45|        "vec4  fwidthFine(vec4  p);"
  640|       |
  641|     45|        "float dFdxCoarse(float p);"
  642|     45|        "vec2  dFdxCoarse(vec2  p);"
  643|     45|        "vec3  dFdxCoarse(vec3  p);"
  644|     45|        "vec4  dFdxCoarse(vec4  p);"
  645|       |
  646|     45|        "float dFdyCoarse(float p);"
  647|     45|        "vec2  dFdyCoarse(vec2  p);"
  648|     45|        "vec3  dFdyCoarse(vec3  p);"
  649|     45|        "vec4  dFdyCoarse(vec4  p);"
  650|       |
  651|     45|        "float fwidthCoarse(float p);"
  652|     45|        "vec2  fwidthCoarse(vec2  p);"
  653|     45|        "vec3  fwidthCoarse(vec3  p);"
  654|     45|        "vec4  fwidthCoarse(vec4  p);"
  655|     45|    );
  656|       |
  657|     45|    TString derivativesAndControl16bits (
  658|     45|        "float16_t dFdx(float16_t);"
  659|     45|        "f16vec2   dFdx(f16vec2);"
  660|     45|        "f16vec3   dFdx(f16vec3);"
  661|     45|        "f16vec4   dFdx(f16vec4);"
  662|       |
  663|     45|        "float16_t dFdy(float16_t);"
  664|     45|        "f16vec2   dFdy(f16vec2);"
  665|     45|        "f16vec3   dFdy(f16vec3);"
  666|     45|        "f16vec4   dFdy(f16vec4);"
  667|       |
  668|     45|        "float16_t dFdxFine(float16_t);"
  669|     45|        "f16vec2   dFdxFine(f16vec2);"
  670|     45|        "f16vec3   dFdxFine(f16vec3);"
  671|     45|        "f16vec4   dFdxFine(f16vec4);"
  672|       |
  673|     45|        "float16_t dFdyFine(float16_t);"
  674|     45|        "f16vec2   dFdyFine(f16vec2);"
  675|     45|        "f16vec3   dFdyFine(f16vec3);"
  676|     45|        "f16vec4   dFdyFine(f16vec4);"
  677|       |
  678|     45|        "float16_t dFdxCoarse(float16_t);"
  679|     45|        "f16vec2   dFdxCoarse(f16vec2);"
  680|     45|        "f16vec3   dFdxCoarse(f16vec3);"
  681|     45|        "f16vec4   dFdxCoarse(f16vec4);"
  682|       |
  683|     45|        "float16_t dFdyCoarse(float16_t);"
  684|     45|        "f16vec2   dFdyCoarse(f16vec2);"
  685|     45|        "f16vec3   dFdyCoarse(f16vec3);"
  686|     45|        "f16vec4   dFdyCoarse(f16vec4);"
  687|       |
  688|     45|        "float16_t fwidth(float16_t);"
  689|     45|        "f16vec2   fwidth(f16vec2);"
  690|     45|        "f16vec3   fwidth(f16vec3);"
  691|     45|        "f16vec4   fwidth(f16vec4);"
  692|       |
  693|     45|        "float16_t fwidthFine(float16_t);"
  694|     45|        "f16vec2   fwidthFine(f16vec2);"
  695|     45|        "f16vec3   fwidthFine(f16vec3);"
  696|     45|        "f16vec4   fwidthFine(f16vec4);"
  697|       |
  698|     45|        "float16_t fwidthCoarse(float16_t);"
  699|     45|        "f16vec2   fwidthCoarse(f16vec2);"
  700|     45|        "f16vec3   fwidthCoarse(f16vec3);"
  701|     45|        "f16vec4   fwidthCoarse(f16vec4);"
  702|     45|    );
  703|       |
  704|     45|    TString derivativesAndControl64bits (
  705|     45|        "float64_t dFdx(float64_t);"
  706|     45|        "f64vec2   dFdx(f64vec2);"
  707|     45|        "f64vec3   dFdx(f64vec3);"
  708|     45|        "f64vec4   dFdx(f64vec4);"
  709|       |
  710|     45|        "float64_t dFdy(float64_t);"
  711|     45|        "f64vec2   dFdy(f64vec2);"
  712|     45|        "f64vec3   dFdy(f64vec3);"
  713|     45|        "f64vec4   dFdy(f64vec4);"
  714|       |
  715|     45|        "float64_t dFdxFine(float64_t);"
  716|     45|        "f64vec2   dFdxFine(f64vec2);"
  717|     45|        "f64vec3   dFdxFine(f64vec3);"
  718|     45|        "f64vec4   dFdxFine(f64vec4);"
  719|       |
  720|     45|        "float64_t dFdyFine(float64_t);"
  721|     45|        "f64vec2   dFdyFine(f64vec2);"
  722|     45|        "f64vec3   dFdyFine(f64vec3);"
  723|     45|        "f64vec4   dFdyFine(f64vec4);"
  724|       |
  725|     45|        "float64_t dFdxCoarse(float64_t);"
  726|     45|        "f64vec2   dFdxCoarse(f64vec2);"
  727|     45|        "f64vec3   dFdxCoarse(f64vec3);"
  728|     45|        "f64vec4   dFdxCoarse(f64vec4);"
  729|       |
  730|     45|        "float64_t dFdyCoarse(float64_t);"
  731|     45|        "f64vec2   dFdyCoarse(f64vec2);"
  732|     45|        "f64vec3   dFdyCoarse(f64vec3);"
  733|     45|        "f64vec4   dFdyCoarse(f64vec4);"
  734|       |
  735|     45|        "float64_t fwidth(float64_t);"
  736|     45|        "f64vec2   fwidth(f64vec2);"
  737|     45|        "f64vec3   fwidth(f64vec3);"
  738|     45|        "f64vec4   fwidth(f64vec4);"
  739|       |
  740|     45|        "float64_t fwidthFine(float64_t);"
  741|     45|        "f64vec2   fwidthFine(f64vec2);"
  742|     45|        "f64vec3   fwidthFine(f64vec3);"
  743|     45|        "f64vec4   fwidthFine(f64vec4);"
  744|       |
  745|     45|        "float64_t fwidthCoarse(float64_t);"
  746|     45|        "f64vec2   fwidthCoarse(f64vec2);"
  747|     45|        "f64vec3   fwidthCoarse(f64vec3);"
  748|     45|        "f64vec4   fwidthCoarse(f64vec4);"
  749|     45|    );
  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|     45|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (760:9): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 310) {  // Explicit Types
  ------------------
  |  Branch (990:9): [True: 38, False: 7]
  |  Branch (990:34): [True: 0, False: 38]
  ------------------
  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|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1186:10): [True: 7, False: 38]
  |  Branch (1186:35): [True: 7, False: 0]
  |  Branch (1186:55): [True: 38, False: 0]
  |  Branch (1186:80): [True: 0, False: 38]
  ------------------
 1187|      7|        commonBuiltins.append(
 1188|       |
 1189|      7|            "int64_t abs(int64_t);"
 1190|      7|            "i64vec2 abs(i64vec2);"
 1191|      7|            "i64vec3 abs(i64vec3);"
 1192|      7|            "i64vec4 abs(i64vec4);"
 1193|       |
 1194|      7|            "int64_t sign(int64_t);"
 1195|      7|            "i64vec2 sign(i64vec2);"
 1196|      7|            "i64vec3 sign(i64vec3);"
 1197|      7|            "i64vec4 sign(i64vec4);"
 1198|       |
 1199|      7|            "int64_t  min(int64_t,  int64_t);"
 1200|      7|            "i64vec2  min(i64vec2,  int64_t);"
 1201|      7|            "i64vec3  min(i64vec3,  int64_t);"
 1202|      7|            "i64vec4  min(i64vec4,  int64_t);"
 1203|      7|            "i64vec2  min(i64vec2,  i64vec2);"
 1204|      7|            "i64vec3  min(i64vec3,  i64vec3);"
 1205|      7|            "i64vec4  min(i64vec4,  i64vec4);"
 1206|      7|            "uint64_t min(uint64_t, uint64_t);"
 1207|      7|            "u64vec2  min(u64vec2,  uint64_t);"
 1208|      7|            "u64vec3  min(u64vec3,  uint64_t);"
 1209|      7|            "u64vec4  min(u64vec4,  uint64_t);"
 1210|      7|            "u64vec2  min(u64vec2,  u64vec2);"
 1211|      7|            "u64vec3  min(u64vec3,  u64vec3);"
 1212|      7|            "u64vec4  min(u64vec4,  u64vec4);"
 1213|       |
 1214|      7|            "int64_t  max(int64_t,  int64_t);"
 1215|      7|            "i64vec2  max(i64vec2,  int64_t);"
 1216|      7|            "i64vec3  max(i64vec3,  int64_t);"
 1217|      7|            "i64vec4  max(i64vec4,  int64_t);"
 1218|      7|            "i64vec2  max(i64vec2,  i64vec2);"
 1219|      7|            "i64vec3  max(i64vec3,  i64vec3);"
 1220|      7|            "i64vec4  max(i64vec4,  i64vec4);"
 1221|      7|            "uint64_t max(uint64_t, uint64_t);"
 1222|      7|            "u64vec2  max(u64vec2,  uint64_t);"
 1223|      7|            "u64vec3  max(u64vec3,  uint64_t);"
 1224|      7|            "u64vec4  max(u64vec4,  uint64_t);"
 1225|      7|            "u64vec2  max(u64vec2,  u64vec2);"
 1226|      7|            "u64vec3  max(u64vec3,  u64vec3);"
 1227|      7|            "u64vec4  max(u64vec4,  u64vec4);"
 1228|       |
 1229|      7|            "int64_t  clamp(int64_t,  int64_t,  int64_t);"
 1230|      7|            "i64vec2  clamp(i64vec2,  int64_t,  int64_t);"
 1231|      7|            "i64vec3  clamp(i64vec3,  int64_t,  int64_t);"
 1232|      7|            "i64vec4  clamp(i64vec4,  int64_t,  int64_t);"
 1233|      7|            "i64vec2  clamp(i64vec2,  i64vec2,  i64vec2);"
 1234|      7|            "i64vec3  clamp(i64vec3,  i64vec3,  i64vec3);"
 1235|      7|            "i64vec4  clamp(i64vec4,  i64vec4,  i64vec4);"
 1236|      7|            "uint64_t clamp(uint64_t, uint64_t, uint64_t);"
 1237|      7|            "u64vec2  clamp(u64vec2,  uint64_t, uint64_t);"
 1238|      7|            "u64vec3  clamp(u64vec3,  uint64_t, uint64_t);"
 1239|      7|            "u64vec4  clamp(u64vec4,  uint64_t, uint64_t);"
 1240|      7|            "u64vec2  clamp(u64vec2,  u64vec2,  u64vec2);"
 1241|      7|            "u64vec3  clamp(u64vec3,  u64vec3,  u64vec3);"
 1242|      7|            "u64vec4  clamp(u64vec4,  u64vec4,  u64vec4);"
 1243|       |
 1244|      7|            "int64_t  mix(int64_t,  int64_t,  bool);"
 1245|      7|            "i64vec2  mix(i64vec2,  i64vec2,  bvec2);"
 1246|      7|            "i64vec3  mix(i64vec3,  i64vec3,  bvec3);"
 1247|      7|            "i64vec4  mix(i64vec4,  i64vec4,  bvec4);"
 1248|      7|            "uint64_t mix(uint64_t, uint64_t, bool);"
 1249|      7|            "u64vec2  mix(u64vec2,  u64vec2,  bvec2);"
 1250|      7|            "u64vec3  mix(u64vec3,  u64vec3,  bvec3);"
 1251|      7|            "u64vec4  mix(u64vec4,  u64vec4,  bvec4);"
 1252|       |
 1253|      7|            "int64_t doubleBitsToInt64(float64_t);"
 1254|      7|            "i64vec2 doubleBitsToInt64(f64vec2);"
 1255|      7|            "i64vec3 doubleBitsToInt64(f64vec3);"
 1256|      7|            "i64vec4 doubleBitsToInt64(f64vec4);"
 1257|       |
 1258|      7|            "uint64_t doubleBitsToUint64(float64_t);"
 1259|      7|            "u64vec2  doubleBitsToUint64(f64vec2);"
 1260|      7|            "u64vec3  doubleBitsToUint64(f64vec3);"
 1261|      7|            "u64vec4  doubleBitsToUint64(f64vec4);"
 1262|       |
 1263|      7|            "float64_t int64BitsToDouble(int64_t);"
 1264|      7|            "f64vec2  int64BitsToDouble(i64vec2);"
 1265|      7|            "f64vec3  int64BitsToDouble(i64vec3);"
 1266|      7|            "f64vec4  int64BitsToDouble(i64vec4);"
 1267|       |
 1268|      7|            "float64_t uint64BitsToDouble(uint64_t);"
 1269|      7|            "f64vec2  uint64BitsToDouble(u64vec2);"
 1270|      7|            "f64vec3  uint64BitsToDouble(u64vec3);"
 1271|      7|            "f64vec4  uint64BitsToDouble(u64vec4);"
 1272|       |
 1273|      7|            "int64_t  packInt2x32(ivec2);"
 1274|      7|            "uint64_t packUint2x32(uvec2);"
 1275|      7|            "ivec2    unpackInt2x32(int64_t);"
 1276|      7|            "uvec2    unpackUint2x32(uint64_t);"
 1277|       |
 1278|      7|            "bvec2 lessThan(i64vec2, i64vec2);"
 1279|      7|            "bvec3 lessThan(i64vec3, i64vec3);"
 1280|      7|            "bvec4 lessThan(i64vec4, i64vec4);"
 1281|      7|            "bvec2 lessThan(u64vec2, u64vec2);"
 1282|      7|            "bvec3 lessThan(u64vec3, u64vec3);"
 1283|      7|            "bvec4 lessThan(u64vec4, u64vec4);"
 1284|       |
 1285|      7|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 1286|      7|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 1287|      7|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 1288|      7|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 1289|      7|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 1290|      7|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 1291|       |
 1292|      7|            "bvec2 greaterThan(i64vec2, i64vec2);"
 1293|      7|            "bvec3 greaterThan(i64vec3, i64vec3);"
 1294|      7|            "bvec4 greaterThan(i64vec4, i64vec4);"
 1295|      7|            "bvec2 greaterThan(u64vec2, u64vec2);"
 1296|      7|            "bvec3 greaterThan(u64vec3, u64vec3);"
 1297|      7|            "bvec4 greaterThan(u64vec4, u64vec4);"
 1298|       |
 1299|      7|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 1300|      7|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 1301|      7|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 1302|      7|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 1303|      7|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 1304|      7|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 1305|       |
 1306|      7|            "bvec2 equal(i64vec2, i64vec2);"
 1307|      7|            "bvec3 equal(i64vec3, i64vec3);"
 1308|      7|            "bvec4 equal(i64vec4, i64vec4);"
 1309|      7|            "bvec2 equal(u64vec2, u64vec2);"
 1310|      7|            "bvec3 equal(u64vec3, u64vec3);"
 1311|      7|            "bvec4 equal(u64vec4, u64vec4);"
 1312|       |
 1313|      7|            "bvec2 notEqual(i64vec2, i64vec2);"
 1314|      7|            "bvec3 notEqual(i64vec3, i64vec3);"
 1315|      7|            "bvec4 notEqual(i64vec4, i64vec4);"
 1316|      7|            "bvec2 notEqual(u64vec2, u64vec2);"
 1317|      7|            "bvec3 notEqual(u64vec3, u64vec3);"
 1318|      7|            "bvec4 notEqual(u64vec4, u64vec4);"
 1319|       |
 1320|      7|            "int64_t bitCount(int64_t);"
 1321|      7|            "i64vec2 bitCount(i64vec2);"
 1322|      7|            "i64vec3 bitCount(i64vec3);"
 1323|      7|            "i64vec4 bitCount(i64vec4);"
 1324|       |
 1325|      7|            "int64_t bitCount(uint64_t);"
 1326|      7|            "i64vec2 bitCount(u64vec2);"
 1327|      7|            "i64vec3 bitCount(u64vec3);"
 1328|      7|            "i64vec4 bitCount(u64vec4);"
 1329|       |
 1330|      7|            "int64_t findLSB(int64_t);"
 1331|      7|            "i64vec2 findLSB(i64vec2);"
 1332|      7|            "i64vec3 findLSB(i64vec3);"
 1333|      7|            "i64vec4 findLSB(i64vec4);"
 1334|       |
 1335|      7|            "int64_t findLSB(uint64_t);"
 1336|      7|            "i64vec2 findLSB(u64vec2);"
 1337|      7|            "i64vec3 findLSB(u64vec3);"
 1338|      7|            "i64vec4 findLSB(u64vec4);"
 1339|       |
 1340|      7|            "int64_t findMSB(int64_t);"
 1341|      7|            "i64vec2 findMSB(i64vec2);"
 1342|      7|            "i64vec3 findMSB(i64vec3);"
 1343|      7|            "i64vec4 findMSB(i64vec4);"
 1344|       |
 1345|      7|            "int64_t findMSB(uint64_t);"
 1346|      7|            "i64vec2 findMSB(u64vec2);"
 1347|      7|            "i64vec3 findMSB(u64vec3);"
 1348|      7|            "i64vec4 findMSB(u64vec4);"
 1349|       |
 1350|      7|            "\n"
 1351|      7|        );
 1352|      7|    }
 1353|       |
 1354|       |    // GL_AMD_shader_trinary_minmax
 1355|     45|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1355:9): [True: 7, False: 38]
  |  Branch (1355:34): [True: 7, False: 0]
  ------------------
 1356|      7|        commonBuiltins.append(
 1357|      7|            "float min3(float, float, float);"
 1358|      7|            "vec2  min3(vec2,  vec2,  vec2);"
 1359|      7|            "vec3  min3(vec3,  vec3,  vec3);"
 1360|      7|            "vec4  min3(vec4,  vec4,  vec4);"
 1361|       |
 1362|      7|            "int   min3(int,   int,   int);"
 1363|      7|            "ivec2 min3(ivec2, ivec2, ivec2);"
 1364|      7|            "ivec3 min3(ivec3, ivec3, ivec3);"
 1365|      7|            "ivec4 min3(ivec4, ivec4, ivec4);"
 1366|       |
 1367|      7|            "uint  min3(uint,  uint,  uint);"
 1368|      7|            "uvec2 min3(uvec2, uvec2, uvec2);"
 1369|      7|            "uvec3 min3(uvec3, uvec3, uvec3);"
 1370|      7|            "uvec4 min3(uvec4, uvec4, uvec4);"
 1371|       |
 1372|      7|            "float max3(float, float, float);"
 1373|      7|            "vec2  max3(vec2,  vec2,  vec2);"
 1374|      7|            "vec3  max3(vec3,  vec3,  vec3);"
 1375|      7|            "vec4  max3(vec4,  vec4,  vec4);"
 1376|       |
 1377|      7|            "int   max3(int,   int,   int);"
 1378|      7|            "ivec2 max3(ivec2, ivec2, ivec2);"
 1379|      7|            "ivec3 max3(ivec3, ivec3, ivec3);"
 1380|      7|            "ivec4 max3(ivec4, ivec4, ivec4);"
 1381|       |
 1382|      7|            "uint  max3(uint,  uint,  uint);"
 1383|      7|            "uvec2 max3(uvec2, uvec2, uvec2);"
 1384|      7|            "uvec3 max3(uvec3, uvec3, uvec3);"
 1385|      7|            "uvec4 max3(uvec4, uvec4, uvec4);"
 1386|       |
 1387|      7|            "float mid3(float, float, float);"
 1388|      7|            "vec2  mid3(vec2,  vec2,  vec2);"
 1389|      7|            "vec3  mid3(vec3,  vec3,  vec3);"
 1390|      7|            "vec4  mid3(vec4,  vec4,  vec4);"
 1391|       |
 1392|      7|            "int   mid3(int,   int,   int);"
 1393|      7|            "ivec2 mid3(ivec2, ivec2, ivec2);"
 1394|      7|            "ivec3 mid3(ivec3, ivec3, ivec3);"
 1395|      7|            "ivec4 mid3(ivec4, ivec4, ivec4);"
 1396|       |
 1397|      7|            "uint  mid3(uint,  uint,  uint);"
 1398|      7|            "uvec2 mid3(uvec2, uvec2, uvec2);"
 1399|      7|            "uvec3 mid3(uvec3, uvec3, uvec3);"
 1400|      7|            "uvec4 mid3(uvec4, uvec4, uvec4);"
 1401|       |
 1402|      7|            "float16_t min3(float16_t, float16_t, float16_t);"
 1403|      7|            "f16vec2   min3(f16vec2,   f16vec2,   f16vec2);"
 1404|      7|            "f16vec3   min3(f16vec3,   f16vec3,   f16vec3);"
 1405|      7|            "f16vec4   min3(f16vec4,   f16vec4,   f16vec4);"
 1406|       |
 1407|      7|            "float16_t max3(float16_t, float16_t, float16_t);"
 1408|      7|            "f16vec2   max3(f16vec2,   f16vec2,   f16vec2);"
 1409|      7|            "f16vec3   max3(f16vec3,   f16vec3,   f16vec3);"
 1410|      7|            "f16vec4   max3(f16vec4,   f16vec4,   f16vec4);"
 1411|       |
 1412|      7|            "float16_t mid3(float16_t, float16_t, float16_t);"
 1413|      7|            "f16vec2   mid3(f16vec2,   f16vec2,   f16vec2);"
 1414|      7|            "f16vec3   mid3(f16vec3,   f16vec3,   f16vec3);"
 1415|      7|            "f16vec4   mid3(f16vec4,   f16vec4,   f16vec4);"
 1416|       |
 1417|      7|            "int16_t   min3(int16_t,   int16_t,   int16_t);"
 1418|      7|            "i16vec2   min3(i16vec2,   i16vec2,   i16vec2);"
 1419|      7|            "i16vec3   min3(i16vec3,   i16vec3,   i16vec3);"
 1420|      7|            "i16vec4   min3(i16vec4,   i16vec4,   i16vec4);"
 1421|       |
 1422|      7|            "int16_t   max3(int16_t,   int16_t,   int16_t);"
 1423|      7|            "i16vec2   max3(i16vec2,   i16vec2,   i16vec2);"
 1424|      7|            "i16vec3   max3(i16vec3,   i16vec3,   i16vec3);"
 1425|      7|            "i16vec4   max3(i16vec4,   i16vec4,   i16vec4);"
 1426|       |
 1427|      7|            "int16_t   mid3(int16_t,   int16_t,   int16_t);"
 1428|      7|            "i16vec2   mid3(i16vec2,   i16vec2,   i16vec2);"
 1429|      7|            "i16vec3   mid3(i16vec3,   i16vec3,   i16vec3);"
 1430|      7|            "i16vec4   mid3(i16vec4,   i16vec4,   i16vec4);"
 1431|       |
 1432|      7|            "uint16_t  min3(uint16_t,  uint16_t,  uint16_t);"
 1433|      7|            "u16vec2   min3(u16vec2,   u16vec2,   u16vec2);"
 1434|      7|            "u16vec3   min3(u16vec3,   u16vec3,   u16vec3);"
 1435|      7|            "u16vec4   min3(u16vec4,   u16vec4,   u16vec4);"
 1436|       |
 1437|      7|            "uint16_t  max3(uint16_t,  uint16_t,  uint16_t);"
 1438|      7|            "u16vec2   max3(u16vec2,   u16vec2,   u16vec2);"
 1439|      7|            "u16vec3   max3(u16vec3,   u16vec3,   u16vec3);"
 1440|      7|            "u16vec4   max3(u16vec4,   u16vec4,   u16vec4);"
 1441|       |
 1442|      7|            "uint16_t  mid3(uint16_t,  uint16_t,  uint16_t);"
 1443|      7|            "u16vec2   mid3(u16vec2,   u16vec2,   u16vec2);"
 1444|      7|            "u16vec3   mid3(u16vec3,   u16vec3,   u16vec3);"
 1445|      7|            "u16vec4   mid3(u16vec4,   u16vec4,   u16vec4);"
 1446|       |
 1447|      7|            "\n"
 1448|      7|        );
 1449|      7|    }
 1450|       |
 1451|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1451:10): [True: 38, False: 7]
  |  Branch (1451:35): [True: 0, False: 38]
  ------------------
 1452|     45|        (profile != EEsProfile && version >= 430)) {
  ------------------
  |  Branch (1452:10): [True: 7, False: 38]
  |  Branch (1452:35): [True: 7, False: 0]
  ------------------
 1453|      7|        commonBuiltins.append(
 1454|      7|            "uint atomicAdd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1455|      7|            " int atomicAdd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1456|       |
 1457|      7|            "uint atomicMin(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1458|      7|            " int atomicMin(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1459|       |
 1460|      7|            "uint atomicMax(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1461|      7|            " int atomicMax(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1462|       |
 1463|      7|            "uint atomicAnd(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1464|      7|            " int atomicAnd(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1465|       |
 1466|      7|            "uint atomicOr (coherent volatile nontemporal inout uint, uint, int, int, int);"
 1467|      7|            " int atomicOr (coherent volatile nontemporal inout  int,  int, int, int, int);"
 1468|       |
 1469|      7|            "uint atomicXor(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1470|      7|            " int atomicXor(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1471|       |
 1472|      7|            "uint atomicExchange(coherent volatile nontemporal inout uint, uint, int, int, int);"
 1473|      7|            " int atomicExchange(coherent volatile nontemporal inout  int,  int, int, int, int);"
 1474|       |
 1475|      7|            "uint atomicCompSwap(coherent volatile nontemporal inout uint, uint, uint, int, int, int, int, int);"
 1476|      7|            " int atomicCompSwap(coherent volatile nontemporal inout  int,  int,  int, int, int, int, int, int);"
 1477|       |
 1478|      7|            "uint atomicLoad(coherent volatile nontemporal in uint, int, int, int);"
 1479|      7|            " int atomicLoad(coherent volatile nontemporal in  int, int, int, int);"
 1480|       |
 1481|      7|            "void atomicStore(coherent volatile nontemporal out uint, uint, int, int, int);"
 1482|      7|            "void atomicStore(coherent volatile nontemporal out  int,  int, int, int, int);"
 1483|       |
 1484|      7|            "\n");
 1485|      7|    }
 1486|       |
 1487|     45|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (1487:9): [True: 7, False: 38]
  |  Branch (1487:34): [True: 7, False: 0]
  ------------------
 1488|      7|        commonBuiltins.append(
 1489|      7|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1490|      7|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1491|      7|            "uint64_t atomicMin(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1492|      7|            " int64_t atomicMin(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1493|      7|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t);"
 1494|      7|            "float16_t atomicMin(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1495|      7|            "   float atomicMin(coherent volatile nontemporal inout float, float);"
 1496|      7|            "   float atomicMin(coherent volatile nontemporal inout float, float, int, int, int);"
 1497|      7|            "  double atomicMin(coherent volatile nontemporal inout double, double);"
 1498|      7|            "  double atomicMin(coherent volatile nontemporal inout double, double, int, int, int);"
 1499|       |
 1500|      7|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1501|      7|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1502|      7|            "uint64_t atomicMax(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1503|      7|            " int64_t atomicMax(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1504|      7|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t);"
 1505|      7|            "float16_t atomicMax(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1506|      7|            "   float atomicMax(coherent volatile nontemporal inout float, float);"
 1507|      7|            "   float atomicMax(coherent volatile nontemporal inout float, float, int, int, int);"
 1508|      7|            "  double atomicMax(coherent volatile nontemporal inout double, double);"
 1509|      7|            "  double atomicMax(coherent volatile nontemporal inout double, double, int, int, int);"
 1510|       |
 1511|      7|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1512|      7|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1513|      7|            "uint64_t atomicAnd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1514|      7|            " int64_t atomicAnd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1515|       |
 1516|      7|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t);"
 1517|      7|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t);"
 1518|      7|            "uint64_t atomicOr (coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1519|      7|            " int64_t atomicOr (coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1520|       |
 1521|      7|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1522|      7|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1523|      7|            "uint64_t atomicXor(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1524|      7|            " int64_t atomicXor(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1525|       |
 1526|      7|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1527|      7|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1528|      7|            "uint64_t atomicAdd(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1529|      7|            " int64_t atomicAdd(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1530|      7|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t);"
 1531|      7|            "float16_t atomicAdd(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1532|      7|            "   float atomicAdd(coherent volatile nontemporal inout float, float);"
 1533|      7|            "   float atomicAdd(coherent volatile nontemporal inout float, float, int, int, int);"
 1534|      7|            "  double atomicAdd(coherent volatile nontemporal inout double, double);"
 1535|      7|            "  double atomicAdd(coherent volatile nontemporal inout double, double, int, int, int);"
 1536|       |
 1537|      7|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t);"
 1538|      7|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t);"
 1539|      7|            "uint64_t atomicExchange(coherent volatile nontemporal inout uint64_t, uint64_t, int, int, int);"
 1540|      7|            " int64_t atomicExchange(coherent volatile nontemporal inout  int64_t,  int64_t, int, int, int);"
 1541|      7|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t);"
 1542|      7|            "float16_t atomicExchange(coherent volatile nontemporal inout float16_t, float16_t, int, int, int);"
 1543|      7|            "   float atomicExchange(coherent volatile nontemporal inout float, float);"
 1544|      7|            "   float atomicExchange(coherent volatile nontemporal inout float, float, int, int, int);"
 1545|      7|            "  double atomicExchange(coherent volatile nontemporal inout double, double);"
 1546|      7|            "  double atomicExchange(coherent volatile nontemporal inout double, double, int, int, int);"
 1547|       |
 1548|      7|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t);"
 1549|      7|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t);"
 1550|      7|            "uint64_t atomicCompSwap(coherent volatile nontemporal inout uint64_t, uint64_t, uint64_t, int, int, int, int, int);"
 1551|      7|            " int64_t atomicCompSwap(coherent volatile nontemporal inout  int64_t,  int64_t,  int64_t, int, int, int, int, int);"
 1552|       |
 1553|      7|            "uint64_t atomicLoad(coherent volatile nontemporal in uint64_t, int, int, int);"
 1554|      7|            " int64_t atomicLoad(coherent volatile nontemporal in  int64_t, int, int, int);"
 1555|      7|            "float16_t atomicLoad(coherent volatile nontemporal in float16_t, int, int, int);"
 1556|      7|            "   float atomicLoad(coherent volatile nontemporal in float, int, int, int);"
 1557|      7|            "  double atomicLoad(coherent volatile nontemporal in double, int, int, int);"
 1558|       |
 1559|      7|            "void atomicStore(coherent volatile nontemporal out uint64_t, uint64_t, int, int, int);"
 1560|      7|            "void atomicStore(coherent volatile nontemporal out  int64_t,  int64_t, int, int, int);"
 1561|      7|            "void atomicStore(coherent volatile nontemporal out float16_t, float16_t, int, int, int);"
 1562|      7|            "void atomicStore(coherent volatile nontemporal out float, float, int, int, int);"
 1563|      7|            "void atomicStore(coherent volatile nontemporal out double, double, int, int, int);"
 1564|      7|            "\n");
 1565|      7|    }
 1566|       |
 1567|       |    // NV_shader_atomic_fp16_vector
 1568|     45|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (1568:9): [True: 7, False: 38]
  |  Branch (1568:34): [True: 7, False: 0]
  ------------------
 1569|      7|        commonBuiltins.append(
 1570|      7|            "f16vec2 atomicAdd(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1571|      7|            "f16vec4 atomicAdd(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1572|      7|            "f16vec2 atomicMin(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1573|      7|            "f16vec4 atomicMin(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1574|      7|            "f16vec2 atomicMax(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1575|      7|            "f16vec4 atomicMax(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1576|      7|            "f16vec2 atomicExchange(coherent volatile nontemporal inout f16vec2, f16vec2);"
 1577|      7|            "f16vec4 atomicExchange(coherent volatile nontemporal inout f16vec4, f16vec4);"
 1578|      7|            "\n");
 1579|      7|    }
 1580|       |
 1581|     45|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1581:10): [True: 38, False: 7]
  |  Branch (1581:35): [True: 0, False: 38]
  ------------------
 1582|     45|        (profile != EEsProfile && version >= 150)) { // GL_ARB_shader_bit_encoding
  ------------------
  |  Branch (1582:10): [True: 7, False: 38]
  |  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|     45|    if ((profile != EEsProfile && version >= 150) || // GL_NV_gpu_shader5
  ------------------
  |  Branch (1607:10): [True: 7, False: 38]
  |  Branch (1607:35): [True: 7, False: 0]
  ------------------
 1608|     38|        (profile == EEsProfile && version >= 310)) {    // GL_OES_gpu_shader5
  ------------------
  |  Branch (1608:10): [True: 38, False: 0]
  |  Branch (1608:35): [True: 0, False: 38]
  ------------------
 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|     45|    if (profile != EEsProfile && version >= 150) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1618:9): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 310) {  // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1627:9): [True: 38, False: 7]
  |  Branch (1627:34): [True: 0, False: 38]
  ------------------
 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|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1636:10): [True: 38, False: 7]
  |  Branch (1636:35): [True: 0, False: 38]
  ------------------
 1637|     45|        (profile != EEsProfile && version >= 150)) { // GL_NV_gpu_shader5
  ------------------
  |  Branch (1637:10): [True: 7, False: 38]
  |  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|     45|    if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1652:9): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 310) { // ARB_gpu_shader_fp64
  ------------------
  |  Branch (1670:9): [True: 38, False: 7]
  |  Branch (1670:34): [True: 0, False: 38]
  ------------------
 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|     45|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1685:10): [True: 38, False: 7]
  |  Branch (1685:35): [True: 0, False: 38]
  ------------------
 1686|     45|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1686:10): [True: 7, False: 38]
  |  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|     45|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1693:10): [True: 38, False: 7]
  |  Branch (1693:35): [True: 0, False: 38]
  ------------------
 1694|     45|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1694:10): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 300) {
  ------------------
  |  Branch (1702:9): [True: 38, False: 7]
  |  Branch (1702:34): [True: 0, False: 38]
  ------------------
 1703|      0|        commonBuiltins.append(
 1704|      0|            "mediump vec2 unpackHalf2x16(highp uint);"
 1705|      0|            "\n");
 1706|     45|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1706:16): [True: 7, False: 38]
  |  Branch (1706:41): [True: 7, False: 0]
  ------------------
 1707|      7|        commonBuiltins.append(
 1708|      7|            "        vec2 unpackHalf2x16(highp uint);"
 1709|      7|            "\n");
 1710|      7|    }
 1711|       |
 1712|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1712:10): [True: 38, False: 7]
  |  Branch (1712:35): [True: 0, False: 38]
  ------------------
 1713|     45|        (profile != EEsProfile && version >= 150)) {
  ------------------
  |  Branch (1713:10): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (1720:9): [True: 38, False: 7]
  |  Branch (1720:34): [True: 0, False: 38]
  ------------------
 1721|      0|        commonBuiltins.append(
 1722|      0|            "mediump vec4 unpackSnorm4x8(highp uint);"
 1723|      0|            "mediump vec4 unpackUnorm4x8(highp uint);"
 1724|      0|            "\n");
 1725|     45|    } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (1725:16): [True: 7, False: 38]
  |  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|     45|    commonBuiltins.append(
 1736|     45|        "mat2 matrixCompMult(mat2 x, mat2 y);"
 1737|     45|        "mat3 matrixCompMult(mat3 x, mat3 y);"
 1738|     45|        "mat4 matrixCompMult(mat4 x, mat4 y);"
 1739|       |
 1740|     45|        "\n");
 1741|       |
 1742|       |    // 120 is correct for both ES and desktop
 1743|     45|    if (version >= 120) {
  ------------------
  |  Branch (1743:9): [True: 7, False: 38]
  ------------------
 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|     45|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (1793:10): [True: 38, False: 7]
  |  Branch (1793:35): [True: 38, False: 0]
  ------------------
 1794|      7|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1794:10): [True: 0, False: 7]
  ------------------
 1795|      7|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1795:10): [True: 7, False: 0]
  |  Branch (1795:37): [True: 0, False: 7]
  ------------------
 1796|     38|         profile == ENoProfile) {
  ------------------
  |  Branch (1796:10): [True: 0, False: 7]
  ------------------
 1797|     38|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1797:13): [True: 38, False: 0]
  ------------------
 1798|     38|            commonBuiltins.append(
 1799|     38|                "vec4 texture2D(sampler2D, vec2);"
 1800|       |
 1801|     38|                "vec4 texture2DProj(sampler2D, vec3);"
 1802|     38|                "vec4 texture2DProj(sampler2D, vec4);"
 1803|       |
 1804|     38|                "vec4 texture3D(sampler3D, vec3);"     // OES_texture_3D, but caught by keyword check
 1805|     38|                "vec4 texture3DProj(sampler3D, vec4);" // OES_texture_3D, but caught by keyword check
 1806|       |
 1807|     38|                "vec4 textureCube(samplerCube, vec3);"
 1808|       |
 1809|     38|                "\n");
 1810|     38|        }
 1811|     38|    }
 1812|       |
 1813|     45|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (1813:10): [True: 0, False: 45]
  ------------------
 1814|     45|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (1814:10): [True: 7, False: 38]
  |  Branch (1814:37): [True: 0, False: 7]
  ------------------
 1815|     45|         profile == ENoProfile) {
  ------------------
  |  Branch (1815:10): [True: 0, False: 45]
  ------------------
 1816|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1816:13): [True: 0, False: 0]
  ------------------
 1817|      0|            commonBuiltins.append(
 1818|      0|                "vec4 texture1D(sampler1D, float);"
 1819|       |
 1820|      0|                "vec4 texture1DProj(sampler1D, vec2);"
 1821|      0|                "vec4 texture1DProj(sampler1D, vec4);"
 1822|       |
 1823|      0|                "vec4 shadow1D(sampler1DShadow, vec3);"
 1824|      0|                "vec4 shadow2D(sampler2DShadow, vec3);"
 1825|      0|                "vec4 shadow1DProj(sampler1DShadow, vec4);"
 1826|      0|                "vec4 shadow2DProj(sampler2DShadow, vec4);"
 1827|       |
 1828|      0|                "vec4 texture2DRect(sampler2DRect, vec2);"          // GL_ARB_texture_rectangle, caught by keyword check
 1829|      0|                "vec4 texture2DRectProj(sampler2DRect, vec3);"      // GL_ARB_texture_rectangle, caught by keyword check
 1830|      0|                "vec4 texture2DRectProj(sampler2DRect, vec4);"      // GL_ARB_texture_rectangle, caught by keyword check
 1831|      0|                "vec4 shadow2DRect(sampler2DRectShadow, vec3);"     // GL_ARB_texture_rectangle, caught by keyword check
 1832|      0|                "vec4 shadow2DRectProj(sampler2DRectShadow, vec4);" // GL_ARB_texture_rectangle, caught by keyword check
 1833|       |
 1834|      0|                "vec4 texture1DArray(sampler1DArray, vec2);"      // GL_EXT_texture_array
 1835|      0|                "vec4 texture2DArray(sampler2DArray, vec3);"      // GL_EXT_texture_array
 1836|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3);" // GL_EXT_texture_array
 1837|      0|                "vec4 shadow2DArray(sampler2DArrayShadow, vec4);" // GL_EXT_texture_array
 1838|      0|                "vec4 texture1DArray(sampler1DArray, vec2, float);"                // GL_EXT_texture_array
 1839|      0|                "vec4 texture2DArray(sampler2DArray, vec3, float);"                // GL_EXT_texture_array
 1840|      0|                "vec4 shadow1DArray(sampler1DArrayShadow, vec3, float);"           // GL_EXT_texture_array
 1841|      0|                "vec4 texture1DArrayLod(sampler1DArray, vec2, float);"      // GL_EXT_texture_array
 1842|      0|                "vec4 texture2DArrayLod(sampler2DArray, vec3, float);"      // GL_EXT_texture_array
 1843|      0|                "vec4 shadow1DArrayLod(sampler1DArrayShadow, vec3, float);" // GL_EXT_texture_array
 1844|      0|                "\n");
 1845|      0|        }
 1846|      0|    }
 1847|       |
 1848|     45|    if (profile == EEsProfile) {
  ------------------
  |  Branch (1848:9): [True: 38, False: 7]
  ------------------
 1849|     38|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (1849:13): [True: 38, False: 0]
  ------------------
 1850|     38|            if (version < 300) {
  ------------------
  |  Branch (1850:17): [True: 38, False: 0]
  ------------------
 1851|     38|                commonBuiltins.append(
 1852|     38|                    "vec4 texture2D(samplerExternalOES, vec2 coord);" // GL_OES_EGL_image_external
 1853|     38|                    "vec4 texture2DProj(samplerExternalOES, vec3);"   // GL_OES_EGL_image_external
 1854|     38|                    "vec4 texture2DProj(samplerExternalOES, vec4);"   // GL_OES_EGL_image_external
 1855|     38|                "\n");
 1856|     38|            } 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|     38|            commonBuiltins.append(
 1869|     38|                "highp ivec2 textureSize(__samplerExternal2DY2YEXT, int lod);" // GL_EXT_YUV_target
 1870|     38|                "vec4 texture(__samplerExternal2DY2YEXT, vec2);"               // GL_EXT_YUV_target
 1871|     38|                "vec4 texture(__samplerExternal2DY2YEXT, vec2, float bias);"   // GL_EXT_YUV_target
 1872|     38|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3);"           // GL_EXT_YUV_target
 1873|     38|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec3, float bias);" // GL_EXT_YUV_target
 1874|     38|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4);"           // GL_EXT_YUV_target
 1875|     38|                "vec4 textureProj(__samplerExternal2DY2YEXT, vec4, float bias);" // GL_EXT_YUV_target
 1876|     38|                "vec4 texelFetch(__samplerExternal2DY2YEXT sampler, ivec2, int lod);" // GL_EXT_YUV_target
 1877|     38|                "\n");
 1878|     38|            commonBuiltins.append(
 1879|     38|                "vec4 texture2DGradEXT(sampler2D, vec2, vec2, vec2);"      // GL_EXT_shader_texture_lod
 1880|     38|                "vec4 texture2DProjGradEXT(sampler2D, vec3, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1881|     38|                "vec4 texture2DProjGradEXT(sampler2D, vec4, vec2, vec2);"  // GL_EXT_shader_texture_lod
 1882|     38|                "vec4 textureCubeGradEXT(samplerCube, vec3, vec3, vec3);"  // GL_EXT_shader_texture_lod
 1883|       |
 1884|     38|                "float shadow2DEXT(sampler2DShadow, vec3);"     // GL_EXT_shadow_samplers
 1885|     38|                "float shadow2DProjEXT(sampler2DShadow, vec4);" // GL_EXT_shadow_samplers
 1886|       |
 1887|     38|                "\n");
 1888|     38|        }
 1889|     38|    }
 1890|       |
 1891|       |    //
 1892|       |    // Noise functions.
 1893|       |    //
 1894|     45|    if (spvVersion.spv == 0 && profile != EEsProfile) {
  ------------------
  |  Branch (1894:9): [True: 45, False: 0]
  |  Branch (1894:32): [True: 7, False: 38]
  ------------------
 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|     45|    if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (1919:9): [True: 4, False: 41]
  ------------------
 1920|       |        //
 1921|       |        // Atomic counter functions.
 1922|       |        //
 1923|      4|        if ((profile != EEsProfile && version >= 300) ||
  ------------------
  |  Branch (1923:14): [True: 0, False: 4]
  |  Branch (1923:39): [True: 0, False: 0]
  ------------------
 1924|      4|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (1924:14): [True: 4, False: 0]
  |  Branch (1924:39): [True: 0, False: 4]
  ------------------
 1925|      0|            commonBuiltins.append(
 1926|      0|                "uint atomicCounterIncrement(atomic_uint);"
 1927|      0|                "uint atomicCounterDecrement(atomic_uint);"
 1928|      0|                "uint atomicCounter(atomic_uint);"
 1929|       |
 1930|      0|                "\n");
 1931|      0|        }
 1932|      4|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (1932:13): [True: 0, False: 4]
  |  Branch (1932:38): [True: 0, False: 0]
  ------------------
 1933|      0|            commonBuiltins.append(
 1934|      0|                "uint atomicCounterAddARB(atomic_uint, uint);"
 1935|      0|                "uint atomicCounterSubtractARB(atomic_uint, uint);"
 1936|      0|                "uint atomicCounterMinARB(atomic_uint, uint);"
 1937|      0|                "uint atomicCounterMaxARB(atomic_uint, uint);"
 1938|      0|                "uint atomicCounterAndARB(atomic_uint, uint);"
 1939|      0|                "uint atomicCounterOrARB(atomic_uint, uint);"
 1940|      0|                "uint atomicCounterXorARB(atomic_uint, uint);"
 1941|      0|                "uint atomicCounterExchangeARB(atomic_uint, uint);"
 1942|      0|                "uint atomicCounterCompSwapARB(atomic_uint, uint, uint);"
 1943|       |
 1944|      0|                "\n");
 1945|      0|        }
 1946|       |
 1947|       |
 1948|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (1948:13): [True: 0, False: 4]
  |  Branch (1948:38): [True: 0, False: 0]
  ------------------
 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|      4|    }
 1963|     41|    else if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1963:14): [True: 0, False: 41]
  ------------------
 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|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (1995:10): [True: 38, False: 7]
  |  Branch (1995:35): [True: 0, False: 38]
  ------------------
 1996|     45|        (profile != EEsProfile && version >= 150)) { // ARB_gpu_shader5/NV_gpu_shader5
  ------------------
  |  Branch (1996:10): [True: 7, False: 38]
  |  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|     45|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2021:9): [True: 7, False: 38]
  |  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|     38|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2034:16): [True: 38, False: 0]
  |  Branch (2034:41): [True: 0, False: 38]
  ------------------
 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|     45|    if (profile != EEsProfile && version >= 150) { //GL_ARB_gpu_shader5/GL_NV_gpu_shader5
  ------------------
  |  Branch (2049:9): [True: 7, False: 38]
  |  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|     45|    if (profile != EEsProfile && version >= 150 && version < 450) { //GL_NV_gpu_shader5
  ------------------
  |  Branch (2073:9): [True: 7, False: 38]
  |  Branch (2073:34): [True: 7, False: 0]
  |  Branch (2073:52): [True: 0, False: 7]
  ------------------
 2074|      0|        commonBuiltins.append(
 2075|      0|            "int64_t  packInt2x32(ivec2);"
 2076|      0|            "uint64_t packUint2x32(uvec2);"
 2077|      0|            "ivec2    unpackInt2x32(int64_t);"
 2078|      0|            "uvec2    unpackUint2x32(uint64_t);"
 2079|       |
 2080|      0|            "uint     packFloat2x16(f16vec2);"
 2081|      0|            "f16vec2  unpackFloat2x16(uint);"
 2082|       |
 2083|      0|            "int64_t doubleBitsToInt64(double);"
 2084|      0|            "i64vec2 doubleBitsToInt64(dvec2);"
 2085|      0|            "i64vec3 doubleBitsToInt64(dvec3);"
 2086|      0|            "i64vec4 doubleBitsToInt64(dvec4);"
 2087|       |
 2088|      0|            "uint64_t doubleBitsToUint64(double);"
 2089|      0|            "u64vec2  doubleBitsToUint64(dvec2);"
 2090|      0|            "u64vec3  doubleBitsToUint64(dvec3);"
 2091|      0|            "u64vec4  doubleBitsToUint64(dvec4);"
 2092|       |
 2093|      0|            "double int64BitsToDouble(int64_t);"
 2094|      0|            "dvec2  int64BitsToDouble(i64vec2);"
 2095|      0|            "dvec3  int64BitsToDouble(i64vec3);"
 2096|      0|            "dvec4  int64BitsToDouble(i64vec4);"
 2097|       |
 2098|      0|            "double uint64BitsToDouble(uint64_t);"
 2099|      0|            "dvec2  uint64BitsToDouble(u64vec2);"
 2100|      0|            "dvec3  uint64BitsToDouble(u64vec3);"
 2101|      0|            "dvec4  uint64BitsToDouble(u64vec4);"
 2102|       |            // Modifications to Vector Relational Functions
 2103|       |            // Introduction of explicitly sized types
 2104|      0|            "bvec2 lessThan(i64vec2, i64vec2);"
 2105|      0|            "bvec3 lessThan(i64vec3, i64vec3);"
 2106|      0|            "bvec4 lessThan(i64vec4, i64vec4);"
 2107|      0|            "bvec2 lessThan(u64vec2, u64vec2);"
 2108|      0|            "bvec3 lessThan(u64vec3, u64vec3);"
 2109|      0|            "bvec4 lessThan(u64vec4, u64vec4);"
 2110|       |
 2111|      0|            "bvec2 lessThanEqual(i64vec2, i64vec2);"
 2112|      0|            "bvec3 lessThanEqual(i64vec3, i64vec3);"
 2113|      0|            "bvec4 lessThanEqual(i64vec4, i64vec4);"
 2114|      0|            "bvec2 lessThanEqual(u64vec2, u64vec2);"
 2115|      0|            "bvec3 lessThanEqual(u64vec3, u64vec3);"
 2116|      0|            "bvec4 lessThanEqual(u64vec4, u64vec4);"
 2117|       |
 2118|      0|            "bvec2 greaterThan(i64vec2, i64vec2);"
 2119|      0|            "bvec3 greaterThan(i64vec3, i64vec3);"
 2120|      0|            "bvec4 greaterThan(i64vec4, i64vec4);"
 2121|      0|            "bvec2 greaterThan(u64vec2, u64vec2);"
 2122|      0|            "bvec3 greaterThan(u64vec3, u64vec3);"
 2123|      0|            "bvec4 greaterThan(u64vec4, u64vec4);"
 2124|       |
 2125|      0|            "bvec2 greaterThanEqual(i64vec2, i64vec2);"
 2126|      0|            "bvec3 greaterThanEqual(i64vec3, i64vec3);"
 2127|      0|            "bvec4 greaterThanEqual(i64vec4, i64vec4);"
 2128|      0|            "bvec2 greaterThanEqual(u64vec2, u64vec2);"
 2129|      0|            "bvec3 greaterThanEqual(u64vec3, u64vec3);"
 2130|      0|            "bvec4 greaterThanEqual(u64vec4, u64vec4);"
 2131|       |
 2132|      0|            "bvec2 equal(i64vec2, i64vec2);"
 2133|      0|            "bvec3 equal(i64vec3, i64vec3);"
 2134|      0|            "bvec4 equal(i64vec4, i64vec4);"
 2135|      0|            "bvec2 equal(u64vec2, u64vec2);"
 2136|      0|            "bvec3 equal(u64vec3, u64vec3);"
 2137|      0|            "bvec4 equal(u64vec4, u64vec4);"
 2138|       |
 2139|      0|            "bvec2 notEqual(i64vec2, i64vec2);"
 2140|      0|            "bvec3 notEqual(i64vec3, i64vec3);"
 2141|      0|            "bvec4 notEqual(i64vec4, i64vec4);"
 2142|      0|            "bvec2 notEqual(u64vec2, u64vec2);"
 2143|      0|            "bvec3 notEqual(u64vec3, u64vec3);"
 2144|      0|            "bvec4 notEqual(u64vec4, u64vec4);"
 2145|       |
 2146|      0|            "bvec2 lessThan(f16vec2, f16vec2);"
 2147|      0|            "bvec3 lessThan(f16vec3, f16vec3);"
 2148|      0|            "bvec4 lessThan(f16vec4, f16vec4);"
 2149|       |
 2150|      0|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 2151|      0|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 2152|      0|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 2153|       |
 2154|      0|            "bvec2 greaterThan(f16vec2, f16vec2);"
 2155|      0|            "bvec3 greaterThan(f16vec3, f16vec3);"
 2156|      0|            "bvec4 greaterThan(f16vec4, f16vec4);"
 2157|       |
 2158|      0|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 2159|      0|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 2160|      0|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 2161|       |
 2162|      0|            "bvec2 equal(f16vec2, f16vec2);"
 2163|      0|            "bvec3 equal(f16vec3, f16vec3);"
 2164|      0|            "bvec4 equal(f16vec4, f16vec4);"
 2165|       |
 2166|      0|            "bvec2 notEqual(f16vec2, f16vec2);"
 2167|      0|            "bvec3 notEqual(f16vec3, f16vec3);"
 2168|      0|            "bvec4 notEqual(f16vec4, f16vec4);"
 2169|       |
 2170|       |            // Dependency on GL_ARB_gpu_shader_fp64
 2171|      0|            "bvec2 lessThan(dvec2, dvec2);"
 2172|      0|            "bvec3 lessThan(dvec3, dvec3);"
 2173|      0|            "bvec4 lessThan(dvec4, dvec4);"
 2174|       |
 2175|      0|            "bvec2 lessThanEqual(dvec2, dvec2);"
 2176|      0|            "bvec3 lessThanEqual(dvec3, dvec3);"
 2177|      0|            "bvec4 lessThanEqual(dvec4, dvec4);"
 2178|       |
 2179|      0|            "bvec2 greaterThan(dvec2, dvec2);"
 2180|      0|            "bvec3 greaterThan(dvec3, dvec3);"
 2181|      0|            "bvec4 greaterThan(dvec4, dvec4);"
 2182|       |
 2183|      0|            "bvec2 greaterThanEqual(dvec2, dvec2);"
 2184|      0|            "bvec3 greaterThanEqual(dvec3, dvec3);"
 2185|      0|            "bvec4 greaterThanEqual(dvec4, dvec4);"
 2186|       |
 2187|      0|            "bvec2 equal(dvec2, dvec2);"
 2188|      0|            "bvec3 equal(dvec3, dvec3);"
 2189|      0|            "bvec4 equal(dvec4, dvec4);"
 2190|       |
 2191|      0|            "bvec2 notEqual(dvec2, dvec2);"
 2192|      0|            "bvec3 notEqual(dvec3, dvec3);"
 2193|      0|            "bvec4 notEqual(dvec4, dvec4);"
 2194|       |
 2195|      0|            "\n");
 2196|      0|    }
 2197|       |
 2198|       |
 2199|     45|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (2199:9): [True: 7, False: 38]
  |  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|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2208:10): [True: 38, False: 7]
  |  Branch (2208:35): [True: 0, False: 38]
  ------------------
 2209|     45|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (2209:10): [True: 7, False: 38]
  |  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|     45|    if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (2244:9): [True: 38, False: 7]
  |  Branch (2244:34): [True: 0, False: 38]
  ------------------
 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|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2270:9): [True: 7, False: 38]
  |  Branch (2270:34): [True: 7, False: 0]
  ------------------
 2271|      7|        commonBuiltins.append(
 2272|      7|            "uint64_t ballotARB(bool);"
 2273|       |
 2274|      7|            "float readInvocationARB(float, uint);"
 2275|      7|            "vec2  readInvocationARB(vec2,  uint);"
 2276|      7|            "vec3  readInvocationARB(vec3,  uint);"
 2277|      7|            "vec4  readInvocationARB(vec4,  uint);"
 2278|       |
 2279|      7|            "int   readInvocationARB(int,   uint);"
 2280|      7|            "ivec2 readInvocationARB(ivec2, uint);"
 2281|      7|            "ivec3 readInvocationARB(ivec3, uint);"
 2282|      7|            "ivec4 readInvocationARB(ivec4, uint);"
 2283|       |
 2284|      7|            "uint  readInvocationARB(uint,  uint);"
 2285|      7|            "uvec2 readInvocationARB(uvec2, uint);"
 2286|      7|            "uvec3 readInvocationARB(uvec3, uint);"
 2287|      7|            "uvec4 readInvocationARB(uvec4, uint);"
 2288|       |
 2289|      7|            "float readFirstInvocationARB(float);"
 2290|      7|            "vec2  readFirstInvocationARB(vec2);"
 2291|      7|            "vec3  readFirstInvocationARB(vec3);"
 2292|      7|            "vec4  readFirstInvocationARB(vec4);"
 2293|       |
 2294|      7|            "int   readFirstInvocationARB(int);"
 2295|      7|            "ivec2 readFirstInvocationARB(ivec2);"
 2296|      7|            "ivec3 readFirstInvocationARB(ivec3);"
 2297|      7|            "ivec4 readFirstInvocationARB(ivec4);"
 2298|       |
 2299|      7|            "uint  readFirstInvocationARB(uint);"
 2300|      7|            "uvec2 readFirstInvocationARB(uvec2);"
 2301|      7|            "uvec3 readFirstInvocationARB(uvec3);"
 2302|      7|            "uvec4 readFirstInvocationARB(uvec4);"
 2303|       |
 2304|      7|            "\n");
 2305|      7|    }
 2306|       |
 2307|       |    // GL_ARB_shader_group_vote
 2308|     45|    if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (2308:9): [True: 7, False: 38]
  |  Branch (2308:34): [True: 7, False: 0]
  ------------------
 2309|      7|        commonBuiltins.append(
 2310|      7|            "bool anyInvocationARB(bool);"
 2311|      7|            "bool allInvocationsARB(bool);"
 2312|      7|            "bool allInvocationsEqualARB(bool);"
 2313|       |
 2314|      7|            "\n");
 2315|      7|    }
 2316|       |
 2317|       |    // GL_EXT_integer_dot_product
 2318|     45|    if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (2318:10): [True: 38, False: 7]
  |  Branch (2318:35): [True: 0, False: 38]
  ------------------
 2319|     45|        (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (2319:10): [True: 7, False: 38]
  |  Branch (2319:35): [True: 7, False: 0]
  ------------------
 2320|      7|        commonBuiltins.append(
 2321|       |
 2322|      7|            "uint dotEXT(uvec2 a, uvec2 b);"
 2323|      7|            "int dotEXT(ivec2 a, ivec2 b);"
 2324|      7|            "int dotEXT(ivec2 a, uvec2 b);"
 2325|      7|            "int dotEXT(uvec2 a, ivec2 b);"
 2326|       |
 2327|      7|            "uint dotEXT(uvec3 a, uvec3 b);"
 2328|      7|            "int dotEXT(ivec3 a, ivec3 b);"
 2329|      7|            "int dotEXT(ivec3 a, uvec3 b);"
 2330|      7|            "int dotEXT(uvec3 a, ivec3 b);"
 2331|       |
 2332|      7|            "uint dotEXT(uvec4 a, uvec4 b);"
 2333|      7|            "int dotEXT(ivec4 a, ivec4 b);"
 2334|      7|            "int dotEXT(ivec4 a, uvec4 b);"
 2335|      7|            "int dotEXT(uvec4 a, ivec4 b);"
 2336|       |
 2337|      7|            "uint dotPacked4x8EXT(uint a, uint b);"
 2338|      7|            "int dotPacked4x8EXT(int a, uint b);"
 2339|      7|            "int dotPacked4x8EXT(uint a, int b);"
 2340|      7|            "int dotPacked4x8EXT(int a, int b);"
 2341|       |
 2342|      7|            "uint dotEXT(u8vec2 a, u8vec2 b);"
 2343|      7|            "int dotEXT(i8vec2 a, u8vec2 b);"
 2344|      7|            "int dotEXT(u8vec2 a, i8vec2 b);"
 2345|      7|            "int dotEXT(i8vec2 a, i8vec2 b);"
 2346|       |
 2347|      7|            "uint dotEXT(u8vec3 a, u8vec3 b);"
 2348|      7|            "int dotEXT(i8vec3 a, u8vec3 b);"
 2349|      7|            "int dotEXT(u8vec3 a, i8vec3 b);"
 2350|      7|            "int dotEXT(i8vec3 a, i8vec3 b);"
 2351|       |
 2352|      7|            "uint dotEXT(u8vec4 a, u8vec4 b);"
 2353|      7|            "int dotEXT(i8vec4 a, u8vec4 b);"
 2354|      7|            "int dotEXT(u8vec4 a, i8vec4 b);"
 2355|      7|            "int dotEXT(i8vec4 a, i8vec4 b);"
 2356|       |
 2357|      7|            "uint dotEXT(u16vec2 a, u16vec2 b);"
 2358|      7|            "int dotEXT(i16vec2 a, u16vec2 b);"
 2359|      7|            "int dotEXT(u16vec2 a, i16vec2 b);"
 2360|      7|            "int dotEXT(i16vec2 a, i16vec2 b);"
 2361|       |
 2362|      7|            "uint dotEXT(u16vec3 a, u16vec3 b);"
 2363|      7|            "int dotEXT(i16vec3 a, u16vec3 b);"
 2364|      7|            "int dotEXT(u16vec3 a, i16vec3 b);"
 2365|      7|            "int dotEXT(i16vec3 a, i16vec3 b);"
 2366|       |
 2367|      7|            "uint dotEXT(u16vec4 a, u16vec4 b);"
 2368|      7|            "int dotEXT(i16vec4 a, u16vec4 b);"
 2369|      7|            "int dotEXT(u16vec4 a, i16vec4 b);"
 2370|      7|            "int dotEXT(i16vec4 a, i16vec4 b);"
 2371|       |
 2372|      7|            "uint64_t dotEXT(u64vec2 a, u64vec2 b);"
 2373|      7|            "int64_t dotEXT(i64vec2 a, u64vec2 b);"
 2374|      7|            "int64_t dotEXT(u64vec2 a, i64vec2 b);"
 2375|      7|            "int64_t dotEXT(i64vec2 a, i64vec2 b);"
 2376|       |
 2377|      7|            "uint64_t dotEXT(u64vec3 a, u64vec3 b);"
 2378|      7|            "int64_t dotEXT(i64vec3 a, u64vec3 b);"
 2379|      7|            "int64_t dotEXT(u64vec3 a, i64vec3 b);"
 2380|      7|            "int64_t dotEXT(i64vec3 a, i64vec3 b);"
 2381|       |
 2382|      7|            "uint64_t dotEXT(u64vec4 a, u64vec4 b);"
 2383|      7|            "int64_t dotEXT(i64vec4 a, u64vec4 b);"
 2384|      7|            "int64_t dotEXT(u64vec4 a, i64vec4 b);"
 2385|      7|            "int64_t dotEXT(i64vec4 a, i64vec4 b);"
 2386|       |
 2387|      7|            "uint dotAccSatEXT(uvec2 a, uvec2 b, uint c);"
 2388|      7|            "int dotAccSatEXT(ivec2 a, uvec2 b, int c);"
 2389|      7|            "int dotAccSatEXT(uvec2 a, ivec2 b, int c);"
 2390|      7|            "int dotAccSatEXT(ivec2 a, ivec2 b, int c);"
 2391|       |
 2392|      7|            "uint dotAccSatEXT(uvec3 a, uvec3 b, uint c);"
 2393|      7|            "int dotAccSatEXT(ivec3 a, uvec3 b, int c);"
 2394|      7|            "int dotAccSatEXT(uvec3 a, ivec3 b, int c);"
 2395|      7|            "int dotAccSatEXT(ivec3 a, ivec3 b, int c);"
 2396|       |
 2397|      7|            "uint dotAccSatEXT(uvec4 a, uvec4 b, uint c);"
 2398|      7|            "int dotAccSatEXT(ivec4 a, uvec4 b, int c);"
 2399|      7|            "int dotAccSatEXT(uvec4 a, ivec4 b, int c);"
 2400|      7|            "int dotAccSatEXT(ivec4 a, ivec4 b, int c);"
 2401|       |
 2402|      7|            "uint dotPacked4x8AccSatEXT(uint a, uint b, uint c);"
 2403|      7|            "int dotPacked4x8AccSatEXT(int a, uint b, int c);"
 2404|      7|            "int dotPacked4x8AccSatEXT(uint a, int b, int c);"
 2405|      7|            "int dotPacked4x8AccSatEXT(int a, int b, int c);"
 2406|       |
 2407|      7|            "uint dotAccSatEXT(u8vec2 a, u8vec2 b, uint c);"
 2408|      7|            "int dotAccSatEXT(i8vec2 a, u8vec2 b, int c);"
 2409|      7|            "int dotAccSatEXT(u8vec2 a, i8vec2 b, int c);"
 2410|      7|            "int dotAccSatEXT(i8vec2 a, i8vec2 b, int c);"
 2411|       |
 2412|      7|            "uint dotAccSatEXT(u8vec3 a, u8vec3 b, uint c);"
 2413|      7|            "int dotAccSatEXT(i8vec3 a, u8vec3 b, int c);"
 2414|      7|            "int dotAccSatEXT(u8vec3 a, i8vec3 b, int c);"
 2415|      7|            "int dotAccSatEXT(i8vec3 a, i8vec3 b, int c);"
 2416|       |
 2417|      7|            "uint dotAccSatEXT(u8vec4 a, u8vec4 b, uint c);"
 2418|      7|            "int dotAccSatEXT(i8vec4 a, u8vec4 b, int c);"
 2419|      7|            "int dotAccSatEXT(u8vec4 a, i8vec4 b, int c);"
 2420|      7|            "int dotAccSatEXT(i8vec4 a, i8vec4 b, int c);"
 2421|       |
 2422|      7|            "uint dotAccSatEXT(u16vec2 a, u16vec2 b, uint c);"
 2423|      7|            "int dotAccSatEXT(i16vec2 a, u16vec2 b, int c);"
 2424|      7|            "int dotAccSatEXT(u16vec2 a, i16vec2 b, int c);"
 2425|      7|            "int dotAccSatEXT(i16vec2 a, i16vec2 b, int c);"
 2426|       |
 2427|      7|            "uint dotAccSatEXT(u16vec3 a, u16vec3 b, uint c);"
 2428|      7|            "int dotAccSatEXT(i16vec3 a, u16vec3 b, int c);"
 2429|      7|            "int dotAccSatEXT(u16vec3 a, i16vec3 b, int c);"
 2430|      7|            "int dotAccSatEXT(i16vec3 a, i16vec3 b, int c);"
 2431|       |
 2432|      7|            "uint dotAccSatEXT(u16vec4 a, u16vec4 b, uint c);"
 2433|      7|            "int dotAccSatEXT(i16vec4 a, u16vec4 b, int c);"
 2434|      7|            "int dotAccSatEXT(u16vec4 a, i16vec4 b, int c);"
 2435|      7|            "int dotAccSatEXT(i16vec4 a, i16vec4 b, int c);"
 2436|       |
 2437|      7|            "uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c);"
 2438|      7|            "int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c);"
 2439|      7|            "int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c);"
 2440|      7|            "int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c);"
 2441|       |
 2442|      7|            "uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c);"
 2443|      7|            "int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c);"
 2444|      7|            "int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c);"
 2445|      7|            "int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c);"
 2446|       |
 2447|      7|            "uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c);"
 2448|      7|            "int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c);"
 2449|      7|            "int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c);"
 2450|      7|            "int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c);"
 2451|      7|            "\n");
 2452|      7|    }
 2453|       |
 2454|       |    // GL_KHR_shader_subgroup
 2455|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2455:10): [True: 38, False: 7]
  |  Branch (2455:35): [True: 0, False: 38]
  ------------------
 2456|     45|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2456:10): [True: 7, False: 38]
  |  Branch (2456:35): [True: 7, False: 0]
  ------------------
 2457|      7|        commonBuiltins.append(
 2458|      7|            "void subgroupBarrier();"
 2459|      7|            "void subgroupMemoryBarrier();"
 2460|      7|            "void subgroupMemoryBarrierBuffer();"
 2461|      7|            "void subgroupMemoryBarrierImage();"
 2462|      7|            "bool subgroupElect();"
 2463|       |
 2464|      7|            "bool   subgroupAll(bool);\n"
 2465|      7|            "bool   subgroupAny(bool);\n"
 2466|      7|            "uvec4  subgroupBallot(bool);\n"
 2467|      7|            "bool   subgroupInverseBallot(uvec4);\n"
 2468|      7|            "bool   subgroupBallotBitExtract(uvec4, uint);\n"
 2469|      7|            "uint   subgroupBallotBitCount(uvec4);\n"
 2470|      7|            "uint   subgroupBallotInclusiveBitCount(uvec4);\n"
 2471|      7|            "uint   subgroupBallotExclusiveBitCount(uvec4);\n"
 2472|      7|            "uint   subgroupBallotFindLSB(uvec4);\n"
 2473|      7|            "uint   subgroupBallotFindMSB(uvec4);\n"
 2474|      7|            );
 2475|       |
 2476|       |        // Generate all flavors of subgroup ops.
 2477|      7|        static const char *subgroupOps[] = 
 2478|      7|        {
 2479|      7|            "bool   subgroupAllEqual(%s);\n",
 2480|      7|            "%s     subgroupBroadcast(%s, uint);\n",
 2481|      7|            "%s     subgroupBroadcastFirst(%s);\n",
 2482|      7|            "%s     subgroupShuffle(%s, uint);\n",
 2483|      7|            "%s     subgroupShuffleXor(%s, uint);\n",
 2484|      7|            "%s     subgroupShuffleUp(%s, uint delta);\n",
 2485|      7|            "%s     subgroupShuffleDown(%s, uint delta);\n",
 2486|      7|            "%s     subgroupRotate(%s, uint);\n",
 2487|      7|            "%s     subgroupClusteredRotate(%s, uint, uint);\n",
 2488|      7|            "%s     subgroupAdd(%s);\n",
 2489|      7|            "%s     subgroupMul(%s);\n",
 2490|      7|            "%s     subgroupMin(%s);\n",
 2491|      7|            "%s     subgroupMax(%s);\n",
 2492|      7|            "%s     subgroupAnd(%s);\n",
 2493|      7|            "%s     subgroupOr(%s);\n",
 2494|      7|            "%s     subgroupXor(%s);\n",
 2495|      7|            "%s     subgroupInclusiveAdd(%s);\n",
 2496|      7|            "%s     subgroupInclusiveMul(%s);\n",
 2497|      7|            "%s     subgroupInclusiveMin(%s);\n",
 2498|      7|            "%s     subgroupInclusiveMax(%s);\n",
 2499|      7|            "%s     subgroupInclusiveAnd(%s);\n",
 2500|      7|            "%s     subgroupInclusiveOr(%s);\n",
 2501|      7|            "%s     subgroupInclusiveXor(%s);\n",
 2502|      7|            "%s     subgroupExclusiveAdd(%s);\n",
 2503|      7|            "%s     subgroupExclusiveMul(%s);\n",
 2504|      7|            "%s     subgroupExclusiveMin(%s);\n",
 2505|      7|            "%s     subgroupExclusiveMax(%s);\n",
 2506|      7|            "%s     subgroupExclusiveAnd(%s);\n",
 2507|      7|            "%s     subgroupExclusiveOr(%s);\n",
 2508|      7|            "%s     subgroupExclusiveXor(%s);\n",
 2509|      7|            "%s     subgroupClusteredAdd(%s, uint);\n",
 2510|      7|            "%s     subgroupClusteredMul(%s, uint);\n",
 2511|      7|            "%s     subgroupClusteredMin(%s, uint);\n",
 2512|      7|            "%s     subgroupClusteredMax(%s, uint);\n",
 2513|      7|            "%s     subgroupClusteredAnd(%s, uint);\n",
 2514|      7|            "%s     subgroupClusteredOr(%s, uint);\n",
 2515|      7|            "%s     subgroupClusteredXor(%s, uint);\n",
 2516|      7|            "%s     subgroupQuadBroadcast(%s, uint);\n",
 2517|      7|            "%s     subgroupQuadSwapHorizontal(%s);\n",
 2518|      7|            "%s     subgroupQuadSwapVertical(%s);\n",
 2519|      7|            "%s     subgroupQuadSwapDiagonal(%s);\n",
 2520|      7|            "uvec4  subgroupPartitionNV(%s);\n",
 2521|      7|            "%s     subgroupPartitionedAddNV(%s, uvec4 ballot);\n",
 2522|      7|            "%s     subgroupPartitionedMulNV(%s, uvec4 ballot);\n",
 2523|      7|            "%s     subgroupPartitionedMinNV(%s, uvec4 ballot);\n",
 2524|      7|            "%s     subgroupPartitionedMaxNV(%s, uvec4 ballot);\n",
 2525|      7|            "%s     subgroupPartitionedAndNV(%s, uvec4 ballot);\n",
 2526|      7|            "%s     subgroupPartitionedOrNV(%s, uvec4 ballot);\n",
 2527|      7|            "%s     subgroupPartitionedXorNV(%s, uvec4 ballot);\n",
 2528|      7|            "%s     subgroupPartitionedInclusiveAddNV(%s, uvec4 ballot);\n",
 2529|      7|            "%s     subgroupPartitionedInclusiveMulNV(%s, uvec4 ballot);\n",
 2530|      7|            "%s     subgroupPartitionedInclusiveMinNV(%s, uvec4 ballot);\n",
 2531|      7|            "%s     subgroupPartitionedInclusiveMaxNV(%s, uvec4 ballot);\n",
 2532|      7|            "%s     subgroupPartitionedInclusiveAndNV(%s, uvec4 ballot);\n",
 2533|      7|            "%s     subgroupPartitionedInclusiveOrNV(%s, uvec4 ballot);\n",
 2534|      7|            "%s     subgroupPartitionedInclusiveXorNV(%s, uvec4 ballot);\n",
 2535|      7|            "%s     subgroupPartitionedExclusiveAddNV(%s, uvec4 ballot);\n",
 2536|      7|            "%s     subgroupPartitionedExclusiveMulNV(%s, uvec4 ballot);\n",
 2537|      7|            "%s     subgroupPartitionedExclusiveMinNV(%s, uvec4 ballot);\n",
 2538|      7|            "%s     subgroupPartitionedExclusiveMaxNV(%s, uvec4 ballot);\n",
 2539|      7|            "%s     subgroupPartitionedExclusiveAndNV(%s, uvec4 ballot);\n",
 2540|      7|            "%s     subgroupPartitionedExclusiveOrNV(%s, uvec4 ballot);\n",
 2541|      7|            "%s     subgroupPartitionedExclusiveXorNV(%s, uvec4 ballot);\n",
 2542|      7|        };
 2543|       |
 2544|      7|        static const char *floatTypes[] = { 
 2545|      7|            "float", "vec2", "vec3", "vec4", 
 2546|      7|            "float16_t", "f16vec2", "f16vec3", "f16vec4", 
 2547|      7|        };
 2548|      7|        static const char *doubleTypes[] = { 
 2549|      7|            "double", "dvec2", "dvec3", "dvec4", 
 2550|      7|        };
 2551|      7|        static const char *intTypes[] = { 
 2552|      7|            "int8_t", "i8vec2", "i8vec3", "i8vec4", 
 2553|      7|            "int16_t", "i16vec2", "i16vec3", "i16vec4", 
 2554|      7|            "int", "ivec2", "ivec3", "ivec4", 
 2555|      7|            "int64_t", "i64vec2", "i64vec3", "i64vec4", 
 2556|      7|            "uint8_t", "u8vec2", "u8vec3", "u8vec4", 
 2557|      7|            "uint16_t", "u16vec2", "u16vec3", "u16vec4", 
 2558|      7|            "uint", "uvec2", "uvec3", "uvec4", 
 2559|      7|            "uint64_t", "u64vec2", "u64vec3", "u64vec4", 
 2560|      7|        };
 2561|      7|        static const char *boolTypes[] = { 
 2562|      7|            "bool", "bvec2", "bvec3", "bvec4", 
 2563|      7|        };
 2564|       |
 2565|    448|        for (size_t i = 0; i < sizeof(subgroupOps)/sizeof(subgroupOps[0]); ++i) {
  ------------------
  |  Branch (2565:28): [True: 441, False: 7]
  ------------------
 2566|    441|            const char *op = subgroupOps[i];
 2567|       |
 2568|       |            // Logical operations don't support float
 2569|    441|            bool logicalOp = strstr(op, "Or") || strstr(op, "And") ||
  ------------------
  |  Branch (2569:30): [True: 49, False: 392]
  |  Branch (2569:50): [True: 49, False: 343]
  ------------------
 2570|    343|                             (strstr(op, "Xor") && !strstr(op, "ShuffleXor"));
  ------------------
  |  Branch (2570:31): [True: 56, False: 287]
  |  Branch (2570:52): [True: 49, False: 7]
  ------------------
 2571|       |            // Math operations don't support bool
 2572|    441|            bool mathOp = strstr(op, "Add") || strstr(op, "Mul") || strstr(op, "Min") || strstr(op, "Max");
  ------------------
  |  Branch (2572:27): [True: 49, False: 392]
  |  Branch (2572:48): [True: 49, False: 343]
  |  Branch (2572:69): [True: 49, False: 294]
  |  Branch (2572:90): [True: 49, False: 245]
  ------------------
 2573|       |
 2574|    441|            const int bufSize = 256;
 2575|    441|            char buf[bufSize];
 2576|       |
 2577|    441|            if (!logicalOp) {
  ------------------
  |  Branch (2577:17): [True: 294, False: 147]
  ------------------
 2578|  2.64k|                for (size_t j = 0; j < sizeof(floatTypes)/sizeof(floatTypes[0]); ++j) {
  ------------------
  |  Branch (2578:36): [True: 2.35k, False: 294]
  ------------------
 2579|  2.35k|                    snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]);
 2580|  2.35k|                    commonBuiltins.append(buf);
 2581|  2.35k|                }
 2582|    294|                if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (2582:21): [True: 294, False: 0]
  |  Branch (2582:46): [True: 294, False: 0]
  ------------------
 2583|  1.47k|                    for (size_t j = 0; j < sizeof(doubleTypes)/sizeof(doubleTypes[0]); ++j) {
  ------------------
  |  Branch (2583:40): [True: 1.17k, False: 294]
  ------------------
 2584|  1.17k|                        snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]);
 2585|  1.17k|                        commonBuiltins.append(buf);
 2586|  1.17k|                    }
 2587|    294|                }
 2588|    294|            }
 2589|    441|            if (!mathOp) {
  ------------------
  |  Branch (2589:17): [True: 245, False: 196]
  ------------------
 2590|  1.22k|                for (size_t j = 0; j < sizeof(boolTypes)/sizeof(boolTypes[0]); ++j) {
  ------------------
  |  Branch (2590:36): [True: 980, False: 245]
  ------------------
 2591|    980|                    snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]);
 2592|    980|                    commonBuiltins.append(buf);
 2593|    980|                }
 2594|    245|            }
 2595|  14.5k|            for (size_t j = 0; j < sizeof(intTypes)/sizeof(intTypes[0]); ++j) {
  ------------------
  |  Branch (2595:32): [True: 14.1k, False: 441]
  ------------------
 2596|  14.1k|                snprintf(buf, bufSize, op, intTypes[j], intTypes[j]);
 2597|  14.1k|                commonBuiltins.append(buf);
 2598|  14.1k|            }
 2599|    441|            snprintf(buf, bufSize, op, "vector", "vector");
 2600|    441|            commonBuiltins.append(buf);
 2601|    441|        }
 2602|       |
 2603|      7|        stageBuiltins[EShLangCompute].append(
 2604|      7|            "void subgroupMemoryBarrierShared();"
 2605|       |
 2606|      7|            "\n"
 2607|      7|            );
 2608|      7|        stageBuiltins[EShLangMesh].append(
 2609|      7|            "void subgroupMemoryBarrierShared();"
 2610|      7|            "\n"
 2611|      7|            );
 2612|      7|        stageBuiltins[EShLangTask].append(
 2613|      7|            "void subgroupMemoryBarrierShared();"
 2614|      7|            "\n"
 2615|      7|            );
 2616|      7|    }
 2617|       |
 2618|       |    // GL_EXT_shader_quad_control
 2619|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (2619:10): [True: 38, False: 7]
  |  Branch (2619:35): [True: 0, False: 38]
  ------------------
 2620|     45|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (2620:10): [True: 7, False: 38]
  |  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|     45|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (2627:9): [True: 7, False: 38]
  |  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|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (2637:9): [True: 7, False: 38]
  |  Branch (2637:34): [True: 7, False: 0]
  ------------------
 2638|      7|        commonBuiltins.append(
 2639|      7|            "float minInvocationsAMD(float);"
 2640|      7|            "vec2  minInvocationsAMD(vec2);"
 2641|      7|            "vec3  minInvocationsAMD(vec3);"
 2642|      7|            "vec4  minInvocationsAMD(vec4);"
 2643|       |
 2644|      7|            "int   minInvocationsAMD(int);"
 2645|      7|            "ivec2 minInvocationsAMD(ivec2);"
 2646|      7|            "ivec3 minInvocationsAMD(ivec3);"
 2647|      7|            "ivec4 minInvocationsAMD(ivec4);"
 2648|       |
 2649|      7|            "uint  minInvocationsAMD(uint);"
 2650|      7|            "uvec2 minInvocationsAMD(uvec2);"
 2651|      7|            "uvec3 minInvocationsAMD(uvec3);"
 2652|      7|            "uvec4 minInvocationsAMD(uvec4);"
 2653|       |
 2654|      7|            "double minInvocationsAMD(double);"
 2655|      7|            "dvec2  minInvocationsAMD(dvec2);"
 2656|      7|            "dvec3  minInvocationsAMD(dvec3);"
 2657|      7|            "dvec4  minInvocationsAMD(dvec4);"
 2658|       |
 2659|      7|            "int64_t minInvocationsAMD(int64_t);"
 2660|      7|            "i64vec2 minInvocationsAMD(i64vec2);"
 2661|      7|            "i64vec3 minInvocationsAMD(i64vec3);"
 2662|      7|            "i64vec4 minInvocationsAMD(i64vec4);"
 2663|       |
 2664|      7|            "uint64_t minInvocationsAMD(uint64_t);"
 2665|      7|            "u64vec2  minInvocationsAMD(u64vec2);"
 2666|      7|            "u64vec3  minInvocationsAMD(u64vec3);"
 2667|      7|            "u64vec4  minInvocationsAMD(u64vec4);"
 2668|       |
 2669|      7|            "float16_t minInvocationsAMD(float16_t);"
 2670|      7|            "f16vec2   minInvocationsAMD(f16vec2);"
 2671|      7|            "f16vec3   minInvocationsAMD(f16vec3);"
 2672|      7|            "f16vec4   minInvocationsAMD(f16vec4);"
 2673|       |
 2674|      7|            "int16_t minInvocationsAMD(int16_t);"
 2675|      7|            "i16vec2 minInvocationsAMD(i16vec2);"
 2676|      7|            "i16vec3 minInvocationsAMD(i16vec3);"
 2677|      7|            "i16vec4 minInvocationsAMD(i16vec4);"
 2678|       |
 2679|      7|            "uint16_t minInvocationsAMD(uint16_t);"
 2680|      7|            "u16vec2  minInvocationsAMD(u16vec2);"
 2681|      7|            "u16vec3  minInvocationsAMD(u16vec3);"
 2682|      7|            "u16vec4  minInvocationsAMD(u16vec4);"
 2683|       |
 2684|      7|            "float minInvocationsInclusiveScanAMD(float);"
 2685|      7|            "vec2  minInvocationsInclusiveScanAMD(vec2);"
 2686|      7|            "vec3  minInvocationsInclusiveScanAMD(vec3);"
 2687|      7|            "vec4  minInvocationsInclusiveScanAMD(vec4);"
 2688|       |
 2689|      7|            "int   minInvocationsInclusiveScanAMD(int);"
 2690|      7|            "ivec2 minInvocationsInclusiveScanAMD(ivec2);"
 2691|      7|            "ivec3 minInvocationsInclusiveScanAMD(ivec3);"
 2692|      7|            "ivec4 minInvocationsInclusiveScanAMD(ivec4);"
 2693|       |
 2694|      7|            "uint  minInvocationsInclusiveScanAMD(uint);"
 2695|      7|            "uvec2 minInvocationsInclusiveScanAMD(uvec2);"
 2696|      7|            "uvec3 minInvocationsInclusiveScanAMD(uvec3);"
 2697|      7|            "uvec4 minInvocationsInclusiveScanAMD(uvec4);"
 2698|       |
 2699|      7|            "double minInvocationsInclusiveScanAMD(double);"
 2700|      7|            "dvec2  minInvocationsInclusiveScanAMD(dvec2);"
 2701|      7|            "dvec3  minInvocationsInclusiveScanAMD(dvec3);"
 2702|      7|            "dvec4  minInvocationsInclusiveScanAMD(dvec4);"
 2703|       |
 2704|      7|            "int64_t minInvocationsInclusiveScanAMD(int64_t);"
 2705|      7|            "i64vec2 minInvocationsInclusiveScanAMD(i64vec2);"
 2706|      7|            "i64vec3 minInvocationsInclusiveScanAMD(i64vec3);"
 2707|      7|            "i64vec4 minInvocationsInclusiveScanAMD(i64vec4);"
 2708|       |
 2709|      7|            "uint64_t minInvocationsInclusiveScanAMD(uint64_t);"
 2710|      7|            "u64vec2  minInvocationsInclusiveScanAMD(u64vec2);"
 2711|      7|            "u64vec3  minInvocationsInclusiveScanAMD(u64vec3);"
 2712|      7|            "u64vec4  minInvocationsInclusiveScanAMD(u64vec4);"
 2713|       |
 2714|      7|            "float16_t minInvocationsInclusiveScanAMD(float16_t);"
 2715|      7|            "f16vec2   minInvocationsInclusiveScanAMD(f16vec2);"
 2716|      7|            "f16vec3   minInvocationsInclusiveScanAMD(f16vec3);"
 2717|      7|            "f16vec4   minInvocationsInclusiveScanAMD(f16vec4);"
 2718|       |
 2719|      7|            "int16_t minInvocationsInclusiveScanAMD(int16_t);"
 2720|      7|            "i16vec2 minInvocationsInclusiveScanAMD(i16vec2);"
 2721|      7|            "i16vec3 minInvocationsInclusiveScanAMD(i16vec3);"
 2722|      7|            "i16vec4 minInvocationsInclusiveScanAMD(i16vec4);"
 2723|       |
 2724|      7|            "uint16_t minInvocationsInclusiveScanAMD(uint16_t);"
 2725|      7|            "u16vec2  minInvocationsInclusiveScanAMD(u16vec2);"
 2726|      7|            "u16vec3  minInvocationsInclusiveScanAMD(u16vec3);"
 2727|      7|            "u16vec4  minInvocationsInclusiveScanAMD(u16vec4);"
 2728|       |
 2729|      7|            "float minInvocationsExclusiveScanAMD(float);"
 2730|      7|            "vec2  minInvocationsExclusiveScanAMD(vec2);"
 2731|      7|            "vec3  minInvocationsExclusiveScanAMD(vec3);"
 2732|      7|            "vec4  minInvocationsExclusiveScanAMD(vec4);"
 2733|       |
 2734|      7|            "int   minInvocationsExclusiveScanAMD(int);"
 2735|      7|            "ivec2 minInvocationsExclusiveScanAMD(ivec2);"
 2736|      7|            "ivec3 minInvocationsExclusiveScanAMD(ivec3);"
 2737|      7|            "ivec4 minInvocationsExclusiveScanAMD(ivec4);"
 2738|       |
 2739|      7|            "uint  minInvocationsExclusiveScanAMD(uint);"
 2740|      7|            "uvec2 minInvocationsExclusiveScanAMD(uvec2);"
 2741|      7|            "uvec3 minInvocationsExclusiveScanAMD(uvec3);"
 2742|      7|            "uvec4 minInvocationsExclusiveScanAMD(uvec4);"
 2743|       |
 2744|      7|            "double minInvocationsExclusiveScanAMD(double);"
 2745|      7|            "dvec2  minInvocationsExclusiveScanAMD(dvec2);"
 2746|      7|            "dvec3  minInvocationsExclusiveScanAMD(dvec3);"
 2747|      7|            "dvec4  minInvocationsExclusiveScanAMD(dvec4);"
 2748|       |
 2749|      7|            "int64_t minInvocationsExclusiveScanAMD(int64_t);"
 2750|      7|            "i64vec2 minInvocationsExclusiveScanAMD(i64vec2);"
 2751|      7|            "i64vec3 minInvocationsExclusiveScanAMD(i64vec3);"
 2752|      7|            "i64vec4 minInvocationsExclusiveScanAMD(i64vec4);"
 2753|       |
 2754|      7|            "uint64_t minInvocationsExclusiveScanAMD(uint64_t);"
 2755|      7|            "u64vec2  minInvocationsExclusiveScanAMD(u64vec2);"
 2756|      7|            "u64vec3  minInvocationsExclusiveScanAMD(u64vec3);"
 2757|      7|            "u64vec4  minInvocationsExclusiveScanAMD(u64vec4);"
 2758|       |
 2759|      7|            "float16_t minInvocationsExclusiveScanAMD(float16_t);"
 2760|      7|            "f16vec2   minInvocationsExclusiveScanAMD(f16vec2);"
 2761|      7|            "f16vec3   minInvocationsExclusiveScanAMD(f16vec3);"
 2762|      7|            "f16vec4   minInvocationsExclusiveScanAMD(f16vec4);"
 2763|       |
 2764|      7|            "int16_t minInvocationsExclusiveScanAMD(int16_t);"
 2765|      7|            "i16vec2 minInvocationsExclusiveScanAMD(i16vec2);"
 2766|      7|            "i16vec3 minInvocationsExclusiveScanAMD(i16vec3);"
 2767|      7|            "i16vec4 minInvocationsExclusiveScanAMD(i16vec4);"
 2768|       |
 2769|      7|            "uint16_t minInvocationsExclusiveScanAMD(uint16_t);"
 2770|      7|            "u16vec2  minInvocationsExclusiveScanAMD(u16vec2);"
 2771|      7|            "u16vec3  minInvocationsExclusiveScanAMD(u16vec3);"
 2772|      7|            "u16vec4  minInvocationsExclusiveScanAMD(u16vec4);"
 2773|       |
 2774|      7|            "float maxInvocationsAMD(float);"
 2775|      7|            "vec2  maxInvocationsAMD(vec2);"
 2776|      7|            "vec3  maxInvocationsAMD(vec3);"
 2777|      7|            "vec4  maxInvocationsAMD(vec4);"
 2778|       |
 2779|      7|            "int   maxInvocationsAMD(int);"
 2780|      7|            "ivec2 maxInvocationsAMD(ivec2);"
 2781|      7|            "ivec3 maxInvocationsAMD(ivec3);"
 2782|      7|            "ivec4 maxInvocationsAMD(ivec4);"
 2783|       |
 2784|      7|            "uint  maxInvocationsAMD(uint);"
 2785|      7|            "uvec2 maxInvocationsAMD(uvec2);"
 2786|      7|            "uvec3 maxInvocationsAMD(uvec3);"
 2787|      7|            "uvec4 maxInvocationsAMD(uvec4);"
 2788|       |
 2789|      7|            "double maxInvocationsAMD(double);"
 2790|      7|            "dvec2  maxInvocationsAMD(dvec2);"
 2791|      7|            "dvec3  maxInvocationsAMD(dvec3);"
 2792|      7|            "dvec4  maxInvocationsAMD(dvec4);"
 2793|       |
 2794|      7|            "int64_t maxInvocationsAMD(int64_t);"
 2795|      7|            "i64vec2 maxInvocationsAMD(i64vec2);"
 2796|      7|            "i64vec3 maxInvocationsAMD(i64vec3);"
 2797|      7|            "i64vec4 maxInvocationsAMD(i64vec4);"
 2798|       |
 2799|      7|            "uint64_t maxInvocationsAMD(uint64_t);"
 2800|      7|            "u64vec2  maxInvocationsAMD(u64vec2);"
 2801|      7|            "u64vec3  maxInvocationsAMD(u64vec3);"
 2802|      7|            "u64vec4  maxInvocationsAMD(u64vec4);"
 2803|       |
 2804|      7|            "float16_t maxInvocationsAMD(float16_t);"
 2805|      7|            "f16vec2   maxInvocationsAMD(f16vec2);"
 2806|      7|            "f16vec3   maxInvocationsAMD(f16vec3);"
 2807|      7|            "f16vec4   maxInvocationsAMD(f16vec4);"
 2808|       |
 2809|      7|            "int16_t maxInvocationsAMD(int16_t);"
 2810|      7|            "i16vec2 maxInvocationsAMD(i16vec2);"
 2811|      7|            "i16vec3 maxInvocationsAMD(i16vec3);"
 2812|      7|            "i16vec4 maxInvocationsAMD(i16vec4);"
 2813|       |
 2814|      7|            "uint16_t maxInvocationsAMD(uint16_t);"
 2815|      7|            "u16vec2  maxInvocationsAMD(u16vec2);"
 2816|      7|            "u16vec3  maxInvocationsAMD(u16vec3);"
 2817|      7|            "u16vec4  maxInvocationsAMD(u16vec4);"
 2818|       |
 2819|      7|            "float maxInvocationsInclusiveScanAMD(float);"
 2820|      7|            "vec2  maxInvocationsInclusiveScanAMD(vec2);"
 2821|      7|            "vec3  maxInvocationsInclusiveScanAMD(vec3);"
 2822|      7|            "vec4  maxInvocationsInclusiveScanAMD(vec4);"
 2823|       |
 2824|      7|            "int   maxInvocationsInclusiveScanAMD(int);"
 2825|      7|            "ivec2 maxInvocationsInclusiveScanAMD(ivec2);"
 2826|      7|            "ivec3 maxInvocationsInclusiveScanAMD(ivec3);"
 2827|      7|            "ivec4 maxInvocationsInclusiveScanAMD(ivec4);"
 2828|       |
 2829|      7|            "uint  maxInvocationsInclusiveScanAMD(uint);"
 2830|      7|            "uvec2 maxInvocationsInclusiveScanAMD(uvec2);"
 2831|      7|            "uvec3 maxInvocationsInclusiveScanAMD(uvec3);"
 2832|      7|            "uvec4 maxInvocationsInclusiveScanAMD(uvec4);"
 2833|       |
 2834|      7|            "double maxInvocationsInclusiveScanAMD(double);"
 2835|      7|            "dvec2  maxInvocationsInclusiveScanAMD(dvec2);"
 2836|      7|            "dvec3  maxInvocationsInclusiveScanAMD(dvec3);"
 2837|      7|            "dvec4  maxInvocationsInclusiveScanAMD(dvec4);"
 2838|       |
 2839|      7|            "int64_t maxInvocationsInclusiveScanAMD(int64_t);"
 2840|      7|            "i64vec2 maxInvocationsInclusiveScanAMD(i64vec2);"
 2841|      7|            "i64vec3 maxInvocationsInclusiveScanAMD(i64vec3);"
 2842|      7|            "i64vec4 maxInvocationsInclusiveScanAMD(i64vec4);"
 2843|       |
 2844|      7|            "uint64_t maxInvocationsInclusiveScanAMD(uint64_t);"
 2845|      7|            "u64vec2  maxInvocationsInclusiveScanAMD(u64vec2);"
 2846|      7|            "u64vec3  maxInvocationsInclusiveScanAMD(u64vec3);"
 2847|      7|            "u64vec4  maxInvocationsInclusiveScanAMD(u64vec4);"
 2848|       |
 2849|      7|            "float16_t maxInvocationsInclusiveScanAMD(float16_t);"
 2850|      7|            "f16vec2   maxInvocationsInclusiveScanAMD(f16vec2);"
 2851|      7|            "f16vec3   maxInvocationsInclusiveScanAMD(f16vec3);"
 2852|      7|            "f16vec4   maxInvocationsInclusiveScanAMD(f16vec4);"
 2853|       |
 2854|      7|            "int16_t maxInvocationsInclusiveScanAMD(int16_t);"
 2855|      7|            "i16vec2 maxInvocationsInclusiveScanAMD(i16vec2);"
 2856|      7|            "i16vec3 maxInvocationsInclusiveScanAMD(i16vec3);"
 2857|      7|            "i16vec4 maxInvocationsInclusiveScanAMD(i16vec4);"
 2858|       |
 2859|      7|            "uint16_t maxInvocationsInclusiveScanAMD(uint16_t);"
 2860|      7|            "u16vec2  maxInvocationsInclusiveScanAMD(u16vec2);"
 2861|      7|            "u16vec3  maxInvocationsInclusiveScanAMD(u16vec3);"
 2862|      7|            "u16vec4  maxInvocationsInclusiveScanAMD(u16vec4);"
 2863|       |
 2864|      7|            "float maxInvocationsExclusiveScanAMD(float);"
 2865|      7|            "vec2  maxInvocationsExclusiveScanAMD(vec2);"
 2866|      7|            "vec3  maxInvocationsExclusiveScanAMD(vec3);"
 2867|      7|            "vec4  maxInvocationsExclusiveScanAMD(vec4);"
 2868|       |
 2869|      7|            "int   maxInvocationsExclusiveScanAMD(int);"
 2870|      7|            "ivec2 maxInvocationsExclusiveScanAMD(ivec2);"
 2871|      7|            "ivec3 maxInvocationsExclusiveScanAMD(ivec3);"
 2872|      7|            "ivec4 maxInvocationsExclusiveScanAMD(ivec4);"
 2873|       |
 2874|      7|            "uint  maxInvocationsExclusiveScanAMD(uint);"
 2875|      7|            "uvec2 maxInvocationsExclusiveScanAMD(uvec2);"
 2876|      7|            "uvec3 maxInvocationsExclusiveScanAMD(uvec3);"
 2877|      7|            "uvec4 maxInvocationsExclusiveScanAMD(uvec4);"
 2878|       |
 2879|      7|            "double maxInvocationsExclusiveScanAMD(double);"
 2880|      7|            "dvec2  maxInvocationsExclusiveScanAMD(dvec2);"
 2881|      7|            "dvec3  maxInvocationsExclusiveScanAMD(dvec3);"
 2882|      7|            "dvec4  maxInvocationsExclusiveScanAMD(dvec4);"
 2883|       |
 2884|      7|            "int64_t maxInvocationsExclusiveScanAMD(int64_t);"
 2885|      7|            "i64vec2 maxInvocationsExclusiveScanAMD(i64vec2);"
 2886|      7|            "i64vec3 maxInvocationsExclusiveScanAMD(i64vec3);"
 2887|      7|            "i64vec4 maxInvocationsExclusiveScanAMD(i64vec4);"
 2888|       |
 2889|      7|            "uint64_t maxInvocationsExclusiveScanAMD(uint64_t);"
 2890|      7|            "u64vec2  maxInvocationsExclusiveScanAMD(u64vec2);"
 2891|      7|            "u64vec3  maxInvocationsExclusiveScanAMD(u64vec3);"
 2892|      7|            "u64vec4  maxInvocationsExclusiveScanAMD(u64vec4);"
 2893|       |
 2894|      7|            "float16_t maxInvocationsExclusiveScanAMD(float16_t);"
 2895|      7|            "f16vec2   maxInvocationsExclusiveScanAMD(f16vec2);"
 2896|      7|            "f16vec3   maxInvocationsExclusiveScanAMD(f16vec3);"
 2897|      7|            "f16vec4   maxInvocationsExclusiveScanAMD(f16vec4);"
 2898|       |
 2899|      7|            "int16_t maxInvocationsExclusiveScanAMD(int16_t);"
 2900|      7|            "i16vec2 maxInvocationsExclusiveScanAMD(i16vec2);"
 2901|      7|            "i16vec3 maxInvocationsExclusiveScanAMD(i16vec3);"
 2902|      7|            "i16vec4 maxInvocationsExclusiveScanAMD(i16vec4);"
 2903|       |
 2904|      7|            "uint16_t maxInvocationsExclusiveScanAMD(uint16_t);"
 2905|      7|            "u16vec2  maxInvocationsExclusiveScanAMD(u16vec2);"
 2906|      7|            "u16vec3  maxInvocationsExclusiveScanAMD(u16vec3);"
 2907|      7|            "u16vec4  maxInvocationsExclusiveScanAMD(u16vec4);"
 2908|       |
 2909|      7|            "float addInvocationsAMD(float);"
 2910|      7|            "vec2  addInvocationsAMD(vec2);"
 2911|      7|            "vec3  addInvocationsAMD(vec3);"
 2912|      7|            "vec4  addInvocationsAMD(vec4);"
 2913|       |
 2914|      7|            "int   addInvocationsAMD(int);"
 2915|      7|            "ivec2 addInvocationsAMD(ivec2);"
 2916|      7|            "ivec3 addInvocationsAMD(ivec3);"
 2917|      7|            "ivec4 addInvocationsAMD(ivec4);"
 2918|       |
 2919|      7|            "uint  addInvocationsAMD(uint);"
 2920|      7|            "uvec2 addInvocationsAMD(uvec2);"
 2921|      7|            "uvec3 addInvocationsAMD(uvec3);"
 2922|      7|            "uvec4 addInvocationsAMD(uvec4);"
 2923|       |
 2924|      7|            "double  addInvocationsAMD(double);"
 2925|      7|            "dvec2   addInvocationsAMD(dvec2);"
 2926|      7|            "dvec3   addInvocationsAMD(dvec3);"
 2927|      7|            "dvec4   addInvocationsAMD(dvec4);"
 2928|       |
 2929|      7|            "int64_t addInvocationsAMD(int64_t);"
 2930|      7|            "i64vec2 addInvocationsAMD(i64vec2);"
 2931|      7|            "i64vec3 addInvocationsAMD(i64vec3);"
 2932|      7|            "i64vec4 addInvocationsAMD(i64vec4);"
 2933|       |
 2934|      7|            "uint64_t addInvocationsAMD(uint64_t);"
 2935|      7|            "u64vec2  addInvocationsAMD(u64vec2);"
 2936|      7|            "u64vec3  addInvocationsAMD(u64vec3);"
 2937|      7|            "u64vec4  addInvocationsAMD(u64vec4);"
 2938|       |
 2939|      7|            "float16_t addInvocationsAMD(float16_t);"
 2940|      7|            "f16vec2   addInvocationsAMD(f16vec2);"
 2941|      7|            "f16vec3   addInvocationsAMD(f16vec3);"
 2942|      7|            "f16vec4   addInvocationsAMD(f16vec4);"
 2943|       |
 2944|      7|            "int16_t addInvocationsAMD(int16_t);"
 2945|      7|            "i16vec2 addInvocationsAMD(i16vec2);"
 2946|      7|            "i16vec3 addInvocationsAMD(i16vec3);"
 2947|      7|            "i16vec4 addInvocationsAMD(i16vec4);"
 2948|       |
 2949|      7|            "uint16_t addInvocationsAMD(uint16_t);"
 2950|      7|            "u16vec2  addInvocationsAMD(u16vec2);"
 2951|      7|            "u16vec3  addInvocationsAMD(u16vec3);"
 2952|      7|            "u16vec4  addInvocationsAMD(u16vec4);"
 2953|       |
 2954|      7|            "float addInvocationsInclusiveScanAMD(float);"
 2955|      7|            "vec2  addInvocationsInclusiveScanAMD(vec2);"
 2956|      7|            "vec3  addInvocationsInclusiveScanAMD(vec3);"
 2957|      7|            "vec4  addInvocationsInclusiveScanAMD(vec4);"
 2958|       |
 2959|      7|            "int   addInvocationsInclusiveScanAMD(int);"
 2960|      7|            "ivec2 addInvocationsInclusiveScanAMD(ivec2);"
 2961|      7|            "ivec3 addInvocationsInclusiveScanAMD(ivec3);"
 2962|      7|            "ivec4 addInvocationsInclusiveScanAMD(ivec4);"
 2963|       |
 2964|      7|            "uint  addInvocationsInclusiveScanAMD(uint);"
 2965|      7|            "uvec2 addInvocationsInclusiveScanAMD(uvec2);"
 2966|      7|            "uvec3 addInvocationsInclusiveScanAMD(uvec3);"
 2967|      7|            "uvec4 addInvocationsInclusiveScanAMD(uvec4);"
 2968|       |
 2969|      7|            "double  addInvocationsInclusiveScanAMD(double);"
 2970|      7|            "dvec2   addInvocationsInclusiveScanAMD(dvec2);"
 2971|      7|            "dvec3   addInvocationsInclusiveScanAMD(dvec3);"
 2972|      7|            "dvec4   addInvocationsInclusiveScanAMD(dvec4);"
 2973|       |
 2974|      7|            "int64_t addInvocationsInclusiveScanAMD(int64_t);"
 2975|      7|            "i64vec2 addInvocationsInclusiveScanAMD(i64vec2);"
 2976|      7|            "i64vec3 addInvocationsInclusiveScanAMD(i64vec3);"
 2977|      7|            "i64vec4 addInvocationsInclusiveScanAMD(i64vec4);"
 2978|       |
 2979|      7|            "uint64_t addInvocationsInclusiveScanAMD(uint64_t);"
 2980|      7|            "u64vec2  addInvocationsInclusiveScanAMD(u64vec2);"
 2981|      7|            "u64vec3  addInvocationsInclusiveScanAMD(u64vec3);"
 2982|      7|            "u64vec4  addInvocationsInclusiveScanAMD(u64vec4);"
 2983|       |
 2984|      7|            "float16_t addInvocationsInclusiveScanAMD(float16_t);"
 2985|      7|            "f16vec2   addInvocationsInclusiveScanAMD(f16vec2);"
 2986|      7|            "f16vec3   addInvocationsInclusiveScanAMD(f16vec3);"
 2987|      7|            "f16vec4   addInvocationsInclusiveScanAMD(f16vec4);"
 2988|       |
 2989|      7|            "int16_t addInvocationsInclusiveScanAMD(int16_t);"
 2990|      7|            "i16vec2 addInvocationsInclusiveScanAMD(i16vec2);"
 2991|      7|            "i16vec3 addInvocationsInclusiveScanAMD(i16vec3);"
 2992|      7|            "i16vec4 addInvocationsInclusiveScanAMD(i16vec4);"
 2993|       |
 2994|      7|            "uint16_t addInvocationsInclusiveScanAMD(uint16_t);"
 2995|      7|            "u16vec2  addInvocationsInclusiveScanAMD(u16vec2);"
 2996|      7|            "u16vec3  addInvocationsInclusiveScanAMD(u16vec3);"
 2997|      7|            "u16vec4  addInvocationsInclusiveScanAMD(u16vec4);"
 2998|       |
 2999|      7|            "float addInvocationsExclusiveScanAMD(float);"
 3000|      7|            "vec2  addInvocationsExclusiveScanAMD(vec2);"
 3001|      7|            "vec3  addInvocationsExclusiveScanAMD(vec3);"
 3002|      7|            "vec4  addInvocationsExclusiveScanAMD(vec4);"
 3003|       |
 3004|      7|            "int   addInvocationsExclusiveScanAMD(int);"
 3005|      7|            "ivec2 addInvocationsExclusiveScanAMD(ivec2);"
 3006|      7|            "ivec3 addInvocationsExclusiveScanAMD(ivec3);"
 3007|      7|            "ivec4 addInvocationsExclusiveScanAMD(ivec4);"
 3008|       |
 3009|      7|            "uint  addInvocationsExclusiveScanAMD(uint);"
 3010|      7|            "uvec2 addInvocationsExclusiveScanAMD(uvec2);"
 3011|      7|            "uvec3 addInvocationsExclusiveScanAMD(uvec3);"
 3012|      7|            "uvec4 addInvocationsExclusiveScanAMD(uvec4);"
 3013|       |
 3014|      7|            "double  addInvocationsExclusiveScanAMD(double);"
 3015|      7|            "dvec2   addInvocationsExclusiveScanAMD(dvec2);"
 3016|      7|            "dvec3   addInvocationsExclusiveScanAMD(dvec3);"
 3017|      7|            "dvec4   addInvocationsExclusiveScanAMD(dvec4);"
 3018|       |
 3019|      7|            "int64_t addInvocationsExclusiveScanAMD(int64_t);"
 3020|      7|            "i64vec2 addInvocationsExclusiveScanAMD(i64vec2);"
 3021|      7|            "i64vec3 addInvocationsExclusiveScanAMD(i64vec3);"
 3022|      7|            "i64vec4 addInvocationsExclusiveScanAMD(i64vec4);"
 3023|       |
 3024|      7|            "uint64_t addInvocationsExclusiveScanAMD(uint64_t);"
 3025|      7|            "u64vec2  addInvocationsExclusiveScanAMD(u64vec2);"
 3026|      7|            "u64vec3  addInvocationsExclusiveScanAMD(u64vec3);"
 3027|      7|            "u64vec4  addInvocationsExclusiveScanAMD(u64vec4);"
 3028|       |
 3029|      7|            "float16_t addInvocationsExclusiveScanAMD(float16_t);"
 3030|      7|            "f16vec2   addInvocationsExclusiveScanAMD(f16vec2);"
 3031|      7|            "f16vec3   addInvocationsExclusiveScanAMD(f16vec3);"
 3032|      7|            "f16vec4   addInvocationsExclusiveScanAMD(f16vec4);"
 3033|       |
 3034|      7|            "int16_t addInvocationsExclusiveScanAMD(int16_t);"
 3035|      7|            "i16vec2 addInvocationsExclusiveScanAMD(i16vec2);"
 3036|      7|            "i16vec3 addInvocationsExclusiveScanAMD(i16vec3);"
 3037|      7|            "i16vec4 addInvocationsExclusiveScanAMD(i16vec4);"
 3038|       |
 3039|      7|            "uint16_t addInvocationsExclusiveScanAMD(uint16_t);"
 3040|      7|            "u16vec2  addInvocationsExclusiveScanAMD(u16vec2);"
 3041|      7|            "u16vec3  addInvocationsExclusiveScanAMD(u16vec3);"
 3042|      7|            "u16vec4  addInvocationsExclusiveScanAMD(u16vec4);"
 3043|       |
 3044|      7|            "float minInvocationsNonUniformAMD(float);"
 3045|      7|            "vec2  minInvocationsNonUniformAMD(vec2);"
 3046|      7|            "vec3  minInvocationsNonUniformAMD(vec3);"
 3047|      7|            "vec4  minInvocationsNonUniformAMD(vec4);"
 3048|       |
 3049|      7|            "int   minInvocationsNonUniformAMD(int);"
 3050|      7|            "ivec2 minInvocationsNonUniformAMD(ivec2);"
 3051|      7|            "ivec3 minInvocationsNonUniformAMD(ivec3);"
 3052|      7|            "ivec4 minInvocationsNonUniformAMD(ivec4);"
 3053|       |
 3054|      7|            "uint  minInvocationsNonUniformAMD(uint);"
 3055|      7|            "uvec2 minInvocationsNonUniformAMD(uvec2);"
 3056|      7|            "uvec3 minInvocationsNonUniformAMD(uvec3);"
 3057|      7|            "uvec4 minInvocationsNonUniformAMD(uvec4);"
 3058|       |
 3059|      7|            "double minInvocationsNonUniformAMD(double);"
 3060|      7|            "dvec2  minInvocationsNonUniformAMD(dvec2);"
 3061|      7|            "dvec3  minInvocationsNonUniformAMD(dvec3);"
 3062|      7|            "dvec4  minInvocationsNonUniformAMD(dvec4);"
 3063|       |
 3064|      7|            "int64_t minInvocationsNonUniformAMD(int64_t);"
 3065|      7|            "i64vec2 minInvocationsNonUniformAMD(i64vec2);"
 3066|      7|            "i64vec3 minInvocationsNonUniformAMD(i64vec3);"
 3067|      7|            "i64vec4 minInvocationsNonUniformAMD(i64vec4);"
 3068|       |
 3069|      7|            "uint64_t minInvocationsNonUniformAMD(uint64_t);"
 3070|      7|            "u64vec2  minInvocationsNonUniformAMD(u64vec2);"
 3071|      7|            "u64vec3  minInvocationsNonUniformAMD(u64vec3);"
 3072|      7|            "u64vec4  minInvocationsNonUniformAMD(u64vec4);"
 3073|       |
 3074|      7|            "float16_t minInvocationsNonUniformAMD(float16_t);"
 3075|      7|            "f16vec2   minInvocationsNonUniformAMD(f16vec2);"
 3076|      7|            "f16vec3   minInvocationsNonUniformAMD(f16vec3);"
 3077|      7|            "f16vec4   minInvocationsNonUniformAMD(f16vec4);"
 3078|       |
 3079|      7|            "int16_t minInvocationsNonUniformAMD(int16_t);"
 3080|      7|            "i16vec2 minInvocationsNonUniformAMD(i16vec2);"
 3081|      7|            "i16vec3 minInvocationsNonUniformAMD(i16vec3);"
 3082|      7|            "i16vec4 minInvocationsNonUniformAMD(i16vec4);"
 3083|       |
 3084|      7|            "uint16_t minInvocationsNonUniformAMD(uint16_t);"
 3085|      7|            "u16vec2  minInvocationsNonUniformAMD(u16vec2);"
 3086|      7|            "u16vec3  minInvocationsNonUniformAMD(u16vec3);"
 3087|      7|            "u16vec4  minInvocationsNonUniformAMD(u16vec4);"
 3088|       |
 3089|      7|            "float minInvocationsInclusiveScanNonUniformAMD(float);"
 3090|      7|            "vec2  minInvocationsInclusiveScanNonUniformAMD(vec2);"
 3091|      7|            "vec3  minInvocationsInclusiveScanNonUniformAMD(vec3);"
 3092|      7|            "vec4  minInvocationsInclusiveScanNonUniformAMD(vec4);"
 3093|       |
 3094|      7|            "int   minInvocationsInclusiveScanNonUniformAMD(int);"
 3095|      7|            "ivec2 minInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3096|      7|            "ivec3 minInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3097|      7|            "ivec4 minInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3098|       |
 3099|      7|            "uint  minInvocationsInclusiveScanNonUniformAMD(uint);"
 3100|      7|            "uvec2 minInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3101|      7|            "uvec3 minInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3102|      7|            "uvec4 minInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3103|       |
 3104|      7|            "double minInvocationsInclusiveScanNonUniformAMD(double);"
 3105|      7|            "dvec2  minInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3106|      7|            "dvec3  minInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3107|      7|            "dvec4  minInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3108|       |
 3109|      7|            "int64_t minInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3110|      7|            "i64vec2 minInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3111|      7|            "i64vec3 minInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3112|      7|            "i64vec4 minInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3113|       |
 3114|      7|            "uint64_t minInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3115|      7|            "u64vec2  minInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3116|      7|            "u64vec3  minInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3117|      7|            "u64vec4  minInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3118|       |
 3119|      7|            "float16_t minInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3120|      7|            "f16vec2   minInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3121|      7|            "f16vec3   minInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3122|      7|            "f16vec4   minInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3123|       |
 3124|      7|            "int16_t minInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3125|      7|            "i16vec2 minInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3126|      7|            "i16vec3 minInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3127|      7|            "i16vec4 minInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3128|       |
 3129|      7|            "uint16_t minInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3130|      7|            "u16vec2  minInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3131|      7|            "u16vec3  minInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3132|      7|            "u16vec4  minInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3133|       |
 3134|      7|            "float minInvocationsExclusiveScanNonUniformAMD(float);"
 3135|      7|            "vec2  minInvocationsExclusiveScanNonUniformAMD(vec2);"
 3136|      7|            "vec3  minInvocationsExclusiveScanNonUniformAMD(vec3);"
 3137|      7|            "vec4  minInvocationsExclusiveScanNonUniformAMD(vec4);"
 3138|       |
 3139|      7|            "int   minInvocationsExclusiveScanNonUniformAMD(int);"
 3140|      7|            "ivec2 minInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3141|      7|            "ivec3 minInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3142|      7|            "ivec4 minInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3143|       |
 3144|      7|            "uint  minInvocationsExclusiveScanNonUniformAMD(uint);"
 3145|      7|            "uvec2 minInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3146|      7|            "uvec3 minInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3147|      7|            "uvec4 minInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3148|       |
 3149|      7|            "double minInvocationsExclusiveScanNonUniformAMD(double);"
 3150|      7|            "dvec2  minInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3151|      7|            "dvec3  minInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3152|      7|            "dvec4  minInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3153|       |
 3154|      7|            "int64_t minInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3155|      7|            "i64vec2 minInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3156|      7|            "i64vec3 minInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3157|      7|            "i64vec4 minInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3158|       |
 3159|      7|            "uint64_t minInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3160|      7|            "u64vec2  minInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3161|      7|            "u64vec3  minInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3162|      7|            "u64vec4  minInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3163|       |
 3164|      7|            "float16_t minInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3165|      7|            "f16vec2   minInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3166|      7|            "f16vec3   minInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3167|      7|            "f16vec4   minInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3168|       |
 3169|      7|            "int16_t minInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3170|      7|            "i16vec2 minInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3171|      7|            "i16vec3 minInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3172|      7|            "i16vec4 minInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3173|       |
 3174|      7|            "uint16_t minInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3175|      7|            "u16vec2  minInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3176|      7|            "u16vec3  minInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3177|      7|            "u16vec4  minInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3178|       |
 3179|      7|            "float maxInvocationsNonUniformAMD(float);"
 3180|      7|            "vec2  maxInvocationsNonUniformAMD(vec2);"
 3181|      7|            "vec3  maxInvocationsNonUniformAMD(vec3);"
 3182|      7|            "vec4  maxInvocationsNonUniformAMD(vec4);"
 3183|       |
 3184|      7|            "int   maxInvocationsNonUniformAMD(int);"
 3185|      7|            "ivec2 maxInvocationsNonUniformAMD(ivec2);"
 3186|      7|            "ivec3 maxInvocationsNonUniformAMD(ivec3);"
 3187|      7|            "ivec4 maxInvocationsNonUniformAMD(ivec4);"
 3188|       |
 3189|      7|            "uint  maxInvocationsNonUniformAMD(uint);"
 3190|      7|            "uvec2 maxInvocationsNonUniformAMD(uvec2);"
 3191|      7|            "uvec3 maxInvocationsNonUniformAMD(uvec3);"
 3192|      7|            "uvec4 maxInvocationsNonUniformAMD(uvec4);"
 3193|       |
 3194|      7|            "double maxInvocationsNonUniformAMD(double);"
 3195|      7|            "dvec2  maxInvocationsNonUniformAMD(dvec2);"
 3196|      7|            "dvec3  maxInvocationsNonUniformAMD(dvec3);"
 3197|      7|            "dvec4  maxInvocationsNonUniformAMD(dvec4);"
 3198|       |
 3199|      7|            "int64_t maxInvocationsNonUniformAMD(int64_t);"
 3200|      7|            "i64vec2 maxInvocationsNonUniformAMD(i64vec2);"
 3201|      7|            "i64vec3 maxInvocationsNonUniformAMD(i64vec3);"
 3202|      7|            "i64vec4 maxInvocationsNonUniformAMD(i64vec4);"
 3203|       |
 3204|      7|            "uint64_t maxInvocationsNonUniformAMD(uint64_t);"
 3205|      7|            "u64vec2  maxInvocationsNonUniformAMD(u64vec2);"
 3206|      7|            "u64vec3  maxInvocationsNonUniformAMD(u64vec3);"
 3207|      7|            "u64vec4  maxInvocationsNonUniformAMD(u64vec4);"
 3208|       |
 3209|      7|            "float16_t maxInvocationsNonUniformAMD(float16_t);"
 3210|      7|            "f16vec2   maxInvocationsNonUniformAMD(f16vec2);"
 3211|      7|            "f16vec3   maxInvocationsNonUniformAMD(f16vec3);"
 3212|      7|            "f16vec4   maxInvocationsNonUniformAMD(f16vec4);"
 3213|       |
 3214|      7|            "int16_t maxInvocationsNonUniformAMD(int16_t);"
 3215|      7|            "i16vec2 maxInvocationsNonUniformAMD(i16vec2);"
 3216|      7|            "i16vec3 maxInvocationsNonUniformAMD(i16vec3);"
 3217|      7|            "i16vec4 maxInvocationsNonUniformAMD(i16vec4);"
 3218|       |
 3219|      7|            "uint16_t maxInvocationsNonUniformAMD(uint16_t);"
 3220|      7|            "u16vec2  maxInvocationsNonUniformAMD(u16vec2);"
 3221|      7|            "u16vec3  maxInvocationsNonUniformAMD(u16vec3);"
 3222|      7|            "u16vec4  maxInvocationsNonUniformAMD(u16vec4);"
 3223|       |
 3224|      7|            "float maxInvocationsInclusiveScanNonUniformAMD(float);"
 3225|      7|            "vec2  maxInvocationsInclusiveScanNonUniformAMD(vec2);"
 3226|      7|            "vec3  maxInvocationsInclusiveScanNonUniformAMD(vec3);"
 3227|      7|            "vec4  maxInvocationsInclusiveScanNonUniformAMD(vec4);"
 3228|       |
 3229|      7|            "int   maxInvocationsInclusiveScanNonUniformAMD(int);"
 3230|      7|            "ivec2 maxInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3231|      7|            "ivec3 maxInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3232|      7|            "ivec4 maxInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3233|       |
 3234|      7|            "uint  maxInvocationsInclusiveScanNonUniformAMD(uint);"
 3235|      7|            "uvec2 maxInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3236|      7|            "uvec3 maxInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3237|      7|            "uvec4 maxInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3238|       |
 3239|      7|            "double maxInvocationsInclusiveScanNonUniformAMD(double);"
 3240|      7|            "dvec2  maxInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3241|      7|            "dvec3  maxInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3242|      7|            "dvec4  maxInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3243|       |
 3244|      7|            "int64_t maxInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3245|      7|            "i64vec2 maxInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3246|      7|            "i64vec3 maxInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3247|      7|            "i64vec4 maxInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3248|       |
 3249|      7|            "uint64_t maxInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3250|      7|            "u64vec2  maxInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3251|      7|            "u64vec3  maxInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3252|      7|            "u64vec4  maxInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3253|       |
 3254|      7|            "float16_t maxInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3255|      7|            "f16vec2   maxInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3256|      7|            "f16vec3   maxInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3257|      7|            "f16vec4   maxInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3258|       |
 3259|      7|            "int16_t maxInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3260|      7|            "i16vec2 maxInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3261|      7|            "i16vec3 maxInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3262|      7|            "i16vec4 maxInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3263|       |
 3264|      7|            "uint16_t maxInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3265|      7|            "u16vec2  maxInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3266|      7|            "u16vec3  maxInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3267|      7|            "u16vec4  maxInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3268|       |
 3269|      7|            "float maxInvocationsExclusiveScanNonUniformAMD(float);"
 3270|      7|            "vec2  maxInvocationsExclusiveScanNonUniformAMD(vec2);"
 3271|      7|            "vec3  maxInvocationsExclusiveScanNonUniformAMD(vec3);"
 3272|      7|            "vec4  maxInvocationsExclusiveScanNonUniformAMD(vec4);"
 3273|       |
 3274|      7|            "int   maxInvocationsExclusiveScanNonUniformAMD(int);"
 3275|      7|            "ivec2 maxInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3276|      7|            "ivec3 maxInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3277|      7|            "ivec4 maxInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3278|       |
 3279|      7|            "uint  maxInvocationsExclusiveScanNonUniformAMD(uint);"
 3280|      7|            "uvec2 maxInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3281|      7|            "uvec3 maxInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3282|      7|            "uvec4 maxInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3283|       |
 3284|      7|            "double maxInvocationsExclusiveScanNonUniformAMD(double);"
 3285|      7|            "dvec2  maxInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3286|      7|            "dvec3  maxInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3287|      7|            "dvec4  maxInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3288|       |
 3289|      7|            "int64_t maxInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3290|      7|            "i64vec2 maxInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3291|      7|            "i64vec3 maxInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3292|      7|            "i64vec4 maxInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3293|       |
 3294|      7|            "uint64_t maxInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3295|      7|            "u64vec2  maxInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3296|      7|            "u64vec3  maxInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3297|      7|            "u64vec4  maxInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3298|       |
 3299|      7|            "float16_t maxInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3300|      7|            "f16vec2   maxInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3301|      7|            "f16vec3   maxInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3302|      7|            "f16vec4   maxInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3303|       |
 3304|      7|            "int16_t maxInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3305|      7|            "i16vec2 maxInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3306|      7|            "i16vec3 maxInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3307|      7|            "i16vec4 maxInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3308|       |
 3309|      7|            "uint16_t maxInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3310|      7|            "u16vec2  maxInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3311|      7|            "u16vec3  maxInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3312|      7|            "u16vec4  maxInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3313|       |
 3314|      7|            "float addInvocationsNonUniformAMD(float);"
 3315|      7|            "vec2  addInvocationsNonUniformAMD(vec2);"
 3316|      7|            "vec3  addInvocationsNonUniformAMD(vec3);"
 3317|      7|            "vec4  addInvocationsNonUniformAMD(vec4);"
 3318|       |
 3319|      7|            "int   addInvocationsNonUniformAMD(int);"
 3320|      7|            "ivec2 addInvocationsNonUniformAMD(ivec2);"
 3321|      7|            "ivec3 addInvocationsNonUniformAMD(ivec3);"
 3322|      7|            "ivec4 addInvocationsNonUniformAMD(ivec4);"
 3323|       |
 3324|      7|            "uint  addInvocationsNonUniformAMD(uint);"
 3325|      7|            "uvec2 addInvocationsNonUniformAMD(uvec2);"
 3326|      7|            "uvec3 addInvocationsNonUniformAMD(uvec3);"
 3327|      7|            "uvec4 addInvocationsNonUniformAMD(uvec4);"
 3328|       |
 3329|      7|            "double addInvocationsNonUniformAMD(double);"
 3330|      7|            "dvec2  addInvocationsNonUniformAMD(dvec2);"
 3331|      7|            "dvec3  addInvocationsNonUniformAMD(dvec3);"
 3332|      7|            "dvec4  addInvocationsNonUniformAMD(dvec4);"
 3333|       |
 3334|      7|            "int64_t addInvocationsNonUniformAMD(int64_t);"
 3335|      7|            "i64vec2 addInvocationsNonUniformAMD(i64vec2);"
 3336|      7|            "i64vec3 addInvocationsNonUniformAMD(i64vec3);"
 3337|      7|            "i64vec4 addInvocationsNonUniformAMD(i64vec4);"
 3338|       |
 3339|      7|            "uint64_t addInvocationsNonUniformAMD(uint64_t);"
 3340|      7|            "u64vec2  addInvocationsNonUniformAMD(u64vec2);"
 3341|      7|            "u64vec3  addInvocationsNonUniformAMD(u64vec3);"
 3342|      7|            "u64vec4  addInvocationsNonUniformAMD(u64vec4);"
 3343|       |
 3344|      7|            "float16_t addInvocationsNonUniformAMD(float16_t);"
 3345|      7|            "f16vec2   addInvocationsNonUniformAMD(f16vec2);"
 3346|      7|            "f16vec3   addInvocationsNonUniformAMD(f16vec3);"
 3347|      7|            "f16vec4   addInvocationsNonUniformAMD(f16vec4);"
 3348|       |
 3349|      7|            "int16_t addInvocationsNonUniformAMD(int16_t);"
 3350|      7|            "i16vec2 addInvocationsNonUniformAMD(i16vec2);"
 3351|      7|            "i16vec3 addInvocationsNonUniformAMD(i16vec3);"
 3352|      7|            "i16vec4 addInvocationsNonUniformAMD(i16vec4);"
 3353|       |
 3354|      7|            "uint16_t addInvocationsNonUniformAMD(uint16_t);"
 3355|      7|            "u16vec2  addInvocationsNonUniformAMD(u16vec2);"
 3356|      7|            "u16vec3  addInvocationsNonUniformAMD(u16vec3);"
 3357|      7|            "u16vec4  addInvocationsNonUniformAMD(u16vec4);"
 3358|       |
 3359|      7|            "float addInvocationsInclusiveScanNonUniformAMD(float);"
 3360|      7|            "vec2  addInvocationsInclusiveScanNonUniformAMD(vec2);"
 3361|      7|            "vec3  addInvocationsInclusiveScanNonUniformAMD(vec3);"
 3362|      7|            "vec4  addInvocationsInclusiveScanNonUniformAMD(vec4);"
 3363|       |
 3364|      7|            "int   addInvocationsInclusiveScanNonUniformAMD(int);"
 3365|      7|            "ivec2 addInvocationsInclusiveScanNonUniformAMD(ivec2);"
 3366|      7|            "ivec3 addInvocationsInclusiveScanNonUniformAMD(ivec3);"
 3367|      7|            "ivec4 addInvocationsInclusiveScanNonUniformAMD(ivec4);"
 3368|       |
 3369|      7|            "uint  addInvocationsInclusiveScanNonUniformAMD(uint);"
 3370|      7|            "uvec2 addInvocationsInclusiveScanNonUniformAMD(uvec2);"
 3371|      7|            "uvec3 addInvocationsInclusiveScanNonUniformAMD(uvec3);"
 3372|      7|            "uvec4 addInvocationsInclusiveScanNonUniformAMD(uvec4);"
 3373|       |
 3374|      7|            "double addInvocationsInclusiveScanNonUniformAMD(double);"
 3375|      7|            "dvec2  addInvocationsInclusiveScanNonUniformAMD(dvec2);"
 3376|      7|            "dvec3  addInvocationsInclusiveScanNonUniformAMD(dvec3);"
 3377|      7|            "dvec4  addInvocationsInclusiveScanNonUniformAMD(dvec4);"
 3378|       |
 3379|      7|            "int64_t addInvocationsInclusiveScanNonUniformAMD(int64_t);"
 3380|      7|            "i64vec2 addInvocationsInclusiveScanNonUniformAMD(i64vec2);"
 3381|      7|            "i64vec3 addInvocationsInclusiveScanNonUniformAMD(i64vec3);"
 3382|      7|            "i64vec4 addInvocationsInclusiveScanNonUniformAMD(i64vec4);"
 3383|       |
 3384|      7|            "uint64_t addInvocationsInclusiveScanNonUniformAMD(uint64_t);"
 3385|      7|            "u64vec2  addInvocationsInclusiveScanNonUniformAMD(u64vec2);"
 3386|      7|            "u64vec3  addInvocationsInclusiveScanNonUniformAMD(u64vec3);"
 3387|      7|            "u64vec4  addInvocationsInclusiveScanNonUniformAMD(u64vec4);"
 3388|       |
 3389|      7|            "float16_t addInvocationsInclusiveScanNonUniformAMD(float16_t);"
 3390|      7|            "f16vec2   addInvocationsInclusiveScanNonUniformAMD(f16vec2);"
 3391|      7|            "f16vec3   addInvocationsInclusiveScanNonUniformAMD(f16vec3);"
 3392|      7|            "f16vec4   addInvocationsInclusiveScanNonUniformAMD(f16vec4);"
 3393|       |
 3394|      7|            "int16_t addInvocationsInclusiveScanNonUniformAMD(int16_t);"
 3395|      7|            "i16vec2 addInvocationsInclusiveScanNonUniformAMD(i16vec2);"
 3396|      7|            "i16vec3 addInvocationsInclusiveScanNonUniformAMD(i16vec3);"
 3397|      7|            "i16vec4 addInvocationsInclusiveScanNonUniformAMD(i16vec4);"
 3398|       |
 3399|      7|            "uint16_t addInvocationsInclusiveScanNonUniformAMD(uint16_t);"
 3400|      7|            "u16vec2  addInvocationsInclusiveScanNonUniformAMD(u16vec2);"
 3401|      7|            "u16vec3  addInvocationsInclusiveScanNonUniformAMD(u16vec3);"
 3402|      7|            "u16vec4  addInvocationsInclusiveScanNonUniformAMD(u16vec4);"
 3403|       |
 3404|      7|            "float addInvocationsExclusiveScanNonUniformAMD(float);"
 3405|      7|            "vec2  addInvocationsExclusiveScanNonUniformAMD(vec2);"
 3406|      7|            "vec3  addInvocationsExclusiveScanNonUniformAMD(vec3);"
 3407|      7|            "vec4  addInvocationsExclusiveScanNonUniformAMD(vec4);"
 3408|       |
 3409|      7|            "int   addInvocationsExclusiveScanNonUniformAMD(int);"
 3410|      7|            "ivec2 addInvocationsExclusiveScanNonUniformAMD(ivec2);"
 3411|      7|            "ivec3 addInvocationsExclusiveScanNonUniformAMD(ivec3);"
 3412|      7|            "ivec4 addInvocationsExclusiveScanNonUniformAMD(ivec4);"
 3413|       |
 3414|      7|            "uint  addInvocationsExclusiveScanNonUniformAMD(uint);"
 3415|      7|            "uvec2 addInvocationsExclusiveScanNonUniformAMD(uvec2);"
 3416|      7|            "uvec3 addInvocationsExclusiveScanNonUniformAMD(uvec3);"
 3417|      7|            "uvec4 addInvocationsExclusiveScanNonUniformAMD(uvec4);"
 3418|       |
 3419|      7|            "double addInvocationsExclusiveScanNonUniformAMD(double);"
 3420|      7|            "dvec2  addInvocationsExclusiveScanNonUniformAMD(dvec2);"
 3421|      7|            "dvec3  addInvocationsExclusiveScanNonUniformAMD(dvec3);"
 3422|      7|            "dvec4  addInvocationsExclusiveScanNonUniformAMD(dvec4);"
 3423|       |
 3424|      7|            "int64_t addInvocationsExclusiveScanNonUniformAMD(int64_t);"
 3425|      7|            "i64vec2 addInvocationsExclusiveScanNonUniformAMD(i64vec2);"
 3426|      7|            "i64vec3 addInvocationsExclusiveScanNonUniformAMD(i64vec3);"
 3427|      7|            "i64vec4 addInvocationsExclusiveScanNonUniformAMD(i64vec4);"
 3428|       |
 3429|      7|            "uint64_t addInvocationsExclusiveScanNonUniformAMD(uint64_t);"
 3430|      7|            "u64vec2  addInvocationsExclusiveScanNonUniformAMD(u64vec2);"
 3431|      7|            "u64vec3  addInvocationsExclusiveScanNonUniformAMD(u64vec3);"
 3432|      7|            "u64vec4  addInvocationsExclusiveScanNonUniformAMD(u64vec4);"
 3433|       |
 3434|      7|            "float16_t addInvocationsExclusiveScanNonUniformAMD(float16_t);"
 3435|      7|            "f16vec2   addInvocationsExclusiveScanNonUniformAMD(f16vec2);"
 3436|      7|            "f16vec3   addInvocationsExclusiveScanNonUniformAMD(f16vec3);"
 3437|      7|            "f16vec4   addInvocationsExclusiveScanNonUniformAMD(f16vec4);"
 3438|       |
 3439|      7|            "int16_t addInvocationsExclusiveScanNonUniformAMD(int16_t);"
 3440|      7|            "i16vec2 addInvocationsExclusiveScanNonUniformAMD(i16vec2);"
 3441|      7|            "i16vec3 addInvocationsExclusiveScanNonUniformAMD(i16vec3);"
 3442|      7|            "i16vec4 addInvocationsExclusiveScanNonUniformAMD(i16vec4);"
 3443|       |
 3444|      7|            "uint16_t addInvocationsExclusiveScanNonUniformAMD(uint16_t);"
 3445|      7|            "u16vec2  addInvocationsExclusiveScanNonUniformAMD(u16vec2);"
 3446|      7|            "u16vec3  addInvocationsExclusiveScanNonUniformAMD(u16vec3);"
 3447|      7|            "u16vec4  addInvocationsExclusiveScanNonUniformAMD(u16vec4);"
 3448|       |
 3449|      7|            "float swizzleInvocationsAMD(float, uvec4);"
 3450|      7|            "vec2  swizzleInvocationsAMD(vec2,  uvec4);"
 3451|      7|            "vec3  swizzleInvocationsAMD(vec3,  uvec4);"
 3452|      7|            "vec4  swizzleInvocationsAMD(vec4,  uvec4);"
 3453|       |
 3454|      7|            "int   swizzleInvocationsAMD(int,   uvec4);"
 3455|      7|            "ivec2 swizzleInvocationsAMD(ivec2, uvec4);"
 3456|      7|            "ivec3 swizzleInvocationsAMD(ivec3, uvec4);"
 3457|      7|            "ivec4 swizzleInvocationsAMD(ivec4, uvec4);"
 3458|       |
 3459|      7|            "uint  swizzleInvocationsAMD(uint,  uvec4);"
 3460|      7|            "uvec2 swizzleInvocationsAMD(uvec2, uvec4);"
 3461|      7|            "uvec3 swizzleInvocationsAMD(uvec3, uvec4);"
 3462|      7|            "uvec4 swizzleInvocationsAMD(uvec4, uvec4);"
 3463|       |
 3464|      7|            "float swizzleInvocationsMaskedAMD(float, uvec3);"
 3465|      7|            "vec2  swizzleInvocationsMaskedAMD(vec2,  uvec3);"
 3466|      7|            "vec3  swizzleInvocationsMaskedAMD(vec3,  uvec3);"
 3467|      7|            "vec4  swizzleInvocationsMaskedAMD(vec4,  uvec3);"
 3468|       |
 3469|      7|            "int   swizzleInvocationsMaskedAMD(int,   uvec3);"
 3470|      7|            "ivec2 swizzleInvocationsMaskedAMD(ivec2, uvec3);"
 3471|      7|            "ivec3 swizzleInvocationsMaskedAMD(ivec3, uvec3);"
 3472|      7|            "ivec4 swizzleInvocationsMaskedAMD(ivec4, uvec3);"
 3473|       |
 3474|      7|            "uint  swizzleInvocationsMaskedAMD(uint,  uvec3);"
 3475|      7|            "uvec2 swizzleInvocationsMaskedAMD(uvec2, uvec3);"
 3476|      7|            "uvec3 swizzleInvocationsMaskedAMD(uvec3, uvec3);"
 3477|      7|            "uvec4 swizzleInvocationsMaskedAMD(uvec4, uvec3);"
 3478|       |
 3479|      7|            "float writeInvocationAMD(float, float, uint);"
 3480|      7|            "vec2  writeInvocationAMD(vec2,  vec2,  uint);"
 3481|      7|            "vec3  writeInvocationAMD(vec3,  vec3,  uint);"
 3482|      7|            "vec4  writeInvocationAMD(vec4,  vec4,  uint);"
 3483|       |
 3484|      7|            "int   writeInvocationAMD(int,   int,   uint);"
 3485|      7|            "ivec2 writeInvocationAMD(ivec2, ivec2, uint);"
 3486|      7|            "ivec3 writeInvocationAMD(ivec3, ivec3, uint);"
 3487|      7|            "ivec4 writeInvocationAMD(ivec4, ivec4, uint);"
 3488|       |
 3489|      7|            "uint  writeInvocationAMD(uint,  uint,  uint);"
 3490|      7|            "uvec2 writeInvocationAMD(uvec2, uvec2, uint);"
 3491|      7|            "uvec3 writeInvocationAMD(uvec3, uvec3, uint);"
 3492|      7|            "uvec4 writeInvocationAMD(uvec4, uvec4, uint);"
 3493|       |
 3494|      7|            "uint mbcntAMD(uint64_t);"
 3495|       |
 3496|      7|            "\n");
 3497|      7|    }
 3498|       |
 3499|       |    // GL_AMD_gcn_shader
 3500|     45|    if (profile != EEsProfile && version >= 440) {
  ------------------
  |  Branch (3500:9): [True: 7, False: 38]
  |  Branch (3500:34): [True: 7, False: 0]
  ------------------
 3501|      7|        commonBuiltins.append(
 3502|      7|            "float cubeFaceIndexAMD(vec3);"
 3503|      7|            "vec2  cubeFaceCoordAMD(vec3);"
 3504|      7|            "uint64_t timeAMD();"
 3505|       |
 3506|      7|            "in int gl_SIMDGroupSizeAMD;"
 3507|      7|            "\n");
 3508|      7|    }
 3509|       |
 3510|       |    // GL_AMD_shader_fragment_mask
 3511|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (3511:9): [True: 7, False: 38]
  |  Branch (3511:34): [True: 7, False: 0]
  ------------------
 3512|      7|        commonBuiltins.append(
 3513|      7|            "uint fragmentMaskFetchAMD(sampler2DMS,       ivec2);"
 3514|      7|            "uint fragmentMaskFetchAMD(isampler2DMS,      ivec2);"
 3515|      7|            "uint fragmentMaskFetchAMD(usampler2DMS,      ivec2);"
 3516|       |
 3517|      7|            "uint fragmentMaskFetchAMD(sampler2DMSArray,  ivec3);"
 3518|      7|            "uint fragmentMaskFetchAMD(isampler2DMSArray, ivec3);"
 3519|      7|            "uint fragmentMaskFetchAMD(usampler2DMSArray, ivec3);"
 3520|       |
 3521|      7|            "vec4  fragmentFetchAMD(sampler2DMS,       ivec2, uint);"
 3522|      7|            "ivec4 fragmentFetchAMD(isampler2DMS,      ivec2, uint);"
 3523|      7|            "uvec4 fragmentFetchAMD(usampler2DMS,      ivec2, uint);"
 3524|       |
 3525|      7|            "vec4  fragmentFetchAMD(sampler2DMSArray,  ivec3, uint);"
 3526|      7|            "ivec4 fragmentFetchAMD(isampler2DMSArray, ivec3, uint);"
 3527|      7|            "uvec4 fragmentFetchAMD(usampler2DMSArray, ivec3, uint);"
 3528|       |
 3529|      7|            "\n");
 3530|      7|    }
 3531|       |
 3532|     45|    if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (3532:10): [True: 7, False: 38]
  |  Branch (3532:35): [True: 7, False: 0]
  ------------------
 3533|     38|        (profile == EEsProfile && version >= 300)) {
  ------------------
  |  Branch (3533:10): [True: 38, False: 0]
  |  Branch (3533:35): [True: 0, False: 38]
  ------------------
 3534|      7|        commonBuiltins.append(
 3535|      7|            "uint countLeadingZeros(uint);"
 3536|      7|            "uvec2 countLeadingZeros(uvec2);"
 3537|      7|            "uvec3 countLeadingZeros(uvec3);"
 3538|      7|            "uvec4 countLeadingZeros(uvec4);"
 3539|       |
 3540|      7|            "uint countTrailingZeros(uint);"
 3541|      7|            "uvec2 countTrailingZeros(uvec2);"
 3542|      7|            "uvec3 countTrailingZeros(uvec3);"
 3543|      7|            "uvec4 countTrailingZeros(uvec4);"
 3544|       |
 3545|      7|            "uint absoluteDifference(int, int);"
 3546|      7|            "uvec2 absoluteDifference(ivec2, ivec2);"
 3547|      7|            "uvec3 absoluteDifference(ivec3, ivec3);"
 3548|      7|            "uvec4 absoluteDifference(ivec4, ivec4);"
 3549|       |
 3550|      7|            "uint16_t absoluteDifference(int16_t, int16_t);"
 3551|      7|            "u16vec2 absoluteDifference(i16vec2, i16vec2);"
 3552|      7|            "u16vec3 absoluteDifference(i16vec3, i16vec3);"
 3553|      7|            "u16vec4 absoluteDifference(i16vec4, i16vec4);"
 3554|       |
 3555|      7|            "uint64_t absoluteDifference(int64_t, int64_t);"
 3556|      7|            "u64vec2 absoluteDifference(i64vec2, i64vec2);"
 3557|      7|            "u64vec3 absoluteDifference(i64vec3, i64vec3);"
 3558|      7|            "u64vec4 absoluteDifference(i64vec4, i64vec4);"
 3559|       |
 3560|      7|            "uint absoluteDifference(uint, uint);"
 3561|      7|            "uvec2 absoluteDifference(uvec2, uvec2);"
 3562|      7|            "uvec3 absoluteDifference(uvec3, uvec3);"
 3563|      7|            "uvec4 absoluteDifference(uvec4, uvec4);"
 3564|       |
 3565|      7|            "uint16_t absoluteDifference(uint16_t, uint16_t);"
 3566|      7|            "u16vec2 absoluteDifference(u16vec2, u16vec2);"
 3567|      7|            "u16vec3 absoluteDifference(u16vec3, u16vec3);"
 3568|      7|            "u16vec4 absoluteDifference(u16vec4, u16vec4);"
 3569|       |
 3570|      7|            "uint64_t absoluteDifference(uint64_t, uint64_t);"
 3571|      7|            "u64vec2 absoluteDifference(u64vec2, u64vec2);"
 3572|      7|            "u64vec3 absoluteDifference(u64vec3, u64vec3);"
 3573|      7|            "u64vec4 absoluteDifference(u64vec4, u64vec4);"
 3574|       |
 3575|      7|            "int addSaturate(int, int);"
 3576|      7|            "ivec2 addSaturate(ivec2, ivec2);"
 3577|      7|            "ivec3 addSaturate(ivec3, ivec3);"
 3578|      7|            "ivec4 addSaturate(ivec4, ivec4);"
 3579|       |
 3580|      7|            "int16_t addSaturate(int16_t, int16_t);"
 3581|      7|            "i16vec2 addSaturate(i16vec2, i16vec2);"
 3582|      7|            "i16vec3 addSaturate(i16vec3, i16vec3);"
 3583|      7|            "i16vec4 addSaturate(i16vec4, i16vec4);"
 3584|       |
 3585|      7|            "int64_t addSaturate(int64_t, int64_t);"
 3586|      7|            "i64vec2 addSaturate(i64vec2, i64vec2);"
 3587|      7|            "i64vec3 addSaturate(i64vec3, i64vec3);"
 3588|      7|            "i64vec4 addSaturate(i64vec4, i64vec4);"
 3589|       |
 3590|      7|            "uint addSaturate(uint, uint);"
 3591|      7|            "uvec2 addSaturate(uvec2, uvec2);"
 3592|      7|            "uvec3 addSaturate(uvec3, uvec3);"
 3593|      7|            "uvec4 addSaturate(uvec4, uvec4);"
 3594|       |
 3595|      7|            "uint16_t addSaturate(uint16_t, uint16_t);"
 3596|      7|            "u16vec2 addSaturate(u16vec2, u16vec2);"
 3597|      7|            "u16vec3 addSaturate(u16vec3, u16vec3);"
 3598|      7|            "u16vec4 addSaturate(u16vec4, u16vec4);"
 3599|       |
 3600|      7|            "uint64_t addSaturate(uint64_t, uint64_t);"
 3601|      7|            "u64vec2 addSaturate(u64vec2, u64vec2);"
 3602|      7|            "u64vec3 addSaturate(u64vec3, u64vec3);"
 3603|      7|            "u64vec4 addSaturate(u64vec4, u64vec4);"
 3604|       |
 3605|      7|            "int subtractSaturate(int, int);"
 3606|      7|            "ivec2 subtractSaturate(ivec2, ivec2);"
 3607|      7|            "ivec3 subtractSaturate(ivec3, ivec3);"
 3608|      7|            "ivec4 subtractSaturate(ivec4, ivec4);"
 3609|       |
 3610|      7|            "int16_t subtractSaturate(int16_t, int16_t);"
 3611|      7|            "i16vec2 subtractSaturate(i16vec2, i16vec2);"
 3612|      7|            "i16vec3 subtractSaturate(i16vec3, i16vec3);"
 3613|      7|            "i16vec4 subtractSaturate(i16vec4, i16vec4);"
 3614|       |
 3615|      7|            "int64_t subtractSaturate(int64_t, int64_t);"
 3616|      7|            "i64vec2 subtractSaturate(i64vec2, i64vec2);"
 3617|      7|            "i64vec3 subtractSaturate(i64vec3, i64vec3);"
 3618|      7|            "i64vec4 subtractSaturate(i64vec4, i64vec4);"
 3619|       |
 3620|      7|            "uint subtractSaturate(uint, uint);"
 3621|      7|            "uvec2 subtractSaturate(uvec2, uvec2);"
 3622|      7|            "uvec3 subtractSaturate(uvec3, uvec3);"
 3623|      7|            "uvec4 subtractSaturate(uvec4, uvec4);"
 3624|       |
 3625|      7|            "uint16_t subtractSaturate(uint16_t, uint16_t);"
 3626|      7|            "u16vec2 subtractSaturate(u16vec2, u16vec2);"
 3627|      7|            "u16vec3 subtractSaturate(u16vec3, u16vec3);"
 3628|      7|            "u16vec4 subtractSaturate(u16vec4, u16vec4);"
 3629|       |
 3630|      7|            "uint64_t subtractSaturate(uint64_t, uint64_t);"
 3631|      7|            "u64vec2 subtractSaturate(u64vec2, u64vec2);"
 3632|      7|            "u64vec3 subtractSaturate(u64vec3, u64vec3);"
 3633|      7|            "u64vec4 subtractSaturate(u64vec4, u64vec4);"
 3634|       |
 3635|      7|            "int average(int, int);"
 3636|      7|            "ivec2 average(ivec2, ivec2);"
 3637|      7|            "ivec3 average(ivec3, ivec3);"
 3638|      7|            "ivec4 average(ivec4, ivec4);"
 3639|       |
 3640|      7|            "int16_t average(int16_t, int16_t);"
 3641|      7|            "i16vec2 average(i16vec2, i16vec2);"
 3642|      7|            "i16vec3 average(i16vec3, i16vec3);"
 3643|      7|            "i16vec4 average(i16vec4, i16vec4);"
 3644|       |
 3645|      7|            "int64_t average(int64_t, int64_t);"
 3646|      7|            "i64vec2 average(i64vec2, i64vec2);"
 3647|      7|            "i64vec3 average(i64vec3, i64vec3);"
 3648|      7|            "i64vec4 average(i64vec4, i64vec4);"
 3649|       |
 3650|      7|            "uint average(uint, uint);"
 3651|      7|            "uvec2 average(uvec2, uvec2);"
 3652|      7|            "uvec3 average(uvec3, uvec3);"
 3653|      7|            "uvec4 average(uvec4, uvec4);"
 3654|       |
 3655|      7|            "uint16_t average(uint16_t, uint16_t);"
 3656|      7|            "u16vec2 average(u16vec2, u16vec2);"
 3657|      7|            "u16vec3 average(u16vec3, u16vec3);"
 3658|      7|            "u16vec4 average(u16vec4, u16vec4);"
 3659|       |
 3660|      7|            "uint64_t average(uint64_t, uint64_t);"
 3661|      7|            "u64vec2 average(u64vec2, u64vec2);"
 3662|      7|            "u64vec3 average(u64vec3, u64vec3);"
 3663|      7|            "u64vec4 average(u64vec4, u64vec4);"
 3664|       |
 3665|      7|            "int averageRounded(int, int);"
 3666|      7|            "ivec2 averageRounded(ivec2, ivec2);"
 3667|      7|            "ivec3 averageRounded(ivec3, ivec3);"
 3668|      7|            "ivec4 averageRounded(ivec4, ivec4);"
 3669|       |
 3670|      7|            "int16_t averageRounded(int16_t, int16_t);"
 3671|      7|            "i16vec2 averageRounded(i16vec2, i16vec2);"
 3672|      7|            "i16vec3 averageRounded(i16vec3, i16vec3);"
 3673|      7|            "i16vec4 averageRounded(i16vec4, i16vec4);"
 3674|       |
 3675|      7|            "int64_t averageRounded(int64_t, int64_t);"
 3676|      7|            "i64vec2 averageRounded(i64vec2, i64vec2);"
 3677|      7|            "i64vec3 averageRounded(i64vec3, i64vec3);"
 3678|      7|            "i64vec4 averageRounded(i64vec4, i64vec4);"
 3679|       |
 3680|      7|            "uint averageRounded(uint, uint);"
 3681|      7|            "uvec2 averageRounded(uvec2, uvec2);"
 3682|      7|            "uvec3 averageRounded(uvec3, uvec3);"
 3683|      7|            "uvec4 averageRounded(uvec4, uvec4);"
 3684|       |
 3685|      7|            "uint16_t averageRounded(uint16_t, uint16_t);"
 3686|      7|            "u16vec2 averageRounded(u16vec2, u16vec2);"
 3687|      7|            "u16vec3 averageRounded(u16vec3, u16vec3);"
 3688|      7|            "u16vec4 averageRounded(u16vec4, u16vec4);"
 3689|       |
 3690|      7|            "uint64_t averageRounded(uint64_t, uint64_t);"
 3691|      7|            "u64vec2 averageRounded(u64vec2, u64vec2);"
 3692|      7|            "u64vec3 averageRounded(u64vec3, u64vec3);"
 3693|      7|            "u64vec4 averageRounded(u64vec4, u64vec4);"
 3694|       |
 3695|      7|            "int multiply32x16(int, int);"
 3696|      7|            "ivec2 multiply32x16(ivec2, ivec2);"
 3697|      7|            "ivec3 multiply32x16(ivec3, ivec3);"
 3698|      7|            "ivec4 multiply32x16(ivec4, ivec4);"
 3699|       |
 3700|      7|            "uint multiply32x16(uint, uint);"
 3701|      7|            "uvec2 multiply32x16(uvec2, uvec2);"
 3702|      7|            "uvec3 multiply32x16(uvec3, uvec3);"
 3703|      7|            "uvec4 multiply32x16(uvec4, uvec4);"
 3704|      7|            "\n");
 3705|      7|    }
 3706|       |
 3707|     45|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (3707:10): [True: 7, False: 38]
  |  Branch (3707:35): [True: 7, False: 0]
  ------------------
 3708|     38|        (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (3708:10): [True: 38, False: 0]
  |  Branch (3708:35): [True: 0, False: 38]
  ------------------
 3709|      7|        commonBuiltins.append(
 3710|      7|            "struct gl_TextureFootprint2DNV {"
 3711|      7|                "uvec2 anchor;"
 3712|      7|                "uvec2 offset;"
 3713|      7|                "uvec2 mask;"
 3714|      7|                "uint lod;"
 3715|      7|                "uint granularity;"
 3716|      7|            "};"
 3717|       |
 3718|      7|            "struct gl_TextureFootprint3DNV {"
 3719|      7|                "uvec3 anchor;"
 3720|      7|                "uvec3 offset;"
 3721|      7|                "uvec2 mask;"
 3722|      7|                "uint lod;"
 3723|      7|                "uint granularity;"
 3724|      7|            "};"
 3725|      7|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3726|      7|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV);"
 3727|      7|            "bool textureFootprintNV(sampler2D, vec2, int, bool, out gl_TextureFootprint2DNV, float);"
 3728|      7|            "bool textureFootprintNV(sampler3D, vec3, int, bool, out gl_TextureFootprint3DNV, float);"
 3729|      7|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3730|      7|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3731|      7|            "bool textureFootprintClampNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV, float);"
 3732|      7|            "bool textureFootprintClampNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV, float);"
 3733|      7|            "bool textureFootprintLodNV(sampler2D, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3734|      7|            "bool textureFootprintLodNV(sampler3D, vec3, float, int, bool, out gl_TextureFootprint3DNV);"
 3735|      7|            "bool textureFootprintGradNV(sampler2D, vec2, vec2, vec2, int, bool, out gl_TextureFootprint2DNV);"
 3736|      7|            "bool textureFootprintGradClampNV(sampler2D, vec2, vec2, vec2, float, int, bool, out gl_TextureFootprint2DNV);"
 3737|      7|            "\n");
 3738|      7|    }
 3739|       |
 3740|     45|    if ((profile == EEsProfile && version >= 300 && version < 310) ||
  ------------------
  |  Branch (3740:10): [True: 38, False: 7]
  |  Branch (3740:35): [True: 0, False: 38]
  |  Branch (3740:53): [True: 0, False: 0]
  ------------------
 3741|     45|        (profile != EEsProfile && version >= 150 && version < 450)) { // GL_EXT_shader_integer_mix
  ------------------
  |  Branch (3741:10): [True: 7, False: 38]
  |  Branch (3741:35): [True: 7, False: 0]
  |  Branch (3741:53): [True: 0, False: 7]
  ------------------
 3742|      0|        commonBuiltins.append("int mix(int, int, bool);"
 3743|      0|                              "ivec2 mix(ivec2, ivec2, bvec2);"
 3744|      0|                              "ivec3 mix(ivec3, ivec3, bvec3);"
 3745|      0|                              "ivec4 mix(ivec4, ivec4, bvec4);"
 3746|      0|                              "uint  mix(uint,  uint,  bool );"
 3747|      0|                              "uvec2 mix(uvec2, uvec2, bvec2);"
 3748|      0|                              "uvec3 mix(uvec3, uvec3, bvec3);"
 3749|      0|                              "uvec4 mix(uvec4, uvec4, bvec4);"
 3750|      0|                              "bool  mix(bool,  bool,  bool );"
 3751|      0|                              "bvec2 mix(bvec2, bvec2, bvec2);"
 3752|      0|                              "bvec3 mix(bvec3, bvec3, bvec3);"
 3753|      0|                              "bvec4 mix(bvec4, bvec4, bvec4);"
 3754|       |
 3755|      0|                              "\n");
 3756|      0|    }
 3757|       |
 3758|       |    // GL_AMD_gpu_shader_half_float/Explicit types
 3759|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (3759:10): [True: 7, False: 38]
  |  Branch (3759:35): [True: 7, False: 0]
  |  Branch (3759:55): [True: 38, False: 0]
  |  Branch (3759:80): [True: 0, False: 38]
  ------------------
 3760|      7|        commonBuiltins.append(
 3761|      7|            "float16_t radians(float16_t);"
 3762|      7|            "f16vec2   radians(f16vec2);"
 3763|      7|            "f16vec3   radians(f16vec3);"
 3764|      7|            "f16vec4   radians(f16vec4);"
 3765|       |
 3766|      7|            "float16_t degrees(float16_t);"
 3767|      7|            "f16vec2   degrees(f16vec2);"
 3768|      7|            "f16vec3   degrees(f16vec3);"
 3769|      7|            "f16vec4   degrees(f16vec4);"
 3770|       |
 3771|      7|            "float16_t sin(float16_t);"
 3772|      7|            "f16vec2   sin(f16vec2);"
 3773|      7|            "f16vec3   sin(f16vec3);"
 3774|      7|            "f16vec4   sin(f16vec4);"
 3775|       |
 3776|      7|            "float16_t cos(float16_t);"
 3777|      7|            "f16vec2   cos(f16vec2);"
 3778|      7|            "f16vec3   cos(f16vec3);"
 3779|      7|            "f16vec4   cos(f16vec4);"
 3780|       |
 3781|      7|            "float16_t tan(float16_t);"
 3782|      7|            "f16vec2   tan(f16vec2);"
 3783|      7|            "f16vec3   tan(f16vec3);"
 3784|      7|            "f16vec4   tan(f16vec4);"
 3785|       |
 3786|      7|            "float16_t asin(float16_t);"
 3787|      7|            "f16vec2   asin(f16vec2);"
 3788|      7|            "f16vec3   asin(f16vec3);"
 3789|      7|            "f16vec4   asin(f16vec4);"
 3790|       |
 3791|      7|            "float16_t acos(float16_t);"
 3792|      7|            "f16vec2   acos(f16vec2);"
 3793|      7|            "f16vec3   acos(f16vec3);"
 3794|      7|            "f16vec4   acos(f16vec4);"
 3795|       |
 3796|      7|            "float16_t atan(float16_t, float16_t);"
 3797|      7|            "f16vec2   atan(f16vec2,   f16vec2);"
 3798|      7|            "f16vec3   atan(f16vec3,   f16vec3);"
 3799|      7|            "f16vec4   atan(f16vec4,   f16vec4);"
 3800|       |
 3801|      7|            "float16_t atan(float16_t);"
 3802|      7|            "f16vec2   atan(f16vec2);"
 3803|      7|            "f16vec3   atan(f16vec3);"
 3804|      7|            "f16vec4   atan(f16vec4);"
 3805|       |
 3806|      7|            "float16_t sinh(float16_t);"
 3807|      7|            "f16vec2   sinh(f16vec2);"
 3808|      7|            "f16vec3   sinh(f16vec3);"
 3809|      7|            "f16vec4   sinh(f16vec4);"
 3810|       |
 3811|      7|            "float16_t cosh(float16_t);"
 3812|      7|            "f16vec2   cosh(f16vec2);"
 3813|      7|            "f16vec3   cosh(f16vec3);"
 3814|      7|            "f16vec4   cosh(f16vec4);"
 3815|       |
 3816|      7|            "float16_t tanh(float16_t);"
 3817|      7|            "f16vec2   tanh(f16vec2);"
 3818|      7|            "f16vec3   tanh(f16vec3);"
 3819|      7|            "f16vec4   tanh(f16vec4);"
 3820|       |
 3821|      7|            "float16_t asinh(float16_t);"
 3822|      7|            "f16vec2   asinh(f16vec2);"
 3823|      7|            "f16vec3   asinh(f16vec3);"
 3824|      7|            "f16vec4   asinh(f16vec4);"
 3825|       |
 3826|      7|            "float16_t acosh(float16_t);"
 3827|      7|            "f16vec2   acosh(f16vec2);"
 3828|      7|            "f16vec3   acosh(f16vec3);"
 3829|      7|            "f16vec4   acosh(f16vec4);"
 3830|       |
 3831|      7|            "float16_t atanh(float16_t);"
 3832|      7|            "f16vec2   atanh(f16vec2);"
 3833|      7|            "f16vec3   atanh(f16vec3);"
 3834|      7|            "f16vec4   atanh(f16vec4);"
 3835|       |
 3836|      7|            "float16_t pow(float16_t, float16_t);"
 3837|      7|            "f16vec2   pow(f16vec2,   f16vec2);"
 3838|      7|            "f16vec3   pow(f16vec3,   f16vec3);"
 3839|      7|            "f16vec4   pow(f16vec4,   f16vec4);"
 3840|       |
 3841|      7|            "float16_t exp(float16_t);"
 3842|      7|            "f16vec2   exp(f16vec2);"
 3843|      7|            "f16vec3   exp(f16vec3);"
 3844|      7|            "f16vec4   exp(f16vec4);"
 3845|       |
 3846|      7|            "float16_t log(float16_t);"
 3847|      7|            "f16vec2   log(f16vec2);"
 3848|      7|            "f16vec3   log(f16vec3);"
 3849|      7|            "f16vec4   log(f16vec4);"
 3850|       |
 3851|      7|            "float16_t exp2(float16_t);"
 3852|      7|            "f16vec2   exp2(f16vec2);"
 3853|      7|            "f16vec3   exp2(f16vec3);"
 3854|      7|            "f16vec4   exp2(f16vec4);"
 3855|       |
 3856|      7|            "float16_t log2(float16_t);"
 3857|      7|            "f16vec2   log2(f16vec2);"
 3858|      7|            "f16vec3   log2(f16vec3);"
 3859|      7|            "f16vec4   log2(f16vec4);"
 3860|       |
 3861|      7|            "float16_t sqrt(float16_t);"
 3862|      7|            "f16vec2   sqrt(f16vec2);"
 3863|      7|            "f16vec3   sqrt(f16vec3);"
 3864|      7|            "f16vec4   sqrt(f16vec4);"
 3865|       |
 3866|      7|            "float16_t inversesqrt(float16_t);"
 3867|      7|            "f16vec2   inversesqrt(f16vec2);"
 3868|      7|            "f16vec3   inversesqrt(f16vec3);"
 3869|      7|            "f16vec4   inversesqrt(f16vec4);"
 3870|       |
 3871|      7|            "float16_t abs(float16_t);"
 3872|      7|            "f16vec2   abs(f16vec2);"
 3873|      7|            "f16vec3   abs(f16vec3);"
 3874|      7|            "f16vec4   abs(f16vec4);"
 3875|       |
 3876|      7|            "float16_t sign(float16_t);"
 3877|      7|            "f16vec2   sign(f16vec2);"
 3878|      7|            "f16vec3   sign(f16vec3);"
 3879|      7|            "f16vec4   sign(f16vec4);"
 3880|       |
 3881|      7|            "float16_t floor(float16_t);"
 3882|      7|            "f16vec2   floor(f16vec2);"
 3883|      7|            "f16vec3   floor(f16vec3);"
 3884|      7|            "f16vec4   floor(f16vec4);"
 3885|       |
 3886|      7|            "float16_t trunc(float16_t);"
 3887|      7|            "f16vec2   trunc(f16vec2);"
 3888|      7|            "f16vec3   trunc(f16vec3);"
 3889|      7|            "f16vec4   trunc(f16vec4);"
 3890|       |
 3891|      7|            "float16_t round(float16_t);"
 3892|      7|            "f16vec2   round(f16vec2);"
 3893|      7|            "f16vec3   round(f16vec3);"
 3894|      7|            "f16vec4   round(f16vec4);"
 3895|       |
 3896|      7|            "float16_t roundEven(float16_t);"
 3897|      7|            "f16vec2   roundEven(f16vec2);"
 3898|      7|            "f16vec3   roundEven(f16vec3);"
 3899|      7|            "f16vec4   roundEven(f16vec4);"
 3900|       |
 3901|      7|            "float16_t ceil(float16_t);"
 3902|      7|            "f16vec2   ceil(f16vec2);"
 3903|      7|            "f16vec3   ceil(f16vec3);"
 3904|      7|            "f16vec4   ceil(f16vec4);"
 3905|       |
 3906|      7|            "float16_t fract(float16_t);"
 3907|      7|            "f16vec2   fract(f16vec2);"
 3908|      7|            "f16vec3   fract(f16vec3);"
 3909|      7|            "f16vec4   fract(f16vec4);"
 3910|       |
 3911|      7|            "float16_t mod(float16_t, float16_t);"
 3912|      7|            "f16vec2   mod(f16vec2,   float16_t);"
 3913|      7|            "f16vec3   mod(f16vec3,   float16_t);"
 3914|      7|            "f16vec4   mod(f16vec4,   float16_t);"
 3915|      7|            "f16vec2   mod(f16vec2,   f16vec2);"
 3916|      7|            "f16vec3   mod(f16vec3,   f16vec3);"
 3917|      7|            "f16vec4   mod(f16vec4,   f16vec4);"
 3918|       |
 3919|      7|            "float16_t modf(float16_t, out float16_t);"
 3920|      7|            "f16vec2   modf(f16vec2,   out f16vec2);"
 3921|      7|            "f16vec3   modf(f16vec3,   out f16vec3);"
 3922|      7|            "f16vec4   modf(f16vec4,   out f16vec4);"
 3923|       |
 3924|      7|            "float16_t min(float16_t, float16_t);"
 3925|      7|            "f16vec2   min(f16vec2,   float16_t);"
 3926|      7|            "f16vec3   min(f16vec3,   float16_t);"
 3927|      7|            "f16vec4   min(f16vec4,   float16_t);"
 3928|      7|            "f16vec2   min(f16vec2,   f16vec2);"
 3929|      7|            "f16vec3   min(f16vec3,   f16vec3);"
 3930|      7|            "f16vec4   min(f16vec4,   f16vec4);"
 3931|       |
 3932|      7|            "float16_t max(float16_t, float16_t);"
 3933|      7|            "f16vec2   max(f16vec2,   float16_t);"
 3934|      7|            "f16vec3   max(f16vec3,   float16_t);"
 3935|      7|            "f16vec4   max(f16vec4,   float16_t);"
 3936|      7|            "f16vec2   max(f16vec2,   f16vec2);"
 3937|      7|            "f16vec3   max(f16vec3,   f16vec3);"
 3938|      7|            "f16vec4   max(f16vec4,   f16vec4);"
 3939|       |
 3940|      7|            "float16_t clamp(float16_t, float16_t, float16_t);"
 3941|      7|            "f16vec2   clamp(f16vec2,   float16_t, float16_t);"
 3942|      7|            "f16vec3   clamp(f16vec3,   float16_t, float16_t);"
 3943|      7|            "f16vec4   clamp(f16vec4,   float16_t, float16_t);"
 3944|      7|            "f16vec2   clamp(f16vec2,   f16vec2,   f16vec2);"
 3945|      7|            "f16vec3   clamp(f16vec3,   f16vec3,   f16vec3);"
 3946|      7|            "f16vec4   clamp(f16vec4,   f16vec4,   f16vec4);"
 3947|       |
 3948|      7|            "float16_t mix(float16_t, float16_t, float16_t);"
 3949|      7|            "f16vec2   mix(f16vec2,   f16vec2,   float16_t);"
 3950|      7|            "f16vec3   mix(f16vec3,   f16vec3,   float16_t);"
 3951|      7|            "f16vec4   mix(f16vec4,   f16vec4,   float16_t);"
 3952|      7|            "f16vec2   mix(f16vec2,   f16vec2,   f16vec2);"
 3953|      7|            "f16vec3   mix(f16vec3,   f16vec3,   f16vec3);"
 3954|      7|            "f16vec4   mix(f16vec4,   f16vec4,   f16vec4);"
 3955|      7|            "float16_t mix(float16_t, float16_t, bool);"
 3956|      7|            "f16vec2   mix(f16vec2,   f16vec2,   bvec2);"
 3957|      7|            "f16vec3   mix(f16vec3,   f16vec3,   bvec3);"
 3958|      7|            "f16vec4   mix(f16vec4,   f16vec4,   bvec4);"
 3959|       |
 3960|      7|            "float16_t step(float16_t, float16_t);"
 3961|      7|            "f16vec2   step(f16vec2,   f16vec2);"
 3962|      7|            "f16vec3   step(f16vec3,   f16vec3);"
 3963|      7|            "f16vec4   step(f16vec4,   f16vec4);"
 3964|      7|            "f16vec2   step(float16_t, f16vec2);"
 3965|      7|            "f16vec3   step(float16_t, f16vec3);"
 3966|      7|            "f16vec4   step(float16_t, f16vec4);"
 3967|       |
 3968|      7|            "float16_t smoothstep(float16_t, float16_t, float16_t);"
 3969|      7|            "f16vec2   smoothstep(f16vec2,   f16vec2,   f16vec2);"
 3970|      7|            "f16vec3   smoothstep(f16vec3,   f16vec3,   f16vec3);"
 3971|      7|            "f16vec4   smoothstep(f16vec4,   f16vec4,   f16vec4);"
 3972|      7|            "f16vec2   smoothstep(float16_t, float16_t, f16vec2);"
 3973|      7|            "f16vec3   smoothstep(float16_t, float16_t, f16vec3);"
 3974|      7|            "f16vec4   smoothstep(float16_t, float16_t, f16vec4);"
 3975|       |
 3976|      7|            "bool  isnan(float16_t);"
 3977|      7|            "bvec2 isnan(f16vec2);"
 3978|      7|            "bvec3 isnan(f16vec3);"
 3979|      7|            "bvec4 isnan(f16vec4);"
 3980|       |
 3981|      7|            "bool  isinf(float16_t);"
 3982|      7|            "bvec2 isinf(f16vec2);"
 3983|      7|            "bvec3 isinf(f16vec3);"
 3984|      7|            "bvec4 isinf(f16vec4);"
 3985|       |
 3986|      7|            "float16_t fma(float16_t, float16_t, float16_t);"
 3987|      7|            "f16vec2   fma(f16vec2,   f16vec2,   f16vec2);"
 3988|      7|            "f16vec3   fma(f16vec3,   f16vec3,   f16vec3);"
 3989|      7|            "f16vec4   fma(f16vec4,   f16vec4,   f16vec4);"
 3990|       |
 3991|      7|            "float16_t frexp(float16_t, out int);"
 3992|      7|            "f16vec2   frexp(f16vec2,   out ivec2);"
 3993|      7|            "f16vec3   frexp(f16vec3,   out ivec3);"
 3994|      7|            "f16vec4   frexp(f16vec4,   out ivec4);"
 3995|       |
 3996|      7|            "float16_t ldexp(float16_t, in int);"
 3997|      7|            "f16vec2   ldexp(f16vec2,   in ivec2);"
 3998|      7|            "f16vec3   ldexp(f16vec3,   in ivec3);"
 3999|      7|            "f16vec4   ldexp(f16vec4,   in ivec4);"
 4000|       |
 4001|      7|            "uint    packFloat2x16(f16vec2);"
 4002|      7|            "f16vec2 unpackFloat2x16(uint);"
 4003|       |
 4004|      7|            "float16_t length(float16_t);"
 4005|      7|            "float16_t length(f16vec2);"
 4006|      7|            "float16_t length(f16vec3);"
 4007|      7|            "float16_t length(f16vec4);"
 4008|       |
 4009|      7|            "float16_t distance(float16_t, float16_t);"
 4010|      7|            "float16_t distance(f16vec2,   f16vec2);"
 4011|      7|            "float16_t distance(f16vec3,   f16vec3);"
 4012|      7|            "float16_t distance(f16vec4,   f16vec4);"
 4013|       |
 4014|      7|            "float16_t dot(float16_t, float16_t);"
 4015|      7|            "float16_t dot(f16vec2,   f16vec2);"
 4016|      7|            "float16_t dot(f16vec3,   f16vec3);"
 4017|      7|            "float16_t dot(f16vec4,   f16vec4);"
 4018|       |
 4019|      7|            "f16vec3 cross(f16vec3, f16vec3);"
 4020|       |
 4021|      7|            "float16_t normalize(float16_t);"
 4022|      7|            "f16vec2   normalize(f16vec2);"
 4023|      7|            "f16vec3   normalize(f16vec3);"
 4024|      7|            "f16vec4   normalize(f16vec4);"
 4025|       |
 4026|      7|            "float16_t faceforward(float16_t, float16_t, float16_t);"
 4027|      7|            "f16vec2   faceforward(f16vec2,   f16vec2,   f16vec2);"
 4028|      7|            "f16vec3   faceforward(f16vec3,   f16vec3,   f16vec3);"
 4029|      7|            "f16vec4   faceforward(f16vec4,   f16vec4,   f16vec4);"
 4030|       |
 4031|      7|            "float16_t reflect(float16_t, float16_t);"
 4032|      7|            "f16vec2   reflect(f16vec2,   f16vec2);"
 4033|      7|            "f16vec3   reflect(f16vec3,   f16vec3);"
 4034|      7|            "f16vec4   reflect(f16vec4,   f16vec4);"
 4035|       |
 4036|      7|            "float16_t refract(float16_t, float16_t, float16_t);"
 4037|      7|            "f16vec2   refract(f16vec2,   f16vec2,   float16_t);"
 4038|      7|            "f16vec3   refract(f16vec3,   f16vec3,   float16_t);"
 4039|      7|            "f16vec4   refract(f16vec4,   f16vec4,   float16_t);"
 4040|       |
 4041|      7|            "f16mat2   matrixCompMult(f16mat2,   f16mat2);"
 4042|      7|            "f16mat3   matrixCompMult(f16mat3,   f16mat3);"
 4043|      7|            "f16mat4   matrixCompMult(f16mat4,   f16mat4);"
 4044|      7|            "f16mat2x3 matrixCompMult(f16mat2x3, f16mat2x3);"
 4045|      7|            "f16mat2x4 matrixCompMult(f16mat2x4, f16mat2x4);"
 4046|      7|            "f16mat3x2 matrixCompMult(f16mat3x2, f16mat3x2);"
 4047|      7|            "f16mat3x4 matrixCompMult(f16mat3x4, f16mat3x4);"
 4048|      7|            "f16mat4x2 matrixCompMult(f16mat4x2, f16mat4x2);"
 4049|      7|            "f16mat4x3 matrixCompMult(f16mat4x3, f16mat4x3);"
 4050|       |
 4051|      7|            "f16mat2   outerProduct(f16vec2, f16vec2);"
 4052|      7|            "f16mat3   outerProduct(f16vec3, f16vec3);"
 4053|      7|            "f16mat4   outerProduct(f16vec4, f16vec4);"
 4054|      7|            "f16mat2x3 outerProduct(f16vec3, f16vec2);"
 4055|      7|            "f16mat3x2 outerProduct(f16vec2, f16vec3);"
 4056|      7|            "f16mat2x4 outerProduct(f16vec4, f16vec2);"
 4057|      7|            "f16mat4x2 outerProduct(f16vec2, f16vec4);"
 4058|      7|            "f16mat3x4 outerProduct(f16vec4, f16vec3);"
 4059|      7|            "f16mat4x3 outerProduct(f16vec3, f16vec4);"
 4060|       |
 4061|      7|            "f16mat2   transpose(f16mat2);"
 4062|      7|            "f16mat3   transpose(f16mat3);"
 4063|      7|            "f16mat4   transpose(f16mat4);"
 4064|      7|            "f16mat2x3 transpose(f16mat3x2);"
 4065|      7|            "f16mat3x2 transpose(f16mat2x3);"
 4066|      7|            "f16mat2x4 transpose(f16mat4x2);"
 4067|      7|            "f16mat4x2 transpose(f16mat2x4);"
 4068|      7|            "f16mat3x4 transpose(f16mat4x3);"
 4069|      7|            "f16mat4x3 transpose(f16mat3x4);"
 4070|       |
 4071|      7|            "float16_t determinant(f16mat2);"
 4072|      7|            "float16_t determinant(f16mat3);"
 4073|      7|            "float16_t determinant(f16mat4);"
 4074|       |
 4075|      7|            "f16mat2 inverse(f16mat2);"
 4076|      7|            "f16mat3 inverse(f16mat3);"
 4077|      7|            "f16mat4 inverse(f16mat4);"
 4078|       |
 4079|      7|            "bvec2 lessThan(f16vec2, f16vec2);"
 4080|      7|            "bvec3 lessThan(f16vec3, f16vec3);"
 4081|      7|            "bvec4 lessThan(f16vec4, f16vec4);"
 4082|       |
 4083|      7|            "bvec2 lessThanEqual(f16vec2, f16vec2);"
 4084|      7|            "bvec3 lessThanEqual(f16vec3, f16vec3);"
 4085|      7|            "bvec4 lessThanEqual(f16vec4, f16vec4);"
 4086|       |
 4087|      7|            "bvec2 greaterThan(f16vec2, f16vec2);"
 4088|      7|            "bvec3 greaterThan(f16vec3, f16vec3);"
 4089|      7|            "bvec4 greaterThan(f16vec4, f16vec4);"
 4090|       |
 4091|      7|            "bvec2 greaterThanEqual(f16vec2, f16vec2);"
 4092|      7|            "bvec3 greaterThanEqual(f16vec3, f16vec3);"
 4093|      7|            "bvec4 greaterThanEqual(f16vec4, f16vec4);"
 4094|       |
 4095|      7|            "bvec2 equal(f16vec2, f16vec2);"
 4096|      7|            "bvec3 equal(f16vec3, f16vec3);"
 4097|      7|            "bvec4 equal(f16vec4, f16vec4);"
 4098|       |
 4099|      7|            "bvec2 notEqual(f16vec2, f16vec2);"
 4100|      7|            "bvec3 notEqual(f16vec3, f16vec3);"
 4101|      7|            "bvec4 notEqual(f16vec4, f16vec4);"
 4102|       |
 4103|      7|            "bfloat16_t dot(bfloat16_t, bfloat16_t);"
 4104|      7|            "bfloat16_t dot(bf16vec2,   bf16vec2);"
 4105|      7|            "bfloat16_t dot(bf16vec3,   bf16vec3);"
 4106|      7|            "bfloat16_t dot(bf16vec4,   bf16vec4);"
 4107|       |
 4108|      7|            "int16_t  bfloat16BitsToIntEXT(bfloat16_t value);"
 4109|      7|            "i16vec2  bfloat16BitsToIntEXT(bf16vec2 value);"
 4110|      7|            "i16vec3  bfloat16BitsToIntEXT(bf16vec3 value);"
 4111|      7|            "i16vec4  bfloat16BitsToIntEXT(bf16vec4 value);"
 4112|       |
 4113|      7|            "uint16_t bfloat16BitsToUintEXT(bfloat16_t value);"
 4114|      7|            "u16vec2  bfloat16BitsToUintEXT(bf16vec2 value);"
 4115|      7|            "u16vec3  bfloat16BitsToUintEXT(bf16vec3 value);"
 4116|      7|            "u16vec4  bfloat16BitsToUintEXT(bf16vec4 value);"
 4117|       |
 4118|      7|            "bfloat16_t intBitsToBFloat16EXT(int16_t value);"
 4119|      7|            "bf16vec2   intBitsToBFloat16EXT(i16vec2 value);"
 4120|      7|            "bf16vec3   intBitsToBFloat16EXT(i16vec3 value);"
 4121|      7|            "bf16vec4   intBitsToBFloat16EXT(i16vec4 value);"
 4122|       |
 4123|      7|            "bfloat16_t uintBitsToBFloat16EXT(uint16_t value);"
 4124|      7|            "bf16vec2   uintBitsToBFloat16EXT(u16vec2 value);"
 4125|      7|            "bf16vec3   uintBitsToBFloat16EXT(u16vec3 value);"
 4126|      7|            "bf16vec4   uintBitsToBFloat16EXT(u16vec4 value);"
 4127|       |
 4128|      7|            "int8_t  floate5m2BitsToIntEXT(floate5m2_t value);"
 4129|      7|            "i8vec2  floate5m2BitsToIntEXT(fe5m2vec2 value);"
 4130|      7|            "i8vec3  floate5m2BitsToIntEXT(fe5m2vec3 value);"
 4131|      7|            "i8vec4  floate5m2BitsToIntEXT(fe5m2vec4 value);"
 4132|       |
 4133|      7|            "uint8_t floate5m2BitsToUintEXT(floate5m2_t value);"
 4134|      7|            "u8vec2  floate5m2BitsToUintEXT(fe5m2vec2 value);"
 4135|      7|            "u8vec3  floate5m2BitsToUintEXT(fe5m2vec3 value);"
 4136|      7|            "u8vec4  floate5m2BitsToUintEXT(fe5m2vec4 value);"
 4137|       |
 4138|      7|            "floate5m2_t intBitsToFloate5m2EXT(int8_t value);"
 4139|      7|            "fe5m2vec2   intBitsToFloate5m2EXT(i8vec2 value);"
 4140|      7|            "fe5m2vec3   intBitsToFloate5m2EXT(i8vec3 value);"
 4141|      7|            "fe5m2vec4   intBitsToFloate5m2EXT(i8vec4 value);"
 4142|       |
 4143|      7|            "floate5m2_t uintBitsToFloate5m2EXT(uint8_t value);"
 4144|      7|            "fe5m2vec2   uintBitsToFloate5m2EXT(u8vec2 value);"
 4145|      7|            "fe5m2vec3   uintBitsToFloate5m2EXT(u8vec3 value);"
 4146|      7|            "fe5m2vec4   uintBitsToFloate5m2EXT(u8vec4 value);"
 4147|       |
 4148|      7|            "int8_t  floate4m3BitsToIntEXT(floate4m3_t value);"
 4149|      7|            "i8vec2  floate4m3BitsToIntEXT(fe4m3vec2 value);"
 4150|      7|            "i8vec3  floate4m3BitsToIntEXT(fe4m3vec3 value);"
 4151|      7|            "i8vec4  floate4m3BitsToIntEXT(fe4m3vec4 value);"
 4152|       |
 4153|      7|            "uint8_t floate4m3BitsToUintEXT(floate4m3_t value);"
 4154|      7|            "u8vec2  floate4m3BitsToUintEXT(fe4m3vec2 value);"
 4155|      7|            "u8vec3  floate4m3BitsToUintEXT(fe4m3vec3 value);"
 4156|      7|            "u8vec4  floate4m3BitsToUintEXT(fe4m3vec4 value);"
 4157|       |
 4158|      7|            "floate4m3_t intBitsToFloate4m3EXT(int8_t value);"
 4159|      7|            "fe4m3vec2   intBitsToFloate4m3EXT(i8vec2 value);"
 4160|      7|            "fe4m3vec3   intBitsToFloate4m3EXT(i8vec3 value);"
 4161|      7|            "fe4m3vec4   intBitsToFloate4m3EXT(i8vec4 value);"
 4162|       |
 4163|      7|            "floate4m3_t uintBitsToFloate4m3EXT(uint8_t value);"
 4164|      7|            "fe4m3vec2   uintBitsToFloate4m3EXT(u8vec2 value);"
 4165|      7|            "fe4m3vec3   uintBitsToFloate4m3EXT(u8vec3 value);"
 4166|      7|            "fe4m3vec4   uintBitsToFloate4m3EXT(u8vec4 value);"
 4167|       |
 4168|      7|            "void saturatedConvertEXT();"
 4169|       |
 4170|      7|            "int8_t  floatue8m0BitsToIntEXT(floatue8m0_t value);"
 4171|      7|            "i8vec2  floatue8m0BitsToIntEXT(fue8m0vec2 value);"
 4172|      7|            "i8vec3  floatue8m0BitsToIntEXT(fue8m0vec3 value);"
 4173|      7|            "i8vec4  floatue8m0BitsToIntEXT(fue8m0vec4 value);"
 4174|       |
 4175|      7|            "uint8_t floatue8m0BitsToUintEXT(floatue8m0_t value);"
 4176|      7|            "u8vec2  floatue8m0BitsToUintEXT(fue8m0vec2 value);"
 4177|      7|            "u8vec3  floatue8m0BitsToUintEXT(fue8m0vec3 value);"
 4178|      7|            "u8vec4  floatue8m0BitsToUintEXT(fue8m0vec4 value);"
 4179|       |
 4180|      7|            "floatue8m0_t intBitsToFloatue8m0EXT(int8_t value);"
 4181|      7|            "fue8m0vec2   intBitsToFloatue8m0EXT(i8vec2 value);"
 4182|      7|            "fue8m0vec3   intBitsToFloatue8m0EXT(i8vec3 value);"
 4183|      7|            "fue8m0vec4   intBitsToFloatue8m0EXT(i8vec4 value);"
 4184|       |
 4185|      7|            "floatue8m0_t uintBitsToFloatue8m0EXT(uint8_t value);"
 4186|      7|            "fue8m0vec2   uintBitsToFloatue8m0EXT(u8vec2 value);"
 4187|      7|            "fue8m0vec3   uintBitsToFloatue8m0EXT(u8vec3 value);"
 4188|      7|            "fue8m0vec4   uintBitsToFloatue8m0EXT(u8vec4 value);"
 4189|       |
 4190|      7|            "int8_t  floatmxint8BitsToIntEXT(floatmxint8_t value);"
 4191|      7|            "i8vec2  floatmxint8BitsToIntEXT(fmxint8vec2 value);"
 4192|      7|            "i8vec3  floatmxint8BitsToIntEXT(fmxint8vec3 value);"
 4193|      7|            "i8vec4  floatmxint8BitsToIntEXT(fmxint8vec4 value);"
 4194|       |
 4195|      7|            "uint8_t floatmxint8BitsToUintEXT(floatmxint8_t value);"
 4196|      7|            "u8vec2  floatmxint8BitsToUintEXT(fmxint8vec2 value);"
 4197|      7|            "u8vec3  floatmxint8BitsToUintEXT(fmxint8vec3 value);"
 4198|      7|            "u8vec4  floatmxint8BitsToUintEXT(fmxint8vec4 value);"
 4199|       |
 4200|      7|            "floatmxint8_t intBitsToFloatmxint8EXT(int8_t value);"
 4201|      7|            "fmxint8vec2   intBitsToFloatmxint8EXT(i8vec2 value);"
 4202|      7|            "fmxint8vec3   intBitsToFloatmxint8EXT(i8vec3 value);"
 4203|      7|            "fmxint8vec4   intBitsToFloatmxint8EXT(i8vec4 value);"
 4204|       |
 4205|      7|            "floatmxint8_t uintBitsToFloatmxint8EXT(uint8_t value);"
 4206|      7|            "fmxint8vec2   uintBitsToFloatmxint8EXT(u8vec2 value);"
 4207|      7|            "fmxint8vec3   uintBitsToFloatmxint8EXT(u8vec3 value);"
 4208|      7|            "fmxint8vec4   uintBitsToFloatmxint8EXT(u8vec4 value);"
 4209|       |
 4210|      7|            "fe2m1vec2               unpackFloat2xfe2m1EXT(uint8_t value);"
 4211|      7|            "fe2m1vec4               unpackFloat4xfe2m1EXT(uint16_t value);"
 4212|      7|            "vector<floate2m1_t, 8>  unpackFloat8xfe2m1EXT(uint32_t value);"
 4213|      7|            "vector<floate2m1_t, 16> unpackFloat16xfe2m1EXT(u32vec2 value);"
 4214|       |
 4215|      7|            "uint8_t                 packFloat2xfe2m1EXT(fe2m1vec2 value);"
 4216|      7|            "uint16_t                packFloat4xfe2m1EXT(fe2m1vec4 value);"
 4217|      7|            "uint32_t                packFloat8xfe2m1EXT(vector<floate2m1_t, 8> value);"
 4218|      7|            "u32vec2                 packFloat16xfe2m1EXT(vector<floate2m1_t, 16> value);"
 4219|       |
 4220|      7|            "fe3m2vec4               unpackFloat4xfe3m2EXT(u8vec3 value);"
 4221|      7|            "vector<floate3m2_t, 8>  unpackFloat8xfe3m2EXT(u16vec3 value);"
 4222|      7|            "vector<floate3m2_t, 16> unpackFloat16xfe3m2EXT(u32vec3 value);"
 4223|       |
 4224|      7|            "u8vec3                  packFloat4xfe3m2EXT(fe3m2vec4 value);"
 4225|      7|            "u16vec3                 packFloat8xfe3m2EXT(vector<floate3m2_t, 8> value);"
 4226|      7|            "u32vec3                 packFloat16xfe3m2EXT(vector<floate3m2_t, 16> value);"
 4227|       |
 4228|      7|            "fe2m3vec4               unpackFloat4xfe2m3EXT(u8vec3 value);"
 4229|      7|            "vector<floate2m3_t, 8>  unpackFloat8xfe2m3EXT(u16vec3 value);"
 4230|      7|            "vector<floate2m3_t, 16> unpackFloat16xfe2m3EXT(u32vec3 value);"
 4231|       |
 4232|      7|            "u8vec3                  packFloat4xfe2m3EXT(fe2m3vec4 value);"
 4233|      7|            "u16vec3                 packFloat8xfe2m3EXT(vector<floate2m3_t, 8> value);"
 4234|      7|            "u32vec3                 packFloat16xfe2m3EXT(vector<floate2m3_t, 16> value);"
 4235|       |
 4236|      7|            "floate2m1_t             bitcastExtractfe2m1EXT(uint8_t, uint);"
 4237|      7|            "fe2m1vec2               bitcastExtractfe2m1EXT(u8vec2, uint);"
 4238|      7|            "fe2m1vec3               bitcastExtractfe2m1EXT(u8vec3, uint);"
 4239|      7|            "fe2m1vec4               bitcastExtractfe2m1EXT(u8vec4, uint);"
 4240|       |
 4241|      7|            "floate3m2_t             bitcastExtractfe3m2EXT(uint8_t, uint);"
 4242|      7|            "fe3m2vec2               bitcastExtractfe3m2EXT(u8vec2, uint);"
 4243|      7|            "fe3m2vec3               bitcastExtractfe3m2EXT(u8vec3, uint);"
 4244|      7|            "fe3m2vec4               bitcastExtractfe3m2EXT(u8vec4, uint);"
 4245|       |
 4246|      7|            "floate2m3_t             bitcastExtractfe2m3EXT(uint8_t, uint);"
 4247|      7|            "fe2m3vec2               bitcastExtractfe2m3EXT(u8vec2, uint);"
 4248|      7|            "fe2m3vec3               bitcastExtractfe2m3EXT(u8vec3, uint);"
 4249|      7|            "fe2m3vec4               bitcastExtractfe2m3EXT(u8vec4, uint);"
 4250|       |
 4251|      7|            "\n");
 4252|      7|    }
 4253|       |
 4254|       |    // Explicit types
 4255|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4255:10): [True: 7, False: 38]
  |  Branch (4255:35): [True: 7, False: 0]
  |  Branch (4255:55): [True: 38, False: 0]
  |  Branch (4255:80): [True: 0, False: 38]
  ------------------
 4256|      7|        commonBuiltins.append(
 4257|      7|            "int8_t abs(int8_t);"
 4258|      7|            "i8vec2 abs(i8vec2);"
 4259|      7|            "i8vec3 abs(i8vec3);"
 4260|      7|            "i8vec4 abs(i8vec4);"
 4261|       |
 4262|      7|            "int8_t sign(int8_t);"
 4263|      7|            "i8vec2 sign(i8vec2);"
 4264|      7|            "i8vec3 sign(i8vec3);"
 4265|      7|            "i8vec4 sign(i8vec4);"
 4266|       |
 4267|      7|            "int8_t min(int8_t x, int8_t y);"
 4268|      7|            "i8vec2 min(i8vec2 x, int8_t y);"
 4269|      7|            "i8vec3 min(i8vec3 x, int8_t y);"
 4270|      7|            "i8vec4 min(i8vec4 x, int8_t y);"
 4271|      7|            "i8vec2 min(i8vec2 x, i8vec2 y);"
 4272|      7|            "i8vec3 min(i8vec3 x, i8vec3 y);"
 4273|      7|            "i8vec4 min(i8vec4 x, i8vec4 y);"
 4274|       |
 4275|      7|            "uint8_t min(uint8_t x, uint8_t y);"
 4276|      7|            "u8vec2 min(u8vec2 x, uint8_t y);"
 4277|      7|            "u8vec3 min(u8vec3 x, uint8_t y);"
 4278|      7|            "u8vec4 min(u8vec4 x, uint8_t y);"
 4279|      7|            "u8vec2 min(u8vec2 x, u8vec2 y);"
 4280|      7|            "u8vec3 min(u8vec3 x, u8vec3 y);"
 4281|      7|            "u8vec4 min(u8vec4 x, u8vec4 y);"
 4282|       |
 4283|      7|            "int8_t max(int8_t x, int8_t y);"
 4284|      7|            "i8vec2 max(i8vec2 x, int8_t y);"
 4285|      7|            "i8vec3 max(i8vec3 x, int8_t y);"
 4286|      7|            "i8vec4 max(i8vec4 x, int8_t y);"
 4287|      7|            "i8vec2 max(i8vec2 x, i8vec2 y);"
 4288|      7|            "i8vec3 max(i8vec3 x, i8vec3 y);"
 4289|      7|            "i8vec4 max(i8vec4 x, i8vec4 y);"
 4290|       |
 4291|      7|            "uint8_t max(uint8_t x, uint8_t y);"
 4292|      7|            "u8vec2 max(u8vec2 x, uint8_t y);"
 4293|      7|            "u8vec3 max(u8vec3 x, uint8_t y);"
 4294|      7|            "u8vec4 max(u8vec4 x, uint8_t y);"
 4295|      7|            "u8vec2 max(u8vec2 x, u8vec2 y);"
 4296|      7|            "u8vec3 max(u8vec3 x, u8vec3 y);"
 4297|      7|            "u8vec4 max(u8vec4 x, u8vec4 y);"
 4298|       |
 4299|      7|            "int8_t    clamp(int8_t x, int8_t minVal, int8_t maxVal);"
 4300|      7|            "i8vec2  clamp(i8vec2  x, int8_t minVal, int8_t maxVal);"
 4301|      7|            "i8vec3  clamp(i8vec3  x, int8_t minVal, int8_t maxVal);"
 4302|      7|            "i8vec4  clamp(i8vec4  x, int8_t minVal, int8_t maxVal);"
 4303|      7|            "i8vec2  clamp(i8vec2  x, i8vec2  minVal, i8vec2  maxVal);"
 4304|      7|            "i8vec3  clamp(i8vec3  x, i8vec3  minVal, i8vec3  maxVal);"
 4305|      7|            "i8vec4  clamp(i8vec4  x, i8vec4  minVal, i8vec4  maxVal);"
 4306|       |
 4307|      7|            "uint8_t   clamp(uint8_t x, uint8_t minVal, uint8_t maxVal);"
 4308|      7|            "u8vec2  clamp(u8vec2  x, uint8_t minVal, uint8_t maxVal);"
 4309|      7|            "u8vec3  clamp(u8vec3  x, uint8_t minVal, uint8_t maxVal);"
 4310|      7|            "u8vec4  clamp(u8vec4  x, uint8_t minVal, uint8_t maxVal);"
 4311|      7|            "u8vec2  clamp(u8vec2  x, u8vec2  minVal, u8vec2  maxVal);"
 4312|      7|            "u8vec3  clamp(u8vec3  x, u8vec3  minVal, u8vec3  maxVal);"
 4313|      7|            "u8vec4  clamp(u8vec4  x, u8vec4  minVal, u8vec4  maxVal);"
 4314|       |
 4315|      7|            "int8_t  mix(int8_t,  int8_t,  bool);"
 4316|      7|            "i8vec2  mix(i8vec2,  i8vec2,  bvec2);"
 4317|      7|            "i8vec3  mix(i8vec3,  i8vec3,  bvec3);"
 4318|      7|            "i8vec4  mix(i8vec4,  i8vec4,  bvec4);"
 4319|      7|            "uint8_t mix(uint8_t, uint8_t, bool);"
 4320|      7|            "u8vec2  mix(u8vec2,  u8vec2,  bvec2);"
 4321|      7|            "u8vec3  mix(u8vec3,  u8vec3,  bvec3);"
 4322|      7|            "u8vec4  mix(u8vec4,  u8vec4,  bvec4);"
 4323|       |
 4324|      7|            "bvec2 lessThan(i8vec2, i8vec2);"
 4325|      7|            "bvec3 lessThan(i8vec3, i8vec3);"
 4326|      7|            "bvec4 lessThan(i8vec4, i8vec4);"
 4327|      7|            "bvec2 lessThan(u8vec2, u8vec2);"
 4328|      7|            "bvec3 lessThan(u8vec3, u8vec3);"
 4329|      7|            "bvec4 lessThan(u8vec4, u8vec4);"
 4330|       |
 4331|      7|            "bvec2 lessThanEqual(i8vec2, i8vec2);"
 4332|      7|            "bvec3 lessThanEqual(i8vec3, i8vec3);"
 4333|      7|            "bvec4 lessThanEqual(i8vec4, i8vec4);"
 4334|      7|            "bvec2 lessThanEqual(u8vec2, u8vec2);"
 4335|      7|            "bvec3 lessThanEqual(u8vec3, u8vec3);"
 4336|      7|            "bvec4 lessThanEqual(u8vec4, u8vec4);"
 4337|       |
 4338|      7|            "bvec2 greaterThan(i8vec2, i8vec2);"
 4339|      7|            "bvec3 greaterThan(i8vec3, i8vec3);"
 4340|      7|            "bvec4 greaterThan(i8vec4, i8vec4);"
 4341|      7|            "bvec2 greaterThan(u8vec2, u8vec2);"
 4342|      7|            "bvec3 greaterThan(u8vec3, u8vec3);"
 4343|      7|            "bvec4 greaterThan(u8vec4, u8vec4);"
 4344|       |
 4345|      7|            "bvec2 greaterThanEqual(i8vec2, i8vec2);"
 4346|      7|            "bvec3 greaterThanEqual(i8vec3, i8vec3);"
 4347|      7|            "bvec4 greaterThanEqual(i8vec4, i8vec4);"
 4348|      7|            "bvec2 greaterThanEqual(u8vec2, u8vec2);"
 4349|      7|            "bvec3 greaterThanEqual(u8vec3, u8vec3);"
 4350|      7|            "bvec4 greaterThanEqual(u8vec4, u8vec4);"
 4351|       |
 4352|      7|            "bvec2 equal(i8vec2, i8vec2);"
 4353|      7|            "bvec3 equal(i8vec3, i8vec3);"
 4354|      7|            "bvec4 equal(i8vec4, i8vec4);"
 4355|      7|            "bvec2 equal(u8vec2, u8vec2);"
 4356|      7|            "bvec3 equal(u8vec3, u8vec3);"
 4357|      7|            "bvec4 equal(u8vec4, u8vec4);"
 4358|       |
 4359|      7|            "bvec2 notEqual(i8vec2, i8vec2);"
 4360|      7|            "bvec3 notEqual(i8vec3, i8vec3);"
 4361|      7|            "bvec4 notEqual(i8vec4, i8vec4);"
 4362|      7|            "bvec2 notEqual(u8vec2, u8vec2);"
 4363|      7|            "bvec3 notEqual(u8vec3, u8vec3);"
 4364|      7|            "bvec4 notEqual(u8vec4, u8vec4);"
 4365|       |
 4366|      7|            "  int8_t bitfieldExtract(  int8_t, int8_t, int8_t);"
 4367|      7|            "i8vec2 bitfieldExtract(i8vec2, int8_t, int8_t);"
 4368|      7|            "i8vec3 bitfieldExtract(i8vec3, int8_t, int8_t);"
 4369|      7|            "i8vec4 bitfieldExtract(i8vec4, int8_t, int8_t);"
 4370|       |
 4371|      7|            " uint8_t bitfieldExtract( uint8_t, int8_t, int8_t);"
 4372|      7|            "u8vec2 bitfieldExtract(u8vec2, int8_t, int8_t);"
 4373|      7|            "u8vec3 bitfieldExtract(u8vec3, int8_t, int8_t);"
 4374|      7|            "u8vec4 bitfieldExtract(u8vec4, int8_t, int8_t);"
 4375|       |
 4376|      7|            "  int8_t bitfieldInsert(  int8_t base,   int8_t, int8_t, int8_t);"
 4377|      7|            "i8vec2 bitfieldInsert(i8vec2 base, i8vec2, int8_t, int8_t);"
 4378|      7|            "i8vec3 bitfieldInsert(i8vec3 base, i8vec3, int8_t, int8_t);"
 4379|      7|            "i8vec4 bitfieldInsert(i8vec4 base, i8vec4, int8_t, int8_t);"
 4380|       |
 4381|      7|            " uint8_t bitfieldInsert( uint8_t base,  uint8_t, int8_t, int8_t);"
 4382|      7|            "u8vec2 bitfieldInsert(u8vec2 base, u8vec2, int8_t, int8_t);"
 4383|      7|            "u8vec3 bitfieldInsert(u8vec3 base, u8vec3, int8_t, int8_t);"
 4384|      7|            "u8vec4 bitfieldInsert(u8vec4 base, u8vec4, int8_t, int8_t);"
 4385|       |
 4386|      7|            "  int8_t bitCount(  int8_t);"
 4387|      7|            "i8vec2 bitCount(i8vec2);"
 4388|      7|            "i8vec3 bitCount(i8vec3);"
 4389|      7|            "i8vec4 bitCount(i8vec4);"
 4390|       |
 4391|      7|            "  int8_t bitCount( uint8_t);"
 4392|      7|            "i8vec2 bitCount(u8vec2);"
 4393|      7|            "i8vec3 bitCount(u8vec3);"
 4394|      7|            "i8vec4 bitCount(u8vec4);"
 4395|       |
 4396|      7|            "int8_t bitfieldReverse(highp int8_t);"
 4397|      7|            "i8vec2 bitfieldReverse(highp i8vec2);"
 4398|      7|            "i8vec3 bitfieldReverse(highp i8vec3);"
 4399|      7|            "i8vec4 bitfieldReverse(highp i8vec4);"
 4400|       |
 4401|      7|            "uint8_t bitfieldReverse(highp uint8_t);"
 4402|      7|            "u8vec2  bitfieldReverse(highp u8vec2);"
 4403|      7|            "u8vec3  bitfieldReverse(highp u8vec3);"
 4404|      7|            "u8vec4  bitfieldReverse(highp u8vec4);"
 4405|       |
 4406|      7|            "  int8_t findLSB(  int8_t);"
 4407|      7|            "i8vec2 findLSB(i8vec2);"
 4408|      7|            "i8vec3 findLSB(i8vec3);"
 4409|      7|            "i8vec4 findLSB(i8vec4);"
 4410|       |
 4411|      7|            "  int8_t findLSB( uint8_t);"
 4412|      7|            "i8vec2 findLSB(u8vec2);"
 4413|      7|            "i8vec3 findLSB(u8vec3);"
 4414|      7|            "i8vec4 findLSB(u8vec4);"
 4415|       |
 4416|      7|            "  int8_t findMSB(  int8_t);"
 4417|      7|            "i8vec2 findMSB(i8vec2);"
 4418|      7|            "i8vec3 findMSB(i8vec3);"
 4419|      7|            "i8vec4 findMSB(i8vec4);"
 4420|       |
 4421|      7|            "  int8_t findMSB( uint8_t);"
 4422|      7|            "i8vec2 findMSB(u8vec2);"
 4423|      7|            "i8vec3 findMSB(u8vec3);"
 4424|      7|            "i8vec4 findMSB(u8vec4);"
 4425|       |
 4426|      7|            "int16_t abs(int16_t);"
 4427|      7|            "i16vec2 abs(i16vec2);"
 4428|      7|            "i16vec3 abs(i16vec3);"
 4429|      7|            "i16vec4 abs(i16vec4);"
 4430|       |
 4431|      7|            "int16_t sign(int16_t);"
 4432|      7|            "i16vec2 sign(i16vec2);"
 4433|      7|            "i16vec3 sign(i16vec3);"
 4434|      7|            "i16vec4 sign(i16vec4);"
 4435|       |
 4436|      7|            "int16_t min(int16_t x, int16_t y);"
 4437|      7|            "i16vec2 min(i16vec2 x, int16_t y);"
 4438|      7|            "i16vec3 min(i16vec3 x, int16_t y);"
 4439|      7|            "i16vec4 min(i16vec4 x, int16_t y);"
 4440|      7|            "i16vec2 min(i16vec2 x, i16vec2 y);"
 4441|      7|            "i16vec3 min(i16vec3 x, i16vec3 y);"
 4442|      7|            "i16vec4 min(i16vec4 x, i16vec4 y);"
 4443|       |
 4444|      7|            "uint16_t min(uint16_t x, uint16_t y);"
 4445|      7|            "u16vec2 min(u16vec2 x, uint16_t y);"
 4446|      7|            "u16vec3 min(u16vec3 x, uint16_t y);"
 4447|      7|            "u16vec4 min(u16vec4 x, uint16_t y);"
 4448|      7|            "u16vec2 min(u16vec2 x, u16vec2 y);"
 4449|      7|            "u16vec3 min(u16vec3 x, u16vec3 y);"
 4450|      7|            "u16vec4 min(u16vec4 x, u16vec4 y);"
 4451|       |
 4452|      7|            "int16_t max(int16_t x, int16_t y);"
 4453|      7|            "i16vec2 max(i16vec2 x, int16_t y);"
 4454|      7|            "i16vec3 max(i16vec3 x, int16_t y);"
 4455|      7|            "i16vec4 max(i16vec4 x, int16_t y);"
 4456|      7|            "i16vec2 max(i16vec2 x, i16vec2 y);"
 4457|      7|            "i16vec3 max(i16vec3 x, i16vec3 y);"
 4458|      7|            "i16vec4 max(i16vec4 x, i16vec4 y);"
 4459|       |
 4460|      7|            "uint16_t max(uint16_t x, uint16_t y);"
 4461|      7|            "u16vec2 max(u16vec2 x, uint16_t y);"
 4462|      7|            "u16vec3 max(u16vec3 x, uint16_t y);"
 4463|      7|            "u16vec4 max(u16vec4 x, uint16_t y);"
 4464|      7|            "u16vec2 max(u16vec2 x, u16vec2 y);"
 4465|      7|            "u16vec3 max(u16vec3 x, u16vec3 y);"
 4466|      7|            "u16vec4 max(u16vec4 x, u16vec4 y);"
 4467|       |
 4468|      7|            "int16_t    clamp(int16_t x, int16_t minVal, int16_t maxVal);"
 4469|      7|            "i16vec2  clamp(i16vec2  x, int16_t minVal, int16_t maxVal);"
 4470|      7|            "i16vec3  clamp(i16vec3  x, int16_t minVal, int16_t maxVal);"
 4471|      7|            "i16vec4  clamp(i16vec4  x, int16_t minVal, int16_t maxVal);"
 4472|      7|            "i16vec2  clamp(i16vec2  x, i16vec2  minVal, i16vec2  maxVal);"
 4473|      7|            "i16vec3  clamp(i16vec3  x, i16vec3  minVal, i16vec3  maxVal);"
 4474|      7|            "i16vec4  clamp(i16vec4  x, i16vec4  minVal, i16vec4  maxVal);"
 4475|       |
 4476|      7|            "uint16_t   clamp(uint16_t x, uint16_t minVal, uint16_t maxVal);"
 4477|      7|            "u16vec2  clamp(u16vec2  x, uint16_t minVal, uint16_t maxVal);"
 4478|      7|            "u16vec3  clamp(u16vec3  x, uint16_t minVal, uint16_t maxVal);"
 4479|      7|            "u16vec4  clamp(u16vec4  x, uint16_t minVal, uint16_t maxVal);"
 4480|      7|            "u16vec2  clamp(u16vec2  x, u16vec2  minVal, u16vec2  maxVal);"
 4481|      7|            "u16vec3  clamp(u16vec3  x, u16vec3  minVal, u16vec3  maxVal);"
 4482|      7|            "u16vec4  clamp(u16vec4  x, u16vec4  minVal, u16vec4  maxVal);"
 4483|       |
 4484|      7|            "int16_t  mix(int16_t,  int16_t,  bool);"
 4485|      7|            "i16vec2  mix(i16vec2,  i16vec2,  bvec2);"
 4486|      7|            "i16vec3  mix(i16vec3,  i16vec3,  bvec3);"
 4487|      7|            "i16vec4  mix(i16vec4,  i16vec4,  bvec4);"
 4488|      7|            "uint16_t mix(uint16_t, uint16_t, bool);"
 4489|      7|            "u16vec2  mix(u16vec2,  u16vec2,  bvec2);"
 4490|      7|            "u16vec3  mix(u16vec3,  u16vec3,  bvec3);"
 4491|      7|            "u16vec4  mix(u16vec4,  u16vec4,  bvec4);"
 4492|       |
 4493|      7|            "float16_t frexp(float16_t, out int16_t);"
 4494|      7|            "f16vec2   frexp(f16vec2,   out i16vec2);"
 4495|      7|            "f16vec3   frexp(f16vec3,   out i16vec3);"
 4496|      7|            "f16vec4   frexp(f16vec4,   out i16vec4);"
 4497|       |
 4498|      7|            "float16_t ldexp(float16_t, int16_t);"
 4499|      7|            "f16vec2   ldexp(f16vec2,   i16vec2);"
 4500|      7|            "f16vec3   ldexp(f16vec3,   i16vec3);"
 4501|      7|            "f16vec4   ldexp(f16vec4,   i16vec4);"
 4502|       |
 4503|      7|            "int16_t halfBitsToInt16(float16_t);"
 4504|      7|            "i16vec2 halfBitsToInt16(f16vec2);"
 4505|      7|            "i16vec3 halhBitsToInt16(f16vec3);"
 4506|      7|            "i16vec4 halfBitsToInt16(f16vec4);"
 4507|       |
 4508|      7|            "uint16_t halfBitsToUint16(float16_t);"
 4509|      7|            "u16vec2  halfBitsToUint16(f16vec2);"
 4510|      7|            "u16vec3  halfBitsToUint16(f16vec3);"
 4511|      7|            "u16vec4  halfBitsToUint16(f16vec4);"
 4512|       |
 4513|      7|            "int16_t float16BitsToInt16(float16_t);"
 4514|      7|            "i16vec2 float16BitsToInt16(f16vec2);"
 4515|      7|            "i16vec3 float16BitsToInt16(f16vec3);"
 4516|      7|            "i16vec4 float16BitsToInt16(f16vec4);"
 4517|       |
 4518|      7|            "uint16_t float16BitsToUint16(float16_t);"
 4519|      7|            "u16vec2  float16BitsToUint16(f16vec2);"
 4520|      7|            "u16vec3  float16BitsToUint16(f16vec3);"
 4521|      7|            "u16vec4  float16BitsToUint16(f16vec4);"
 4522|       |
 4523|      7|            "float16_t int16BitsToFloat16(int16_t);"
 4524|      7|            "f16vec2   int16BitsToFloat16(i16vec2);"
 4525|      7|            "f16vec3   int16BitsToFloat16(i16vec3);"
 4526|      7|            "f16vec4   int16BitsToFloat16(i16vec4);"
 4527|       |
 4528|      7|            "float16_t uint16BitsToFloat16(uint16_t);"
 4529|      7|            "f16vec2   uint16BitsToFloat16(u16vec2);"
 4530|      7|            "f16vec3   uint16BitsToFloat16(u16vec3);"
 4531|      7|            "f16vec4   uint16BitsToFloat16(u16vec4);"
 4532|       |
 4533|      7|            "float16_t int16BitsToHalf(int16_t);"
 4534|      7|            "f16vec2   int16BitsToHalf(i16vec2);"
 4535|      7|            "f16vec3   int16BitsToHalf(i16vec3);"
 4536|      7|            "f16vec4   int16BitsToHalf(i16vec4);"
 4537|       |
 4538|      7|            "float16_t uint16BitsToHalf(uint16_t);"
 4539|      7|            "f16vec2   uint16BitsToHalf(u16vec2);"
 4540|      7|            "f16vec3   uint16BitsToHalf(u16vec3);"
 4541|      7|            "f16vec4   uint16BitsToHalf(u16vec4);"
 4542|       |
 4543|      7|            "int      packInt2x16(i16vec2);"
 4544|      7|            "uint     packUint2x16(u16vec2);"
 4545|      7|            "int64_t  packInt4x16(i16vec4);"
 4546|      7|            "uint64_t packUint4x16(u16vec4);"
 4547|      7|            "i16vec2  unpackInt2x16(int);"
 4548|      7|            "u16vec2  unpackUint2x16(uint);"
 4549|      7|            "i16vec4  unpackInt4x16(int64_t);"
 4550|      7|            "u16vec4  unpackUint4x16(uint64_t);"
 4551|       |
 4552|      7|            "bvec2 lessThan(i16vec2, i16vec2);"
 4553|      7|            "bvec3 lessThan(i16vec3, i16vec3);"
 4554|      7|            "bvec4 lessThan(i16vec4, i16vec4);"
 4555|      7|            "bvec2 lessThan(u16vec2, u16vec2);"
 4556|      7|            "bvec3 lessThan(u16vec3, u16vec3);"
 4557|      7|            "bvec4 lessThan(u16vec4, u16vec4);"
 4558|       |
 4559|      7|            "bvec2 lessThanEqual(i16vec2, i16vec2);"
 4560|      7|            "bvec3 lessThanEqual(i16vec3, i16vec3);"
 4561|      7|            "bvec4 lessThanEqual(i16vec4, i16vec4);"
 4562|      7|            "bvec2 lessThanEqual(u16vec2, u16vec2);"
 4563|      7|            "bvec3 lessThanEqual(u16vec3, u16vec3);"
 4564|      7|            "bvec4 lessThanEqual(u16vec4, u16vec4);"
 4565|       |
 4566|      7|            "bvec2 greaterThan(i16vec2, i16vec2);"
 4567|      7|            "bvec3 greaterThan(i16vec3, i16vec3);"
 4568|      7|            "bvec4 greaterThan(i16vec4, i16vec4);"
 4569|      7|            "bvec2 greaterThan(u16vec2, u16vec2);"
 4570|      7|            "bvec3 greaterThan(u16vec3, u16vec3);"
 4571|      7|            "bvec4 greaterThan(u16vec4, u16vec4);"
 4572|       |
 4573|      7|            "bvec2 greaterThanEqual(i16vec2, i16vec2);"
 4574|      7|            "bvec3 greaterThanEqual(i16vec3, i16vec3);"
 4575|      7|            "bvec4 greaterThanEqual(i16vec4, i16vec4);"
 4576|      7|            "bvec2 greaterThanEqual(u16vec2, u16vec2);"
 4577|      7|            "bvec3 greaterThanEqual(u16vec3, u16vec3);"
 4578|      7|            "bvec4 greaterThanEqual(u16vec4, u16vec4);"
 4579|       |
 4580|      7|            "bvec2 equal(i16vec2, i16vec2);"
 4581|      7|            "bvec3 equal(i16vec3, i16vec3);"
 4582|      7|            "bvec4 equal(i16vec4, i16vec4);"
 4583|      7|            "bvec2 equal(u16vec2, u16vec2);"
 4584|      7|            "bvec3 equal(u16vec3, u16vec3);"
 4585|      7|            "bvec4 equal(u16vec4, u16vec4);"
 4586|       |
 4587|      7|            "bvec2 notEqual(i16vec2, i16vec2);"
 4588|      7|            "bvec3 notEqual(i16vec3, i16vec3);"
 4589|      7|            "bvec4 notEqual(i16vec4, i16vec4);"
 4590|      7|            "bvec2 notEqual(u16vec2, u16vec2);"
 4591|      7|            "bvec3 notEqual(u16vec3, u16vec3);"
 4592|      7|            "bvec4 notEqual(u16vec4, u16vec4);"
 4593|       |
 4594|      7|            "  int16_t bitfieldExtract(  int16_t, int16_t, int16_t);"
 4595|      7|            "i16vec2 bitfieldExtract(i16vec2, int16_t, int16_t);"
 4596|      7|            "i16vec3 bitfieldExtract(i16vec3, int16_t, int16_t);"
 4597|      7|            "i16vec4 bitfieldExtract(i16vec4, int16_t, int16_t);"
 4598|       |
 4599|      7|            " uint16_t bitfieldExtract( uint16_t, int16_t, int16_t);"
 4600|      7|            "u16vec2 bitfieldExtract(u16vec2, int16_t, int16_t);"
 4601|      7|            "u16vec3 bitfieldExtract(u16vec3, int16_t, int16_t);"
 4602|      7|            "u16vec4 bitfieldExtract(u16vec4, int16_t, int16_t);"
 4603|       |
 4604|      7|            "  int16_t bitfieldInsert(  int16_t base,   int16_t, int16_t, int16_t);"
 4605|      7|            "i16vec2 bitfieldInsert(i16vec2 base, i16vec2, int16_t, int16_t);"
 4606|      7|            "i16vec3 bitfieldInsert(i16vec3 base, i16vec3, int16_t, int16_t);"
 4607|      7|            "i16vec4 bitfieldInsert(i16vec4 base, i16vec4, int16_t, int16_t);"
 4608|       |
 4609|      7|            " uint16_t bitfieldInsert( uint16_t base,  uint16_t, int16_t, int16_t);"
 4610|      7|            "u16vec2 bitfieldInsert(u16vec2 base, u16vec2, int16_t, int16_t);"
 4611|      7|            "u16vec3 bitfieldInsert(u16vec3 base, u16vec3, int16_t, int16_t);"
 4612|      7|            "u16vec4 bitfieldInsert(u16vec4 base, u16vec4, int16_t, int16_t);"
 4613|       |
 4614|      7|            "  int16_t bitCount(  int16_t);"
 4615|      7|            "i16vec2 bitCount(i16vec2);"
 4616|      7|            "i16vec3 bitCount(i16vec3);"
 4617|      7|            "i16vec4 bitCount(i16vec4);"
 4618|       |
 4619|      7|            "  int16_t bitCount( uint16_t);"
 4620|      7|            "i16vec2 bitCount(u16vec2);"
 4621|      7|            "i16vec3 bitCount(u16vec3);"
 4622|      7|            "i16vec4 bitCount(u16vec4);"
 4623|       |
 4624|      7|            "int16_t bitfieldReverse(highp int16_t);"
 4625|      7|            "i16vec2 bitfieldReverse(highp i16vec2);"
 4626|      7|            "i16vec3 bitfieldReverse(highp i16vec3);"
 4627|      7|            "i16vec4 bitfieldReverse(highp i16vec4);"
 4628|       |
 4629|      7|            "uint16_t bitfieldReverse(highp uint16_t);"
 4630|      7|            "u16vec2  bitfieldReverse(highp u16vec2);"
 4631|      7|            "u16vec3  bitfieldReverse(highp u16vec3);"
 4632|      7|            "u16vec4  bitfieldReverse(highp u16vec4);"
 4633|       |
 4634|      7|            "  int16_t findLSB(  int16_t);"
 4635|      7|            "i16vec2 findLSB(i16vec2);"
 4636|      7|            "i16vec3 findLSB(i16vec3);"
 4637|      7|            "i16vec4 findLSB(i16vec4);"
 4638|       |
 4639|      7|            "  int16_t findLSB( uint16_t);"
 4640|      7|            "i16vec2 findLSB(u16vec2);"
 4641|      7|            "i16vec3 findLSB(u16vec3);"
 4642|      7|            "i16vec4 findLSB(u16vec4);"
 4643|       |
 4644|      7|            "  int16_t findMSB(  int16_t);"
 4645|      7|            "i16vec2 findMSB(i16vec2);"
 4646|      7|            "i16vec3 findMSB(i16vec3);"
 4647|      7|            "i16vec4 findMSB(i16vec4);"
 4648|       |
 4649|      7|            "  int16_t findMSB( uint16_t);"
 4650|      7|            "i16vec2 findMSB(u16vec2);"
 4651|      7|            "i16vec3 findMSB(u16vec3);"
 4652|      7|            "i16vec4 findMSB(u16vec4);"
 4653|       |
 4654|      7|            "int16_t  pack16(i8vec2);"
 4655|      7|            "uint16_t pack16(u8vec2);"
 4656|      7|            "int32_t  pack32(i8vec4);"
 4657|      7|            "uint32_t pack32(u8vec4);"
 4658|      7|            "int32_t  pack32(i16vec2);"
 4659|      7|            "uint32_t pack32(u16vec2);"
 4660|      7|            "int64_t  pack64(i16vec4);"
 4661|      7|            "uint64_t pack64(u16vec4);"
 4662|      7|            "int64_t  pack64(i32vec2);"
 4663|      7|            "uint64_t pack64(u32vec2);"
 4664|       |
 4665|      7|            "i8vec2   unpack8(int16_t);"
 4666|      7|            "u8vec2   unpack8(uint16_t);"
 4667|      7|            "i8vec4   unpack8(int32_t);"
 4668|      7|            "u8vec4   unpack8(uint32_t);"
 4669|      7|            "i16vec2  unpack16(int32_t);"
 4670|      7|            "u16vec2  unpack16(uint32_t);"
 4671|      7|            "i16vec4  unpack16(int64_t);"
 4672|      7|            "u16vec4  unpack16(uint64_t);"
 4673|      7|            "i32vec2  unpack32(int64_t);"
 4674|      7|            "u32vec2  unpack32(uint64_t);"
 4675|       |
 4676|       |            // GL_EXT_expect_assume
 4677|      7|            "int8_t expectEXT(int8_t, int8_t);"
 4678|      7|            "i8vec2 expectEXT(i8vec2, i8vec2);"
 4679|      7|            "i8vec3 expectEXT(i8vec3, i8vec3);"
 4680|      7|            "i8vec4 expectEXT(i8vec4, i8vec4);"
 4681|       |
 4682|      7|            "uint8_t expectEXT(uint8_t, uint8_t);"
 4683|      7|            "u8vec2 expectEXT(u8vec2, u8vec2);"
 4684|      7|            "u8vec3 expectEXT(u8vec3, u8vec3);"
 4685|      7|            "u8vec4 expectEXT(u8vec4, u8vec4);"
 4686|       |
 4687|      7|            "int16_t expectEXT(int16_t, int16_t);"
 4688|      7|            "i16vec2 expectEXT(i16vec2, i16vec2);"
 4689|      7|            "i16vec3 expectEXT(i16vec3, i16vec3);"
 4690|      7|            "i16vec4 expectEXT(i16vec4, i16vec4);"
 4691|       |
 4692|      7|            "uint16_t expectEXT(uint16_t, uint16_t);"
 4693|      7|            "u16vec2 expectEXT(u16vec2, u16vec2);"
 4694|      7|            "u16vec3 expectEXT(u16vec3, u16vec3);"
 4695|      7|            "u16vec4 expectEXT(u16vec4, u16vec4);"
 4696|       |
 4697|      7|            "int64_t expectEXT(int64_t, int64_t);"
 4698|      7|            "i64vec2 expectEXT(i64vec2, i64vec2);"
 4699|      7|            "i64vec3 expectEXT(i64vec3, i64vec3);"
 4700|      7|            "i64vec4 expectEXT(i64vec4, i64vec4);"
 4701|       |
 4702|      7|            "uint64_t expectEXT(uint64_t, uint64_t);"
 4703|      7|            "u64vec2 expectEXT(u64vec2, u64vec2);"
 4704|      7|            "u64vec3 expectEXT(u64vec3, u64vec3);"
 4705|      7|            "u64vec4 expectEXT(u64vec4, u64vec4);"
 4706|      7|            "\n");
 4707|      7|    }
 4708|       |
 4709|       |    // Builtins for GL_EXT_texture_shadow_lod
 4710|     45|    if ((profile == EEsProfile && version >= 300) || ((profile != EEsProfile && version >= 130))) { 
  ------------------
  |  Branch (4710:10): [True: 38, False: 7]
  |  Branch (4710:35): [True: 0, False: 38]
  |  Branch (4710:56): [True: 7, False: 38]
  |  Branch (4710:81): [True: 7, False: 0]
  ------------------
 4711|      7|        commonBuiltins.append(
 4712|      7|            "float texture(sampler2DArrayShadow, vec4, float);"
 4713|      7|            "float texture(samplerCubeArrayShadow, vec4, float, float);"
 4714|      7|            "float textureLod(sampler2DArrayShadow, vec4, float);"
 4715|      7|            "float textureLod(samplerCubeShadow, vec4, float);"
 4716|      7|            "float textureLod(samplerCubeArrayShadow, vec4, float, float);"
 4717|      7|            "float textureLodOffset(sampler2DArrayShadow, vec4, float, ivec2);"
 4718|      7|            "float textureOffset(sampler2DArrayShadow, vec4 , ivec2, float);"
 4719|      7|            "\n");
 4720|      7|    }
 4721|       |
 4722|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4722:9): [True: 7, False: 38]
  |  Branch (4722:34): [True: 7, False: 0]
  ------------------
 4723|      7|        stageBuiltins[EShLangFragment].append(derivativesAndControl64bits);
 4724|      7|        stageBuiltins[EShLangFragment].append(
 4725|      7|            "float64_t interpolateAtCentroid(float64_t);"
 4726|      7|            "f64vec2   interpolateAtCentroid(f64vec2);"
 4727|      7|            "f64vec3   interpolateAtCentroid(f64vec3);"
 4728|      7|            "f64vec4   interpolateAtCentroid(f64vec4);"
 4729|       |
 4730|      7|            "float64_t interpolateAtSample(float64_t, int);"
 4731|      7|            "f64vec2   interpolateAtSample(f64vec2,   int);"
 4732|      7|            "f64vec3   interpolateAtSample(f64vec3,   int);"
 4733|      7|            "f64vec4   interpolateAtSample(f64vec4,   int);"
 4734|       |
 4735|      7|            "float64_t interpolateAtOffset(float64_t, f64vec2);"
 4736|      7|            "f64vec2   interpolateAtOffset(f64vec2,   f64vec2);"
 4737|      7|            "f64vec3   interpolateAtOffset(f64vec3,   f64vec2);"
 4738|      7|            "f64vec4   interpolateAtOffset(f64vec4,   f64vec2);"
 4739|       |
 4740|      7|            "\n");
 4741|       |
 4742|      7|    }
 4743|       |
 4744|       |    // GL_EXT_expect_assume
 4745|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4745:10): [True: 38, False: 7]
  |  Branch (4745:35): [True: 0, False: 38]
  ------------------
 4746|     45|         ((profile != EEsProfile && version >= 140))) {
  ------------------
  |  Branch (4746:12): [True: 7, False: 38]
  |  Branch (4746:37): [True: 7, False: 0]
  ------------------
 4747|      7|        commonBuiltins.append(
 4748|      7|            "void assumeEXT(bool);"
 4749|       |
 4750|      7|            "bool expectEXT(bool, bool);"
 4751|      7|            "bvec2 expectEXT(bvec2, bvec2);"
 4752|      7|            "bvec3 expectEXT(bvec3, bvec3);"
 4753|      7|            "bvec4 expectEXT(bvec4, bvec4);"
 4754|       |
 4755|      7|            "int expectEXT(int, int);"
 4756|      7|            "ivec2 expectEXT(ivec2, ivec2);"
 4757|      7|            "ivec3 expectEXT(ivec3, ivec3);"
 4758|      7|            "ivec4 expectEXT(ivec4, ivec4);"
 4759|       |
 4760|      7|            "uint expectEXT(uint, uint);"
 4761|      7|            "uvec2 expectEXT(uvec2, uvec2);"
 4762|      7|            "uvec3 expectEXT(uvec3, uvec3);"
 4763|      7|            "uvec4 expectEXT(uvec4, uvec4);"
 4764|      7|            "\n");
 4765|      7|    }
 4766|       |
 4767|       |    // QCOM_image_processing
 4768|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (4768:10): [True: 38, False: 7]
  |  Branch (4768:35): [True: 0, False: 38]
  ------------------
 4769|     45|         (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (4769:11): [True: 7, False: 38]
  |  Branch (4769:36): [True: 7, False: 0]
  ------------------
 4770|      7|        commonBuiltins.append(
 4771|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler2DArray);"
 4772|      7|           "vec4 textureWeightedQCOM(sampler2D, vec2, sampler1DArray);"
 4773|      7|           "vec4 textureBoxFilterQCOM(sampler2D, vec2, vec2);"
 4774|      7|           "vec4 textureBlockMatchSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4775|      7|           "vec4 textureBlockMatchSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4776|       |
 4777|      7|           "vec4 textureBlockMatchWindowSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4778|      7|           "vec4 textureBlockMatchWindowSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4779|      7|           "vec4 textureBlockMatchGatherSSDQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4780|      7|           "vec4 textureBlockMatchGatherSADQCOM(sampler2D, uvec2, sampler2D, uvec2, uvec2);"
 4781|      7|           "\n");
 4782|      7|    }
 4783|       |
 4784|       |    //============================================================================
 4785|       |    //
 4786|       |    // Prototypes for built-in functions seen by vertex shaders only.
 4787|       |    // (Except legacy lod functions, where it depends which release they are
 4788|       |    // vertex only.)
 4789|       |    //
 4790|       |    //============================================================================
 4791|       |
 4792|       |    //
 4793|       |    // Geometric Functions.
 4794|       |    //
 4795|     45|    if (spvVersion.vulkan == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (4795:9): [True: 4, False: 41]
  |  Branch (4795:35): [True: 0, False: 4]
  ------------------
 4796|      0|        stageBuiltins[EShLangVertex].append("vec4 ftransform();");
 4797|       |
 4798|       |    //
 4799|       |    // Original-style texture Functions with lod.
 4800|       |    //
 4801|     45|    TString* s;
 4802|     45|    if (version == 100)
  ------------------
  |  Branch (4802:9): [True: 38, False: 7]
  ------------------
 4803|     38|        s = &stageBuiltins[EShLangVertex];
 4804|      7|    else
 4805|      7|        s = &commonBuiltins;
 4806|     45|    if ((profile == EEsProfile && version == 100) ||
  ------------------
  |  Branch (4806:10): [True: 38, False: 7]
  |  Branch (4806:35): [True: 38, False: 0]
  ------------------
 4807|      7|         profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4807:10): [True: 0, False: 7]
  ------------------
 4808|      7|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4808:10): [True: 7, False: 0]
  |  Branch (4808:37): [True: 0, False: 7]
  ------------------
 4809|     38|         profile == ENoProfile) {
  ------------------
  |  Branch (4809:10): [True: 0, False: 7]
  ------------------
 4810|     38|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4810:13): [True: 38, False: 0]
  ------------------
 4811|     38|            s->append(
 4812|     38|                "vec4 texture2DLod(sampler2D, vec2, float);"         // GL_ARB_shader_texture_lod
 4813|     38|                "vec4 texture2DProjLod(sampler2D, vec3, float);"     // GL_ARB_shader_texture_lod
 4814|     38|                "vec4 texture2DProjLod(sampler2D, vec4, float);"     // GL_ARB_shader_texture_lod
 4815|     38|                "vec4 texture3DLod(sampler3D, vec3, float);"         // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4816|     38|                "vec4 texture3DProjLod(sampler3D, vec4, float);"     // GL_ARB_shader_texture_lod  // OES_texture_3D, but caught by keyword check
 4817|     38|                "vec4 textureCubeLod(samplerCube, vec3, float);"     // GL_ARB_shader_texture_lod
 4818|       |
 4819|     38|                "\n");
 4820|     38|        }
 4821|     38|    }
 4822|     45|    if ( profile == ECompatibilityProfile ||
  ------------------
  |  Branch (4822:10): [True: 0, False: 45]
  ------------------
 4823|     45|        (profile == ECoreProfile && version < 420) ||
  ------------------
  |  Branch (4823:10): [True: 7, False: 38]
  |  Branch (4823:37): [True: 0, False: 7]
  ------------------
 4824|     45|         profile == ENoProfile) {
  ------------------
  |  Branch (4824:10): [True: 0, False: 45]
  ------------------
 4825|      0|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (4825:13): [True: 0, False: 0]
  ------------------
 4826|      0|            s->append(
 4827|      0|                "vec4 texture1DLod(sampler1D, float, float);"                          // GL_ARB_shader_texture_lod
 4828|      0|                "vec4 texture1DProjLod(sampler1D, vec2, float);"                       // GL_ARB_shader_texture_lod
 4829|      0|                "vec4 texture1DProjLod(sampler1D, vec4, float);"                       // GL_ARB_shader_texture_lod
 4830|      0|                "vec4 shadow1DLod(sampler1DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4831|      0|                "vec4 shadow2DLod(sampler2DShadow, vec3, float);"                      // GL_ARB_shader_texture_lod
 4832|      0|                "vec4 shadow1DProjLod(sampler1DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4833|      0|                "vec4 shadow2DProjLod(sampler2DShadow, vec4, float);"                  // GL_ARB_shader_texture_lod
 4834|       |
 4835|      0|                "vec4 texture1DGradARB(sampler1D, float, float, float);"               // GL_ARB_shader_texture_lod
 4836|      0|                "vec4 texture1DProjGradARB(sampler1D, vec2, float, float);"            // GL_ARB_shader_texture_lod
 4837|      0|                "vec4 texture1DProjGradARB(sampler1D, vec4, float, float);"            // GL_ARB_shader_texture_lod
 4838|      0|                "vec4 texture2DGradARB(sampler2D, vec2, vec2, vec2);"                  // GL_ARB_shader_texture_lod
 4839|      0|                "vec4 texture2DProjGradARB(sampler2D, vec3, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4840|      0|                "vec4 texture2DProjGradARB(sampler2D, vec4, vec2, vec2);"              // GL_ARB_shader_texture_lod
 4841|      0|                "vec4 texture3DGradARB(sampler3D, vec3, vec3, vec3);"                  // GL_ARB_shader_texture_lod
 4842|      0|                "vec4 texture3DProjGradARB(sampler3D, vec4, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4843|      0|                "vec4 textureCubeGradARB(samplerCube, vec3, vec3, vec3);"              // GL_ARB_shader_texture_lod
 4844|      0|                "vec4 shadow1DGradARB(sampler1DShadow, vec3, float, float);"           // GL_ARB_shader_texture_lod
 4845|      0|                "vec4 shadow1DProjGradARB( sampler1DShadow, vec4, float, float);"      // GL_ARB_shader_texture_lod
 4846|      0|                "vec4 shadow2DGradARB(sampler2DShadow, vec3, vec2, vec2);"             // GL_ARB_shader_texture_lod
 4847|      0|                "vec4 shadow2DProjGradARB( sampler2DShadow, vec4, vec2, vec2);"        // GL_ARB_shader_texture_lod
 4848|      0|                "vec4 texture2DRectGradARB(sampler2DRect, vec2, vec2, vec2);"          // GL_ARB_shader_texture_lod
 4849|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec3, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4850|      0|                "vec4 texture2DRectProjGradARB( sampler2DRect, vec4, vec2, vec2);"     // GL_ARB_shader_texture_lod
 4851|      0|                "vec4 shadow2DRectGradARB( sampler2DRectShadow, vec3, vec2, vec2);"    // GL_ARB_shader_texture_lod
 4852|      0|                "vec4 shadow2DRectProjGradARB(sampler2DRectShadow, vec4, vec2, vec2);" // GL_ARB_shader_texture_lod
 4853|       |
 4854|      0|                "\n");
 4855|      0|        }
 4856|      0|    }
 4857|       |
 4858|     45|    if ((profile != EEsProfile && version >= 150) ||
  ------------------
  |  Branch (4858:10): [True: 7, False: 38]
  |  Branch (4858:35): [True: 7, False: 0]
  ------------------
 4859|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (4859:10): [True: 38, False: 0]
  |  Branch (4859:35): [True: 0, False: 38]
  ------------------
 4860|       |        //============================================================================
 4861|       |        //
 4862|       |        // Prototypes for built-in functions seen by geometry shaders only.
 4863|       |        //
 4864|       |        //============================================================================
 4865|      7|        if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (4865:13): [True: 7, False: 0]
  |  Branch (4865:38): [True: 7, False: 0]
  ------------------
 4866|      7|            stageBuiltins[EShLangGeometry].append(
 4867|      7|                "void EmitStreamVertex(int);"
 4868|      7|                "void EndStreamPrimitive(int);"
 4869|      7|                );
 4870|      7|        }
 4871|      7|        stageBuiltins[EShLangGeometry].append(
 4872|      7|            "void EmitVertex();"
 4873|      7|            "void EndPrimitive();"
 4874|      7|            "\n");
 4875|      7|    }
 4876|       |
 4877|       |    //============================================================================
 4878|       |    //
 4879|       |    // Prototypes for all control functions.
 4880|       |    //
 4881|       |    //============================================================================
 4882|     45|    bool esBarrier = (profile == EEsProfile && version >= 310);
  ------------------
  |  Branch (4882:23): [True: 38, False: 7]
  |  Branch (4882:48): [True: 0, False: 38]
  ------------------
 4883|     45|    if ((profile != EEsProfile && version >= 150) || esBarrier)
  ------------------
  |  Branch (4883:10): [True: 7, False: 38]
  |  Branch (4883:35): [True: 7, False: 0]
  |  Branch (4883:54): [True: 0, False: 38]
  ------------------
 4884|      7|        stageBuiltins[EShLangTessControl].append(
 4885|      7|            "void barrier();"
 4886|      7|            );
 4887|     45|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4887:10): [True: 7, False: 38]
  |  Branch (4887:35): [True: 7, False: 0]
  |  Branch (4887:54): [True: 0, False: 38]
  ------------------
 4888|      7|        stageBuiltins[EShLangCompute].append(
 4889|      7|            "void barrier();"
 4890|      7|            );
 4891|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4891:10): [True: 7, False: 38]
  |  Branch (4891:35): [True: 7, False: 0]
  |  Branch (4891:55): [True: 38, False: 0]
  |  Branch (4891:80): [True: 0, False: 38]
  ------------------
 4892|      7|        stageBuiltins[EShLangMesh].append(
 4893|      7|            "void barrier();"
 4894|      7|            );
 4895|      7|        stageBuiltins[EShLangTask].append(
 4896|      7|            "void barrier();"
 4897|      7|            );
 4898|      7|    }
 4899|     45|    if ((profile != EEsProfile && version >= 420) || esBarrier)
  ------------------
  |  Branch (4899:10): [True: 7, False: 38]
  |  Branch (4899:35): [True: 7, False: 0]
  |  Branch (4899:54): [True: 0, False: 38]
  ------------------
 4900|      7|        stageBuiltins[EShLangCompute].append(
 4901|      7|            "void controlBarrierArrive();"
 4902|      7|            "void controlBarrierWait();"
 4903|      7|            );
 4904|     45|    if ((profile != EEsProfile && version >= 130) || esBarrier)
  ------------------
  |  Branch (4904:10): [True: 7, False: 38]
  |  Branch (4904:35): [True: 7, False: 0]
  |  Branch (4904:54): [True: 0, False: 38]
  ------------------
 4905|      7|        commonBuiltins.append(
 4906|      7|            "void memoryBarrier();"
 4907|      7|            );
 4908|     45|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4908:10): [True: 7, False: 38]
  |  Branch (4908:35): [True: 7, False: 0]
  |  Branch (4908:54): [True: 0, False: 38]
  ------------------
 4909|      7|        commonBuiltins.append(
 4910|      7|            "void memoryBarrierBuffer();"
 4911|      7|            );
 4912|      7|        stageBuiltins[EShLangCompute].append(
 4913|      7|            "void memoryBarrierShared();"
 4914|      7|            "void groupMemoryBarrier();"
 4915|      7|            );
 4916|      7|    }
 4917|     45|    if ((profile != EEsProfile && version >= 420) || esBarrier) {
  ------------------
  |  Branch (4917:10): [True: 7, False: 38]
  |  Branch (4917:35): [True: 7, False: 0]
  |  Branch (4917:54): [True: 0, False: 38]
  ------------------
 4918|      7|        if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (4918:13): [True: 0, False: 7]
  |  Branch (4918:39): [True: 0, False: 7]
  ------------------
 4919|      0|            commonBuiltins.append("void memoryBarrierAtomicCounter();");
 4920|      0|        }
 4921|      7|        commonBuiltins.append("void memoryBarrierImage();");
 4922|      7|    }
 4923|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (4923:10): [True: 7, False: 38]
  |  Branch (4923:35): [True: 7, False: 0]
  |  Branch (4923:55): [True: 38, False: 0]
  |  Branch (4923:80): [True: 0, False: 38]
  ------------------
 4924|      7|        stageBuiltins[EShLangMesh].append(
 4925|      7|            "void memoryBarrierShared();"
 4926|      7|            "void groupMemoryBarrier();"
 4927|      7|        );
 4928|      7|        stageBuiltins[EShLangTask].append(
 4929|      7|            "void memoryBarrierShared();"
 4930|      7|            "void groupMemoryBarrier();"
 4931|      7|        );
 4932|      7|    }
 4933|       |
 4934|     45|    commonBuiltins.append("void controlBarrier(int, int, int, int);\n"
 4935|     45|                          "void memoryBarrier(int, int, int);\n");
 4936|       |
 4937|     45|    commonBuiltins.append("void controlBarrierArrive(int, int, int, int);\n"
 4938|     45|                          "void controlBarrierWait(int, int, int, int);\n");
 4939|       |
 4940|     45|    commonBuiltins.append("void debugPrintfEXT();\n");
 4941|       |
 4942|     45|    commonBuiltins.append("void abortEXT();\n");
 4943|       |
 4944|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (4944:9): [True: 7, False: 38]
  |  Branch (4944:34): [True: 7, False: 0]
  ------------------
 4945|       |        // coopMatStoreNV perhaps ought to have "out" on the buf parameter, but
 4946|       |        // adding it introduces undesirable tempArgs on the stack. What we want
 4947|       |        // is more like "buf" thought of as a pointer value being an in parameter.
 4948|      7|        stageBuiltins[EShLangCompute].append(
 4949|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4950|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4951|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4952|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4953|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4954|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4955|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4956|      7|            "void coopMatLoadNV(out fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4957|       |
 4958|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4959|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float[] buf, uint element, uint stride, bool colMajor);\n"
 4960|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal float64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4961|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4962|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4963|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4964|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4965|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4966|      7|            "void coopMatStoreNV(fcoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4967|       |
 4968|      7|            "fcoopmatNV coopMatMulAddNV(fcoopmatNV A, fcoopmatNV B, fcoopmatNV C);\n"
 4969|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4970|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4971|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4972|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4973|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4974|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4975|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4976|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4977|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4978|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4979|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4980|      7|            "void coopMatLoadNV(out icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4981|       |
 4982|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4983|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4984|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4985|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4986|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 4987|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 4988|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4989|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4990|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 4991|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4992|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 4993|      7|            "void coopMatLoadNV(out ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 4994|       |
 4995|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 4996|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 4997|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 4998|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 4999|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5000|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5001|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5002|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5003|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5004|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5005|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5006|      7|            "void coopMatStoreNV(icoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5007|       |
 5008|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5009|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5010|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int[] buf, uint element, uint stride, bool colMajor);\n"
 5011|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal int64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5012|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec2[] buf, uint element, uint stride, bool colMajor);\n"
 5013|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal ivec4[] buf, uint element, uint stride, bool colMajor);\n"
 5014|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint8_t[] buf, uint element, uint stride, bool colMajor);\n"
 5015|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint16_t[] buf, uint element, uint stride, bool colMajor);\n"
 5016|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint[] buf, uint element, uint stride, bool colMajor);\n"
 5017|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uint64_t[] buf, uint element, uint stride, bool colMajor);\n"
 5018|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec2[] buf, uint element, uint stride, bool colMajor);\n"
 5019|      7|            "void coopMatStoreNV(ucoopmatNV m, volatile coherent nontemporal uvec4[] buf, uint element, uint stride, bool colMajor);\n"
 5020|       |
 5021|      7|            "icoopmatNV coopMatMulAddNV(icoopmatNV A, icoopmatNV B, icoopmatNV C);\n"
 5022|      7|            "ucoopmatNV coopMatMulAddNV(ucoopmatNV A, ucoopmatNV B, ucoopmatNV C);\n"
 5023|      7|            );
 5024|       |
 5025|      7|        std::stringstream cooperativeMatrixFuncs;
 5026|       |
 5027|      7|        {
 5028|      7|            static const char *allTypes[] =
 5029|      7|            {
 5030|      7|                "float", "vec2", "vec4",
 5031|      7|                "float16_t", "f16vec2", "f16vec4",
 5032|      7|                "bfloat16_t", "bf16vec2", "bf16vec4",
 5033|      7|                "floate5m2_t", "fe5m2vec2", "fe5m2vec4",
 5034|      7|                "floate4m3_t", "fe4m3vec2", "fe4m3vec4",
 5035|      7|                "double", "dvec2", "dvec4",
 5036|      7|                "int8_t", "i8vec2", "i8vec4",
 5037|      7|                "int16_t", "i16vec2", "i16vec4",
 5038|      7|                "int", "ivec2", "ivec4",
 5039|      7|                "int64_t", "i64vec2", "i64vec4",
 5040|      7|                "uint8_t", "u8vec2", "u8vec4",
 5041|      7|                "uint16_t", "u16vec2", "u16vec4",
 5042|      7|                "uint", "uvec2", "uvec4",
 5043|      7|                "uint64_t", "u64vec2", "u64vec4",
 5044|      7|            };
 5045|     14|            for (auto elemTy : {"uint", "uint64_t"}) {
  ------------------
  |  Branch (5045:30): [True: 14, False: 7]
  ------------------
 5046|    588|                for (auto t : allTypes) {
  ------------------
  |  Branch (5046:29): [True: 588, False: 14]
  ------------------
 5047|    588|                    cooperativeMatrixFuncs << "void coopMatLoad(out coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5048|    588|                    cooperativeMatrixFuncs << "void coopMatStore(coopmat m, volatile coherent nontemporal " << t << "[] buf, " << elemTy << " element, uint stride, int matrixLayout);\n";
 5049|    588|                }
 5050|       |                // Just use uint8_t for buffer type, we have special matching rules to allow any conversion
 5051|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5052|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5053|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f);\n";
 5054|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f);\n";
 5055|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, __function f, __function g);\n";
 5056|     14|                cooperativeMatrixFuncs << "void coopMatLoadTensorNV(inout coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v, __function f, __function g);\n";
 5057|     14|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t);\n";
 5058|     14|                cooperativeMatrixFuncs << "void coopMatStoreTensorNV(coopmat m, volatile coherent nontemporal uint8_t[] buf, " << elemTy << " element, tensorLayoutNV t, tensorViewNV v);\n";
 5059|     14|            }
 5060|      7|        }
 5061|       |
 5062|      7|        cooperativeMatrixFuncs <<
 5063|      7|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C);\n"
 5064|      7|            "coopmat coopMatMulAdd(coopmat A, coopmat B, coopmat C, int matrixOperands);\n";
 5065|       |
 5066|      7|        commonBuiltins.append(cooperativeMatrixFuncs.str().c_str());
 5067|       |
 5068|      7|        commonBuiltins.append(
 5069|      7|            "const int gl_MatrixUseA = 0;\n"
 5070|      7|            "const int gl_MatrixUseB = 1;\n"
 5071|      7|            "const int gl_MatrixUseAccumulator = 2;\n"
 5072|      7|            "const int gl_MatrixOperandsSaturatingAccumulation = 0x10;\n"
 5073|      7|            "const int gl_CooperativeMatrixLayoutRowMajor = 0;\n"
 5074|      7|            "const int gl_CooperativeMatrixLayoutColumnMajor = 1;\n"
 5075|      7|            "const int gl_CooperativeMatrixLayoutRowBlockedInterleavedARM = 4202;\n"
 5076|      7|            "const int gl_CooperativeMatrixLayoutColumnBlockedInterleavedARM = 4203;\n"
 5077|      7|            "\n"
 5078|      7|            );
 5079|       |
 5080|      7|        commonBuiltins.append(
 5081|      7|            "void coopMatTransposeNV(out coopmat, coopmat);"
 5082|      7|            "void coopMatReduceNV(out coopmat, coopmat, int, __function);"
 5083|      7|            "void coopMatPerElementNV();"
 5084|      7|        );
 5085|       |
 5086|      7|        commonBuiltins.append(
 5087|      7|            "void coopMatTransposeEXT(out coopmat, coopmat);"
 5088|      7|            "void coopMatReduceEXT(out coopmat, coopmat, int, __function);"
 5089|      7|            "void coopMatPerElementEXT();"
 5090|      7|            "uvec2 coopMatGetCoordinateEXT(coopmat, uint index);"
 5091|      7|        );
 5092|       |
 5093|      7|        commonBuiltins.append(
 5094|      7|            "const int gl_CooperativeMatrixReduceRowNV = 0x1;\n"
 5095|      7|            "const int gl_CooperativeMatrixReduceColumnNV = 0x2;\n"
 5096|      7|            "const int gl_CooperativeMatrixReduceRowAndColumnNV = 0x3;\n"
 5097|      7|            "const int gl_CooperativeMatrixReduce2x2NV = 0x4;\n"
 5098|       |
 5099|      7|            "const int gl_CooperativeMatrixReduceRowEXT = 0x1;\n"
 5100|      7|            "const int gl_CooperativeMatrixReduceColumnEXT = 0x2;\n"
 5101|      7|            "const int gl_CooperativeMatrixReduceRowAndColumnEXT = 0x3;\n"
 5102|      7|            "const int gl_CooperativeMatrixReduce2x2EXT = 0x4;\n"
 5103|      7|            "\n"
 5104|      7|            );
 5105|       |
 5106|      7|        commonBuiltins.append(
 5107|      7|            "const int gl_CooperativeMatrixClampModeUndefinedNV = 0x0;\n"
 5108|      7|            "const int gl_CooperativeMatrixClampModeConstantNV = 0x1;\n"
 5109|      7|            "const int gl_CooperativeMatrixClampModeClampToEdgeNV = 0x2;\n"
 5110|      7|            "const int gl_CooperativeMatrixClampModeRepeatNV = 0x3;\n"
 5111|      7|            "const int gl_CooperativeMatrixClampModeMirrorRepeatNV = 0x4;\n"
 5112|      7|            "\n"
 5113|      7|            );
 5114|       |
 5115|      7|        {
 5116|      7|          std::stringstream coopMatConvFuncs;
 5117|       |
 5118|      7|          const std::string eltTypes[] = {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"};
 5119|       |
 5120|     49|          for (auto srcEltTy : eltTypes) {
  ------------------
  |  Branch (5120:30): [True: 49, False: 7]
  ------------------
 5121|    343|            for (auto dstEltTy : eltTypes) {
  ------------------
  |  Branch (5121:32): [True: 343, False: 49]
  ------------------
 5122|    343|              coopMatConvFuncs << "void bitcastQCOM(" << srcEltTy.c_str() << " SrcArr[], " << dstEltTy.c_str()
 5123|    343|                << " DstArr[]);\n";
 5124|    343|            }
 5125|     49|          }
 5126|      7|          coopMatConvFuncs << "\n";
 5127|       |
 5128|     56|          for (auto eltTy : {"float32_t", "float16_t", "int8_t", "uint8_t", "uint32_t", "uint", "int32_t", "int"}) {
  ------------------
  |  Branch (5128:27): [True: 56, False: 7]
  ------------------
 5129|     56|            coopMatConvFuncs << "void vectorToCoopmatQCOM(" << eltTy << " SrcVec[], coopmat CM);\n";
 5130|     56|            coopMatConvFuncs << "void coopmatToVectorQCOM(coopmat CM, " << eltTy << " Dstvec[]);\n";
 5131|     56|          }
 5132|       |
 5133|     49|          for (auto eltTy : {"uint32_t", "uint", "int32_t", "int", "float32_t", "float", "float16_t"}) {
  ------------------
  |  Branch (5133:27): [True: 49, False: 7]
  ------------------
 5134|     49|            coopMatConvFuncs << "void extractSubArrayQCOM(" << eltTy << " arr[], uint index, " << eltTy << " subarr[]);\n";
 5135|     49|          }
 5136|       |
 5137|      7|          commonBuiltins.append(coopMatConvFuncs.str().c_str());
 5138|      7|        }
 5139|       |
 5140|      7|        commonBuiltins.append(
 5141|      7|            "tensorLayoutNV createTensorLayoutNV(uint Dim);\n"
 5142|      7|            "tensorLayoutNV createTensorLayoutNV(uint Dim, uint Mode);\n"
 5143|       |
 5144|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0);\n"
 5145|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1);\n"
 5146|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2);\n"
 5147|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3);\n"
 5148|      7|            "tensorLayoutNV setTensorLayoutBlockSizeNV(tensorLayoutNV t, uint blockSize0, uint blockSize1, uint blockSize2, uint blockSize3, uint blockSize4);\n"
 5149|       |
 5150|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0);\n"
 5151|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1);\n"
 5152|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2);\n"
 5153|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5154|      7|            "tensorLayoutNV setTensorLayoutDimensionNV(tensorLayoutNV t, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5155|       |
 5156|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0);\n"
 5157|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1);\n"
 5158|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2);\n"
 5159|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5160|      7|            "tensorLayoutNV setTensorLayoutStrideNV(tensorLayoutNV t, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5161|       |
 5162|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0);\n"
 5163|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1);\n"
 5164|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2);\n"
 5165|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3);\n"
 5166|      7|            "tensorLayoutNV sliceTensorLayoutNV(tensorLayoutNV t, uint offset0, uint span0, uint offset1, uint span1, uint offset2, uint span2, uint offset3, uint span3, uint offset4, uint span4);\n"
 5167|       |
 5168|      7|            "tensorLayoutNV setTensorLayoutClampValueNV(tensorLayoutNV t, uint value);\n"
 5169|       |
 5170|      7|            "tensorViewNV createTensorViewNV(uint Dim);\n"
 5171|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions);\n"
 5172|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0);\n"
 5173|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1);\n"
 5174|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2);\n"
 5175|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3);\n"
 5176|      7|            "tensorViewNV createTensorViewNV(uint Dim, bool HasDimensions, uint p0, uint p1, uint p2, uint p3, uint p4);\n"
 5177|       |
 5178|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0);\n"
 5179|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1);\n"
 5180|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2);\n"
 5181|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3);\n"
 5182|      7|            "tensorViewNV setTensorViewDimensionsNV(tensorViewNV v, uint dim0, uint dim1, uint dim2, uint dim3, uint dim4);\n"
 5183|       |
 5184|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0);\n"
 5185|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1);\n"
 5186|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2);\n"
 5187|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3);\n"
 5188|      7|            "tensorViewNV setTensorViewStrideNV(tensorViewNV v, uint stride0, uint stride1, uint stride2, uint stride3, uint stride4);\n"
 5189|       |
 5190|      7|            "tensorViewNV setTensorViewClipNV(tensorViewNV v, uint clipRowOffset, uint clipRowSpan, uint clipColOffset, uint clipColSpan);\n"
 5191|      7|            "\n"
 5192|      7|        );
 5193|       |
 5194|       |        // GL_ARM_tensors builtins.
 5195|      7|        static const char *tensorDataTypesARM[] = {
 5196|      7|            "bool",
 5197|      7|            "int8_t", "int16_t", "int32_t", "int64_t",
 5198|      7|            "uint8_t", "uint16_t", "uint32_t", "uint64_t",
 5199|      7|            "float16_t", "float32_t", "float64_t",
 5200|      7|            "bfloat16_t", "floate5m2_t", "floate4m3_t",
 5201|      7|        };
 5202|      7|        std::ostringstream ostream;
 5203|    105|        for (auto t : tensorDataTypesARM) {
  ------------------
  |  Branch (5203:21): [True: 105, False: 7]
  ------------------
 5204|       |            // Scalar
 5205|    105|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], out "
 5206|    105|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5207|    105|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5208|    105|                    << t << " data, uint tensorOperands = 0U, ...);\n";
 5209|       |            // Array
 5210|    105|            ostream << "void tensorReadARM(readonly tensorARM t, uint coords[], "
 5211|    105|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5212|    105|            ostream << "void tensorWriteARM(writeonly tensorARM t, uint coords[], "
 5213|    105|                    << t << " data[], uint tensorOperands = 0U, ...);\n";
 5214|    105|        }
 5215|      7|        ostream << "uint tensorSizeARM(readonly writeonly tensorARM t, uint dim);\n";
 5216|      7|        commonBuiltins.append(ostream.str());
 5217|      7|    }
 5218|       |
 5219|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5219:9): [True: 7, False: 38]
  |  Branch (5219:34): [True: 7, False: 0]
  ------------------
 5220|      7|        const char *basicTypes[] = {
 5221|      7|            "int8_t",
 5222|      7|            "int16_t",
 5223|      7|            "int32_t",
 5224|      7|            "int64_t",
 5225|      7|            "uint8_t",
 5226|      7|            "uint16_t",
 5227|      7|            "uint32_t",
 5228|      7|            "uint64_t",
 5229|      7|            "float16_t",
 5230|      7|            "float32_t",
 5231|      7|            "float64_t",
 5232|      7|        };
 5233|      7|        std::string coopVecOffsetTypes[] = {
 5234|      7|            "uint",
 5235|      7|            "uint64_t",
 5236|      7|        };
 5237|     14|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5237:28): [True: 14, False: 7]
  ------------------
 5238|    168|            for (uint32_t i = 0; i < sizeof(basicTypes)/sizeof(basicTypes[0]); ++i) {
  ------------------
  |  Branch (5238:34): [True: 154, False: 14]
  ------------------
 5239|    154|                std::string func = std::string("void coopVecMatMulNV(out coopvecNV result, ") +
 5240|    154|                                   std::string("coopvecNV v, ") +
 5241|    154|                                   std::string("int inputInterpretation, ") +
 5242|    154|                                   std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5243|    154|                                   offsetTy + std::string(" matrixOffset, ") +
 5244|    154|                                   std::string("int matrixInterpretation, ") +
 5245|    154|                                   std::string("uint M, ") +
 5246|    154|                                   std::string("uint K, ") +
 5247|    154|                                   std::string("int matrixLayout, ") +
 5248|    154|                                   std::string("bool transpose, ") +
 5249|    154|                                   std::string("uint matrixStride);\n");
 5250|    154|                commonBuiltins.append(func.c_str());
 5251|       |
 5252|  1.84k|                for (uint32_t j = 0; j < sizeof(basicTypes)/sizeof(basicTypes[0]); ++j) {
  ------------------
  |  Branch (5252:38): [True: 1.69k, False: 154]
  ------------------
 5253|  1.69k|                    func = std::string("void coopVecMatMulAddNV(out coopvecNV result, ") +
 5254|  1.69k|                           std::string("coopvecNV v, ") +
 5255|  1.69k|                           std::string("int inputInterpretation, ") +
 5256|  1.69k|                           std::string(basicTypes[i]) + std::string("[] matrix, ") +
 5257|  1.69k|                           offsetTy + std::string(" matrixOffset, ") +
 5258|  1.69k|                           std::string("int matrixInterpretation, ") +
 5259|  1.69k|                           std::string(basicTypes[j]) + std::string("[] bias, ") +
 5260|  1.69k|                           offsetTy + std::string(" biasOffset, ") +
 5261|  1.69k|                           std::string("int biasInterpretation, ") +
 5262|  1.69k|                           std::string("uint M, ") +
 5263|  1.69k|                           std::string("uint K, ") +
 5264|  1.69k|                           std::string("int matrixLayout, ") +
 5265|  1.69k|                           std::string("bool transpose, ") +
 5266|  1.69k|                           std::string("uint matrixStride);\n");
 5267|  1.69k|                    commonBuiltins.append(func.c_str());
 5268|  1.69k|                }
 5269|       |
 5270|    154|                func = std::string("void coopVecOuterProductAccumulateNV(coopvecNV v1, coopvecNV v2, ") +
 5271|    154|                       std::string(basicTypes[i]) +
 5272|    154|                       std::string("[] buf, ") + offsetTy + std::string(" offset, uint stride, int matrixLayout, int matrixInterpretation);\n");
 5273|    154|                commonBuiltins.append(func.c_str());
 5274|       |            
 5275|    154|                func = std::string("void coopVecReduceSumAccumulateNV(coopvecNV v, ") +
 5276|    154|                       std::string(basicTypes[i]) +
 5277|    154|                       std::string("[] buf, ") + offsetTy + std::string(" offset);\n");
 5278|    154|                commonBuiltins.append(func.c_str());
 5279|    154|            }
 5280|     14|        }
 5281|      7|        std::string cooperativeVectorFuncs =
 5282|      7|            "coopvecNV fma(coopvecNV, coopvecNV, coopvecNV);\n"
 5283|      7|            "coopvecNV min(coopvecNV, coopvecNV);\n"
 5284|      7|            "coopvecNV max(coopvecNV, coopvecNV);\n"
 5285|      7|            "coopvecNV step(coopvecNV, coopvecNV);\n"
 5286|      7|            "coopvecNV exp(coopvecNV);\n"            
 5287|      7|            "coopvecNV log(coopvecNV);\n"            
 5288|      7|            "coopvecNV tanh(coopvecNV);\n"            
 5289|      7|            "coopvecNV atan(coopvecNV);\n"            
 5290|      7|            "coopvecNV clamp(coopvecNV, coopvecNV, coopvecNV);\n";
 5291|       |
 5292|      7|        commonBuiltins.append(cooperativeVectorFuncs.c_str());
 5293|       |
 5294|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5294:13): [True: 7, False: 0]
  ------------------
 5295|      7|            std::string longVectorFuncs =
 5296|       |
 5297|       |                // manually add long vector prototypes for functions not in BaseFunctions/etc
 5298|      7|                "vector frexp(vector, vector);\n"
 5299|      7|                "vector ldexp(vector, vector);\n"
 5300|      7|                "vector fma(vector, vector, vector);\n"
 5301|       |
 5302|      7|                "vector floatBitsToInt(vector);\n"
 5303|      7|                "vector floatBitsToUint(vector);\n"
 5304|      7|                "vector intBitsToFloat(vector);\n"
 5305|      7|                "vector uintBitsToFloat(vector);\n"
 5306|      7|                "vector doubleBitsToInt64(vector);"
 5307|      7|                "vector doubleBitsToUint64(vector);"
 5308|      7|                "vector int64BitsToDouble(vector);"
 5309|      7|                "vector uint64BitsToDouble(vector);"
 5310|      7|                "vector bfloat16BitsToIntEXT(vector);"
 5311|      7|                "vector bfloat16BitsToUintEXT(vector);"
 5312|      7|                "vector intBitsToBFloat16EXT(vector);"
 5313|      7|                "vector uintBitsToBFloat16EXT(vector);"
 5314|      7|                "vector halfBitsToInt16(vector);"
 5315|      7|                "vector halfBitsToUint16(vector);"
 5316|      7|                "vector float16BitsToInt16(vector);"
 5317|      7|                "vector float16BitsToUint16(vector);"
 5318|      7|                "vector int16BitsToFloat16(vector);"
 5319|      7|                "vector uint16BitsToFloat16(vector);"
 5320|      7|                "vector int16BitsToHalf(vector);"
 5321|      7|                "vector uint16BitsToHalf(vector);"
 5322|      7|                "vector floate5m2BitsToIntEXT(vector);"
 5323|      7|                "vector floate5m2BitsToUintEXT(vector);"
 5324|      7|                "vector intBitsToFloate5m2EXT(vector);"
 5325|      7|                "vector uintBitsToFloate5m2EXT(vector);"
 5326|      7|                "vector floate4m3BitsToIntEXT(vector);"
 5327|      7|                "vector floate4m3BitsToUintEXT(vector);"
 5328|      7|                "vector intBitsToFloate4m3EXT(vector);"
 5329|      7|                "vector uintBitsToFloate4m3EXT(vector);"
 5330|       |
 5331|      7|                "vector floatue8m0BitsToIntEXT(vector);"
 5332|      7|                "vector floatue8m0BitsToUintEXT(vector);"
 5333|      7|                "vector intBitsToFloatue8m0EXT(vector);"
 5334|      7|                "vector uintBitsToFloatue8m0EXT(vector);"
 5335|      7|                "vector floatmxint8BitsToIntEXT(vector);"
 5336|      7|                "vector floatmxint8BitsToUintEXT(vector);"
 5337|      7|                "vector intBitsToFloatmxint8EXT(vector);"
 5338|      7|                "vector uintBitsToFloatmxint8EXT(vector);"
 5339|       |
 5340|      7|                "vector uaddCarry(highp vector, highp vector, out lowp vector carry);"
 5341|      7|                "vector usubBorrow(highp vector, highp vector, out lowp vector borrow);"
 5342|      7|                "void umulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5343|      7|                "void imulExtended(highp vector, highp vector, out highp vector, out highp vector);"
 5344|      7|                "vector bitfieldExtract(vector, int, int);"
 5345|      7|                "vector bitfieldInsert(vector, vector, int, int);"
 5346|      7|                "vector bitfieldReverse(highp vector);"
 5347|      7|                "vector bitCount(vector);"
 5348|      7|                "vector findLSB(vector);"
 5349|      7|                "vector findMSB(vector);"
 5350|       |
 5351|       |                // BaseFunctions overloads with a scalar parameter don't get generated in AddLongVectorBuiltin
 5352|      7|                "vector mod(vector, double);\n"
 5353|      7|                "vector min(vector, double);\n"
 5354|      7|                "vector max(vector, double);\n"
 5355|      7|                "vector clamp(vector, double, double);"
 5356|      7|                "vector mix(vector, vector,  double);"
 5357|      7|                "vector step(double, vector);"
 5358|      7|                "vector smoothstep(double, double, vector);"
 5359|      7|                "vector refract(vector, vector, double);"
 5360|       |
 5361|      7|                "vector mod(vector, float16_t);\n"
 5362|      7|                "vector min(vector, float16_t);\n"
 5363|      7|                "vector max(vector, float16_t);\n"
 5364|      7|                "vector clamp(vector, float16_t, float16_t);"
 5365|      7|                "vector mix(vector, vector,  float16_t);"
 5366|      7|                "vector step(float16_t, vector);"
 5367|      7|                "vector smoothstep(float16_t, float16_t, vector);"
 5368|      7|                "vector refract(vector, vector, float16_t);"
 5369|       |
 5370|      7|                "vector min(vector, uint64_t);\n"
 5371|      7|                "vector max(vector, uint64_t);\n"
 5372|      7|                "vector clamp(vector, uint64_t, uint64_t);"
 5373|      7|                "vector mix(vector, vector,  uint64_t);"
 5374|       |
 5375|      7|                "vector min(vector, int64_t);\n"
 5376|      7|                "vector max(vector, int64_t);\n"
 5377|      7|                "vector clamp(vector, int64_t, int64_t);"
 5378|      7|                "vector mix(vector, vector,  int64_t);"
 5379|       |
 5380|      7|                "vector min(vector, uint16_t);\n"
 5381|      7|                "vector max(vector, uint16_t);\n"
 5382|      7|                "vector clamp(vector, uint16_t, uint16_t);"
 5383|      7|                "vector mix(vector, vector,  uint16_t);"
 5384|       |
 5385|      7|                "vector min(vector, int16_t);\n"
 5386|      7|                "vector max(vector, int16_t);\n"
 5387|      7|                "vector clamp(vector, int16_t, int16_t);"
 5388|      7|                "vector mix(vector, vector,  int16_t);"
 5389|       |
 5390|      7|                "vector min(vector, uint8_t);\n"
 5391|      7|                "vector max(vector, uint8_t);\n"
 5392|      7|                "vector clamp(vector, uint8_t, uint8_t);"
 5393|      7|                "vector mix(vector, vector,  uint8_t);"
 5394|       |
 5395|      7|                "vector min(vector, int8_t);\n"
 5396|      7|                "vector max(vector, int8_t);\n"
 5397|      7|                "vector clamp(vector, int8_t, int8_t);"
 5398|      7|                "vector mix(vector, vector,  int8_t);"
 5399|       |
 5400|      7|                "vector expectEXT(vector, vector);"
 5401|       |
 5402|      7|                "vector bitcastExtractfe2m1EXT(vector, uint);"
 5403|      7|                "vector bitcastExtractfe3m2EXT(vector, uint);"
 5404|      7|                "vector bitcastExtractfe2m3EXT(vector, uint);"
 5405|      7|                ;
 5406|       |
 5407|      7|            std::string longVectorDerivativeFuncs =
 5408|      7|                "vector dFdxFine(vector);"
 5409|      7|                "vector dFdyFine(vector);"
 5410|      7|                "vector fwidthFine(vector);"
 5411|      7|                "vector dFdxCoarse(vector);"
 5412|      7|                "vector dFdyCoarse(vector);"
 5413|      7|                "vector fwidthCoarse(vector);"
 5414|       |
 5415|      7|                ;
 5416|      7|            commonBuiltins.append(longVectorFuncs.c_str());
 5417|      7|            stageBuiltins[EShLangFragment].append(longVectorDerivativeFuncs.c_str());
 5418|      7|            stageBuiltins[EShLangCompute].append(longVectorDerivativeFuncs.c_str());
 5419|      7|        }
 5420|       |
 5421|      7|        const char *scalarAndVectorTypes[] = {
 5422|      7|            "int8_t",
 5423|      7|            "int16_t",
 5424|      7|            "int32_t",
 5425|      7|            "int64_t",
 5426|      7|            "uint8_t",
 5427|      7|            "uint16_t",
 5428|      7|            "uint32_t",
 5429|      7|            "uint64_t",
 5430|      7|            "float16_t",
 5431|      7|            "float32_t",
 5432|      7|            "float64_t",
 5433|      7|            "i8vec2",
 5434|      7|            "i16vec2",
 5435|      7|            "i32vec2",
 5436|      7|            "i64vec2",
 5437|      7|            "u8vec2",
 5438|      7|            "u16vec2",
 5439|      7|            "u32vec2",
 5440|      7|            "u64vec2",
 5441|      7|            "f16vec2",
 5442|      7|            "f32vec2",
 5443|      7|            "f64vec2",
 5444|      7|            "i8vec3",
 5445|      7|            "i16vec3",
 5446|      7|            "i32vec3",
 5447|      7|            "i64vec3",
 5448|      7|            "u8vec3",
 5449|      7|            "u16vec3",
 5450|      7|            "u32vec3",
 5451|      7|            "u64vec3",
 5452|      7|            "f16vec3",
 5453|      7|            "f32vec3",
 5454|      7|            "f64vec3",
 5455|      7|            "i8vec4",
 5456|      7|            "i16vec4",
 5457|      7|            "i32vec4",
 5458|      7|            "i64vec4",
 5459|      7|            "u8vec4",
 5460|      7|            "u16vec4",
 5461|      7|            "u32vec4",
 5462|      7|            "u64vec4",
 5463|      7|            "f16vec4",
 5464|      7|            "f32vec4",
 5465|      7|            "f64vec4",
 5466|      7|        };
 5467|       |
 5468|     14|        for (auto offsetTy : coopVecOffsetTypes) {
  ------------------
  |  Branch (5468:28): [True: 14, False: 7]
  ------------------
 5469|    630|            for (uint32_t i = 0; i < sizeof(scalarAndVectorTypes)/sizeof(scalarAndVectorTypes[0]); ++i) {
  ------------------
  |  Branch (5469:34): [True: 616, False: 14]
  ------------------
 5470|    616|                std::string load = std::string("void coopVecLoadNV(out coopvecNV v, volatile coherent ") +
 5471|    616|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5472|    616|                std::string store = std::string("void coopVecStoreNV(coopvecNV v, volatile coherent ") +
 5473|    616|                                   std::string(scalarAndVectorTypes[i]) + std::string("[] buf, ") + offsetTy + std::string(" offset);");
 5474|    616|                commonBuiltins.append(load.c_str());
 5475|    616|                commonBuiltins.append(store.c_str());
 5476|    616|            }
 5477|     14|        }
 5478|       |
 5479|      7|        commonBuiltins.append(
 5480|      7|            "const int gl_CooperativeVectorMatrixLayoutRowMajorNV = 0;\n"
 5481|      7|            "const int gl_CooperativeVectorMatrixLayoutColumnMajorNV = 1;\n"
 5482|      7|            "const int gl_CooperativeVectorMatrixLayoutInferencingOptimalNV = 2;\n"
 5483|      7|            "const int gl_CooperativeVectorMatrixLayoutTrainingOptimalNV = 3;\n"
 5484|      7|            "\n"
 5485|      7|            );
 5486|       |
 5487|      7|        commonBuiltins.append(
 5488|      7|            "const int gl_ComponentTypeFloat16NV                = 0;\n"
 5489|      7|            "const int gl_ComponentTypeFloat32NV                = 1;\n"
 5490|      7|            "const int gl_ComponentTypeFloat64NV                = 2;\n"
 5491|      7|            "const int gl_ComponentTypeSignedInt8NV             = 3;\n"
 5492|      7|            "const int gl_ComponentTypeSignedInt16NV            = 4;\n"
 5493|      7|            "const int gl_ComponentTypeSignedInt32NV            = 5;\n"
 5494|      7|            "const int gl_ComponentTypeSignedInt64NV            = 6;\n"
 5495|      7|            "const int gl_ComponentTypeUnsignedInt8NV           = 7;\n"
 5496|      7|            "const int gl_ComponentTypeUnsignedInt16NV          = 8;\n"
 5497|      7|            "const int gl_ComponentTypeUnsignedInt32NV          = 9;\n"
 5498|      7|            "const int gl_ComponentTypeUnsignedInt64NV          = 10;\n"
 5499|      7|            "const int gl_ComponentTypeSignedInt8PackedNV       = 1000491000;\n"
 5500|      7|            "const int gl_ComponentTypeUnsignedInt8PackedNV     = 1000491001;\n"
 5501|      7|            "const int gl_ComponentTypeFloatE4M3NV              = 1000491002;\n"
 5502|      7|            "const int gl_ComponentTypeFloatE5M2NV              = 1000491003;\n"
 5503|      7|            "\n"
 5504|      7|            );
 5505|      7|    }
 5506|       |
 5507|       |    //============================================================================
 5508|       |    //
 5509|       |    // Prototypes for built-in functions seen by fragment shaders only.
 5510|       |    //
 5511|       |    //============================================================================
 5512|       |
 5513|       |    //
 5514|       |    // Original-style texture Functions with bias.
 5515|       |    //
 5516|     45|    if (spvVersion.spv == 0 && (profile != EEsProfile || version == 100)) {
  ------------------
  |  Branch (5516:9): [True: 45, False: 0]
  |  Branch (5516:33): [True: 7, False: 38]
  |  Branch (5516:58): [True: 38, False: 0]
  ------------------
 5517|     45|        stageBuiltins[EShLangFragment].append(
 5518|     45|            "vec4 texture2D(sampler2D, vec2, float);"
 5519|     45|            "vec4 texture2DProj(sampler2D, vec3, float);"
 5520|     45|            "vec4 texture2DProj(sampler2D, vec4, float);"
 5521|     45|            "vec4 texture3D(sampler3D, vec3, float);"        // OES_texture_3D
 5522|     45|            "vec4 texture3DProj(sampler3D, vec4, float);"    // OES_texture_3D
 5523|     45|            "vec4 textureCube(samplerCube, vec3, float);"
 5524|       |
 5525|     45|            "\n");
 5526|     45|    }
 5527|     45|    if (spvVersion.spv == 0 && (profile != EEsProfile && version > 100)) {
  ------------------
  |  Branch (5527:9): [True: 45, False: 0]
  |  Branch (5527:33): [True: 7, False: 38]
  |  Branch (5527:58): [True: 7, False: 0]
  ------------------
 5528|      7|        stageBuiltins[EShLangFragment].append(
 5529|      7|            "vec4 texture1D(sampler1D, float, float);"
 5530|      7|            "vec4 texture1DProj(sampler1D, vec2, float);"
 5531|      7|            "vec4 texture1DProj(sampler1D, vec4, float);"
 5532|      7|            "vec4 shadow1D(sampler1DShadow, vec3, float);"
 5533|      7|            "vec4 shadow2D(sampler2DShadow, vec3, float);"
 5534|      7|            "vec4 shadow1DProj(sampler1DShadow, vec4, float);"
 5535|      7|            "vec4 shadow2DProj(sampler2DShadow, vec4, float);"
 5536|       |
 5537|      7|            "\n");
 5538|      7|    }
 5539|     45|    if (spvVersion.spv == 0 && profile == EEsProfile) {
  ------------------
  |  Branch (5539:9): [True: 45, False: 0]
  |  Branch (5539:32): [True: 38, False: 7]
  ------------------
 5540|     38|        stageBuiltins[EShLangFragment].append(
 5541|     38|            "vec4 texture2DLodEXT(sampler2D, vec2, float);"      // GL_EXT_shader_texture_lod
 5542|     38|            "vec4 texture2DProjLodEXT(sampler2D, vec3, float);"  // GL_EXT_shader_texture_lod
 5543|     38|            "vec4 texture2DProjLodEXT(sampler2D, vec4, float);"  // GL_EXT_shader_texture_lod
 5544|     38|            "vec4 textureCubeLodEXT(samplerCube, vec3, float);"  // GL_EXT_shader_texture_lod
 5545|       |
 5546|     38|            "\n");
 5547|     38|    }
 5548|       |
 5549|       |    // GL_EXT_shader_tile_image
 5550|     45|    if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5550:9): [True: 41, False: 4]
  ------------------
 5551|     41|        stageBuiltins[EShLangFragment].append(
 5552|     41|            "lowp uint stencilAttachmentReadEXT();"
 5553|     41|            "lowp uint stencilAttachmentReadEXT(int);"
 5554|     41|            "highp float depthAttachmentReadEXT();"
 5555|     41|            "highp float depthAttachmentReadEXT(int);"
 5556|     41|            "\n");
 5557|     41|        stageBuiltins[EShLangFragment].append(
 5558|     41|            "vec4 colorAttachmentReadEXT(attachmentEXT);"
 5559|     41|            "vec4 colorAttachmentReadEXT(attachmentEXT, int);"
 5560|     41|            "ivec4 colorAttachmentReadEXT(iattachmentEXT);"
 5561|     41|            "ivec4 colorAttachmentReadEXT(iattachmentEXT, int);"
 5562|     41|            "uvec4 colorAttachmentReadEXT(uattachmentEXT);"
 5563|     41|            "uvec4 colorAttachmentReadEXT(uattachmentEXT, int);"
 5564|     41|            "\n");
 5565|     41|    }
 5566|       |
 5567|       |    // GL_ARB_derivative_control
 5568|     45|    if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (5568:9): [True: 7, False: 38]
  |  Branch (5568:34): [True: 7, False: 0]
  ------------------
 5569|      7|        stageBuiltins[EShLangFragment].append(derivativeControls);
 5570|      7|        stageBuiltins[EShLangFragment].append("\n");
 5571|      7|    }
 5572|       |
 5573|       |    // GL_OES_shader_multisample_interpolation
 5574|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (5574:10): [True: 38, False: 7]
  |  Branch (5574:35): [True: 0, False: 38]
  ------------------
 5575|     45|        (profile != EEsProfile && version >= 150)) { // NV_gpu_shader5
  ------------------
  |  Branch (5575:10): [True: 7, False: 38]
  |  Branch (5575:35): [True: 7, False: 0]
  ------------------
 5576|      7|        stageBuiltins[EShLangFragment].append(
 5577|      7|            "float interpolateAtCentroid(float);"
 5578|      7|            "vec2  interpolateAtCentroid(vec2);"
 5579|      7|            "vec3  interpolateAtCentroid(vec3);"
 5580|      7|            "vec4  interpolateAtCentroid(vec4);"
 5581|       |
 5582|      7|            "float interpolateAtSample(float, int);"
 5583|      7|            "vec2  interpolateAtSample(vec2,  int);"
 5584|      7|            "vec3  interpolateAtSample(vec3,  int);"
 5585|      7|            "vec4  interpolateAtSample(vec4,  int);"
 5586|       |
 5587|      7|            "float interpolateAtOffset(float, vec2);"
 5588|      7|            "vec2  interpolateAtOffset(vec2,  vec2);"
 5589|      7|            "vec3  interpolateAtOffset(vec3,  vec2);"
 5590|      7|            "vec4  interpolateAtOffset(vec4,  vec2);"
 5591|       |
 5592|      7|            "\n");
 5593|      7|    }
 5594|       |
 5595|     45|    stageBuiltins[EShLangFragment].append(
 5596|     45|        "void beginInvocationInterlockARB(void);"
 5597|     45|        "void endInvocationInterlockARB(void);");
 5598|       |
 5599|     45|    stageBuiltins[EShLangFragment].append(
 5600|     45|        "bool helperInvocationEXT();"
 5601|     45|        "\n");
 5602|       |
 5603|       |    // GL_AMD_shader_explicit_vertex_parameter
 5604|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5604:9): [True: 7, False: 38]
  |  Branch (5604:34): [True: 7, False: 0]
  ------------------
 5605|      7|        stageBuiltins[EShLangFragment].append(
 5606|      7|            "float interpolateAtVertexAMD(float, uint);"
 5607|      7|            "vec2  interpolateAtVertexAMD(vec2,  uint);"
 5608|      7|            "vec3  interpolateAtVertexAMD(vec3,  uint);"
 5609|      7|            "vec4  interpolateAtVertexAMD(vec4,  uint);"
 5610|       |
 5611|      7|            "int   interpolateAtVertexAMD(int,   uint);"
 5612|      7|            "ivec2 interpolateAtVertexAMD(ivec2, uint);"
 5613|      7|            "ivec3 interpolateAtVertexAMD(ivec3, uint);"
 5614|      7|            "ivec4 interpolateAtVertexAMD(ivec4, uint);"
 5615|       |
 5616|      7|            "uint  interpolateAtVertexAMD(uint,  uint);"
 5617|      7|            "uvec2 interpolateAtVertexAMD(uvec2, uint);"
 5618|      7|            "uvec3 interpolateAtVertexAMD(uvec3, uint);"
 5619|      7|            "uvec4 interpolateAtVertexAMD(uvec4, uint);"
 5620|       |
 5621|      7|            "float16_t interpolateAtVertexAMD(float16_t, uint);"
 5622|      7|            "f16vec2   interpolateAtVertexAMD(f16vec2,   uint);"
 5623|      7|            "f16vec3   interpolateAtVertexAMD(f16vec3,   uint);"
 5624|      7|            "f16vec4   interpolateAtVertexAMD(f16vec4,   uint);"
 5625|       |
 5626|      7|            "\n");
 5627|      7|    }
 5628|       |
 5629|       |    // GL_AMD_gpu_shader_half_float
 5630|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5630:9): [True: 7, False: 38]
  |  Branch (5630:34): [True: 7, False: 0]
  ------------------
 5631|      7|        stageBuiltins[EShLangFragment].append(derivativesAndControl16bits);
 5632|      7|        stageBuiltins[EShLangFragment].append("\n");
 5633|       |
 5634|      7|        stageBuiltins[EShLangFragment].append(
 5635|      7|            "float16_t interpolateAtCentroid(float16_t);"
 5636|      7|            "f16vec2   interpolateAtCentroid(f16vec2);"
 5637|      7|            "f16vec3   interpolateAtCentroid(f16vec3);"
 5638|      7|            "f16vec4   interpolateAtCentroid(f16vec4);"
 5639|       |
 5640|      7|            "float16_t interpolateAtSample(float16_t, int);"
 5641|      7|            "f16vec2   interpolateAtSample(f16vec2,   int);"
 5642|      7|            "f16vec3   interpolateAtSample(f16vec3,   int);"
 5643|      7|            "f16vec4   interpolateAtSample(f16vec4,   int);"
 5644|       |
 5645|      7|            "float16_t interpolateAtOffset(float16_t, f16vec2);"
 5646|      7|            "f16vec2   interpolateAtOffset(f16vec2,   f16vec2);"
 5647|      7|            "f16vec3   interpolateAtOffset(f16vec3,   f16vec2);"
 5648|      7|            "f16vec4   interpolateAtOffset(f16vec4,   f16vec2);"
 5649|       |
 5650|      7|            "\n");
 5651|      7|    }
 5652|       |
 5653|       |    // GL_ARB_shader_clock& GL_EXT_shader_realtime_clock
 5654|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5654:9): [True: 7, False: 38]
  |  Branch (5654:34): [True: 7, False: 0]
  ------------------
 5655|      7|        commonBuiltins.append(
 5656|      7|            "uvec2 clock2x32ARB();"
 5657|      7|            "uint64_t clockARB();"
 5658|      7|            "uvec2 clockRealtime2x32EXT();"
 5659|      7|            "uint64_t clockRealtimeEXT();"
 5660|      7|            "\n");
 5661|      7|    }
 5662|       |
 5663|       |    // GL_AMD_shader_fragment_mask
 5664|     45|    if (profile != EEsProfile && version >= 450 && spvVersion.vulkan > 0) {
  ------------------
  |  Branch (5664:9): [True: 7, False: 38]
  |  Branch (5664:34): [True: 7, False: 0]
  |  Branch (5664:52): [True: 7, False: 0]
  ------------------
 5665|      7|        stageBuiltins[EShLangFragment].append(
 5666|      7|            "uint fragmentMaskFetchAMD(subpassInputMS);"
 5667|      7|            "uint fragmentMaskFetchAMD(isubpassInputMS);"
 5668|      7|            "uint fragmentMaskFetchAMD(usubpassInputMS);"
 5669|       |
 5670|      7|            "vec4  fragmentFetchAMD(subpassInputMS,  uint);"
 5671|      7|            "ivec4 fragmentFetchAMD(isubpassInputMS, uint);"
 5672|      7|            "uvec4 fragmentFetchAMD(usubpassInputMS, uint);"
 5673|       |
 5674|      7|            "\n");
 5675|      7|    }
 5676|       |
 5677|       |    // Builtins for GL_NV_ray_tracing/GL_NV_ray_tracing_motion_blur/GL_EXT_ray_tracing/GL_EXT_ray_query/
 5678|       |    // GL_NV_shader_invocation_reorder/GL_KHR_ray_tracing_position_Fetch
 5679|     45|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (5679:9): [True: 7, False: 38]
  |  Branch (5679:34): [True: 0, False: 7]
  ------------------
 5680|      0|         commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);"
 5681|      0|            "void rayQueryTerminateEXT(rayQueryEXT);"
 5682|      0|            "void rayQueryGenerateIntersectionEXT(rayQueryEXT, float);"
 5683|      0|            "void rayQueryConfirmIntersectionEXT(rayQueryEXT);"
 5684|      0|            "bool rayQueryProceedEXT(rayQueryEXT);"
 5685|      0|            "uint rayQueryGetIntersectionTypeEXT(rayQueryEXT, bool);"
 5686|      0|            "float rayQueryGetRayTMinEXT(rayQueryEXT);"
 5687|      0|            "uint rayQueryGetRayFlagsEXT(rayQueryEXT);"
 5688|      0|            "vec3 rayQueryGetWorldRayOriginEXT(rayQueryEXT);"
 5689|      0|            "vec3 rayQueryGetWorldRayDirectionEXT(rayQueryEXT);"
 5690|      0|            "float rayQueryGetIntersectionTEXT(rayQueryEXT, bool);"
 5691|      0|            "int rayQueryGetIntersectionInstanceCustomIndexEXT(rayQueryEXT, bool);"
 5692|      0|            "int rayQueryGetIntersectionInstanceIdEXT(rayQueryEXT, bool);"
 5693|      0|            "uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT, bool);"
 5694|      0|            "int rayQueryGetIntersectionGeometryIndexEXT(rayQueryEXT, bool);"
 5695|      0|            "int rayQueryGetIntersectionPrimitiveIndexEXT(rayQueryEXT, bool);"
 5696|      0|            "vec2 rayQueryGetIntersectionBarycentricsEXT(rayQueryEXT, bool);"
 5697|      0|            "bool rayQueryGetIntersectionFrontFaceEXT(rayQueryEXT, bool);"
 5698|      0|            "bool rayQueryGetIntersectionCandidateAABBOpaqueEXT(rayQueryEXT);"
 5699|      0|            "vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT, bool);"
 5700|      0|            "vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT, bool);"
 5701|      0|            "mat4x3 rayQueryGetIntersectionObjectToWorldEXT(rayQueryEXT, bool);"
 5702|      0|            "mat4x3 rayQueryGetIntersectionWorldToObjectEXT(rayQueryEXT, bool);"
 5703|      0|            "void rayQueryGetIntersectionTriangleVertexPositionsEXT(rayQueryEXT, bool, out vec3[3]);"
 5704|      0|            "int rayQueryGetIntersectionClusterIdNV(rayQueryEXT, bool);"
 5705|      0|            "vec3 rayQueryGetIntersectionSpherePositionNV(rayQueryEXT, bool);"
 5706|      0|            "float rayQueryGetIntersectionSphereRadiusNV(rayQueryEXT, bool);"
 5707|      0|            "float rayQueryGetIntersectionLSSHitValueNV(rayQueryEXT, bool);"
 5708|      0|            "void rayQueryGetIntersectionLSSPositionsNV(rayQueryEXT, bool, out vec3[2]);"
 5709|      0|            "void rayQueryGetIntersectionLSSRadiiNV(rayQueryEXT, bool, out float[2]);"
 5710|      0|            "bool rayQueryIsSphereHitNV(rayQueryEXT, bool);"
 5711|      0|            "bool rayQueryIsLSSHitNV(rayQueryEXT, bool);"
 5712|      0|            "\n");
 5713|       |
 5714|      0|        stageBuiltins[EShLangRayGen].append(
 5715|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5716|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5717|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5718|      0|            "void executeCallableNV(uint, int);"
 5719|      0|            "void executeCallableEXT(uint, int);"
 5720|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5721|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5722|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5723|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5724|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5725|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5726|      0|            "void hitObjectRecordMissNV(hitObjectNV,uint,vec3,float,vec3,float);"
 5727|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5728|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5729|      0|            "void hitObjectExecuteShaderNV(hitObjectNV,int);"
 5730|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5731|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5732|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5733|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5734|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5735|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5736|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5737|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5738|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5739|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5740|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5741|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5742|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5743|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5744|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5745|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5746|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5747|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5748|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5749|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5750|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5751|      0|            "void reorderThreadNV(uint, uint);"
 5752|      0|            "void reorderThreadNV(hitObjectNV);"
 5753|      0|            "void reorderThreadNV(hitObjectNV, uint, uint);"
 5754|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 5755|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 5756|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5757|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5758|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5759|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5760|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5761|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5762|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5763|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5764|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5765|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5766|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5767|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5768|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5769|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5770|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5771|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5772|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5773|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5774|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5775|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5776|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5777|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5778|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5779|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5780|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5781|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5782|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5783|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5784|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5785|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5786|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5787|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5788|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5789|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5790|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,int);"
 5791|      0|            "void hitObjectReorderExecuteEXT(hitObjectEXT,uint,uint,int);"
 5792|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5793|      0|            "void hitObjectTraceReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,uint,uint,int);"
 5794|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5795|      0|            "void hitObjectTraceMotionReorderExecuteEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,uint,uint,int);"
 5796|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5797|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5798|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5799|      0|            "void reorderThreadEXT(uint, uint);"
 5800|      0|            "void reorderThreadEXT(hitObjectEXT);"
 5801|      0|            "void reorderThreadEXT(hitObjectEXT, uint, uint);"
 5802|      0|            "\n");
 5803|      0|        stageBuiltins[EShLangIntersect].append(
 5804|      0|            "bool reportIntersectionNV(float, uint);"
 5805|      0|            "bool reportIntersectionEXT(float, uint);"
 5806|      0|            "\n");
 5807|      0|        stageBuiltins[EShLangAnyHit].append(
 5808|      0|            "void ignoreIntersectionNV();"
 5809|      0|            "void terminateRayNV();"
 5810|      0|            "\n");
 5811|      0|        stageBuiltins[EShLangClosestHit].append(
 5812|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5813|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5814|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5815|      0|            "void executeCallableNV(uint, int);"
 5816|      0|            "void executeCallableEXT(uint, int);"
 5817|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5818|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5819|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5820|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5821|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5822|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5823|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5824|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5825|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5826|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5827|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5828|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5829|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5830|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5831|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5832|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5833|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5834|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5835|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5836|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5837|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5838|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5839|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5840|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5841|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5842|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5843|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5844|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5845|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5846|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5847|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5848|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5849|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5850|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5851|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5852|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5853|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5854|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5855|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5856|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5857|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5858|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5859|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5860|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5861|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5862|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5863|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5864|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5865|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5866|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5867|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5868|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5869|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5870|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5871|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5872|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5873|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5874|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5875|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5876|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5877|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5878|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5879|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5880|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5881|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5882|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int);"
 5883|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT,uint, int, uint);"
 5884|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5885|      0|            "\n");
 5886|      0|        stageBuiltins[EShLangMiss].append(
 5887|      0|            "void traceNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5888|      0|            "void traceRayMotionNV(accelerationStructureNV,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5889|      0|            "void traceRayEXT(accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5890|      0|            "void executeCallableNV(uint, int);"
 5891|      0|            "void executeCallableEXT(uint, int);"
 5892|      0|            "void hitObjectTraceRayNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5893|      0|            "void hitObjectTraceRayMotionNV(hitObjectNV,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5894|      0|            "void hitObjectRecordHitNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,int);"
 5895|      0|            "void hitObjectRecordHitMotionNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5896|      0|            "void hitObjectRecordHitWithIndexNV(hitObjectNV,accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,int);"
 5897|      0|            "void hitObjectRecordHitWithIndexMotionNV(hitObjectNV, accelerationStructureEXT,int,int,int,uint,uint,vec3,float,vec3,float,float,int);"
 5898|      0|            "void hitObjectRecordMissNV(hitObjectNV, uint, vec3, float, vec3, float);"
 5899|      0|            "void hitObjectRecordMissMotionNV(hitObjectNV,uint,vec3,float,vec3,float,float);"
 5900|      0|            "void hitObjectRecordEmptyNV(hitObjectNV);"
 5901|      0|            "void hitObjectExecuteShaderNV(hitObjectNV, int);"
 5902|      0|            "bool hitObjectIsEmptyNV(hitObjectNV);"
 5903|      0|            "bool hitObjectIsMissNV(hitObjectNV);"
 5904|      0|            "bool hitObjectIsHitNV(hitObjectNV);"
 5905|      0|            "float hitObjectGetRayTMinNV(hitObjectNV);"
 5906|      0|            "float hitObjectGetRayTMaxNV(hitObjectNV);"
 5907|      0|            "vec3 hitObjectGetWorldRayOriginNV(hitObjectNV);"
 5908|      0|            "vec3 hitObjectGetWorldRayDirectionNV(hitObjectNV);"
 5909|      0|            "vec3 hitObjectGetObjectRayOriginNV(hitObjectNV);"
 5910|      0|            "vec3 hitObjectGetObjectRayDirectionNV(hitObjectNV);"
 5911|      0|            "mat4x3 hitObjectGetWorldToObjectNV(hitObjectNV);"
 5912|      0|            "mat4x3 hitObjectGetObjectToWorldNV(hitObjectNV);"
 5913|      0|            "int hitObjectGetInstanceCustomIndexNV(hitObjectNV);"
 5914|      0|            "int hitObjectGetInstanceIdNV(hitObjectNV);"
 5915|      0|            "int hitObjectGetGeometryIndexNV(hitObjectNV);"
 5916|      0|            "int hitObjectGetPrimitiveIndexNV(hitObjectNV);"
 5917|      0|            "uint hitObjectGetHitKindNV(hitObjectNV);"
 5918|      0|            "void hitObjectGetAttributesNV(hitObjectNV,int);"
 5919|      0|            "float hitObjectGetCurrentTimeNV(hitObjectNV);"
 5920|      0|            "uint hitObjectGetShaderBindingTableRecordIndexNV(hitObjectNV);"
 5921|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleNV(hitObjectNV);"
 5922|      0|            "int hitObjectGetClusterIdNV(hitObjectNV);"
 5923|      0|            "vec3 hitObjectGetSpherePositionNV(hitObjectNV);"
 5924|      0|            "float hitObjectGetSphereRadiusNV(hitObjectNV);"
 5925|      0|            "void hitObjectGetLSSPositionsNV(hitObjectNV, out vec3[2]);"
 5926|      0|            "void hitObjectGetLSSRadiiNV(hitObjectNV, out float[2]);"
 5927|      0|            "bool hitObjectIsSphereHitNV(hitObjectNV);"
 5928|      0|            "bool hitObjectIsLSSHitNV(hitObjectNV);"
 5929|      0|            "void hitObjectTraceRayEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,int);"
 5930|      0|            "void hitObjectTraceRayMotionEXT(hitObjectEXT,accelerationStructureEXT,uint,uint,uint,uint,uint,vec3,float,vec3,float,float,int);"
 5931|      0|            "void hitObjectRecordMissEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float);"
 5932|      0|            "void hitObjectRecordMissMotionEXT(hitObjectEXT,uint,uint,vec3,float,vec3,float,float);"
 5933|      0|            "void hitObjectRecordEmptyEXT(hitObjectEXT);"
 5934|      0|            "void hitObjectExecuteShaderEXT(hitObjectEXT,int);"
 5935|      0|            "bool hitObjectIsEmptyEXT(hitObjectEXT);"
 5936|      0|            "bool hitObjectIsMissEXT(hitObjectEXT);"
 5937|      0|            "bool hitObjectIsHitEXT(hitObjectEXT);"
 5938|      0|            "float hitObjectGetRayTMinEXT(hitObjectEXT);"
 5939|      0|            "float hitObjectGetRayTMaxEXT(hitObjectEXT);"
 5940|      0|            "uint hitObjectGetRayFlagsEXT(hitObjectEXT);"
 5941|      0|            "vec3 hitObjectGetWorldRayOriginEXT(hitObjectEXT);"
 5942|      0|            "vec3 hitObjectGetWorldRayDirectionEXT(hitObjectEXT);"
 5943|      0|            "vec3 hitObjectGetObjectRayOriginEXT(hitObjectEXT);"
 5944|      0|            "vec3 hitObjectGetObjectRayDirectionEXT(hitObjectEXT);"
 5945|      0|            "mat4x3 hitObjectGetWorldToObjectEXT(hitObjectEXT);"
 5946|      0|            "mat4x3 hitObjectGetObjectToWorldEXT(hitObjectEXT);"
 5947|      0|            "int hitObjectGetInstanceCustomIndexEXT(hitObjectEXT);"
 5948|      0|            "int hitObjectGetInstanceIdEXT(hitObjectEXT);"
 5949|      0|            "int hitObjectGetGeometryIndexEXT(hitObjectEXT);"
 5950|      0|            "int hitObjectGetPrimitiveIndexEXT(hitObjectEXT);"
 5951|      0|            "uint hitObjectGetHitKindEXT(hitObjectEXT);"
 5952|      0|            "void hitObjectGetAttributesEXT(hitObjectEXT,int);"
 5953|      0|            "float hitObjectGetCurrentTimeEXT(hitObjectEXT);"
 5954|      0|            "uint hitObjectGetShaderBindingTableRecordIndexEXT(hitObjectEXT);"
 5955|      0|            "uvec2 hitObjectGetShaderRecordBufferHandleEXT(hitObjectEXT);"
 5956|      0|            "void hitObjectSetShaderBindingTableRecordIndexEXT(hitObjectEXT, uint);"
 5957|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int);"
 5958|      0|            "void hitObjectRecordFromQueryEXT(hitObjectEXT, rayQueryEXT, uint, int, uint);"
 5959|      0|            "void hitObjectGetIntersectionTriangleVertexPositionsEXT(hitObjectEXT, out vec3[3]);"
 5960|      0|            "\n");
 5961|      0|        stageBuiltins[EShLangCallable].append(
 5962|      0|            "void executeCallableNV(uint, int);"
 5963|      0|            "void executeCallableEXT(uint, int);"
 5964|      0|            "\n");
 5965|      0|    }
 5966|       |
 5967|       |    // GL_KHR_compute_shader_derivatives / SPV_NV_compute_shader_derivatives
 5968|     45|    if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (5968:10): [True: 38, False: 7]
  |  Branch (5968:35): [True: 0, False: 38]
  |  Branch (5968:55): [True: 7, False: 38]
  |  Branch (5968:80): [True: 7, False: 0]
  ------------------
 5969|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5969:13): [True: 7, False: 0]
  ------------------
 5970|      7|            stageBuiltins[EShLangCompute].append(derivatives);
 5971|      7|            stageBuiltins[EShLangTask].append(derivatives);
 5972|      7|            stageBuiltins[EShLangMesh].append(derivatives);
 5973|      7|        }
 5974|       |
 5975|      7|        stageBuiltins[EShLangCompute].append(derivativeControls);
 5976|      7|        stageBuiltins[EShLangCompute].append("\n");
 5977|       |
 5978|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (5978:13): [True: 7, False: 0]
  ------------------
 5979|      7|            stageBuiltins[EShLangTask].append(derivativeControls);
 5980|      7|            stageBuiltins[EShLangTask].append("\n");
 5981|      7|            stageBuiltins[EShLangMesh].append(derivativeControls);
 5982|      7|            stageBuiltins[EShLangMesh].append("\n");
 5983|      7|        }
 5984|      7|    }
 5985|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (5985:9): [True: 7, False: 38]
  |  Branch (5985:34): [True: 7, False: 0]
  ------------------
 5986|      7|        stageBuiltins[EShLangCompute].append(derivativesAndControl16bits);
 5987|      7|        stageBuiltins[EShLangCompute].append(derivativesAndControl64bits);
 5988|      7|        stageBuiltins[EShLangCompute].append("\n");
 5989|      7|        stageBuiltins[EShLangTask].append(derivativesAndControl16bits);
 5990|      7|        stageBuiltins[EShLangTask].append(derivativesAndControl64bits);
 5991|      7|        stageBuiltins[EShLangTask].append("\n");
 5992|      7|        stageBuiltins[EShLangMesh].append(derivativesAndControl16bits);
 5993|      7|        stageBuiltins[EShLangMesh].append(derivativesAndControl64bits);
 5994|      7|        stageBuiltins[EShLangMesh].append("\n");
 5995|      7|    }
 5996|       |
 5997|       |    // Builtins for GL_NV_mesh_shader
 5998|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (5998:10): [True: 7, False: 38]
  |  Branch (5998:35): [True: 7, False: 0]
  |  Branch (5998:55): [True: 38, False: 0]
  |  Branch (5998:80): [True: 0, False: 38]
  ------------------
 5999|      7|        stageBuiltins[EShLangMesh].append(
 6000|      7|            "void writePackedPrimitiveIndices4x8NV(uint, uint);"
 6001|      7|            "\n");
 6002|      7|    }
 6003|       |    // Builtins for GL_EXT_mesh_shader
 6004|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6004:10): [True: 7, False: 38]
  |  Branch (6004:35): [True: 7, False: 0]
  |  Branch (6004:55): [True: 38, False: 0]
  |  Branch (6004:80): [True: 0, False: 38]
  ------------------
 6005|       |        // Builtins for GL_EXT_mesh_shader
 6006|      7|        stageBuiltins[EShLangTask].append(
 6007|      7|            "void EmitMeshTasksEXT(uint, uint, uint);"
 6008|      7|            "\n");
 6009|       |
 6010|      7|        stageBuiltins[EShLangMesh].append(
 6011|      7|            "void SetMeshOutputsEXT(uint, uint);"
 6012|      7|            "\n");
 6013|      7|    }
 6014|       |    // Builtins for GL_NV_displacement_micromap
 6015|     45|    if ((profile != EEsProfile && version >= 460) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6015:10): [True: 7, False: 38]
  |  Branch (6015:35): [True: 0, False: 7]
  |  Branch (6015:55): [True: 38, False: 7]
  |  Branch (6015:80): [True: 0, False: 38]
  ------------------
 6016|      0|        stageBuiltins[EShLangMesh].append(
 6017|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6018|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6019|      0|            "\n");
 6020|       |
 6021|      0|        stageBuiltins[EShLangCompute].append(
 6022|      0|            "vec3 fetchMicroTriangleVertexPositionNV(accelerationStructureEXT, int, int, int, ivec2);"
 6023|      0|            "vec2 fetchMicroTriangleVertexBarycentricNV(accelerationStructureEXT, int, int, int, ivec2);"
 6024|      0|            "\n");
 6025|       |
 6026|      0|    }
 6027|       |
 6028|       |
 6029|       |    //============================================================================
 6030|       |    //
 6031|       |    // Standard Uniforms
 6032|       |    //
 6033|       |    //============================================================================
 6034|       |
 6035|       |    //
 6036|       |    // Depth range in window coordinates, p. 33
 6037|       |    //
 6038|     45|    if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6038:9): [True: 45, False: 0]
  ------------------
 6039|     45|        commonBuiltins.append(
 6040|     45|            "struct gl_DepthRangeParameters {"
 6041|     45|            );
 6042|     45|        if (profile == EEsProfile) {
  ------------------
  |  Branch (6042:13): [True: 38, False: 7]
  ------------------
 6043|     38|            commonBuiltins.append(
 6044|     38|                "highp float near;"   // n
 6045|     38|                "highp float far;"    // f
 6046|     38|                "highp float diff;"   // f - n
 6047|     38|                );
 6048|     38|        } else {
 6049|      7|            commonBuiltins.append(
 6050|      7|                "float near;"  // n
 6051|      7|                "float far;"   // f
 6052|      7|                "float diff;"  // f - n
 6053|      7|                );
 6054|      7|        }
 6055|       |
 6056|     45|        commonBuiltins.append(
 6057|     45|            "};"
 6058|     45|            "uniform gl_DepthRangeParameters gl_DepthRange;"
 6059|     45|            "\n");
 6060|     45|    }
 6061|       |
 6062|     45|    if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6062:9): [True: 45, False: 0]
  |  Branch (6062:32): [True: 0, False: 45]
  ------------------
 6063|       |        //
 6064|       |        // Matrix state. p. 31, 32, 37, 39, 40.
 6065|       |        //
 6066|      0|        commonBuiltins.append(
 6067|      0|            "uniform mat4  gl_ModelViewMatrix;"
 6068|      0|            "uniform mat4  gl_ProjectionMatrix;"
 6069|      0|            "uniform mat4  gl_ModelViewProjectionMatrix;"
 6070|       |
 6071|       |            //
 6072|       |            // Derived matrix state that provides inverse and transposed versions
 6073|       |            // of the matrices above.
 6074|       |            //
 6075|      0|            "uniform mat3  gl_NormalMatrix;"
 6076|       |
 6077|      0|            "uniform mat4  gl_ModelViewMatrixInverse;"
 6078|      0|            "uniform mat4  gl_ProjectionMatrixInverse;"
 6079|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverse;"
 6080|       |
 6081|      0|            "uniform mat4  gl_ModelViewMatrixTranspose;"
 6082|      0|            "uniform mat4  gl_ProjectionMatrixTranspose;"
 6083|      0|            "uniform mat4  gl_ModelViewProjectionMatrixTranspose;"
 6084|       |
 6085|      0|            "uniform mat4  gl_ModelViewMatrixInverseTranspose;"
 6086|      0|            "uniform mat4  gl_ProjectionMatrixInverseTranspose;"
 6087|      0|            "uniform mat4  gl_ModelViewProjectionMatrixInverseTranspose;"
 6088|       |
 6089|       |            //
 6090|       |            // Normal scaling p. 39.
 6091|       |            //
 6092|      0|            "uniform float gl_NormalScale;"
 6093|       |
 6094|       |            //
 6095|       |            // Point Size, p. 66, 67.
 6096|       |            //
 6097|      0|            "struct gl_PointParameters {"
 6098|      0|                "float size;"
 6099|      0|                "float sizeMin;"
 6100|      0|                "float sizeMax;"
 6101|      0|                "float fadeThresholdSize;"
 6102|      0|                "float distanceConstantAttenuation;"
 6103|      0|                "float distanceLinearAttenuation;"
 6104|      0|                "float distanceQuadraticAttenuation;"
 6105|      0|            "};"
 6106|       |
 6107|      0|            "uniform gl_PointParameters gl_Point;"
 6108|       |
 6109|       |            //
 6110|       |            // Material State p. 50, 55.
 6111|       |            //
 6112|      0|            "struct gl_MaterialParameters {"
 6113|      0|                "vec4  emission;"    // Ecm
 6114|      0|                "vec4  ambient;"     // Acm
 6115|      0|                "vec4  diffuse;"     // Dcm
 6116|      0|                "vec4  specular;"    // Scm
 6117|      0|                "float shininess;"   // Srm
 6118|      0|            "};"
 6119|      0|            "uniform gl_MaterialParameters  gl_FrontMaterial;"
 6120|      0|            "uniform gl_MaterialParameters  gl_BackMaterial;"
 6121|       |
 6122|       |            //
 6123|       |            // Light State p 50, 53, 55.
 6124|       |            //
 6125|      0|            "struct gl_LightSourceParameters {"
 6126|      0|                "vec4  ambient;"             // Acli
 6127|      0|                "vec4  diffuse;"             // Dcli
 6128|      0|                "vec4  specular;"            // Scli
 6129|      0|                "vec4  position;"            // Ppli
 6130|      0|                "vec4  halfVector;"          // Derived: Hi
 6131|      0|                "vec3  spotDirection;"       // Sdli
 6132|      0|                "float spotExponent;"        // Srli
 6133|      0|                "float spotCutoff;"          // Crli
 6134|       |                                                        // (range: [0.0,90.0], 180.0)
 6135|      0|                "float spotCosCutoff;"       // Derived: cos(Crli)
 6136|       |                                                        // (range: [1.0,0.0],-1.0)
 6137|      0|                "float constantAttenuation;" // K0
 6138|      0|                "float linearAttenuation;"   // K1
 6139|      0|                "float quadraticAttenuation;"// K2
 6140|      0|            "};"
 6141|       |
 6142|      0|            "struct gl_LightModelParameters {"
 6143|      0|                "vec4  ambient;"       // Acs
 6144|      0|            "};"
 6145|       |
 6146|      0|            "uniform gl_LightModelParameters  gl_LightModel;"
 6147|       |
 6148|       |            //
 6149|       |            // Derived state from products of light and material.
 6150|       |            //
 6151|      0|            "struct gl_LightModelProducts {"
 6152|      0|                "vec4  sceneColor;"     // Derived. Ecm + Acm * Acs
 6153|      0|            "};"
 6154|       |
 6155|      0|            "uniform gl_LightModelProducts gl_FrontLightModelProduct;"
 6156|      0|            "uniform gl_LightModelProducts gl_BackLightModelProduct;"
 6157|       |
 6158|      0|            "struct gl_LightProducts {"
 6159|      0|                "vec4  ambient;"        // Acm * Acli
 6160|      0|                "vec4  diffuse;"        // Dcm * Dcli
 6161|      0|                "vec4  specular;"       // Scm * Scli
 6162|      0|            "};"
 6163|       |
 6164|       |            //
 6165|       |            // Fog p. 161
 6166|       |            //
 6167|      0|            "struct gl_FogParameters {"
 6168|      0|                "vec4  color;"
 6169|      0|                "float density;"
 6170|      0|                "float start;"
 6171|      0|                "float end;"
 6172|      0|                "float scale;"   //  1 / (gl_FogEnd - gl_FogStart)
 6173|      0|            "};"
 6174|       |
 6175|      0|            "uniform gl_FogParameters gl_Fog;"
 6176|       |
 6177|      0|            "\n");
 6178|      0|    }
 6179|       |
 6180|       |    //============================================================================
 6181|       |    //
 6182|       |    // Define the interface to the compute shader.
 6183|       |    //
 6184|       |    //============================================================================
 6185|       |
 6186|     45|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (6186:10): [True: 7, False: 38]
  |  Branch (6186:35): [True: 7, False: 0]
  ------------------
 6187|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6187:10): [True: 38, False: 0]
  |  Branch (6187:35): [True: 0, False: 38]
  ------------------
 6188|      7|        stageBuiltins[EShLangCompute].append(
 6189|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6190|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6191|       |
 6192|      7|            "in highp uvec3 gl_WorkGroupID;"
 6193|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6194|       |
 6195|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6196|      7|            "in highp uint gl_LocalInvocationIndex;"
 6197|       |
 6198|      7|            "\n");
 6199|      7|    }
 6200|       |
 6201|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6201:10): [True: 7, False: 38]
  |  Branch (6201:35): [True: 7, False: 0]
  ------------------
 6202|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6202:10): [True: 38, False: 0]
  |  Branch (6202:35): [True: 0, False: 38]
  ------------------
 6203|      7|        stageBuiltins[EShLangCompute].append(
 6204|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6205|      7|            "\n");
 6206|      7|    }
 6207|       |
 6208|       |    // GL_QCOM_tile_shading
 6209|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (6209:10): [True: 38, False: 7]
  |  Branch (6209:35): [True: 0, False: 38]
  ------------------
 6210|     45|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (6210:10): [True: 7, False: 38]
  |  Branch (6210:35): [True: 0, False: 7]
  ------------------
 6211|      0|        stageBuiltins[EShLangCompute].append(
 6212|      0|            "in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 6213|      0|            "in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 6214|      0|            "in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 6215|      0|            "\n");
 6216|      0|    }
 6217|       |
 6218|       |    //============================================================================
 6219|       |    //
 6220|       |    // Define the interface to the mesh/task shader.
 6221|       |    //
 6222|       |    //============================================================================
 6223|       |
 6224|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (6224:10): [True: 7, False: 38]
  |  Branch (6224:35): [True: 7, False: 0]
  |  Branch (6224:55): [True: 38, False: 0]
  |  Branch (6224:80): [True: 0, False: 38]
  ------------------
 6225|       |        // per-vertex attributes
 6226|      7|        stageBuiltins[EShLangMesh].append(
 6227|      7|            "out gl_MeshPerVertexNV {"
 6228|      7|                "vec4 gl_Position;"
 6229|      7|                "float gl_PointSize;"
 6230|      7|                "float gl_ClipDistance[];"
 6231|      7|                "float gl_CullDistance[];"
 6232|      7|                "perviewNV vec4 gl_PositionPerViewNV[];"
 6233|      7|                "perviewNV float gl_ClipDistancePerViewNV[][];"
 6234|      7|                "perviewNV float gl_CullDistancePerViewNV[][];"
 6235|      7|            "} gl_MeshVerticesNV[];"
 6236|      7|        );
 6237|       |
 6238|       |        // per-primitive attributes
 6239|      7|        stageBuiltins[EShLangMesh].append(
 6240|      7|            "perprimitiveNV out gl_MeshPerPrimitiveNV {"
 6241|      7|                "int gl_PrimitiveID;"
 6242|      7|                "int gl_Layer;"
 6243|      7|                "int gl_ViewportIndex;"
 6244|      7|                "int gl_ViewportMask[];"
 6245|      7|                "perviewNV int gl_LayerPerViewNV[];"
 6246|      7|                "perviewNV int gl_ViewportMaskPerViewNV[][];"
 6247|      7|            "} gl_MeshPrimitivesNV[];"
 6248|      7|        );
 6249|       |
 6250|      7|        stageBuiltins[EShLangMesh].append(
 6251|      7|            "out uint gl_PrimitiveCountNV;"
 6252|      7|            "out uint gl_PrimitiveIndicesNV[];"
 6253|       |
 6254|      7|            "in uint gl_MeshViewCountNV;"
 6255|      7|            "in uint gl_MeshViewIndicesNV[4];"
 6256|       |
 6257|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6258|       |
 6259|      7|            "in highp uvec3 gl_WorkGroupID;"
 6260|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6261|       |
 6262|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6263|      7|            "in highp uint gl_LocalInvocationIndex;"
 6264|      7|            "\n");
 6265|       |
 6266|       |        // GL_EXT_mesh_shader
 6267|      7|        stageBuiltins[EShLangMesh].append(
 6268|      7|            "out uint gl_PrimitivePointIndicesEXT[];"
 6269|      7|            "out uvec2 gl_PrimitiveLineIndicesEXT[];"
 6270|      7|            "out uvec3 gl_PrimitiveTriangleIndicesEXT[];"
 6271|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6272|      7|            "\n");
 6273|       |
 6274|       |        // per-vertex attributes
 6275|      7|        stageBuiltins[EShLangMesh].append(
 6276|      7|            "out gl_MeshPerVertexEXT {"
 6277|      7|                "vec4 gl_Position;"
 6278|      7|                "float gl_PointSize;"
 6279|      7|                "float gl_ClipDistance[];"
 6280|      7|                "float gl_CullDistance[];"
 6281|      7|            "} gl_MeshVerticesEXT[];"
 6282|      7|        );
 6283|       |
 6284|       |        // per-primitive attributes
 6285|      7|        stageBuiltins[EShLangMesh].append(
 6286|      7|            "perprimitiveEXT out gl_MeshPerPrimitiveEXT {"
 6287|      7|                "int gl_PrimitiveID;"
 6288|      7|                "int gl_Layer;"
 6289|      7|                "int gl_ViewportIndex;"
 6290|      7|                "bool gl_CullPrimitiveEXT;"
 6291|      7|                "int  gl_PrimitiveShadingRateEXT;"
 6292|      7|            "} gl_MeshPrimitivesEXT[];"
 6293|      7|        );
 6294|       |
 6295|      7|        stageBuiltins[EShLangTask].append(
 6296|      7|            "out uint gl_TaskCountNV;"
 6297|       |
 6298|      7|            "const highp uvec3 gl_WorkGroupSize = uvec3(1,1,1);"
 6299|       |
 6300|      7|            "in highp uvec3 gl_WorkGroupID;"
 6301|      7|            "in highp uvec3 gl_LocalInvocationID;"
 6302|       |
 6303|      7|            "in highp uvec3 gl_GlobalInvocationID;"
 6304|      7|            "in highp uint gl_LocalInvocationIndex;"
 6305|       |
 6306|      7|            "in uint gl_MeshViewCountNV;"
 6307|      7|            "in uint gl_MeshViewIndicesNV[4];"
 6308|      7|            "in    highp uvec3 gl_NumWorkGroups;"
 6309|      7|            "\n");
 6310|      7|    }
 6311|       |
 6312|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (6312:9): [True: 7, False: 38]
  |  Branch (6312:34): [True: 7, False: 0]
  ------------------
 6313|      7|        stageBuiltins[EShLangMesh].append(
 6314|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6315|      7|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6316|      7|            "in int gl_ViewIndex;"             // GL_EXT_multiview
 6317|      7|            "\n");
 6318|       |
 6319|      7|        stageBuiltins[EShLangTask].append(
 6320|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6321|      7|            "in int gl_DrawIDARB;"             // GL_ARB_shader_draw_parameters
 6322|      7|            "\n");
 6323|       |
 6324|      7|        if (version >= 460) {
  ------------------
  |  Branch (6324:13): [True: 0, False: 7]
  ------------------
 6325|      0|            stageBuiltins[EShLangMesh].append(
 6326|      0|                "in int gl_DrawID;"
 6327|      0|                "\n");
 6328|       |
 6329|      0|            stageBuiltins[EShLangTask].append(
 6330|      0|                "in int gl_DrawID;"
 6331|      0|                "\n");
 6332|      0|        }
 6333|      7|    }
 6334|       |
 6335|       |    //============================================================================
 6336|       |    //
 6337|       |    // Define the interface to the vertex shader.
 6338|       |    //
 6339|       |    //============================================================================
 6340|       |
 6341|     45|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6341:9): [True: 7, False: 38]
  ------------------
 6342|      7|        if (version < 130) {
  ------------------
  |  Branch (6342:13): [True: 0, False: 7]
  ------------------
 6343|      0|            stageBuiltins[EShLangVertex].append(
 6344|      0|                "attribute vec4  gl_Color;"
 6345|      0|                "attribute vec4  gl_SecondaryColor;"
 6346|      0|                "attribute vec3  gl_Normal;"
 6347|      0|                "attribute vec4  gl_Vertex;"
 6348|      0|                "attribute vec4  gl_MultiTexCoord0;"
 6349|      0|                "attribute vec4  gl_MultiTexCoord1;"
 6350|      0|                "attribute vec4  gl_MultiTexCoord2;"
 6351|      0|                "attribute vec4  gl_MultiTexCoord3;"
 6352|      0|                "attribute vec4  gl_MultiTexCoord4;"
 6353|      0|                "attribute vec4  gl_MultiTexCoord5;"
 6354|      0|                "attribute vec4  gl_MultiTexCoord6;"
 6355|      0|                "attribute vec4  gl_MultiTexCoord7;"
 6356|      0|                "attribute float gl_FogCoord;"
 6357|      0|                "\n");
 6358|      7|        } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6358:20): [True: 0, False: 7]
  ------------------
 6359|      0|            stageBuiltins[EShLangVertex].append(
 6360|      0|                "in vec4  gl_Color;"
 6361|      0|                "in vec4  gl_SecondaryColor;"
 6362|      0|                "in vec3  gl_Normal;"
 6363|      0|                "in vec4  gl_Vertex;"
 6364|      0|                "in vec4  gl_MultiTexCoord0;"
 6365|      0|                "in vec4  gl_MultiTexCoord1;"
 6366|      0|                "in vec4  gl_MultiTexCoord2;"
 6367|      0|                "in vec4  gl_MultiTexCoord3;"
 6368|      0|                "in vec4  gl_MultiTexCoord4;"
 6369|      0|                "in vec4  gl_MultiTexCoord5;"
 6370|      0|                "in vec4  gl_MultiTexCoord6;"
 6371|      0|                "in vec4  gl_MultiTexCoord7;"
 6372|      0|                "in float gl_FogCoord;"
 6373|      0|                "\n");
 6374|      0|        }
 6375|       |
 6376|      7|        if (version < 150) {
  ------------------
  |  Branch (6376:13): [True: 0, False: 7]
  ------------------
 6377|      0|            if (version < 130) {
  ------------------
  |  Branch (6377:17): [True: 0, False: 0]
  ------------------
 6378|      0|                stageBuiltins[EShLangVertex].append(
 6379|      0|                    "        vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6380|      0|                    "varying vec4  gl_FrontColor;"
 6381|      0|                    "varying vec4  gl_BackColor;"
 6382|      0|                    "varying vec4  gl_FrontSecondaryColor;"
 6383|      0|                    "varying vec4  gl_BackSecondaryColor;"
 6384|      0|                    "varying vec4  gl_TexCoord[];"
 6385|      0|                    "varying float gl_FogFragCoord;"
 6386|      0|                    "\n");
 6387|      0|            } else if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6387:24): [True: 0, False: 0]
  ------------------
 6388|      0|                stageBuiltins[EShLangVertex].append(
 6389|      0|                    "    vec4  gl_ClipVertex;"       // needs qualifier fixed later
 6390|      0|                    "out vec4  gl_FrontColor;"
 6391|      0|                    "out vec4  gl_BackColor;"
 6392|      0|                    "out vec4  gl_FrontSecondaryColor;"
 6393|      0|                    "out vec4  gl_BackSecondaryColor;"
 6394|      0|                    "out vec4  gl_TexCoord[];"
 6395|      0|                    "out float gl_FogFragCoord;"
 6396|      0|                    "\n");
 6397|      0|            }
 6398|      0|            stageBuiltins[EShLangVertex].append(
 6399|      0|                "vec4 gl_Position;"   // needs qualifier fixed later
 6400|      0|                "float gl_PointSize;" // needs qualifier fixed later
 6401|      0|                );
 6402|       |
 6403|      0|            if (version == 130 || version == 140)
  ------------------
  |  Branch (6403:17): [True: 0, False: 0]
  |  Branch (6403:35): [True: 0, False: 0]
  ------------------
 6404|      0|                stageBuiltins[EShLangVertex].append(
 6405|      0|                    "out float gl_ClipDistance[];"
 6406|      0|                    );
 6407|      7|        } else {
 6408|       |            // version >= 150
 6409|      7|            stageBuiltins[EShLangVertex].append(
 6410|      7|                "out gl_PerVertex {"
 6411|      7|                    "vec4 gl_Position;"     // needs qualifier fixed later
 6412|      7|                    "float gl_PointSize;"   // needs qualifier fixed later
 6413|      7|                    "float gl_ClipDistance[];"
 6414|      7|                    );
 6415|      7|            if (IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (6415:17): [True: 0, False: 7]
  ------------------
 6416|      0|                stageBuiltins[EShLangVertex].append(
 6417|      0|                    "vec4 gl_ClipVertex;"   // needs qualifier fixed later
 6418|      0|                    "vec4 gl_FrontColor;"
 6419|      0|                    "vec4 gl_BackColor;"
 6420|      0|                    "vec4 gl_FrontSecondaryColor;"
 6421|      0|                    "vec4 gl_BackSecondaryColor;"
 6422|      0|                    "vec4 gl_TexCoord[];"
 6423|      0|                    "float gl_FogFragCoord;"
 6424|      0|                    );
 6425|      7|            if (version >= 450)
  ------------------
  |  Branch (6425:17): [True: 7, False: 0]
  ------------------
 6426|      7|                stageBuiltins[EShLangVertex].append(
 6427|      7|                    "float gl_CullDistance[];"
 6428|      7|                    );
 6429|      7|            stageBuiltins[EShLangVertex].append(
 6430|      7|                "};"
 6431|      7|                "\n");
 6432|      7|        }
 6433|      7|        if (version >= 130 && spvVersion.vulkan == 0)
  ------------------
  |  Branch (6433:13): [True: 7, False: 0]
  |  Branch (6433:31): [True: 0, False: 7]
  ------------------
 6434|      0|            stageBuiltins[EShLangVertex].append(
 6435|      0|                "int gl_VertexID;"            // needs qualifier fixed later
 6436|      0|                );
 6437|      7|        if (spvVersion.vulkan == 0)
  ------------------
  |  Branch (6437:13): [True: 0, False: 7]
  ------------------
 6438|      0|            stageBuiltins[EShLangVertex].append(
 6439|      0|                "int gl_InstanceID;"          // needs qualifier fixed later
 6440|      0|                );
 6441|      7|        if (spvVersion.vulkan > 0 && version >= 140)
  ------------------
  |  Branch (6441:13): [True: 7, False: 0]
  |  Branch (6441:38): [True: 7, False: 0]
  ------------------
 6442|      7|            stageBuiltins[EShLangVertex].append(
 6443|      7|                "in int gl_VertexIndex;"
 6444|      7|                "in int gl_InstanceIndex;"
 6445|      7|                );
 6446|       |
 6447|      7|        if (spvVersion.vulkan > 0 && version >= 140 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6447:13): [True: 7, False: 0]
  |  Branch (6447:38): [True: 7, False: 0]
  |  Branch (6447:56): [True: 0, False: 7]
  ------------------
 6448|      0|            stageBuiltins[EShLangVertex].append(
 6449|      0|                "in int gl_VertexID;"         // declare with 'in' qualifier
 6450|      0|                "in int gl_InstanceID;"
 6451|      0|                );
 6452|       |
 6453|      7|        if (version >= 440) {
  ------------------
  |  Branch (6453:13): [True: 7, False: 0]
  ------------------
 6454|      7|            stageBuiltins[EShLangVertex].append(
 6455|      7|                "in int gl_BaseVertexARB;"
 6456|      7|                "in int gl_BaseInstanceARB;"
 6457|      7|                "in int gl_DrawIDARB;"
 6458|      7|                );
 6459|      7|        }
 6460|      7|        if (version >= 410) {
  ------------------
  |  Branch (6460:13): [True: 7, False: 0]
  ------------------
 6461|      7|            stageBuiltins[EShLangVertex].append(
 6462|      7|                "out int gl_ViewportIndex;"
 6463|      7|                "out int gl_Layer;"
 6464|      7|                );
 6465|      7|        }
 6466|      7|        if (version >= 460) {
  ------------------
  |  Branch (6466:13): [True: 0, False: 7]
  ------------------
 6467|      0|            stageBuiltins[EShLangVertex].append(
 6468|      0|                "in int gl_BaseVertex;"
 6469|      0|                "in int gl_BaseInstance;"
 6470|      0|                "in int gl_DrawID;"
 6471|      0|                );
 6472|      0|        }
 6473|       |
 6474|      7|        if (version >= 430)
  ------------------
  |  Branch (6474:13): [True: 7, False: 0]
  ------------------
 6475|      7|            stageBuiltins[EShLangVertex].append(
 6476|      7|                "out int gl_ViewportMask[];"             // GL_NV_viewport_array2
 6477|      7|                );
 6478|       |
 6479|      7|        if (version >= 450)
  ------------------
  |  Branch (6479:13): [True: 7, False: 0]
  ------------------
 6480|      7|            stageBuiltins[EShLangVertex].append(
 6481|      7|                "out int gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6482|      7|                "out vec4 gl_SecondaryPositionNV;"       // GL_NV_stereo_view_rendering
 6483|      7|                "out vec4 gl_PositionPerViewNV[];"       // GL_NVX_multiview_per_view_attributes
 6484|      7|                "out int  gl_ViewportMaskPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6485|      7|                );
 6486|     38|    } else {
 6487|       |        // ES profile
 6488|     38|        if (version == 100) {
  ------------------
  |  Branch (6488:13): [True: 38, False: 0]
  ------------------
 6489|     38|            stageBuiltins[EShLangVertex].append(
 6490|     38|                "highp   vec4  gl_Position;"  // needs qualifier fixed later
 6491|     38|                "mediump float gl_PointSize;" // needs qualifier fixed later
 6492|     38|                "highp int gl_InstanceID;" // needs qualifier fixed later
 6493|     38|                );
 6494|     38|        } else {
 6495|      0|            if (spvVersion.vulkan == 0 || spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (6495:17): [True: 0, False: 0]
  |  Branch (6495:43): [True: 0, False: 0]
  ------------------
 6496|      0|                stageBuiltins[EShLangVertex].append(
 6497|      0|                    "in highp int gl_VertexID;"      // needs qualifier fixed later
 6498|      0|                    "in highp int gl_InstanceID;"    // needs qualifier fixed later
 6499|      0|                    );
 6500|      0|            if (spvVersion.vulkan > 0)
  ------------------
  |  Branch (6500:17): [True: 0, False: 0]
  ------------------
 6501|      0|                stageBuiltins[EShLangVertex].append(
 6502|      0|                    "in highp int gl_VertexIndex;"
 6503|      0|                    "in highp int gl_InstanceIndex;"
 6504|      0|                    );
 6505|      0|            if (version < 310)
  ------------------
  |  Branch (6505:17): [True: 0, False: 0]
  ------------------
 6506|      0|                stageBuiltins[EShLangVertex].append(
 6507|      0|                    "highp vec4  gl_Position;"    // needs qualifier fixed later
 6508|      0|                    "highp float gl_PointSize;"   // needs qualifier fixed later
 6509|      0|                    );
 6510|      0|            else
 6511|      0|                stageBuiltins[EShLangVertex].append(
 6512|      0|                    "out gl_PerVertex {"
 6513|      0|                        "highp vec4  gl_Position;"    // needs qualifier fixed later
 6514|      0|                        "highp float gl_PointSize;"   // needs qualifier fixed later
 6515|      0|                    "};"
 6516|      0|                    );
 6517|      0|        }
 6518|     38|    }
 6519|       |
 6520|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6520:10): [True: 7, False: 38]
  |  Branch (6520:35): [True: 7, False: 0]
  ------------------
 6521|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6521:10): [True: 38, False: 0]
  |  Branch (6521:35): [True: 0, False: 38]
  ------------------
 6522|      7|        stageBuiltins[EShLangVertex].append(
 6523|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6524|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6525|      7|            "\n");
 6526|      7|    }
 6527|       |
 6528|     45|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (6528:9): [True: 7, False: 38]
  ------------------
 6529|      7|        stageBuiltins[EShLangVertex].append(
 6530|      7|            "in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 6531|      7|            "\n");
 6532|      7|    }
 6533|       |
 6534|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6534:10): [True: 7, False: 38]
  |  Branch (6534:35): [True: 7, False: 0]
  |  Branch (6534:55): [True: 38, False: 0]
  |  Branch (6534:80): [True: 0, False: 38]
  ------------------
 6535|      7|        stageBuiltins[EShLangVertex].append(
 6536|      7|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6537|      7|            "\n");
 6538|      7|    }
 6539|       |
 6540|       |    //============================================================================
 6541|       |    //
 6542|       |    // Define the interface to the geometry shader.
 6543|       |    //
 6544|       |    //============================================================================
 6545|       |
 6546|     45|    if (profile == ECoreProfile || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (6546:9): [True: 7, False: 38]
  |  Branch (6546:36): [True: 0, False: 38]
  ------------------
 6547|      7|        stageBuiltins[EShLangGeometry].append(
 6548|      7|            "in gl_PerVertex {"
 6549|      7|                "vec4 gl_Position;"
 6550|      7|                "float gl_PointSize;"
 6551|      7|                "float gl_ClipDistance[];"
 6552|      7|                );
 6553|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6553:13): [True: 0, False: 7]
  ------------------
 6554|      0|            stageBuiltins[EShLangGeometry].append(
 6555|      0|                "vec4 gl_ClipVertex;"
 6556|      0|                "vec4 gl_FrontColor;"
 6557|      0|                "vec4 gl_BackColor;"
 6558|      0|                "vec4 gl_FrontSecondaryColor;"
 6559|      0|                "vec4 gl_BackSecondaryColor;"
 6560|      0|                "vec4 gl_TexCoord[];"
 6561|      0|                "float gl_FogFragCoord;"
 6562|      0|                );
 6563|      7|        if (version >= 450)
  ------------------
  |  Branch (6563:13): [True: 7, False: 0]
  ------------------
 6564|      7|            stageBuiltins[EShLangGeometry].append(
 6565|      7|                "float gl_CullDistance[];"
 6566|      7|                "vec4 gl_SecondaryPositionNV;"   // GL_NV_stereo_view_rendering
 6567|      7|                "vec4 gl_PositionPerViewNV[];"   // GL_NVX_multiview_per_view_attributes
 6568|      7|                );
 6569|      7|        stageBuiltins[EShLangGeometry].append(
 6570|      7|            "} gl_in[];"
 6571|       |
 6572|      7|            "in int gl_PrimitiveIDIn;"
 6573|      7|            "out gl_PerVertex {"
 6574|      7|                "vec4 gl_Position;"
 6575|      7|                "float gl_PointSize;"
 6576|      7|                "float gl_ClipDistance[];"
 6577|      7|                "\n");
 6578|      7|        if (profile == ECompatibilityProfile && version >= 400)
  ------------------
  |  Branch (6578:13): [True: 0, False: 7]
  |  Branch (6578:49): [True: 0, False: 0]
  ------------------
 6579|      0|            stageBuiltins[EShLangGeometry].append(
 6580|      0|                "vec4 gl_ClipVertex;"
 6581|      0|                "vec4 gl_FrontColor;"
 6582|      0|                "vec4 gl_BackColor;"
 6583|      0|                "vec4 gl_FrontSecondaryColor;"
 6584|      0|                "vec4 gl_BackSecondaryColor;"
 6585|      0|                "vec4 gl_TexCoord[];"
 6586|      0|                "float gl_FogFragCoord;"
 6587|      0|                );
 6588|      7|        if (version >= 450)
  ------------------
  |  Branch (6588:13): [True: 7, False: 0]
  ------------------
 6589|      7|            stageBuiltins[EShLangGeometry].append(
 6590|      7|                "float gl_CullDistance[];"
 6591|      7|                );
 6592|      7|        stageBuiltins[EShLangGeometry].append(
 6593|      7|            "};"
 6594|       |
 6595|      7|            "out int gl_PrimitiveID;"
 6596|      7|            "out int gl_Layer;");
 6597|       |
 6598|      7|        if (version >= 150)
  ------------------
  |  Branch (6598:13): [True: 7, False: 0]
  ------------------
 6599|      7|            stageBuiltins[EShLangGeometry].append(
 6600|      7|            "out int gl_ViewportIndex;"
 6601|      7|            );
 6602|       |
 6603|      7|        if (profile == ECompatibilityProfile && version < 400)
  ------------------
  |  Branch (6603:13): [True: 0, False: 7]
  |  Branch (6603:49): [True: 0, False: 0]
  ------------------
 6604|      0|            stageBuiltins[EShLangGeometry].append(
 6605|      0|            "out vec4 gl_ClipVertex;"
 6606|      0|            );
 6607|       |
 6608|      7|        if (version >= 150)
  ------------------
  |  Branch (6608:13): [True: 7, False: 0]
  ------------------
 6609|      7|            stageBuiltins[EShLangGeometry].append(
 6610|      7|            "in int gl_InvocationID;"
 6611|      7|            );
 6612|       |
 6613|      7|        if (version >= 430)
  ------------------
  |  Branch (6613:13): [True: 7, False: 0]
  ------------------
 6614|      7|            stageBuiltins[EShLangGeometry].append(
 6615|      7|                "out int gl_ViewportMask[];"               // GL_NV_viewport_array2
 6616|      7|            );
 6617|       |
 6618|      7|        if (version >= 450)
  ------------------
  |  Branch (6618:13): [True: 7, False: 0]
  ------------------
 6619|      7|            stageBuiltins[EShLangGeometry].append(
 6620|      7|                "out int gl_SecondaryViewportMaskNV[];"    // GL_NV_stereo_view_rendering
 6621|      7|                "out vec4 gl_SecondaryPositionNV;"         // GL_NV_stereo_view_rendering
 6622|      7|                "out vec4 gl_PositionPerViewNV[];"         // GL_NVX_multiview_per_view_attributes
 6623|      7|                "out int  gl_ViewportMaskPerViewNV[];"     // GL_NVX_multiview_per_view_attributes
 6624|      7|            );
 6625|       |
 6626|      7|        stageBuiltins[EShLangGeometry].append("\n");
 6627|     38|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6627:16): [True: 38, False: 0]
  |  Branch (6627:41): [True: 0, False: 38]
  ------------------
 6628|      0|        stageBuiltins[EShLangGeometry].append(
 6629|      0|            "in gl_PerVertex {"
 6630|      0|                "highp vec4 gl_Position;"
 6631|      0|                "highp float gl_PointSize;"
 6632|      0|            "} gl_in[];"
 6633|      0|            "\n"
 6634|      0|            "in highp int gl_PrimitiveIDIn;"
 6635|      0|            "in highp int gl_InvocationID;"
 6636|      0|            "\n"
 6637|      0|            "out gl_PerVertex {"
 6638|      0|                "highp vec4 gl_Position;"
 6639|      0|                "highp float gl_PointSize;"
 6640|      0|            "};"
 6641|      0|            "\n"
 6642|      0|            "out highp int gl_PrimitiveID;"
 6643|      0|            "out highp int gl_Layer;"
 6644|      0|            "\n"
 6645|      0|            );
 6646|      0|    }
 6647|       |
 6648|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6648:10): [True: 7, False: 38]
  |  Branch (6648:35): [True: 7, False: 0]
  ------------------
 6649|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6649:10): [True: 38, False: 0]
  |  Branch (6649:35): [True: 0, False: 38]
  ------------------
 6650|      7|        stageBuiltins[EShLangGeometry].append(
 6651|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6652|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6653|      7|            "\n");
 6654|      7|    }
 6655|       |
 6656|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6656:10): [True: 7, False: 38]
  |  Branch (6656:35): [True: 7, False: 0]
  |  Branch (6656:55): [True: 38, False: 0]
  |  Branch (6656:80): [True: 0, False: 38]
  ------------------
 6657|      7|        stageBuiltins[EShLangGeometry].append(
 6658|      7|            "out highp int gl_PrimitiveShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6659|      7|            "\n");
 6660|      7|    }
 6661|       |
 6662|       |    //============================================================================
 6663|       |    //
 6664|       |    // Define the interface to the tessellation control shader.
 6665|       |    //
 6666|       |    //============================================================================
 6667|       |
 6668|     45|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6668:9): [True: 7, False: 38]
  |  Branch (6668:34): [True: 7, False: 0]
  ------------------
 6669|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6670|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6671|       |
 6672|      7|        stageBuiltins[EShLangTessControl].append(
 6673|      7|            "in int gl_PatchVerticesIn;"
 6674|      7|            "in int gl_PrimitiveID;"
 6675|      7|            "in int gl_InvocationID;"
 6676|       |
 6677|      7|            "out gl_PerVertex {"
 6678|      7|                "vec4 gl_Position;"
 6679|      7|                "float gl_PointSize;"
 6680|      7|                "float gl_ClipDistance[];"
 6681|      7|                );
 6682|      7|        if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (6682:13): [True: 0, False: 7]
  ------------------
 6683|      0|            stageBuiltins[EShLangTessControl].append(
 6684|      0|                "vec4 gl_ClipVertex;"
 6685|      0|                "vec4 gl_FrontColor;"
 6686|      0|                "vec4 gl_BackColor;"
 6687|      0|                "vec4 gl_FrontSecondaryColor;"
 6688|      0|                "vec4 gl_BackSecondaryColor;"
 6689|      0|                "vec4 gl_TexCoord[];"
 6690|      0|                "float gl_FogFragCoord;"
 6691|      0|                );
 6692|      7|        if (version >= 450)
  ------------------
  |  Branch (6692:13): [True: 7, False: 0]
  ------------------
 6693|      7|            stageBuiltins[EShLangTessControl].append(
 6694|      7|                "float gl_CullDistance[];"
 6695|      7|            );
 6696|      7|        if (version >= 430)
  ------------------
  |  Branch (6696:13): [True: 7, False: 0]
  ------------------
 6697|      7|            stageBuiltins[EShLangTessControl].append(
 6698|      7|                "int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6699|      7|            );
 6700|      7|        if (version >= 450)
  ------------------
  |  Branch (6700:13): [True: 7, False: 0]
  ------------------
 6701|      7|            stageBuiltins[EShLangTessControl].append(
 6702|      7|                "vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6703|      7|                "int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6704|      7|                "vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6705|      7|                "int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6706|      7|                );
 6707|      7|        stageBuiltins[EShLangTessControl].append(
 6708|      7|            "} gl_out[];"
 6709|       |
 6710|      7|            "patch out float gl_TessLevelOuter[4];"
 6711|      7|            "patch out float gl_TessLevelInner[2];"
 6712|      7|            "\n");
 6713|       |
 6714|      7|        if (version >= 410)
  ------------------
  |  Branch (6714:13): [True: 7, False: 0]
  ------------------
 6715|      7|            stageBuiltins[EShLangTessControl].append(
 6716|      7|                "out int gl_ViewportIndex;"
 6717|      7|                "out int gl_Layer;"
 6718|      7|                "\n");
 6719|       |
 6720|     38|    } else {
 6721|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6722|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6723|       |
 6724|     38|        stageBuiltins[EShLangTessControl].append(
 6725|     38|            "in highp int gl_PatchVerticesIn;"
 6726|     38|            "in highp int gl_PrimitiveID;"
 6727|     38|            "in highp int gl_InvocationID;"
 6728|       |
 6729|     38|            "out gl_PerVertex {"
 6730|     38|                "highp vec4 gl_Position;"
 6731|     38|                "highp float gl_PointSize;"
 6732|     38|                );
 6733|     38|        stageBuiltins[EShLangTessControl].append(
 6734|     38|            "} gl_out[];"
 6735|       |
 6736|     38|            "patch out highp float gl_TessLevelOuter[4];"
 6737|     38|            "patch out highp float gl_TessLevelInner[2];"
 6738|     38|            "patch out highp vec4 gl_BoundingBoxOES[2];"
 6739|     38|            "patch out highp vec4 gl_BoundingBoxEXT[2];"
 6740|     38|            "\n");
 6741|     38|        if (profile == EEsProfile && version >= 320) {
  ------------------
  |  Branch (6741:13): [True: 38, False: 0]
  |  Branch (6741:38): [True: 0, False: 38]
  ------------------
 6742|      0|            stageBuiltins[EShLangTessControl].append(
 6743|      0|                "patch out highp vec4 gl_BoundingBox[2];"
 6744|      0|                "\n"
 6745|      0|            );
 6746|      0|        }
 6747|     38|    }
 6748|       |
 6749|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6749:10): [True: 7, False: 38]
  |  Branch (6749:35): [True: 7, False: 0]
  ------------------
 6750|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6750:10): [True: 38, False: 0]
  |  Branch (6750:35): [True: 0, False: 38]
  ------------------
 6751|      7|        stageBuiltins[EShLangTessControl].append(
 6752|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6753|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6754|      7|            "\n");
 6755|      7|    }
 6756|       |
 6757|       |    //============================================================================
 6758|       |    //
 6759|       |    // Define the interface to the tessellation evaluation shader.
 6760|       |    //
 6761|       |    //============================================================================
 6762|       |
 6763|     45|    if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (6763:9): [True: 7, False: 38]
  |  Branch (6763:34): [True: 7, False: 0]
  ------------------
 6764|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6765|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6766|       |
 6767|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6768|      7|            "in int gl_PatchVerticesIn;"
 6769|      7|            "in int gl_PrimitiveID;"
 6770|      7|            "in vec3 gl_TessCoord;"
 6771|       |
 6772|      7|            "patch in float gl_TessLevelOuter[4];"
 6773|      7|            "patch in float gl_TessLevelInner[2];"
 6774|       |
 6775|      7|            "out gl_PerVertex {"
 6776|      7|                "vec4 gl_Position;"
 6777|      7|                "float gl_PointSize;"
 6778|      7|                "float gl_ClipDistance[];"
 6779|      7|            );
 6780|      7|        if (version >= 400 && profile == ECompatibilityProfile)
  ------------------
  |  Branch (6780:13): [True: 7, False: 0]
  |  Branch (6780:31): [True: 0, False: 7]
  ------------------
 6781|      0|            stageBuiltins[EShLangTessEvaluation].append(
 6782|      0|                "vec4 gl_ClipVertex;"
 6783|      0|                "vec4 gl_FrontColor;"
 6784|      0|                "vec4 gl_BackColor;"
 6785|      0|                "vec4 gl_FrontSecondaryColor;"
 6786|      0|                "vec4 gl_BackSecondaryColor;"
 6787|      0|                "vec4 gl_TexCoord[];"
 6788|      0|                "float gl_FogFragCoord;"
 6789|      0|                );
 6790|      7|        if (version >= 450)
  ------------------
  |  Branch (6790:13): [True: 7, False: 0]
  ------------------
 6791|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6792|      7|                "float gl_CullDistance[];"
 6793|      7|                );
 6794|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6795|      7|            "};"
 6796|      7|            "\n");
 6797|       |
 6798|      7|        if (version >= 410)
  ------------------
  |  Branch (6798:13): [True: 7, False: 0]
  ------------------
 6799|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6800|      7|                "out int gl_ViewportIndex;"
 6801|      7|                "out int gl_Layer;"
 6802|      7|                "\n");
 6803|       |
 6804|      7|        if (version >= 430)
  ------------------
  |  Branch (6804:13): [True: 7, False: 0]
  ------------------
 6805|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6806|      7|                "out int  gl_ViewportMask[];"             // GL_NV_viewport_array2
 6807|      7|            );
 6808|       |
 6809|      7|        if (version >= 450)
  ------------------
  |  Branch (6809:13): [True: 7, False: 0]
  ------------------
 6810|      7|            stageBuiltins[EShLangTessEvaluation].append(
 6811|      7|                "out vec4 gl_SecondaryPositionNV;"        // GL_NV_stereo_view_rendering
 6812|      7|                "out int  gl_SecondaryViewportMaskNV[];"  // GL_NV_stereo_view_rendering
 6813|      7|                "out vec4 gl_PositionPerViewNV[];"        // GL_NVX_multiview_per_view_attributes
 6814|      7|                "out int  gl_ViewportMaskPerViewNV[];"    // GL_NVX_multiview_per_view_attributes
 6815|      7|                );
 6816|       |
 6817|     38|    } else if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (6817:16): [True: 38, False: 0]
  |  Branch (6817:41): [True: 0, False: 38]
  ------------------
 6818|       |        // Note:  "in gl_PerVertex {...} gl_in[gl_MaxPatchVertices];" is declared in initialize() below,
 6819|       |        // as it depends on the resource sizing of gl_MaxPatchVertices.
 6820|       |
 6821|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6822|      0|            "in highp int gl_PatchVerticesIn;"
 6823|      0|            "in highp int gl_PrimitiveID;"
 6824|      0|            "in highp vec3 gl_TessCoord;"
 6825|       |
 6826|      0|            "patch in highp float gl_TessLevelOuter[4];"
 6827|      0|            "patch in highp float gl_TessLevelInner[2];"
 6828|       |
 6829|      0|            "out gl_PerVertex {"
 6830|      0|                "highp vec4 gl_Position;"
 6831|      0|                "highp float gl_PointSize;"
 6832|      0|            );
 6833|      0|        stageBuiltins[EShLangTessEvaluation].append(
 6834|      0|            "};"
 6835|      0|            "\n");
 6836|      0|    }
 6837|       |
 6838|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (6838:10): [True: 7, False: 38]
  |  Branch (6838:35): [True: 7, False: 0]
  ------------------
 6839|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (6839:10): [True: 38, False: 0]
  |  Branch (6839:35): [True: 0, False: 38]
  ------------------
 6840|      7|        stageBuiltins[EShLangTessEvaluation].append(
 6841|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 6842|      7|            "in highp int gl_ViewIndex;"       // GL_EXT_multiview
 6843|      7|            "\n");
 6844|      7|    }
 6845|       |
 6846|       |    //============================================================================
 6847|       |    //
 6848|       |    // Define the interface to the fragment shader.
 6849|       |    //
 6850|       |    //============================================================================
 6851|       |
 6852|     45|    if (profile != EEsProfile) {
  ------------------
  |  Branch (6852:9): [True: 7, False: 38]
  ------------------
 6853|       |
 6854|      7|        stageBuiltins[EShLangFragment].append(
 6855|      7|            "vec4  gl_FragCoord;"   // needs qualifier fixed later
 6856|      7|            "bool  gl_FrontFacing;" // needs qualifier fixed later
 6857|      7|            "float gl_FragDepth;"   // needs qualifier fixed later
 6858|      7|            );
 6859|      7|        if (version >= 120)
  ------------------
  |  Branch (6859:13): [True: 7, False: 0]
  ------------------
 6860|      7|            stageBuiltins[EShLangFragment].append(
 6861|      7|                "vec2 gl_PointCoord;"  // needs qualifier fixed later
 6862|      7|                );
 6863|      7|        if (version >= 140)
  ------------------
  |  Branch (6863:13): [True: 7, False: 0]
  ------------------
 6864|      7|            stageBuiltins[EShLangFragment].append(
 6865|      7|                "out int gl_FragStencilRefARB;"
 6866|      7|                );
 6867|      7|        if (IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && version < 420))
  ------------------
  |  Branch (6867:13): [True: 0, False: 7]
  |  Branch (6867:61): [True: 7, Folded]
  |  Branch (6867:87): [True: 0, False: 7]
  ------------------
 6868|      0|            stageBuiltins[EShLangFragment].append(
 6869|      0|                "vec4 gl_FragColor;"   // needs qualifier fixed later
 6870|      0|                );
 6871|       |
 6872|      7|        if (version < 130) {
  ------------------
  |  Branch (6872:13): [True: 0, False: 7]
  ------------------
 6873|      0|            stageBuiltins[EShLangFragment].append(
 6874|      0|                "varying vec4  gl_Color;"
 6875|      0|                "varying vec4  gl_SecondaryColor;"
 6876|      0|                "varying vec4  gl_TexCoord[];"
 6877|      0|                "varying float gl_FogFragCoord;"
 6878|      0|                );
 6879|      7|        } else {
 6880|      7|            stageBuiltins[EShLangFragment].append(
 6881|      7|                "in float gl_ClipDistance[];"
 6882|      7|                );
 6883|       |
 6884|      7|            if (IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (6884:17): [True: 0, False: 7]
  ------------------
 6885|      0|                if (version < 150)
  ------------------
  |  Branch (6885:21): [True: 0, False: 0]
  ------------------
 6886|      0|                    stageBuiltins[EShLangFragment].append(
 6887|      0|                        "in float gl_FogFragCoord;"
 6888|      0|                        "in vec4  gl_TexCoord[];"
 6889|      0|                        "in vec4  gl_Color;"
 6890|      0|                        "in vec4  gl_SecondaryColor;"
 6891|      0|                        );
 6892|      0|                else
 6893|      0|                    stageBuiltins[EShLangFragment].append(
 6894|      0|                        "in gl_PerFragment {"
 6895|      0|                            "in float gl_FogFragCoord;"
 6896|      0|                            "in vec4  gl_TexCoord[];"
 6897|      0|                            "in vec4  gl_Color;"
 6898|      0|                            "in vec4  gl_SecondaryColor;"
 6899|      0|                        "};"
 6900|      0|                        );
 6901|      0|            }
 6902|      7|        }
 6903|       |
 6904|      7|        if (version >= 150)
  ------------------
  |  Branch (6904:13): [True: 7, False: 0]
  ------------------
 6905|      7|            stageBuiltins[EShLangFragment].append(
 6906|      7|                "flat in int gl_PrimitiveID;"
 6907|      7|                );
 6908|       |
 6909|      7|        if (version >= 130) { // ARB_sample_shading
  ------------------
  |  Branch (6909:13): [True: 7, False: 0]
  ------------------
 6910|      7|            stageBuiltins[EShLangFragment].append(
 6911|      7|                "flat in  int  gl_SampleID;"
 6912|      7|                "     in  vec2 gl_SamplePosition;"
 6913|      7|                "     out int  gl_SampleMask[];"
 6914|      7|                );
 6915|       |
 6916|      7|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (6916:17): [True: 7, False: 0]
  ------------------
 6917|      7|                stageBuiltins[EShLangFragment].append(
 6918|      7|                    "uniform int gl_NumSamples;"
 6919|      7|                );
 6920|      7|            }
 6921|      7|        }
 6922|       |
 6923|      7|        if (version >= 150)
  ------------------
  |  Branch (6923:13): [True: 7, False: 0]
  ------------------
 6924|      7|            stageBuiltins[EShLangFragment].append(
 6925|      7|                "flat in  int  gl_SampleMaskIn[];"
 6926|      7|            );
 6927|       |
 6928|      7|        if (version >= 430)
  ------------------
  |  Branch (6928:13): [True: 7, False: 0]
  ------------------
 6929|      7|            stageBuiltins[EShLangFragment].append(
 6930|      7|                "flat in int gl_Layer;"
 6931|      7|                "flat in int gl_ViewportIndex;"
 6932|      7|                );
 6933|       |
 6934|      7|        if (version >= 450)
  ------------------
  |  Branch (6934:13): [True: 7, False: 0]
  ------------------
 6935|      7|            stageBuiltins[EShLangFragment].append(
 6936|      7|                "in float gl_CullDistance[];"
 6937|      7|                "bool gl_HelperInvocation;"     // needs qualifier fixed later
 6938|      7|                );
 6939|       |
 6940|      7|        if (version >= 450)
  ------------------
  |  Branch (6940:13): [True: 7, False: 0]
  ------------------
 6941|      7|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 6942|      7|                "flat in ivec2 gl_FragSizeEXT;"
 6943|      7|                "flat in int   gl_FragInvocationCountEXT;"
 6944|      7|                );
 6945|       |
 6946|      7|        if (version >= 450)
  ------------------
  |  Branch (6946:13): [True: 7, False: 0]
  ------------------
 6947|      7|            stageBuiltins[EShLangFragment].append(
 6948|      7|                "in vec2 gl_BaryCoordNoPerspAMD;"
 6949|      7|                "in vec2 gl_BaryCoordNoPerspCentroidAMD;"
 6950|      7|                "in vec2 gl_BaryCoordNoPerspSampleAMD;"
 6951|      7|                "in vec2 gl_BaryCoordSmoothAMD;"
 6952|      7|                "in vec2 gl_BaryCoordSmoothCentroidAMD;"
 6953|      7|                "in vec2 gl_BaryCoordSmoothSampleAMD;"
 6954|      7|                "in vec3 gl_BaryCoordPullModelAMD;"
 6955|      7|                );
 6956|       |
 6957|      7|        if (version >= 430)
  ------------------
  |  Branch (6957:13): [True: 7, False: 0]
  ------------------
 6958|      7|            stageBuiltins[EShLangFragment].append(
 6959|      7|                "in bool gl_FragFullyCoveredNV;"
 6960|      7|                );
 6961|      7|        if (version >= 450)
  ------------------
  |  Branch (6961:13): [True: 7, False: 0]
  ------------------
 6962|      7|            stageBuiltins[EShLangFragment].append(
 6963|      7|                "flat in ivec2 gl_FragmentSizeNV;"          // GL_NV_shading_rate_image
 6964|      7|                "flat in int   gl_InvocationsPerPixelNV;"
 6965|      7|                "in vec3 gl_BaryCoordNV;"                   // GL_NV_fragment_shader_barycentric
 6966|      7|                "in vec3 gl_BaryCoordNoPerspNV;"
 6967|      7|                "in vec3 gl_BaryCoordEXT;"                  // GL_EXT_fragment_shader_barycentric
 6968|      7|                "in vec3 gl_BaryCoordNoPerspEXT;"
 6969|      7|                );
 6970|       |
 6971|      7|        if (version >= 450)
  ------------------
  |  Branch (6971:13): [True: 7, False: 0]
  ------------------
 6972|      7|            stageBuiltins[EShLangFragment].append(
 6973|      7|                "flat in int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 6974|      7|            );
 6975|       |
 6976|     38|    } else {
 6977|       |        // ES profile
 6978|       |
 6979|     38|        if (version == 100) {
  ------------------
  |  Branch (6979:13): [True: 38, False: 0]
  ------------------
 6980|     38|            stageBuiltins[EShLangFragment].append(
 6981|     38|                "mediump vec4 gl_FragCoord;"    // needs qualifier fixed later
 6982|     38|                "        bool gl_FrontFacing;"  // needs qualifier fixed later
 6983|     38|                "mediump vec4 gl_FragColor;"    // needs qualifier fixed later
 6984|     38|                "mediump vec2 gl_PointCoord;"   // needs qualifier fixed later
 6985|     38|                );
 6986|     38|        }
 6987|     38|        if (version >= 300) {
  ------------------
  |  Branch (6987:13): [True: 0, False: 38]
  ------------------
 6988|      0|            stageBuiltins[EShLangFragment].append(
 6989|      0|                "highp   vec4  gl_FragCoord;"    // needs qualifier fixed later
 6990|      0|                "        bool  gl_FrontFacing;"  // needs qualifier fixed later
 6991|      0|                "mediump vec2  gl_PointCoord;"   // needs qualifier fixed later
 6992|      0|                "highp   float gl_FragDepth;"    // needs qualifier fixed later
 6993|      0|                );
 6994|      0|        }
 6995|     38|        if (version >= 310) {
  ------------------
  |  Branch (6995:13): [True: 0, False: 38]
  ------------------
 6996|      0|            stageBuiltins[EShLangFragment].append(
 6997|      0|                "bool gl_HelperInvocation;"          // needs qualifier fixed later
 6998|      0|                "flat in highp int gl_PrimitiveID;"  // needs qualifier fixed later
 6999|      0|                "flat in highp int gl_Layer;"        // needs qualifier fixed later
 7000|      0|                );
 7001|       |
 7002|      0|            stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7003|      0|                "flat  in lowp     int gl_SampleID;"
 7004|      0|                "      in mediump vec2 gl_SamplePosition;"
 7005|      0|                "flat  in highp    int gl_SampleMaskIn[];"
 7006|      0|                "     out highp    int gl_SampleMask[];"
 7007|      0|                );
 7008|      0|            if (spvVersion.spv == 0)
  ------------------
  |  Branch (7008:17): [True: 0, False: 0]
  ------------------
 7009|      0|                stageBuiltins[EShLangFragment].append(  // GL_OES_sample_variables
 7010|      0|                    "uniform lowp int gl_NumSamples;"
 7011|      0|                    );
 7012|      0|        }
 7013|     38|        stageBuiltins[EShLangFragment].append(
 7014|     38|            "highp float gl_FragDepthEXT;"       // GL_EXT_frag_depth
 7015|     38|            );
 7016|       |
 7017|     38|        if (version >= 310)
  ------------------
  |  Branch (7017:13): [True: 0, False: 38]
  ------------------
 7018|      0|            stageBuiltins[EShLangFragment].append( // GL_EXT_fragment_invocation_density
 7019|      0|                "flat in ivec2 gl_FragSizeEXT;"
 7020|      0|                "flat in int   gl_FragInvocationCountEXT;"
 7021|      0|            );
 7022|     38|        if (version >= 320)
  ------------------
  |  Branch (7022:13): [True: 0, False: 38]
  ------------------
 7023|      0|            stageBuiltins[EShLangFragment].append( // GL_NV_shading_rate_image
 7024|      0|                "flat in ivec2 gl_FragmentSizeNV;"
 7025|      0|                "flat in int   gl_InvocationsPerPixelNV;"
 7026|      0|            );
 7027|     38|        if (version >= 320)
  ------------------
  |  Branch (7027:13): [True: 0, False: 38]
  ------------------
 7028|      0|            stageBuiltins[EShLangFragment].append(
 7029|      0|                "in vec3 gl_BaryCoordNV;"
 7030|      0|                "in vec3 gl_BaryCoordNoPerspNV;"
 7031|      0|                "in vec3 gl_BaryCoordEXT;"
 7032|      0|                "in vec3 gl_BaryCoordNoPerspEXT;"
 7033|      0|            );
 7034|     38|        if (version >= 310)
  ------------------
  |  Branch (7034:13): [True: 0, False: 38]
  ------------------
 7035|      0|            stageBuiltins[EShLangFragment].append(
 7036|      0|                "flat in highp int gl_ShadingRateEXT;" // GL_EXT_fragment_shading_rate
 7037|      0|            );
 7038|     38|    }
 7039|       |
 7040|     45|    stageBuiltins[EShLangFragment].append("\n");
 7041|       |
 7042|     45|    if (version >= 130)
  ------------------
  |  Branch (7042:9): [True: 7, False: 38]
  ------------------
 7043|      7|        add2ndGenerationSamplingImaging(version, profile, spvVersion);
 7044|       |
 7045|     45|    if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (7045:10): [True: 7, False: 38]
  |  Branch (7045:35): [True: 7, False: 0]
  ------------------
 7046|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7046:10): [True: 38, False: 0]
  |  Branch (7046:35): [True: 0, False: 38]
  ------------------
 7047|      7|        stageBuiltins[EShLangFragment].append(
 7048|      7|            "flat in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7049|      7|            "flat in highp int gl_ViewIndex;"       // GL_EXT_multiview
 7050|      7|            "\n");
 7051|      7|    }
 7052|       |
 7053|     45|    if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (7053:9): [True: 7, False: 38]
  ------------------
 7054|      7|        stageBuiltins[EShLangFragment].append(
 7055|      7|            "flat in highp uint gl_ViewID_OVR;"     // GL_OVR_multiview, GL_OVR_multiview2
 7056|      7|            "\n");
 7057|      7|    }
 7058|       |    
 7059|       |    // GL_QCOM_tile_shading
 7060|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7060:10): [True: 38, False: 7]
  |  Branch (7060:35): [True: 0, False: 38]
  ------------------
 7061|     45|        (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (7061:10): [True: 7, False: 38]
  |  Branch (7061:35): [True: 0, False: 7]
  ------------------
 7062|      0|        stageBuiltins[EShLangFragment].append(
 7063|      0|            "flat in highp uvec2 gl_TileOffsetQCOM;"     // GL_QCOM_tile_shading
 7064|      0|            "flat in highp uvec3 gl_TileDimensionQCOM;"  // GL_QCOM_tile_shading
 7065|      0|            "flat in highp uvec2 gl_TileApronSizeQCOM;"  // GL_QCOM_tile_shading
 7066|      0|            "\n");
 7067|      0|    }
 7068|       |
 7069|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7069:10): [True: 38, False: 7]
  |  Branch (7069:35): [True: 0, False: 38]
  ------------------
 7070|     45|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (7070:10): [True: 7, False: 38]
  |  Branch (7070:35): [True: 7, False: 0]
  ------------------
 7071|      7|        addGatherFunctionsQCOM();
 7072|      7|    }
 7073|       |
 7074|       |    // GL_ARB_shader_ballot
 7075|     45|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7075:9): [True: 7, False: 38]
  |  Branch (7075:34): [True: 7, False: 0]
  ------------------
 7076|      7|        const char* ballotDecls =
 7077|      7|            "uniform uint gl_SubGroupSizeARB;"
 7078|      7|            "in uint     gl_SubGroupInvocationARB;"
 7079|      7|            "in uint64_t gl_SubGroupEqMaskARB;"
 7080|      7|            "in uint64_t gl_SubGroupGeMaskARB;"
 7081|      7|            "in uint64_t gl_SubGroupGtMaskARB;"
 7082|      7|            "in uint64_t gl_SubGroupLeMaskARB;"
 7083|      7|            "in uint64_t gl_SubGroupLtMaskARB;"
 7084|      7|            "\n";
 7085|      7|        const char* rtBallotDecls =
 7086|      7|            "uniform volatile uint gl_SubGroupSizeARB;"
 7087|      7|            "in volatile uint     gl_SubGroupInvocationARB;"
 7088|      7|            "in volatile uint64_t gl_SubGroupEqMaskARB;"
 7089|      7|            "in volatile uint64_t gl_SubGroupGeMaskARB;"
 7090|      7|            "in volatile uint64_t gl_SubGroupGtMaskARB;"
 7091|      7|            "in volatile uint64_t gl_SubGroupLeMaskARB;"
 7092|      7|            "in volatile uint64_t gl_SubGroupLtMaskARB;"
 7093|      7|            "\n";
 7094|      7|        const char* fragmentBallotDecls =
 7095|      7|            "uniform uint gl_SubGroupSizeARB;"
 7096|      7|            "flat in uint     gl_SubGroupInvocationARB;"
 7097|      7|            "flat in uint64_t gl_SubGroupEqMaskARB;"
 7098|      7|            "flat in uint64_t gl_SubGroupGeMaskARB;"
 7099|      7|            "flat in uint64_t gl_SubGroupGtMaskARB;"
 7100|      7|            "flat in uint64_t gl_SubGroupLeMaskARB;"
 7101|      7|            "flat in uint64_t gl_SubGroupLtMaskARB;"
 7102|      7|            "\n";
 7103|      7|        stageBuiltins[EShLangVertex]        .append(ballotDecls);
 7104|      7|        stageBuiltins[EShLangTessControl]   .append(ballotDecls);
 7105|      7|        stageBuiltins[EShLangTessEvaluation].append(ballotDecls);
 7106|      7|        stageBuiltins[EShLangGeometry]      .append(ballotDecls);
 7107|      7|        stageBuiltins[EShLangCompute]       .append(ballotDecls);
 7108|      7|        stageBuiltins[EShLangFragment]      .append(fragmentBallotDecls);
 7109|      7|        stageBuiltins[EShLangMesh]        .append(ballotDecls);
 7110|      7|        stageBuiltins[EShLangTask]        .append(ballotDecls);
 7111|      7|        stageBuiltins[EShLangRayGen]        .append(rtBallotDecls);
 7112|      7|        stageBuiltins[EShLangIntersect]     .append(rtBallotDecls);
 7113|       |        // No volatile qualifier on these builtins in any-hit
 7114|      7|        stageBuiltins[EShLangAnyHit]        .append(ballotDecls);
 7115|      7|        stageBuiltins[EShLangClosestHit]    .append(rtBallotDecls);
 7116|      7|        stageBuiltins[EShLangMiss]          .append(rtBallotDecls);
 7117|      7|        stageBuiltins[EShLangCallable]      .append(rtBallotDecls);
 7118|      7|    }
 7119|       |
 7120|       |    // GL_KHR_shader_subgroup
 7121|     45|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (7121:10): [True: 38, False: 7]
  |  Branch (7121:35): [True: 0, False: 38]
  ------------------
 7122|     45|        (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7122:10): [True: 7, False: 38]
  |  Branch (7122:35): [True: 7, False: 0]
  ------------------
 7123|      7|        const char* subgroupDecls =
 7124|      7|            "in mediump uint  gl_SubgroupSize;"
 7125|      7|            "in mediump uint  gl_SubgroupInvocationID;"
 7126|      7|            "in highp   uvec4 gl_SubgroupEqMask;"
 7127|      7|            "in highp   uvec4 gl_SubgroupGeMask;"
 7128|      7|            "in highp   uvec4 gl_SubgroupGtMask;"
 7129|      7|            "in highp   uvec4 gl_SubgroupLeMask;"
 7130|      7|            "in highp   uvec4 gl_SubgroupLtMask;"
 7131|       |            // GL_NV_shader_sm_builtins
 7132|      7|            "in highp   uint  gl_WarpsPerSMNV;"
 7133|      7|            "in highp   uint  gl_SMCountNV;"
 7134|      7|            "in highp   uint  gl_WarpIDNV;"
 7135|      7|            "in highp   uint  gl_SMIDNV;"
 7136|       |            // GL_ARM_shader_core_builtins
 7137|      7|            "in highp   uint  gl_CoreIDARM;"
 7138|      7|            "in highp   uint  gl_CoreCountARM;"
 7139|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7140|      7|            "in highp   uint  gl_WarpIDARM;"
 7141|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7142|      7|            "\n";
 7143|      7|        const char* fragmentSubgroupDecls =
 7144|      7|            "flat in mediump uint  gl_SubgroupSize;"
 7145|      7|            "flat in mediump uint  gl_SubgroupInvocationID;"
 7146|      7|            "flat in highp   uvec4 gl_SubgroupEqMask;"
 7147|      7|            "flat in highp   uvec4 gl_SubgroupGeMask;"
 7148|      7|            "flat in highp   uvec4 gl_SubgroupGtMask;"
 7149|      7|            "flat in highp   uvec4 gl_SubgroupLeMask;"
 7150|      7|            "flat in highp   uvec4 gl_SubgroupLtMask;"
 7151|       |            // GL_NV_shader_sm_builtins
 7152|      7|            "flat in highp   uint  gl_WarpsPerSMNV;"
 7153|      7|            "flat in highp   uint  gl_SMCountNV;"
 7154|      7|            "flat in highp   uint  gl_WarpIDNV;"
 7155|      7|            "flat in highp   uint  gl_SMIDNV;"
 7156|       |            // GL_ARM_shader_core_builtins
 7157|      7|            "flat in highp   uint  gl_CoreIDARM;"
 7158|      7|            "flat in highp   uint  gl_CoreCountARM;"
 7159|      7|            "flat in highp   uint  gl_CoreMaxIDARM;"
 7160|      7|            "flat in highp   uint  gl_WarpIDARM;"
 7161|      7|            "flat in highp   uint  gl_WarpMaxIDARM;"
 7162|      7|            "\n";
 7163|      7|        const char* computeSubgroupDecls =
 7164|      7|            "in highp   uint  gl_NumSubgroups;"
 7165|      7|            "in highp   uint  gl_SubgroupID;"
 7166|      7|            "\n";
 7167|       |        // These builtins are volatile for RT stages
 7168|      7|        const char* rtSubgroupDecls =
 7169|      7|            "in mediump volatile uint  gl_SubgroupSize;"
 7170|      7|            "in mediump volatile uint  gl_SubgroupInvocationID;"
 7171|      7|            "in highp   volatile uvec4 gl_SubgroupEqMask;"
 7172|      7|            "in highp   volatile uvec4 gl_SubgroupGeMask;"
 7173|      7|            "in highp   volatile uvec4 gl_SubgroupGtMask;"
 7174|      7|            "in highp   volatile uvec4 gl_SubgroupLeMask;"
 7175|      7|            "in highp   volatile uvec4 gl_SubgroupLtMask;"
 7176|       |            // GL_NV_shader_sm_builtins
 7177|      7|            "in highp    uint  gl_WarpsPerSMNV;"
 7178|      7|            "in highp    uint  gl_SMCountNV;"
 7179|      7|            "in highp volatile uint  gl_WarpIDNV;"
 7180|      7|            "in highp volatile uint  gl_SMIDNV;"
 7181|       |            // GL_ARM_shader_core_builtins
 7182|      7|            "in highp   uint  gl_CoreIDARM;"
 7183|      7|            "in highp   uint  gl_CoreCountARM;"
 7184|      7|            "in highp   uint  gl_CoreMaxIDARM;"
 7185|      7|            "in highp   uint  gl_WarpIDARM;"
 7186|      7|            "in highp   uint  gl_WarpMaxIDARM;"
 7187|      7|            "\n";
 7188|       |
 7189|      7|        stageBuiltins[EShLangVertex]        .append(subgroupDecls);
 7190|      7|        stageBuiltins[EShLangTessControl]   .append(subgroupDecls);
 7191|      7|        stageBuiltins[EShLangTessEvaluation].append(subgroupDecls);
 7192|      7|        stageBuiltins[EShLangGeometry]      .append(subgroupDecls);
 7193|      7|        stageBuiltins[EShLangCompute]       .append(subgroupDecls);
 7194|      7|        stageBuiltins[EShLangCompute]       .append(computeSubgroupDecls);
 7195|      7|        stageBuiltins[EShLangFragment]      .append(fragmentSubgroupDecls);
 7196|      7|        stageBuiltins[EShLangMesh]        .append(subgroupDecls);
 7197|      7|        stageBuiltins[EShLangMesh]        .append(computeSubgroupDecls);
 7198|      7|        stageBuiltins[EShLangTask]        .append(subgroupDecls);
 7199|      7|        stageBuiltins[EShLangTask]        .append(computeSubgroupDecls);
 7200|      7|        stageBuiltins[EShLangRayGen]        .append(rtSubgroupDecls);
 7201|      7|        stageBuiltins[EShLangIntersect]     .append(rtSubgroupDecls);
 7202|       |        // No volatile qualifier on these builtins in any-hit
 7203|      7|        stageBuiltins[EShLangAnyHit]        .append(subgroupDecls);
 7204|      7|        stageBuiltins[EShLangClosestHit]    .append(rtSubgroupDecls);
 7205|      7|        stageBuiltins[EShLangMiss]          .append(rtSubgroupDecls);
 7206|      7|        stageBuiltins[EShLangCallable]      .append(rtSubgroupDecls);
 7207|      7|    }
 7208|       |
 7209|       |    // GL_NV_ray_tracing/GL_EXT_ray_tracing
 7210|     45|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (7210:9): [True: 7, False: 38]
  |  Branch (7210:34): [True: 0, False: 7]
  ------------------
 7211|       |
 7212|      0|        const char *constRayFlags =
 7213|      0|            "const uint gl_RayFlagsNoneNV = 0U;"
 7214|      0|            "const uint gl_RayFlagsNoneEXT = 0U;"
 7215|      0|            "const uint gl_RayFlagsOpaqueNV = 1U;"
 7216|      0|            "const uint gl_RayFlagsOpaqueEXT = 1U;"
 7217|      0|            "const uint gl_RayFlagsNoOpaqueNV = 2U;"
 7218|      0|            "const uint gl_RayFlagsNoOpaqueEXT = 2U;"
 7219|      0|            "const uint gl_RayFlagsTerminateOnFirstHitNV = 4U;"
 7220|      0|            "const uint gl_RayFlagsTerminateOnFirstHitEXT = 4U;"
 7221|      0|            "const uint gl_RayFlagsSkipClosestHitShaderNV = 8U;"
 7222|      0|            "const uint gl_RayFlagsSkipClosestHitShaderEXT = 8U;"
 7223|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesNV = 16U;"
 7224|      0|            "const uint gl_RayFlagsCullBackFacingTrianglesEXT = 16U;"
 7225|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesNV = 32U;"
 7226|      0|            "const uint gl_RayFlagsCullFrontFacingTrianglesEXT = 32U;"
 7227|      0|            "const uint gl_RayFlagsCullOpaqueNV = 64U;"
 7228|      0|            "const uint gl_RayFlagsCullOpaqueEXT = 64U;"
 7229|      0|            "const uint gl_RayFlagsCullNoOpaqueNV = 128U;"
 7230|      0|            "const uint gl_RayFlagsCullNoOpaqueEXT = 128U;"
 7231|      0|            "const uint gl_RayFlagsSkipTrianglesEXT = 256U;"
 7232|      0|            "const uint gl_RayFlagsSkipBuiltinPrimitivesNV = 256U;"
 7233|      0|            "const uint gl_RayFlagsSkipAABBEXT = 512U;"
 7234|      0|            "const uint gl_RayFlagsForceOpacityMicromap2StateEXT = 1024U;"
 7235|      0|            "const bool gl_EnableOpacityMicromapEXT = false;"
 7236|      0|            "const uint gl_HitKindFrontFacingTriangleEXT = 254U;"
 7237|      0|            "const uint gl_HitKindBackFacingTriangleEXT = 255U;"
 7238|      0|            "in    uint gl_HitKindFrontFacingMicroTriangleNV;"
 7239|      0|            "in    uint gl_HitKindBackFacingMicroTriangleNV;"
 7240|      0|            "const int  gl_ClusterIDNoneNV = -1;"
 7241|      0|            "\n";
 7242|       |
 7243|      0|        const char *constRayQueryIntersection =
 7244|      0|            "const uint gl_RayQueryCandidateIntersectionEXT = 0U;"
 7245|      0|            "const uint gl_RayQueryCommittedIntersectionEXT = 1U;"
 7246|      0|            "const uint gl_RayQueryCommittedIntersectionNoneEXT = 0U;"
 7247|      0|            "const uint gl_RayQueryCommittedIntersectionTriangleEXT = 1U;"
 7248|      0|            "const uint gl_RayQueryCommittedIntersectionGeneratedEXT = 2U;"
 7249|      0|            "const uint gl_RayQueryCandidateIntersectionTriangleEXT = 0U;"
 7250|      0|            "const uint gl_RayQueryCandidateIntersectionAABBEXT = 1U;"
 7251|      0|            "\n";
 7252|       |
 7253|      0|        const char *rayGenDecls =
 7254|      0|            "in    uvec3  gl_LaunchIDNV;"
 7255|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7256|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7257|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7258|      0|            "\n";
 7259|      0|        const char *intersectDecls =
 7260|      0|            "in    uvec3  gl_LaunchIDNV;"
 7261|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7262|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7263|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7264|      0|            "in     int   gl_PrimitiveID;"
 7265|      0|            "in     int   gl_InstanceID;"
 7266|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7267|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7268|      0|            "in     int   gl_GeometryIndexEXT;"
 7269|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7270|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7271|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7272|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7273|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7274|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7275|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7276|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7277|      0|            "in    float  gl_RayTminNV;"
 7278|      0|            "in    float  gl_RayTminEXT;"
 7279|      0|            "in    float  gl_RayTmaxNV;"
 7280|      0|            "in volatile float gl_RayTmaxEXT;"
 7281|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7282|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7283|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7284|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7285|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7286|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7287|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7288|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7289|      0|            "in    float  gl_CurrentRayTimeNV;"
 7290|      0|            "in    uint   gl_CullMaskEXT;"
 7291|      0|            "\n";
 7292|      0|        const char *hitDecls =
 7293|      0|            "in    uvec3  gl_LaunchIDNV;"
 7294|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7295|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7296|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7297|      0|            "in     int   gl_PrimitiveID;"
 7298|      0|            "in     int   gl_InstanceID;"
 7299|      0|            "in     int   gl_InstanceCustomIndexNV;"
 7300|      0|            "in     int   gl_InstanceCustomIndexEXT;"
 7301|      0|            "in     int   gl_GeometryIndexEXT;"
 7302|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7303|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7304|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7305|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7306|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7307|      0|            "in    vec3   gl_ObjectRayOriginEXT;"
 7308|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7309|      0|            "in    vec3   gl_ObjectRayDirectionEXT;"
 7310|      0|            "in    float  gl_RayTminNV;"
 7311|      0|            "in    float  gl_RayTminEXT;"
 7312|      0|            "in    float  gl_RayTmaxNV;"
 7313|      0|            "in    float  gl_RayTmaxEXT;"
 7314|      0|            "in    float  gl_HitTNV;"
 7315|      0|            "in    float  gl_HitTEXT;"
 7316|      0|            "in    uint   gl_HitKindNV;"
 7317|      0|            "in    uint   gl_HitKindEXT;"
 7318|      0|            "in    mat4x3 gl_ObjectToWorldNV;"
 7319|      0|            "in    mat4x3 gl_ObjectToWorldEXT;"
 7320|      0|            "in    mat3x4 gl_ObjectToWorld3x4EXT;"
 7321|      0|            "in    mat4x3 gl_WorldToObjectNV;"
 7322|      0|            "in    mat4x3 gl_WorldToObjectEXT;"
 7323|      0|            "in    mat3x4 gl_WorldToObject3x4EXT;"
 7324|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7325|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7326|      0|            "in    float  gl_CurrentRayTimeNV;"
 7327|      0|            "in    uint   gl_CullMaskEXT;"
 7328|      0|            "in    vec3   gl_HitTriangleVertexPositionsEXT[3];"
 7329|      0|            "in    vec3   gl_HitMicroTriangleVertexPositionsNV[3];"
 7330|      0|            "in    vec2   gl_HitMicroTriangleVertexBarycentricsNV[3];"
 7331|      0|            "in    int    gl_ClusterIDNV;"
 7332|      0|            "in    bool   gl_HitIsSphereNV;"
 7333|      0|            "in    bool   gl_HitIsLSSNV;"
 7334|      0|            "in    vec3   gl_HitSpherePositionNV;"
 7335|      0|            "in    float  gl_HitSphereRadiusNV;"
 7336|      0|            "in    vec3   gl_HitLSSPositionsNV[2];"
 7337|      0|            "in    float  gl_HitLSSRadiiNV[2];"
 7338|      0|            "\n";
 7339|       |
 7340|      0|        const char *missDecls =
 7341|      0|            "in    uvec3  gl_LaunchIDNV;"
 7342|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7343|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7344|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7345|      0|            "in    vec3   gl_WorldRayOriginNV;"
 7346|      0|            "in    vec3   gl_WorldRayOriginEXT;"
 7347|      0|            "in    vec3   gl_WorldRayDirectionNV;"
 7348|      0|            "in    vec3   gl_WorldRayDirectionEXT;"
 7349|      0|            "in    vec3   gl_ObjectRayOriginNV;"
 7350|      0|            "in    vec3   gl_ObjectRayDirectionNV;"
 7351|      0|            "in    float  gl_RayTminNV;"
 7352|      0|            "in    float  gl_RayTminEXT;"
 7353|      0|            "in    float  gl_RayTmaxNV;"
 7354|      0|            "in    float  gl_RayTmaxEXT;"
 7355|      0|            "in    uint   gl_IncomingRayFlagsNV;"
 7356|      0|            "in    uint   gl_IncomingRayFlagsEXT;"
 7357|      0|            "in    float  gl_CurrentRayTimeNV;"
 7358|      0|            "in    uint   gl_CullMaskEXT;"
 7359|      0|            "\n";
 7360|       |
 7361|      0|        const char *callableDecls =
 7362|      0|            "in    uvec3  gl_LaunchIDNV;"
 7363|      0|            "in    uvec3  gl_LaunchIDEXT;"
 7364|      0|            "in    uvec3  gl_LaunchSizeNV;"
 7365|      0|            "in    uvec3  gl_LaunchSizeEXT;"
 7366|      0|            "\n";
 7367|       |
 7368|       |
 7369|      0|        commonBuiltins.append(constRayQueryIntersection);
 7370|      0|        commonBuiltins.append(constRayFlags);
 7371|       |
 7372|      0|        stageBuiltins[EShLangRayGen].append(rayGenDecls);
 7373|      0|        stageBuiltins[EShLangIntersect].append(intersectDecls);
 7374|      0|        stageBuiltins[EShLangAnyHit].append(hitDecls);
 7375|      0|        stageBuiltins[EShLangClosestHit].append(hitDecls);
 7376|      0|        stageBuiltins[EShLangMiss].append(missDecls);
 7377|      0|        stageBuiltins[EShLangCallable].append(callableDecls);
 7378|       |
 7379|      0|    }
 7380|       |
 7381|     45|    if ((profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (7381:10): [True: 7, False: 38]
  |  Branch (7381:35): [True: 7, False: 0]
  ------------------
 7382|      7|        const char *deviceIndex =
 7383|      7|            "in highp int gl_DeviceIndex;"     // GL_EXT_device_group
 7384|      7|            "\n";
 7385|       |
 7386|      7|        stageBuiltins[EShLangRayGen].append(deviceIndex);
 7387|      7|        stageBuiltins[EShLangIntersect].append(deviceIndex);
 7388|      7|        stageBuiltins[EShLangAnyHit].append(deviceIndex);
 7389|      7|        stageBuiltins[EShLangClosestHit].append(deviceIndex);
 7390|      7|        stageBuiltins[EShLangMiss].append(deviceIndex);
 7391|      7|    }
 7392|       |
 7393|     45|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7393:10): [True: 7, False: 38]
  |  Branch (7393:35): [True: 7, False: 0]
  ------------------
 7394|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7394:10): [True: 38, False: 0]
  |  Branch (7394:35): [True: 0, False: 38]
  ------------------
 7395|      7|        commonBuiltins.append("const int gl_ScopeDevice      = 1;\n");
 7396|      7|        commonBuiltins.append("const int gl_ScopeWorkgroup   = 2;\n");
 7397|      7|        commonBuiltins.append("const int gl_ScopeSubgroup    = 3;\n");
 7398|      7|        commonBuiltins.append("const int gl_ScopeInvocation  = 4;\n");
 7399|      7|        commonBuiltins.append("const int gl_ScopeQueueFamily = 5;\n");
 7400|      7|        commonBuiltins.append("const int gl_ScopeShaderCallEXT = 6;\n");
 7401|       |
 7402|      7|        commonBuiltins.append("const int gl_SemanticsRelaxed         = 0x0;\n");
 7403|      7|        commonBuiltins.append("const int gl_SemanticsAcquire         = 0x2;\n");
 7404|      7|        commonBuiltins.append("const int gl_SemanticsRelease         = 0x4;\n");
 7405|      7|        commonBuiltins.append("const int gl_SemanticsAcquireRelease  = 0x8;\n");
 7406|      7|        commonBuiltins.append("const int gl_SemanticsMakeAvailable   = 0x2000;\n");
 7407|      7|        commonBuiltins.append("const int gl_SemanticsMakeVisible     = 0x4000;\n");
 7408|      7|        commonBuiltins.append("const int gl_SemanticsVolatile        = 0x8000;\n");
 7409|       |
 7410|      7|        commonBuiltins.append("const int gl_StorageSemanticsNone     = 0x0;\n");
 7411|      7|        commonBuiltins.append("const int gl_StorageSemanticsBuffer   = 0x40;\n");
 7412|      7|        commonBuiltins.append("const int gl_StorageSemanticsShared   = 0x100;\n");
 7413|      7|        commonBuiltins.append("const int gl_StorageSemanticsImage    = 0x800;\n");
 7414|      7|        commonBuiltins.append("const int gl_StorageSemanticsOutput   = 0x1000;\n");
 7415|      7|    }
 7416|       |
 7417|       |    // Adding these to common built-ins triggers an assert due to a memory corruption in related code when testing
 7418|       |    // So instead add to each stage individually, avoiding the GLSLang bug
 7419|     45|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7419:10): [True: 7, False: 38]
  |  Branch (7419:35): [True: 7, False: 0]
  |  Branch (7419:55): [True: 38, False: 0]
  |  Branch (7419:80): [True: 0, False: 38]
  ------------------
 7420|    105|        for (int stage=EShLangVertex; stage<EShLangCount; stage++)
  ------------------
  |  Branch (7420:39): [True: 98, False: 7]
  ------------------
 7421|     98|        {
 7422|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2VerticalPixelsEXT       = 1;\n");
 7423|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4VerticalPixelsEXT       = 2;\n");
 7424|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag2HorizontalPixelsEXT     = 4;\n");
 7425|     98|            stageBuiltins[static_cast<EShLanguage>(stage)].append("const highp int gl_ShadingRateFlag4HorizontalPixelsEXT     = 8;\n");
 7426|     98|        }
 7427|      7|    }
 7428|       |    
 7429|       |    // GL_EXT_shader_image_int64
 7430|     45|    if ((profile != EEsProfile && version >= 420) ||
  ------------------
  |  Branch (7430:10): [True: 7, False: 38]
  |  Branch (7430:35): [True: 7, False: 0]
  ------------------
 7431|     38|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7431:10): [True: 38, False: 0]
  |  Branch (7431:35): [True: 0, False: 38]
  ------------------
 7432|       |            
 7433|      7|        const TBasicType bTypes[] = { EbtInt64, EbtUint64 };
 7434|     21|        for (int ms = 0; ms <= 1; ++ms) { // loop over "bool" multisample or not
  ------------------
  |  Branch (7434:26): [True: 14, False: 7]
  ------------------
 7435|     42|            for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7435:35): [True: 28, False: 14]
  ------------------
 7436|    196|                for (int dim = Esd1D; dim < EsdSubpass; ++dim) { // 1D, ..., buffer
  ------------------
  |  Branch (7436:39): [True: 168, False: 28]
  ------------------
 7437|    168|                    if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7437:26): [True: 28, False: 140]
  |  Branch (7437:42): [True: 28, False: 112]
  |  Branch (7437:61): [True: 0, False: 56]
  ------------------
 7438|      0|                        continue;
 7439|       |                    
 7440|    168|                    if ((dim == Esd3D || dim == EsdRect || dim == EsdBuffer) && arrayed)
  ------------------
  |  Branch (7440:26): [True: 28, False: 140]
  |  Branch (7440:42): [True: 28, False: 112]
  |  Branch (7440:60): [True: 28, False: 84]
  |  Branch (7440:81): [True: 42, False: 42]
  ------------------
 7441|     42|                        continue;
 7442|       |                    
 7443|    126|                    if (dim != Esd2D && ms)
  ------------------
  |  Branch (7443:25): [True: 98, False: 28]
  |  Branch (7443:41): [True: 49, False: 49]
  ------------------
 7444|     49|                        continue;
 7445|       |                    
 7446|       |                    // Loop over the bTypes
 7447|    231|                    for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7447:44): [True: 154, False: 77]
  ------------------
 7448|       |                        //
 7449|       |                        // Now, make all the function prototypes for the type we just built...
 7450|       |                        //
 7451|    154|                        TSampler sampler;
 7452|       |                    
 7453|    154|                        sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7453:75): [True: 56, False: 98]
  ------------------
 7454|    154|                                                                          false,
 7455|    154|                                                                          ms      ? true : false);
  ------------------
  |  Branch (7455:75): [True: 28, False: 126]
  ------------------
 7456|       |
 7457|    154|                        TString typeName = TString{sampler.getString()};
 7458|       |
 7459|    154|                        addQueryFunctions(sampler, typeName, version, profile);
 7460|    154|                        addImageFunctions(sampler, typeName, version, profile);
 7461|    154|                    }
 7462|     77|                }
 7463|     28|            }
 7464|     14|        }
 7465|      7|    }
 7466|       |
 7467|       |    // printf("%s\n", commonBuiltins.c_str());
 7468|       |    // printf("%s\n", stageBuiltins[EShLangFragment].c_str());
 7469|     45|}
_ZN7glslang9TBuiltIns31add2ndGenerationSamplingImagingEi8EProfileRKNS_10SpvVersionE:
 7476|      7|{
 7477|       |    //
 7478|       |    // In this function proper, enumerate the types, then calls the next set of functions
 7479|       |    // to enumerate all the uses for that type.
 7480|       |    //
 7481|       |
 7482|       |    // enumerate all the types
 7483|      7|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint,
 7484|      7|         EbtFloat16
 7485|      7|    };
 7486|      7|    bool skipBuffer = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 140);
  ------------------
  |  Branch (7486:24): [True: 0, False: 7]
  |  Branch (7486:49): [True: 0, False: 0]
  |  Branch (7486:68): [True: 7, False: 0]
  |  Branch (7486:93): [True: 0, False: 7]
  ------------------
 7487|      7|    bool skipCubeArrayed = (profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 130);
  ------------------
  |  Branch (7487:29): [True: 0, False: 7]
  |  Branch (7487:54): [True: 0, False: 0]
  |  Branch (7487:73): [True: 7, False: 0]
  |  Branch (7487:98): [True: 0, False: 7]
  ------------------
 7488|     21|    for (int image = 0; image <= 1; ++image) // loop over "bool" image vs sampler
  ------------------
  |  Branch (7488:25): [True: 14, False: 7]
  ------------------
 7489|     14|    {
 7490|     42|        for (int shadow = 0; shadow <= 1; ++shadow) { // loop over "bool" shadow or not
  ------------------
  |  Branch (7490:30): [True: 28, False: 14]
  ------------------
 7491|     84|            for (int ms = 0; ms <= 1; ++ms) // loop over "bool" multisample or not
  ------------------
  |  Branch (7491:30): [True: 56, False: 28]
  ------------------
 7492|     56|            {
 7493|     56|                if ((ms || image) && shadow)
  ------------------
  |  Branch (7493:22): [True: 28, False: 28]
  |  Branch (7493:28): [True: 14, False: 14]
  |  Branch (7493:38): [True: 21, False: 21]
  ------------------
 7494|     21|                    continue;
 7495|     35|                if (ms && profile != EEsProfile && version < 140)
  ------------------
  |  Branch (7495:21): [True: 14, False: 21]
  |  Branch (7495:27): [True: 14, False: 0]
  |  Branch (7495:52): [True: 0, False: 14]
  ------------------
 7496|      0|                    continue;
 7497|     35|                if (ms && image && profile == EEsProfile)
  ------------------
  |  Branch (7497:21): [True: 14, False: 21]
  |  Branch (7497:27): [True: 7, False: 7]
  |  Branch (7497:36): [True: 0, False: 7]
  ------------------
 7498|      0|                    continue;
 7499|     35|                if (ms && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7499:21): [True: 14, False: 21]
  |  Branch (7499:27): [True: 0, False: 14]
  |  Branch (7499:52): [True: 0, False: 0]
  ------------------
 7500|      0|                    continue;
 7501|       |
 7502|    105|                for (int arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (7502:39): [True: 70, False: 35]
  ------------------
 7503|    630|                    for (int dim = Esd1D; dim < EsdNumDims; ++dim) { // 1D, ..., buffer, subpass
  ------------------
  |  Branch (7503:43): [True: 560, False: 70]
  ------------------
 7504|    560|                        if (dim == EsdAttachmentEXT)
  ------------------
  |  Branch (7504:29): [True: 70, False: 490]
  ------------------
 7505|     70|                            continue;
 7506|    490|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7506:29): [True: 70, False: 420]
  |  Branch (7506:50): [True: 0, False: 70]
  ------------------
 7507|      0|                            continue;
 7508|    490|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7508:29): [True: 70, False: 420]
  |  Branch (7508:51): [True: 28, False: 42]
  |  Branch (7508:60): [True: 14, False: 28]
  |  Branch (7508:70): [True: 14, False: 14]
  ------------------
 7509|     56|                            continue;
 7510|    434|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7510:30): [True: 70, False: 364]
  |  Branch (7510:46): [True: 70, False: 294]
  |  Branch (7510:65): [True: 0, False: 140]
  ------------------
 7511|      0|                            continue;
 7512|    434|                        if (dim == EsdSubpass && spvVersion.vulkan == 0)
  ------------------
  |  Branch (7512:29): [True: 14, False: 420]
  |  Branch (7512:50): [True: 0, False: 14]
  ------------------
 7513|      0|                            continue;
 7514|    434|                        if (dim == EsdSubpass && (image || shadow || arrayed))
  ------------------
  |  Branch (7514:29): [True: 14, False: 420]
  |  Branch (7514:51): [True: 0, False: 14]
  |  Branch (7514:60): [True: 0, False: 14]
  |  Branch (7514:70): [True: 0, False: 14]
  ------------------
 7515|      0|                            continue;
 7516|    434|                        if ((dim == Esd1D || dim == EsdRect) && profile == EEsProfile)
  ------------------
  |  Branch (7516:30): [True: 70, False: 364]
  |  Branch (7516:46): [True: 70, False: 294]
  |  Branch (7516:65): [True: 0, False: 140]
  ------------------
 7517|      0|                            continue;
 7518|    434|                        if (dim != Esd2D && dim != EsdSubpass && ms)
  ------------------
  |  Branch (7518:29): [True: 364, False: 70]
  |  Branch (7518:45): [True: 350, False: 14]
  |  Branch (7518:66): [True: 140, False: 210]
  ------------------
 7519|    140|                            continue;
 7520|    294|                        if (dim == EsdBuffer && skipBuffer)
  ------------------
  |  Branch (7520:29): [True: 42, False: 252]
  |  Branch (7520:49): [True: 0, False: 42]
  ------------------
 7521|      0|                            continue;
 7522|    294|                        if (dim == EsdBuffer && (shadow || arrayed || ms))
  ------------------
  |  Branch (7522:29): [True: 42, False: 252]
  |  Branch (7522:50): [True: 14, False: 28]
  |  Branch (7522:60): [True: 14, False: 14]
  |  Branch (7522:71): [True: 0, False: 14]
  ------------------
 7523|     28|                            continue;
 7524|    266|                        if (ms && arrayed && profile == EEsProfile && version < 310)
  ------------------
  |  Branch (7524:29): [True: 35, False: 231]
  |  Branch (7524:35): [True: 14, False: 21]
  |  Branch (7524:46): [True: 0, False: 14]
  |  Branch (7524:71): [True: 0, False: 0]
  ------------------
 7525|      0|                            continue;
 7526|    266|                        if (dim == Esd3D && shadow)
  ------------------
  |  Branch (7526:29): [True: 42, False: 224]
  |  Branch (7526:45): [True: 14, False: 28]
  ------------------
 7527|     14|                            continue;
 7528|    252|                        if (dim == EsdCube && arrayed && skipCubeArrayed)
  ------------------
  |  Branch (7528:29): [True: 42, False: 210]
  |  Branch (7528:47): [True: 21, False: 21]
  |  Branch (7528:58): [True: 0, False: 21]
  ------------------
 7529|      0|                            continue;
 7530|    252|                        if ((dim == Esd3D || dim == EsdRect) && arrayed)
  ------------------
  |  Branch (7530:30): [True: 28, False: 224]
  |  Branch (7530:46): [True: 42, False: 182]
  |  Branch (7530:65): [True: 35, False: 35]
  ------------------
 7531|     35|                            continue;
 7532|       |
 7533|       |                        // Loop over the bTypes
 7534|  1.08k|                        for (size_t bType = 0; bType < sizeof(bTypes)/sizeof(TBasicType); ++bType) {
  ------------------
  |  Branch (7534:48): [True: 868, False: 217]
  ------------------
 7535|    868|                            if (bTypes[bType] == EbtFloat16 && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (7535:33): [True: 217, False: 651]
  |  Branch (7535:65): [True: 0, False: 217]
  |  Branch (7535:90): [True: 0, False: 217]
  ------------------
 7536|      0|                                continue;
 7537|    868|                            if (dim == EsdRect && version < 140 && bType > 0)
  ------------------
  |  Branch (7537:33): [True: 84, False: 784]
  |  Branch (7537:51): [True: 0, False: 84]
  |  Branch (7537:68): [True: 0, False: 0]
  ------------------
 7538|      0|                                continue;
 7539|    868|                            if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint))
  ------------------
  |  Branch (7539:33): [True: 196, False: 672]
  |  Branch (7539:44): [True: 49, False: 147]
  |  Branch (7539:71): [True: 49, False: 98]
  ------------------
 7540|     98|                                continue;
 7541|       |                            //
 7542|       |                            // Now, make all the function prototypes for the type we just built...
 7543|       |                            //
 7544|    770|                            TSampler sampler;
 7545|    770|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7545:33): [True: 56, False: 714]
  ------------------
 7546|     56|                                sampler.setSubpass(bTypes[bType], ms ? true : false);
  ------------------
  |  Branch (7546:67): [True: 28, False: 28]
  ------------------
 7547|    714|                            } else if (dim == EsdAttachmentEXT) {
  ------------------
  |  Branch (7547:40): [True: 0, False: 714]
  ------------------
 7548|      0|                                sampler.setAttachmentEXT(bTypes[bType]);
 7549|      0|                            } else
 7550|    714|                            if (image) {
  ------------------
  |  Branch (7550:33): [True: 308, False: 406]
  ------------------
 7551|    308|                                sampler.setImage(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7551:83): [True: 112, False: 196]
  ------------------
 7552|    308|                                                                                  shadow  ? true : false,
  ------------------
  |  Branch (7552:83): [True: 0, False: 308]
  ------------------
 7553|    308|                                                                                  ms      ? true : false);
  ------------------
  |  Branch (7553:83): [True: 56, False: 252]
  ------------------
 7554|    406|                            } else {
 7555|    406|                                sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false,
  ------------------
  |  Branch (7555:78): [True: 154, False: 252]
  ------------------
 7556|    406|                                                                             shadow  ? true : false,
  ------------------
  |  Branch (7556:78): [True: 98, False: 308]
  ------------------
 7557|    406|                                                                             ms      ? true : false);
  ------------------
  |  Branch (7557:78): [True: 56, False: 350]
  ------------------
 7558|    406|                            }
 7559|       |
 7560|    770|                            TString typeName = TString{sampler.getString()};
 7561|       |
 7562|    770|                            if (dim == EsdSubpass) {
  ------------------
  |  Branch (7562:33): [True: 56, False: 714]
  ------------------
 7563|     56|                                addSubpassSampling(sampler, typeName, version, profile);
 7564|     56|                                continue;
 7565|     56|                            }
 7566|       |
 7567|    714|                            addQueryFunctions(sampler, typeName, version, profile);
 7568|       |
 7569|    714|                            if (image)
  ------------------
  |  Branch (7569:33): [True: 308, False: 406]
  ------------------
 7570|    308|                                addImageFunctions(sampler, typeName, version, profile);
 7571|    406|                            else {
 7572|    406|                                addSamplingFunctions(sampler, typeName, version, profile);
 7573|    406|                                addGatherFunctions(sampler, typeName, version, profile);
 7574|    406|                                if (spvVersion.vulkan > 0 && sampler.isCombined() && !sampler.shadow) {
  ------------------
  |  Branch (7574:37): [True: 406, False: 0]
  |  Branch (7574:62): [True: 406, False: 0]
  |  Branch (7574:86): [True: 308, False: 98]
  ------------------
 7575|       |                                    // Base Vulkan allows texelFetch() for
 7576|       |                                    // textureBuffer (i.e. without sampler).
 7577|       |                                    //
 7578|       |                                    // GL_EXT_samplerless_texture_functions
 7579|       |                                    // allows texelFetch() and query functions
 7580|       |                                    // (other than textureQueryLod()) for all
 7581|       |                                    // texture types.
 7582|    308|                                    sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
 7583|    308|                                                       sampler.ms);
 7584|    308|                                    TString textureTypeName = TString{sampler.getString()};
 7585|    308|                                    addSamplingFunctions(sampler, textureTypeName, version, profile);
 7586|    308|                                    addQueryFunctions(sampler, textureTypeName, version, profile);
 7587|    308|                                }
 7588|    406|                            }
 7589|    714|                        }
 7590|    217|                    }
 7591|     70|                }
 7592|     35|            }
 7593|     28|        }
 7594|     14|    }
 7595|       |
 7596|       |    //
 7597|       |    // sparseTexelsResidentARB()
 7598|       |    //
 7599|      7|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7599:9): [True: 7, False: 0]
  |  Branch (7599:34): [True: 7, False: 0]
  ------------------
 7600|      7|        commonBuiltins.append("bool sparseTexelsResidentARB(int code);\n");
 7601|      7|    }
 7602|      7|}
_ZN7glslang9TBuiltIns17addQueryFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7611|  1.17k|{
 7612|       |    //
 7613|       |    // textureSize() and imageSize()
 7614|       |    //
 7615|       |
 7616|  1.17k|    int sizeDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0) - (sampler.dim == EsdCube ? 1 : 0);
  ------------------
  |  Branch (7616:43): [True: 434, False: 742]
  |  Branch (7616:71): [True: 224, False: 952]
  ------------------
 7617|       |
 7618|  1.17k|    if (sampler.isImage() && ((profile == EEsProfile && version < 310) || (profile != EEsProfile && version < 420)))
  ------------------
  |  Branch (7618:9): [True: 462, False: 714]
  |  Branch (7618:32): [True: 0, False: 462]
  |  Branch (7618:57): [True: 0, False: 0]
  |  Branch (7618:76): [True: 462, False: 0]
  |  Branch (7618:101): [True: 0, False: 462]
  ------------------
 7619|      0|        return;
 7620|       |
 7621|  1.17k|    if (profile == EEsProfile)
  ------------------
  |  Branch (7621:9): [True: 0, False: 1.17k]
  ------------------
 7622|      0|        commonBuiltins.append("highp ");
 7623|  1.17k|    if (sizeDims == 1)
  ------------------
  |  Branch (7623:9): [True: 210, False: 966]
  ------------------
 7624|    210|        commonBuiltins.append("int");
 7625|    966|    else {
 7626|    966|        commonBuiltins.append("ivec");
 7627|    966|        commonBuiltins.append(postfixes[sizeDims]);
 7628|    966|    }
 7629|  1.17k|    if (sampler.isImage())
  ------------------
  |  Branch (7629:9): [True: 462, False: 714]
  ------------------
 7630|    462|        commonBuiltins.append(" imageSize(readonly writeonly volatile coherent nontemporal ");
 7631|    714|    else
 7632|    714|        commonBuiltins.append(" textureSize(");
 7633|  1.17k|    commonBuiltins.append(typeName);
 7634|  1.17k|    if (! sampler.isImage() && ! sampler.isRect() && ! sampler.isBuffer() && ! sampler.isMultiSample())
  ------------------
  |  Branch (7634:9): [True: 714, False: 462]
  |  Branch (7634:32): [True: 644, False: 70]
  |  Branch (7634:54): [True: 588, False: 56]
  |  Branch (7634:78): [True: 476, False: 112]
  ------------------
 7635|    476|        commonBuiltins.append(",int);\n");
 7636|    700|    else
 7637|    700|        commonBuiltins.append(");\n");
 7638|       |
 7639|       |    //
 7640|       |    // textureSamples() and imageSamples()
 7641|       |    //
 7642|       |
 7643|       |    // GL_ARB_shader_texture_image_samples
 7644|       |    // TODO: spec issue? there are no memory qualifiers; how to query a writeonly/readonly image, etc?
 7645|  1.17k|    if (profile != EEsProfile && version >= 430 && sampler.isMultiSample()) {
  ------------------
  |  Branch (7645:9): [True: 1.17k, False: 0]
  |  Branch (7645:34): [True: 1.17k, False: 0]
  |  Branch (7645:52): [True: 196, False: 980]
  ------------------
 7646|    196|        commonBuiltins.append("int ");
 7647|    196|        if (sampler.isImage())
  ------------------
  |  Branch (7647:13): [True: 84, False: 112]
  ------------------
 7648|     84|            commonBuiltins.append("imageSamples(readonly writeonly volatile coherent nontemporal ");
 7649|    112|        else
 7650|    112|            commonBuiltins.append("textureSamples(");
 7651|    196|        commonBuiltins.append(typeName);
 7652|    196|        commonBuiltins.append(");\n");
 7653|    196|    }
 7654|       |
 7655|       |    //
 7656|       |    // textureQueryLod()
 7657|       |    // Also enabled with extension GL_ARB_texture_query_lod
 7658|       |    // Extension GL_ARB_texture_query_lod says that textureQueryLOD() also exist at extension.
 7659|       |
 7660|  1.17k|    if (profile != EEsProfile && version >= 150 && sampler.isCombined() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7660:9): [True: 1.17k, False: 0]
  |  Branch (7660:34): [True: 1.17k, False: 0]
  |  Branch (7660:52): [True: 406, False: 770]
  |  Branch (7660:76): [True: 364, False: 42]
  ------------------
 7661|    364|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7661:9): [True: 308, False: 56]
  |  Branch (7661:38): [True: 280, False: 28]
  ------------------
 7662|       |
 7663|    280|        const TString funcName[2] = {"vec2 textureQueryLod(", "vec2 textureQueryLOD("};
 7664|       |
 7665|    840|        for (int i = 0; i < 2; ++i){
  ------------------
  |  Branch (7665:25): [True: 560, False: 280]
  ------------------
 7666|  1.68k|            for (int f16TexAddr = 0; f16TexAddr < 2; ++f16TexAddr) {
  ------------------
  |  Branch (7666:38): [True: 1.12k, False: 560]
  ------------------
 7667|  1.12k|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (7667:21): [True: 560, False: 560]
  |  Branch (7667:35): [True: 378, False: 182]
  ------------------
 7668|    378|                    continue;
 7669|    742|                stageBuiltins[EShLangFragment].append(funcName[i]);
 7670|    742|                stageBuiltins[EShLangFragment].append(typeName);
 7671|    742|                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7671:21): [True: 224, False: 518]
  ------------------
 7672|    224|                    if (f16TexAddr)
  ------------------
  |  Branch (7672:25): [True: 56, False: 168]
  ------------------
 7673|     56|                        stageBuiltins[EShLangFragment].append(", float16_t");
 7674|    168|                    else
 7675|    168|                        stageBuiltins[EShLangFragment].append(", float");
 7676|    518|                else {
 7677|    518|                    if (f16TexAddr)
  ------------------
  |  Branch (7677:25): [True: 126, False: 392]
  ------------------
 7678|    126|                        stageBuiltins[EShLangFragment].append(", f16vec");
 7679|    392|                    else
 7680|    392|                        stageBuiltins[EShLangFragment].append(", vec");
 7681|    518|                    stageBuiltins[EShLangFragment].append(postfixes[dimMap[sampler.dim]]);
 7682|    518|                }
 7683|    742|                stageBuiltins[EShLangFragment].append(");\n");
 7684|    742|            }
 7685|       |
 7686|    560|            stageBuiltins[EShLangCompute].append(funcName[i]);
 7687|    560|            stageBuiltins[EShLangCompute].append(typeName);
 7688|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7688:17): [True: 168, False: 392]
  ------------------
 7689|    168|                stageBuiltins[EShLangCompute].append(", float");
 7690|    392|            else {
 7691|    392|                stageBuiltins[EShLangCompute].append(", vec");
 7692|    392|                stageBuiltins[EShLangCompute].append(postfixes[dimMap[sampler.dim]]);
 7693|    392|            }
 7694|    560|            stageBuiltins[EShLangCompute].append(");\n");
 7695|       |
 7696|    560|            stageBuiltins[EShLangTask].append(funcName[i]);
 7697|    560|            stageBuiltins[EShLangTask].append(typeName);
 7698|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7698:17): [True: 168, False: 392]
  ------------------
 7699|    168|                stageBuiltins[EShLangTask].append(", float");
 7700|    392|            else {
 7701|    392|                stageBuiltins[EShLangTask].append(", vec");
 7702|    392|                stageBuiltins[EShLangTask].append(postfixes[dimMap[sampler.dim]]);
 7703|    392|            }
 7704|    560|            stageBuiltins[EShLangTask].append(");\n");
 7705|       |
 7706|    560|            stageBuiltins[EShLangMesh].append(funcName[i]);
 7707|    560|            stageBuiltins[EShLangMesh].append(typeName);
 7708|    560|            if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (7708:17): [True: 168, False: 392]
  ------------------
 7709|    168|                stageBuiltins[EShLangMesh].append(", float");
 7710|    392|            else {
 7711|    392|                stageBuiltins[EShLangMesh].append(", vec");
 7712|    392|                stageBuiltins[EShLangMesh].append(postfixes[dimMap[sampler.dim]]);
 7713|    392|            }
 7714|    560|            stageBuiltins[EShLangMesh].append(");\n");
 7715|    560|        }
 7716|    280|    }
 7717|       |
 7718|       |    //
 7719|       |    // textureQueryLevels()
 7720|       |    //
 7721|       |
 7722|  1.17k|    if (profile != EEsProfile && version >= 430 && ! sampler.isImage() && sampler.dim != EsdRect &&
  ------------------
  |  Branch (7722:9): [True: 1.17k, False: 0]
  |  Branch (7722:34): [True: 1.17k, False: 0]
  |  Branch (7722:52): [True: 714, False: 462]
  |  Branch (7722:75): [True: 644, False: 70]
  ------------------
 7723|    644|        ! sampler.isMultiSample() && ! sampler.isBuffer()) {
  ------------------
  |  Branch (7723:9): [True: 532, False: 112]
  |  Branch (7723:38): [True: 476, False: 56]
  ------------------
 7724|    476|        commonBuiltins.append("int textureQueryLevels(");
 7725|    476|        commonBuiltins.append(typeName);
 7726|    476|        commonBuiltins.append(");\n");
 7727|    476|    }
 7728|  1.17k|}
_ZN7glslang9TBuiltIns17addImageFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7737|    462|{
 7738|    462|    int dims = dimMap[sampler.dim];
 7739|       |    // most things with an array add a dimension, except for cubemaps
 7740|    462|    if (sampler.arrayed && sampler.dim != EsdCube)
  ------------------
  |  Branch (7740:9): [True: 168, False: 294]
  |  Branch (7740:28): [True: 126, False: 42]
  ------------------
 7741|    126|        ++dims;
 7742|       |
 7743|    462|    TString imageParams = typeName;
 7744|    462|    if (dims == 1)
  ------------------
  |  Branch (7744:9): [True: 84, False: 378]
  ------------------
 7745|     84|        imageParams.append(", int");
 7746|    378|    else {
 7747|    378|        imageParams.append(", ivec");
 7748|    378|        imageParams.append(postfixes[dims]);
 7749|    378|    }
 7750|    462|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7750:9): [True: 84, False: 378]
  ------------------
 7751|     84|        imageParams.append(", int");
 7752|       |
 7753|    462|    if (profile == EEsProfile)
  ------------------
  |  Branch (7753:9): [True: 0, False: 462]
  ------------------
 7754|      0|        commonBuiltins.append("highp ");
 7755|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7756|    462|    commonBuiltins.append("vec4 imageLoad(readonly volatile coherent nontemporal ");
 7757|    462|    commonBuiltins.append(imageParams);
 7758|    462|    commonBuiltins.append(");\n");
 7759|       |
 7760|    462|    commonBuiltins.append("void imageStore(writeonly volatile coherent nontemporal ");
 7761|    462|    commonBuiltins.append(imageParams);
 7762|    462|    commonBuiltins.append(", ");
 7763|    462|    commonBuiltins.append(prefixes[sampler.type]);
 7764|    462|    commonBuiltins.append("vec4);\n");
 7765|       |
 7766|    462|    if (! sampler.is1D() && ! sampler.isBuffer() && profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7766:9): [True: 378, False: 84]
  |  Branch (7766:29): [True: 336, False: 42]
  |  Branch (7766:53): [True: 336, False: 0]
  |  Branch (7766:78): [True: 336, False: 0]
  ------------------
 7767|    336|        commonBuiltins.append("int sparseImageLoadARB(readonly volatile coherent nontemporal ");
 7768|    336|        commonBuiltins.append(imageParams);
 7769|    336|        commonBuiltins.append(", out ");
 7770|    336|        commonBuiltins.append(prefixes[sampler.type]);
 7771|    336|        commonBuiltins.append("vec4");
 7772|    336|        commonBuiltins.append(");\n");
 7773|    336|    }
 7774|       |
 7775|    462|    if ( profile != EEsProfile ||
  ------------------
  |  Branch (7775:10): [True: 462, False: 0]
  ------------------
 7776|    462|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (7776:10): [True: 0, False: 0]
  |  Branch (7776:35): [True: 0, False: 0]
  ------------------
 7777|    462|        if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type == EbtUint64 ) {
  ------------------
  |  Branch (7777:13): [True: 77, False: 385]
  |  Branch (7777:39): [True: 77, False: 308]
  |  Branch (7777:66): [True: 77, False: 231]
  |  Branch (7777:94): [True: 77, False: 154]
  ------------------
 7778|       |            
 7779|    308|            const char* dataType;
 7780|    308|            switch (sampler.type) {
 7781|     77|                case(EbtInt): dataType = "highp int"; break;
  ------------------
  |  Branch (7781:17): [True: 77, False: 231]
  ------------------
 7782|     77|                case(EbtUint): dataType = "highp uint"; break;
  ------------------
  |  Branch (7782:17): [True: 77, False: 231]
  ------------------
 7783|     77|                case(EbtInt64): dataType = "highp int64_t"; break;
  ------------------
  |  Branch (7783:17): [True: 77, False: 231]
  ------------------
 7784|     77|                case(EbtUint64): dataType = "highp uint64_t"; break;
  ------------------
  |  Branch (7784:17): [True: 77, False: 231]
  ------------------
 7785|      0|                default: dataType = "";
  ------------------
  |  Branch (7785:17): [True: 0, False: 308]
  ------------------
 7786|    308|            }
 7787|       |
 7788|    308|            const int numBuiltins = 7;
 7789|       |
 7790|    308|            static const char* atomicFunc[numBuiltins] = {
 7791|    308|                " imageAtomicAdd(volatile coherent nontemporal ",
 7792|    308|                " imageAtomicMin(volatile coherent nontemporal ",
 7793|    308|                " imageAtomicMax(volatile coherent nontemporal ",
 7794|    308|                " imageAtomicAnd(volatile coherent nontemporal ",
 7795|    308|                " imageAtomicOr(volatile coherent nontemporal ",
 7796|    308|                " imageAtomicXor(volatile coherent nontemporal ",
 7797|    308|                " imageAtomicExchange(volatile coherent nontemporal "
 7798|    308|            };
 7799|       |
 7800|       |            // Loop twice to add prototypes with/without scope/semantics
 7801|    924|            for (int j = 0; j < 2; ++j) {
  ------------------
  |  Branch (7801:29): [True: 616, False: 308]
  ------------------
 7802|  4.92k|                for (size_t i = 0; i < numBuiltins; ++i) {
  ------------------
  |  Branch (7802:36): [True: 4.31k, False: 616]
  ------------------
 7803|  4.31k|                    commonBuiltins.append(dataType);
 7804|  4.31k|                    commonBuiltins.append(atomicFunc[i]);
 7805|  4.31k|                    commonBuiltins.append(imageParams);
 7806|  4.31k|                    commonBuiltins.append(", ");
 7807|  4.31k|                    commonBuiltins.append(dataType);
 7808|  4.31k|                    if (j == 1) {
  ------------------
  |  Branch (7808:25): [True: 2.15k, False: 2.15k]
  ------------------
 7809|  2.15k|                        commonBuiltins.append(", int, int, int");
 7810|  2.15k|                    }
 7811|  4.31k|                    commonBuiltins.append(");\n");
 7812|  4.31k|                }
 7813|       |
 7814|    616|                commonBuiltins.append(dataType);
 7815|    616|                commonBuiltins.append(" imageAtomicCompSwap(volatile coherent nontemporal ");
 7816|    616|                commonBuiltins.append(imageParams);
 7817|    616|                commonBuiltins.append(", ");
 7818|    616|                commonBuiltins.append(dataType);
 7819|    616|                commonBuiltins.append(", ");
 7820|    616|                commonBuiltins.append(dataType);
 7821|    616|                if (j == 1) {
  ------------------
  |  Branch (7821:21): [True: 308, False: 308]
  ------------------
 7822|    308|                    commonBuiltins.append(", int, int, int, int, int");
 7823|    308|                }
 7824|    616|                commonBuiltins.append(");\n");
 7825|    616|            }
 7826|       |
 7827|    308|            commonBuiltins.append(dataType);
 7828|    308|            commonBuiltins.append(" imageAtomicLoad(volatile coherent nontemporal ");
 7829|    308|            commonBuiltins.append(imageParams);
 7830|    308|            commonBuiltins.append(", int, int, int);\n");
 7831|       |
 7832|    308|            commonBuiltins.append("void imageAtomicStore(volatile coherent nontemporal ");
 7833|    308|            commonBuiltins.append(imageParams);
 7834|    308|            commonBuiltins.append(", ");
 7835|    308|            commonBuiltins.append(dataType);
 7836|    308|            commonBuiltins.append(", int, int, int);\n");
 7837|       |
 7838|    308|        } else {
 7839|       |            // not int or uint
 7840|       |            // GL_ARB_ES3_1_compatibility
 7841|       |            // TODO: spec issue: are there restrictions on the kind of layout() that can be used?  what about dropping memory qualifiers?
 7842|    154|            if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (7842:17): [True: 0, False: 154]
  |  Branch (7842:42): [True: 0, False: 0]
  ------------------
 7843|      0|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7844|      0|                commonBuiltins.append(imageParams);
 7845|      0|                commonBuiltins.append(", float);\n");
 7846|      0|            }
 7847|       |
 7848|       |            // GL_NV_shader_atomic_fp16_vector
 7849|    154|            if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (7849:17): [True: 154, False: 0]
  |  Branch (7849:42): [True: 154, False: 0]
  ------------------
 7850|    154|                const int numFp16Builtins = 4;
 7851|    154|                const char* atomicFp16Func[numFp16Builtins] = {
 7852|    154|                    " imageAtomicAdd(volatile coherent nontemporal ",
 7853|    154|                    " imageAtomicMin(volatile coherent nontemporal ",
 7854|    154|                    " imageAtomicMax(volatile coherent nontemporal ",
 7855|    154|                    " imageAtomicExchange(volatile coherent nontemporal "
 7856|    154|                };
 7857|    154|                const int numFp16DataTypes = 2;
 7858|    154|                const char* atomicFp16DataTypes[numFp16DataTypes] = {
 7859|    154|                    "f16vec2",
 7860|    154|                    "f16vec4"
 7861|    154|                };
 7862|       |                // Loop twice to add prototypes with/without scope/semantics
 7863|    462|                for (int j = 0; j < numFp16DataTypes; ++j) {
  ------------------
  |  Branch (7863:33): [True: 308, False: 154]
  ------------------
 7864|  1.54k|                    for (int i = 0; i < numFp16Builtins; ++i) {
  ------------------
  |  Branch (7864:37): [True: 1.23k, False: 308]
  ------------------
 7865|  1.23k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7866|  1.23k|                        commonBuiltins.append(atomicFp16Func[i]);
 7867|  1.23k|                        commonBuiltins.append(imageParams);
 7868|  1.23k|                        commonBuiltins.append(", ");
 7869|  1.23k|                        commonBuiltins.append(atomicFp16DataTypes[j]);
 7870|  1.23k|                        commonBuiltins.append(");\n");
 7871|  1.23k|                    }
 7872|    308|                }
 7873|    154|            }
 7874|       |
 7875|    154|            if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (7875:17): [True: 154, False: 0]
  |  Branch (7875:42): [True: 154, False: 0]
  ------------------
 7876|    154|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7877|    154|                commonBuiltins.append(imageParams);
 7878|    154|                commonBuiltins.append(", float);\n");
 7879|       |
 7880|    154|                commonBuiltins.append("float imageAtomicAdd(volatile coherent nontemporal ");
 7881|    154|                commonBuiltins.append(imageParams);
 7882|    154|                commonBuiltins.append(", float");
 7883|    154|                commonBuiltins.append(", int, int, int);\n");
 7884|       |
 7885|    154|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7886|    154|                commonBuiltins.append(imageParams);
 7887|    154|                commonBuiltins.append(", float);\n");
 7888|       |
 7889|    154|                commonBuiltins.append("float imageAtomicExchange(volatile coherent nontemporal ");
 7890|    154|                commonBuiltins.append(imageParams);
 7891|    154|                commonBuiltins.append(", float");
 7892|    154|                commonBuiltins.append(", int, int, int);\n");
 7893|       |
 7894|    154|                commonBuiltins.append("float imageAtomicLoad(readonly volatile coherent nontemporal ");
 7895|    154|                commonBuiltins.append(imageParams);
 7896|    154|                commonBuiltins.append(", int, int, int);\n");
 7897|       |
 7898|    154|                commonBuiltins.append("void imageAtomicStore(writeonly volatile coherent nontemporal ");
 7899|    154|                commonBuiltins.append(imageParams);
 7900|    154|                commonBuiltins.append(", float");
 7901|    154|                commonBuiltins.append(", int, int, int);\n");
 7902|       |
 7903|    154|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7904|    154|                commonBuiltins.append(imageParams);
 7905|    154|                commonBuiltins.append(", float);\n");
 7906|       |
 7907|    154|                commonBuiltins.append("float imageAtomicMin(volatile coherent nontemporal ");
 7908|    154|                commonBuiltins.append(imageParams);
 7909|    154|                commonBuiltins.append(", float");
 7910|    154|                commonBuiltins.append(", int, int, int);\n");
 7911|       |
 7912|    154|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7913|    154|                commonBuiltins.append(imageParams);
 7914|    154|                commonBuiltins.append(", float);\n");
 7915|       |
 7916|    154|                commonBuiltins.append("float imageAtomicMax(volatile coherent nontemporal ");
 7917|    154|                commonBuiltins.append(imageParams);
 7918|    154|                commonBuiltins.append(", float");
 7919|    154|                commonBuiltins.append(", int, int, int);\n");
 7920|    154|            }
 7921|    154|        }
 7922|    462|    }
 7923|       |
 7924|    462|    if (sampler.dim == EsdRect || sampler.dim == EsdBuffer || sampler.shadow || sampler.isMultiSample())
  ------------------
  |  Branch (7924:9): [True: 42, False: 420]
  |  Branch (7924:35): [True: 42, False: 378]
  |  Branch (7924:63): [True: 0, False: 378]
  |  Branch (7924:81): [True: 84, False: 294]
  ------------------
 7925|    168|        return;
 7926|       |
 7927|    294|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (7927:9): [True: 0, False: 294]
  |  Branch (7927:34): [True: 0, False: 294]
  ------------------
 7928|      0|        return;
 7929|       |
 7930|    294|    TString imageLodParams = typeName;
 7931|    294|    if (dims == 1)
  ------------------
  |  Branch (7931:9): [True: 42, False: 252]
  ------------------
 7932|     42|        imageLodParams.append(", int");
 7933|    252|    else {
 7934|    252|        imageLodParams.append(", ivec");
 7935|    252|        imageLodParams.append(postfixes[dims]);
 7936|    252|    }
 7937|    294|    imageLodParams.append(", int");
 7938|       |
 7939|    294|    commonBuiltins.append(prefixes[sampler.type]);
 7940|    294|    commonBuiltins.append("vec4 imageLoadLodAMD(readonly volatile coherent nontemporal ");
 7941|    294|    commonBuiltins.append(imageLodParams);
 7942|    294|    commonBuiltins.append(");\n");
 7943|       |
 7944|    294|    commonBuiltins.append("void imageStoreLodAMD(writeonly volatile coherent nontemporal ");
 7945|    294|    commonBuiltins.append(imageLodParams);
 7946|    294|    commonBuiltins.append(", ");
 7947|    294|    commonBuiltins.append(prefixes[sampler.type]);
 7948|    294|    commonBuiltins.append("vec4);\n");
 7949|       |
 7950|    294|    if (! sampler.is1D()) {
  ------------------
  |  Branch (7950:9): [True: 210, False: 84]
  ------------------
 7951|    210|        commonBuiltins.append("int sparseImageLoadLodAMD(readonly volatile coherent nontemporal ");
 7952|    210|        commonBuiltins.append(imageLodParams);
 7953|    210|        commonBuiltins.append(", out ");
 7954|    210|        commonBuiltins.append(prefixes[sampler.type]);
 7955|    210|        commonBuiltins.append("vec4");
 7956|    210|        commonBuiltins.append(");\n");
 7957|    210|    }
 7958|    294|}
_ZN7glslang9TBuiltIns18addSubpassSamplingENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7967|     56|{
 7968|     56|    stageBuiltins[EShLangFragment].append(prefixes[sampler.type]);
 7969|     56|    stageBuiltins[EShLangFragment].append("vec4 subpassLoad");
 7970|     56|    stageBuiltins[EShLangFragment].append("(");
 7971|     56|    stageBuiltins[EShLangFragment].append(typeName.c_str());
 7972|     56|    if (sampler.isMultiSample())
  ------------------
  |  Branch (7972:9): [True: 28, False: 28]
  ------------------
 7973|     28|        stageBuiltins[EShLangFragment].append(", int");
 7974|     56|    stageBuiltins[EShLangFragment].append(");\n");
 7975|     56|}
_ZN7glslang9TBuiltIns20addSamplingFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 7984|    714|{
 7985|       |    //
 7986|       |    // texturing
 7987|       |    //
 7988|  2.14k|    for (int proj = 0; proj <= 1; ++proj) { // loop over "bool" projective or not
  ------------------
  |  Branch (7988:24): [True: 1.42k, False: 714]
  ------------------
 7989|       |
 7990|  1.42k|        if (proj && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.arrayed || sampler.isMultiSample()
  ------------------
  |  Branch (7990:13): [True: 714, False: 714]
  |  Branch (7990:22): [True: 140, False: 574]
  |  Branch (7990:48): [True: 56, False: 518]
  |  Branch (7990:70): [True: 196, False: 322]
  |  Branch (7990:89): [True: 56, False: 266]
  ------------------
 7991|    266|            || !sampler.isCombined()))
  ------------------
  |  Branch (7991:16): [True: 112, False: 154]
  ------------------
 7992|    560|            continue;
 7993|       |
 7994|  2.60k|        for (int lod = 0; lod <= 1; ++lod) {
  ------------------
  |  Branch (7994:27): [True: 1.73k, False: 868]
  ------------------
 7995|       |
 7996|  1.73k|            if (lod && (sampler.isBuffer() || sampler.isRect() || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (7996:17): [True: 868, False: 868]
  |  Branch (7996:25): [True: 56, False: 812]
  |  Branch (7996:47): [True: 112, False: 700]
  |  Branch (7996:67): [True: 112, False: 588]
  |  Branch (7996:94): [True: 196, False: 392]
  ------------------
 7997|    476|                continue;
 7998|  1.26k|            if (lod && sampler.dim == Esd2D && sampler.arrayed && sampler.shadow)
  ------------------
  |  Branch (7998:17): [True: 392, False: 868]
  |  Branch (7998:24): [True: 126, False: 266]
  |  Branch (7998:48): [True: 42, False: 84]
  |  Branch (7998:67): [True: 14, False: 28]
  ------------------
 7999|     14|                continue;
 8000|  1.24k|            if (lod && sampler.dim == EsdCube && sampler.shadow)
  ------------------
  |  Branch (8000:17): [True: 378, False: 868]
  |  Branch (8000:24): [True: 84, False: 294]
  |  Branch (8000:50): [True: 28, False: 56]
  ------------------
 8001|     28|                continue;
 8002|       |
 8003|  3.65k|            for (int bias = 0; bias <= 1; ++bias) {
  ------------------
  |  Branch (8003:32): [True: 2.43k, False: 1.21k]
  ------------------
 8004|       |
 8005|  2.43k|                if (bias && (lod || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8005:21): [True: 1.21k, False: 1.21k]
  |  Branch (8005:30): [True: 350, False: 868]
  |  Branch (8005:37): [True: 112, False: 756]
  |  Branch (8005:64): [True: 252, False: 504]
  ------------------
 8006|    714|                    continue;
 8007|  1.72k|                if (bias && (sampler.dim == Esd2D || sampler.dim == EsdCube) && sampler.shadow && sampler.arrayed)
  ------------------
  |  Branch (8007:21): [True: 504, False: 1.21k]
  |  Branch (8007:30): [True: 126, False: 378]
  |  Branch (8007:54): [True: 84, False: 294]
  |  Branch (8007:81): [True: 70, False: 140]
  |  Branch (8007:99): [True: 28, False: 42]
  ------------------
 8008|     28|                    continue;
 8009|  1.69k|                if (bias && (sampler.isRect() || sampler.isBuffer()))
  ------------------
  |  Branch (8009:21): [True: 476, False: 1.21k]
  |  Branch (8009:30): [True: 84, False: 392]
  |  Branch (8009:50): [True: 28, False: 364]
  ------------------
 8010|    112|                    continue;
 8011|       |
 8012|  4.74k|                for (int offset = 0; offset <= 1; ++offset) { // loop over "bool" offset or not
  ------------------
  |  Branch (8012:38): [True: 3.16k, False: 1.58k]
  ------------------
 8013|       |
 8014|  3.16k|                    if (proj + offset + bias + lod > 3)
  ------------------
  |  Branch (8014:25): [True: 0, False: 3.16k]
  ------------------
 8015|      0|                        continue;
 8016|  3.16k|                    if (offset && (sampler.dim == EsdCube || sampler.isBuffer() || sampler.isMultiSample()))
  ------------------
  |  Branch (8016:25): [True: 1.58k, False: 1.58k]
  |  Branch (8016:36): [True: 266, False: 1.31k]
  |  Branch (8016:62): [True: 56, False: 1.26k]
  |  Branch (8016:84): [True: 112, False: 1.14k]
  ------------------
 8017|    434|                        continue;
 8018|       |
 8019|  8.19k|                    for (int fetch = 0; fetch <= 1; ++fetch) { // loop over "bool" fetch or not
  ------------------
  |  Branch (8019:41): [True: 5.46k, False: 2.73k]
  ------------------
 8020|       |
 8021|  5.46k|                        if (proj + offset + fetch + bias + lod > 3)
  ------------------
  |  Branch (8021:29): [True: 224, False: 5.23k]
  ------------------
 8022|    224|                            continue;
 8023|  5.23k|                        if (fetch && (lod || bias))
  ------------------
  |  Branch (8023:29): [True: 2.50k, False: 2.73k]
  |  Branch (8023:39): [True: 532, False: 1.97k]
  |  Branch (8023:46): [True: 546, False: 1.42k]
  ------------------
 8024|  1.07k|                            continue;
 8025|  4.15k|                        if (fetch && (sampler.shadow || sampler.dim == EsdCube))
  ------------------
  |  Branch (8025:29): [True: 1.42k, False: 2.73k]
  |  Branch (8025:39): [True: 252, False: 1.17k]
  |  Branch (8025:57): [True: 112, False: 1.06k]
  ------------------
 8026|    364|                            continue;
 8027|  3.79k|                        if (fetch == 0 && (sampler.isMultiSample() || sampler.isBuffer()
  ------------------
  |  Branch (8027:29): [True: 2.73k, False: 1.06k]
  |  Branch (8027:44): [True: 112, False: 2.61k]
  |  Branch (8027:71): [True: 56, False: 2.56k]
  ------------------
 8028|  2.56k|                            || !sampler.isCombined()))
  ------------------
  |  Branch (8028:32): [True: 392, False: 2.17k]
  ------------------
 8029|    560|                            continue;
 8030|       |
 8031|  9.70k|                        for (int grad = 0; grad <= 1; ++grad) { // loop over "bool" grad or not
  ------------------
  |  Branch (8031:44): [True: 6.46k, False: 3.23k]
  ------------------
 8032|       |
 8033|  6.46k|                            if (grad && (lod || bias || sampler.isMultiSample() || !sampler.isCombined()))
  ------------------
  |  Branch (8033:33): [True: 3.23k, False: 3.23k]
  |  Branch (8033:42): [True: 644, False: 2.59k]
  |  Branch (8033:49): [True: 658, False: 1.93k]
  |  Branch (8033:57): [True: 112, False: 1.82k]
  |  Branch (8033:84): [True: 364, False: 1.45k]
  ------------------
 8034|  1.77k|                                continue;
 8035|  4.69k|                            if (grad && sampler.isBuffer())
  ------------------
  |  Branch (8035:33): [True: 1.45k, False: 3.23k]
  |  Branch (8035:41): [True: 28, False: 1.42k]
  ------------------
 8036|     28|                                continue;
 8037|  4.66k|                            if (proj + offset + fetch + grad + bias + lod > 3)
  ------------------
  |  Branch (8037:33): [True: 112, False: 4.55k]
  ------------------
 8038|    112|                                continue;
 8039|       |
 8040|  13.6k|                            for (int extraProj = 0; extraProj <= 1; ++extraProj) {
  ------------------
  |  Branch (8040:53): [True: 9.10k, False: 4.55k]
  ------------------
 8041|  9.10k|                                bool compare = false;
 8042|  9.10k|                                int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8042:72): [True: 2.29k, False: 6.80k]
  ------------------
 8043|       |                                // skip dummy unused second component for 1D non-array shadows
 8044|  9.10k|                                if (sampler.shadow && totalDims < 2)
  ------------------
  |  Branch (8044:37): [True: 1.59k, False: 7.50k]
  |  Branch (8044:55): [True: 448, False: 1.14k]
  ------------------
 8045|    448|                                    totalDims = 2;
 8046|  9.10k|                                totalDims += (sampler.shadow ? 1 : 0) + proj;
  ------------------
  |  Branch (8046:47): [True: 1.59k, False: 7.50k]
  ------------------
 8047|  9.10k|                                if (totalDims > 4 && sampler.shadow) {
  ------------------
  |  Branch (8047:37): [True: 56, False: 9.04k]
  |  Branch (8047:54): [True: 56, False: 0]
  ------------------
 8048|     56|                                    compare = true;
 8049|     56|                                    totalDims = 4;
 8050|     56|                                }
 8051|  9.10k|                                assert(totalDims <= 4);
 8052|       |
 8053|  9.10k|                                if (extraProj && ! proj)
  ------------------
  |  Branch (8053:37): [True: 4.55k, False: 4.55k]
  |  Branch (8053:50): [True: 3.15k, False: 1.40k]
  ------------------
 8054|  3.15k|                                    continue;
 8055|  5.95k|                                if (extraProj && (sampler.dim == Esd3D || sampler.shadow || !sampler.isCombined()))
  ------------------
  |  Branch (8055:37): [True: 1.40k, False: 4.55k]
  |  Branch (8055:51): [True: 308, False: 1.09k]
  |  Branch (8055:75): [True: 280, False: 812]
  |  Branch (8055:93): [True: 0, False: 812]
  ------------------
 8056|    588|                                    continue;
 8057|       |
 8058|       |                                // loop over 16-bit floating-point texel addressing
 8059|  16.0k|                                for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr)
  ------------------
  |  Branch (8059:58): [True: 10.7k, False: 5.36k]
  ------------------
 8060|  10.7k|                                {
 8061|  10.7k|                                    if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8061:41): [True: 5.36k, False: 5.36k]
  |  Branch (8061:55): [True: 3.82k, False: 1.54k]
  ------------------
 8062|  3.82k|                                        continue;
 8063|  6.90k|                                    if (f16TexAddr && sampler.shadow && ! compare) {
  ------------------
  |  Branch (8063:41): [True: 1.54k, False: 5.36k]
  |  Branch (8063:55): [True: 399, False: 1.14k]
  |  Branch (8063:73): [True: 385, False: 14]
  ------------------
 8064|    385|                                        compare = true; // compare argument is always present
 8065|    385|                                        totalDims--;
 8066|    385|                                    }
 8067|       |                                    // loop over "bool" lod clamp
 8068|  20.7k|                                    for (int lodClamp = 0; lodClamp <= 1 ;++lodClamp)
  ------------------
  |  Branch (8068:60): [True: 13.8k, False: 6.90k]
  ------------------
 8069|  13.8k|                                    {
 8070|  13.8k|                                        if (lodClamp && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8070:45): [True: 6.90k, False: 6.90k]
  |  Branch (8070:58): [True: 0, False: 6.90k]
  |  Branch (8070:83): [True: 0, False: 6.90k]
  ------------------
 8071|      0|                                            continue;
 8072|  13.8k|                                        if (lodClamp && (proj || lod || fetch))
  ------------------
  |  Branch (8072:45): [True: 6.90k, False: 6.90k]
  |  Branch (8072:58): [True: 2.83k, False: 4.06k]
  |  Branch (8072:66): [True: 546, False: 3.52k]
  |  Branch (8072:73): [True: 1.47k, False: 2.05k]
  ------------------
 8073|  4.85k|                                            continue;
 8074|       |
 8075|       |                                        // loop over "bool" sparse or not
 8076|  26.8k|                                        for (int sparse = 0; sparse <= 1; ++sparse)
  ------------------
  |  Branch (8076:62): [True: 17.9k, False: 8.95k]
  ------------------
 8077|  17.9k|                                        {
 8078|  17.9k|                                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8078:49): [True: 8.95k, False: 8.95k]
  |  Branch (8078:60): [True: 0, False: 8.95k]
  |  Branch (8078:85): [True: 0, False: 8.95k]
  ------------------
 8079|      0|                                                continue;
 8080|       |                                            // Sparse sampling is not for 1D/1D array texture, buffer texture, and
 8081|       |                                            // projective texture
 8082|  17.9k|                                            if (sparse && (sampler.is1D() || sampler.isBuffer() || proj))
  ------------------
  |  Branch (8082:49): [True: 8.95k, False: 8.95k]
  |  Branch (8082:60): [True: 2.92k, False: 6.02k]
  |  Branch (8082:78): [True: 70, False: 5.95k]
  |  Branch (8082:100): [True: 1.89k, False: 4.06k]
  ------------------
 8083|  4.89k|                                                continue;
 8084|       |
 8085|  13.0k|                                            TString s;
 8086|       |
 8087|       |                                            // return type
 8088|  13.0k|                                            if (sparse)
  ------------------
  |  Branch (8088:49): [True: 4.06k, False: 8.95k]
  ------------------
 8089|  4.06k|                                                s.append("int ");
 8090|  8.95k|                                            else {
 8091|  8.95k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8091:53): [True: 1.84k, False: 7.10k]
  ------------------
 8092|  1.84k|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8092:57): [True: 1.23k, False: 616]
  ------------------
 8093|  1.23k|                                                        s.append("float16_t ");
 8094|    616|                                                    else
 8095|    616|                                                        s.append("float ");
 8096|  7.10k|                                                else {
 8097|  7.10k|                                                    s.append(prefixes[sampler.type]);
 8098|  7.10k|                                                    s.append("vec4 ");
 8099|  7.10k|                                                }
 8100|  8.95k|                                            }
 8101|       |
 8102|       |                                            // name
 8103|  13.0k|                                            if (sparse) {
  ------------------
  |  Branch (8103:49): [True: 4.06k, False: 8.95k]
  ------------------
 8104|  4.06k|                                                if (fetch)
  ------------------
  |  Branch (8104:53): [True: 980, False: 3.08k]
  ------------------
 8105|    980|                                                    s.append("sparseTexel");
 8106|  3.08k|                                                else
 8107|  3.08k|                                                    s.append("sparseTexture");
 8108|  4.06k|                                            }
 8109|  8.95k|                                            else {
 8110|  8.95k|                                                if (fetch)
  ------------------
  |  Branch (8110:53): [True: 2.20k, False: 6.74k]
  ------------------
 8111|  2.20k|                                                    s.append("texel");
 8112|  6.74k|                                                else
 8113|  6.74k|                                                    s.append("texture");
 8114|  8.95k|                                            }
 8115|  13.0k|                                            if (proj)
  ------------------
  |  Branch (8115:49): [True: 2.83k, False: 10.1k]
  ------------------
 8116|  2.83k|                                                s.append("Proj");
 8117|  13.0k|                                            if (lod)
  ------------------
  |  Branch (8117:49): [True: 1.30k, False: 11.7k]
  ------------------
 8118|  1.30k|                                                s.append("Lod");
 8119|  13.0k|                                            if (grad)
  ------------------
  |  Branch (8119:49): [True: 4.08k, False: 8.93k]
  ------------------
 8120|  4.08k|                                                s.append("Grad");
 8121|  13.0k|                                            if (fetch)
  ------------------
  |  Branch (8121:49): [True: 3.18k, False: 9.82k]
  ------------------
 8122|  3.18k|                                                s.append("Fetch");
 8123|  13.0k|                                            if (offset)
  ------------------
  |  Branch (8123:49): [True: 5.50k, False: 7.50k]
  ------------------
 8124|  5.50k|                                                s.append("Offset");
 8125|  13.0k|                                            if (lodClamp)
  ------------------
  |  Branch (8125:49): [True: 3.43k, False: 9.58k]
  ------------------
 8126|  3.43k|                                                s.append("Clamp");
 8127|  13.0k|                                            if (lodClamp != 0 || sparse)
  ------------------
  |  Branch (8127:49): [True: 3.43k, False: 9.58k]
  |  Branch (8127:66): [True: 2.68k, False: 6.90k]
  ------------------
 8128|  6.11k|                                                s.append("ARB");
 8129|  13.0k|                                            s.append("(");
 8130|       |
 8131|       |                                            // sampler type
 8132|  13.0k|                                            s.append(typeName);
 8133|       |                                            // P coordinate
 8134|  13.0k|                                            if (extraProj) {
  ------------------
  |  Branch (8134:49): [True: 1.01k, False: 11.9k]
  ------------------
 8135|  1.01k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8135:53): [True: 203, False: 812]
  ------------------
 8136|    203|                                                    s.append(",f16vec4");
 8137|    812|                                                else
 8138|    812|                                                    s.append(",vec4");
 8139|  11.9k|                                            } else {
 8140|  11.9k|                                                s.append(",");
 8141|  11.9k|                                                TBasicType t = fetch ? EbtInt : (f16TexAddr ? EbtFloat16 : EbtFloat);
  ------------------
  |  Branch (8141:64): [True: 2.87k, False: 9.12k]
  |  Branch (8141:82): [True: 2.18k, False: 6.94k]
  ------------------
 8142|  11.9k|                                                if (totalDims == 1)
  ------------------
  |  Branch (8142:53): [True: 770, False: 11.2k]
  ------------------
 8143|    770|                                                    s.append(TType::getBasicString(t));
 8144|  11.2k|                                                else {
 8145|  11.2k|                                                    s.append(prefixes[t]);
 8146|  11.2k|                                                    s.append("vec");
 8147|  11.2k|                                                    s.append(postfixes[totalDims]);
 8148|  11.2k|                                                }
 8149|  11.9k|                                            }
 8150|       |                                            // non-optional compare
 8151|  13.0k|                                            if (compare)
  ------------------
  |  Branch (8151:49): [True: 1.00k, False: 12.0k]
  ------------------
 8152|  1.00k|                                                s.append(",float");
 8153|       |
 8154|       |                                            // non-optional lod argument (lod that's not driven by lod loop) or sample
 8155|  13.0k|                                            if ((fetch && !sampler.isBuffer() &&
  ------------------
  |  Branch (8155:50): [True: 3.18k, False: 9.82k]
  |  Branch (8155:59): [True: 3.11k, False: 70]
  ------------------
 8156|  3.11k|                                                 !sampler.isRect() && !sampler.isMultiSample())
  ------------------
  |  Branch (8156:50): [True: 2.48k, False: 630]
  |  Branch (8156:71): [True: 2.20k, False: 280]
  ------------------
 8157|  10.8k|                                                 || (sampler.isMultiSample() && fetch))
  ------------------
  |  Branch (8157:54): [True: 280, False: 10.5k]
  |  Branch (8157:81): [True: 280, False: 0]
  ------------------
 8158|  2.48k|                                                s.append(",int");
 8159|       |                                            // non-optional lod
 8160|  13.0k|                                            if (lod) {
  ------------------
  |  Branch (8160:49): [True: 1.30k, False: 11.7k]
  ------------------
 8161|  1.30k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8161:53): [True: 294, False: 1.00k]
  ------------------
 8162|    294|                                                    s.append(",float16_t");
 8163|  1.00k|                                                else
 8164|  1.00k|                                                    s.append(",float");
 8165|  1.30k|                                            }
 8166|       |
 8167|       |                                            // gradient arguments
 8168|  13.0k|                                            if (grad) {
  ------------------
  |  Branch (8168:49): [True: 4.08k, False: 8.93k]
  ------------------
 8169|  4.08k|                                                if (dimMap[sampler.dim] == 1) {
  ------------------
  |  Branch (8169:53): [True: 840, False: 3.24k]
  ------------------
 8170|    840|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8170:57): [True: 196, False: 644]
  ------------------
 8171|    196|                                                        s.append(",float16_t,float16_t");
 8172|    644|                                                    else
 8173|    644|                                                        s.append(",float,float");
 8174|  3.24k|                                                } else {
 8175|  3.24k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8175:57): [True: 749, False: 2.49k]
  ------------------
 8176|    749|                                                        s.append(",f16vec");
 8177|  2.49k|                                                    else
 8178|  2.49k|                                                        s.append(",vec");
 8179|  3.24k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8180|  3.24k|                                                    if (f16TexAddr)
  ------------------
  |  Branch (8180:57): [True: 749, False: 2.49k]
  ------------------
 8181|    749|                                                        s.append(",f16vec");
 8182|  2.49k|                                                    else
 8183|  2.49k|                                                        s.append(",vec");
 8184|  3.24k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8185|  3.24k|                                                }
 8186|  4.08k|                                            }
 8187|       |                                            // offset
 8188|  13.0k|                                            if (offset) {
  ------------------
  |  Branch (8188:49): [True: 5.50k, False: 7.50k]
  ------------------
 8189|  5.50k|                                                if (dimMap[sampler.dim] == 1)
  ------------------
  |  Branch (8189:53): [True: 1.42k, False: 4.08k]
  ------------------
 8190|  1.42k|                                                    s.append(",int");
 8191|  4.08k|                                                else {
 8192|  4.08k|                                                    s.append(",ivec");
 8193|  4.08k|                                                    s.append(postfixes[dimMap[sampler.dim]]);
 8194|  4.08k|                                                }
 8195|  5.50k|                                            }
 8196|       |
 8197|       |                                            // lod clamp
 8198|  13.0k|                                            if (lodClamp) {
  ------------------
  |  Branch (8198:49): [True: 3.43k, False: 9.58k]
  ------------------
 8199|  3.43k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8199:53): [True: 826, False: 2.60k]
  ------------------
 8200|    826|                                                    s.append(",float16_t");
 8201|  2.60k|                                                else
 8202|  2.60k|                                                    s.append(",float");
 8203|  3.43k|                                            }
 8204|       |                                            // texel out (for sparse texture)
 8205|  13.0k|                                            if (sparse) {
  ------------------
  |  Branch (8205:49): [True: 4.06k, False: 8.95k]
  ------------------
 8206|  4.06k|                                                s.append(",out ");
 8207|  4.06k|                                                if (sampler.shadow)
  ------------------
  |  Branch (8207:53): [True: 840, False: 3.22k]
  ------------------
 8208|    840|                                                    if (sampler.type == EbtFloat16)
  ------------------
  |  Branch (8208:57): [True: 560, False: 280]
  ------------------
 8209|    560|                                                        s.append("float16_t");
 8210|    280|                                                    else
 8211|    280|                                                        s.append("float");
 8212|  3.22k|                                                else {
 8213|  3.22k|                                                    s.append(prefixes[sampler.type]);
 8214|  3.22k|                                                    s.append("vec4");
 8215|  3.22k|                                                }
 8216|  4.06k|                                            }
 8217|       |                                            // optional bias
 8218|  13.0k|                                            if (bias) {
  ------------------
  |  Branch (8218:49): [True: 2.25k, False: 10.7k]
  ------------------
 8219|  2.25k|                                                if (f16TexAddr)
  ------------------
  |  Branch (8219:53): [True: 518, False: 1.73k]
  ------------------
 8220|    518|                                                    s.append(",float16_t");
 8221|  1.73k|                                                else
 8222|  1.73k|                                                    s.append(",float");
 8223|  2.25k|                                            }
 8224|  13.0k|                                            s.append(");\n");
 8225|       |
 8226|       |                                            // Add to the per-language set of built-ins
 8227|  13.0k|                                            if (!grad && (bias || lodClamp != 0)) {
  ------------------
  |  Branch (8227:49): [True: 8.93k, False: 4.08k]
  |  Branch (8227:59): [True: 2.25k, False: 6.67k]
  |  Branch (8227:67): [True: 1.26k, False: 5.41k]
  ------------------
 8228|  3.51k|                                                stageBuiltins[EShLangFragment].append(s);
 8229|  3.51k|                                                stageBuiltins[EShLangCompute].append(s);
 8230|  3.51k|                                            } else
 8231|  9.49k|                                                commonBuiltins.append(s);
 8232|       |
 8233|  13.0k|                                        }
 8234|  8.95k|                                    }
 8235|  6.90k|                                }
 8236|  5.36k|                            }
 8237|  4.55k|                        }
 8238|  3.23k|                    }
 8239|  2.73k|                }
 8240|  1.58k|            }
 8241|  1.21k|        }
 8242|    868|    }
 8243|    714|}
_ZN7glslang9TBuiltIns18addGatherFunctionsENS_8TSamplerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS_14pool_allocatorIcEEEEi8EProfile:
 8252|    406|{
 8253|    406|    switch (sampler.dim) {
 8254|    140|    case Esd2D:
  ------------------
  |  Branch (8254:5): [True: 140, False: 266]
  ------------------
 8255|    182|    case EsdRect:
  ------------------
  |  Branch (8255:5): [True: 42, False: 364]
  ------------------
 8256|    266|    case EsdCube:
  ------------------
  |  Branch (8256:5): [True: 84, False: 322]
  ------------------
 8257|    266|        break;
 8258|    140|    default:
  ------------------
  |  Branch (8258:5): [True: 140, False: 266]
  ------------------
 8259|    140|        return;
 8260|    406|    }
 8261|       |
 8262|    266|    if (sampler.isMultiSample())
  ------------------
  |  Branch (8262:9): [True: 56, False: 210]
  ------------------
 8263|     56|        return;
 8264|       |
 8265|    210|    if (version < 140 && sampler.dim == EsdRect && sampler.type != EbtFloat)
  ------------------
  |  Branch (8265:9): [True: 0, False: 210]
  |  Branch (8265:26): [True: 0, False: 0]
  |  Branch (8265:52): [True: 0, False: 0]
  ------------------
 8266|      0|        return;
 8267|       |
 8268|    630|    for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8268:30): [True: 420, False: 210]
  ------------------
 8269|       |
 8270|    420|        if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8270:13): [True: 210, False: 210]
  |  Branch (8270:27): [True: 140, False: 70]
  ------------------
 8271|    140|            continue;
 8272|  1.12k|        for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8272:30): [True: 840, False: 280]
  ------------------
 8273|       |
 8274|  2.52k|            for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8274:32): [True: 1.68k, False: 840]
  ------------------
 8275|       |
 8276|  1.68k|                if (comp > 0 && sampler.shadow)
  ------------------
  |  Branch (8276:21): [True: 840, False: 840]
  |  Branch (8276:33): [True: 315, False: 525]
  ------------------
 8277|    315|                    continue;
 8278|       |
 8279|  1.36k|                if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8279:21): [True: 910, False: 455]
  |  Branch (8279:35): [True: 364, False: 546]
  ------------------
 8280|    364|                    continue;
 8281|       |
 8282|  3.00k|                for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8282:38): [True: 2.00k, False: 1.00k]
  ------------------
 8283|  2.00k|                    if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8283:25): [True: 1.00k, False: 1.00k]
  |  Branch (8283:36): [True: 0, False: 1.00k]
  |  Branch (8283:61): [True: 0, False: 1.00k]
  ------------------
 8284|      0|                        continue;
 8285|       |
 8286|  2.00k|                    TString s;
 8287|       |
 8288|       |                    // return type
 8289|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8289:25): [True: 1.00k, False: 1.00k]
  ------------------
 8290|  1.00k|                        s.append("int ");
 8291|  1.00k|                    else {
 8292|  1.00k|                        s.append(prefixes[sampler.type]);
 8293|  1.00k|                        s.append("vec4 ");
 8294|  1.00k|                    }
 8295|       |
 8296|       |                    // name
 8297|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8297:25): [True: 1.00k, False: 1.00k]
  ------------------
 8298|  1.00k|                        s.append("sparseTextureGather");
 8299|  1.00k|                    else
 8300|  1.00k|                        s.append("textureGather");
 8301|  2.00k|                    switch (offset) {
 8302|    546|                    case 1:
  ------------------
  |  Branch (8302:21): [True: 546, False: 1.45k]
  ------------------
 8303|    546|                        s.append("Offset");
 8304|    546|                        break;
 8305|    546|                    case 2:
  ------------------
  |  Branch (8305:21): [True: 546, False: 1.45k]
  ------------------
 8306|    546|                        s.append("Offsets");
 8307|    546|                        break;
 8308|    910|                    default:
  ------------------
  |  Branch (8308:21): [True: 910, False: 1.09k]
  ------------------
 8309|    910|                        break;
 8310|  2.00k|                    }
 8311|  2.00k|                    if (sparse)
  ------------------
  |  Branch (8311:25): [True: 1.00k, False: 1.00k]
  ------------------
 8312|  1.00k|                        s.append("ARB");
 8313|  2.00k|                    s.append("(");
 8314|       |
 8315|       |                    // sampler type argument
 8316|  2.00k|                    s.append(typeName);
 8317|       |
 8318|       |                    // P coordinate argument
 8319|  2.00k|                    if (f16TexAddr)
  ------------------
  |  Branch (8319:25): [True: 462, False: 1.54k]
  ------------------
 8320|    462|                        s.append(",f16vec");
 8321|  1.54k|                    else
 8322|  1.54k|                        s.append(",vec");
 8323|  2.00k|                    int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8323:60): [True: 728, False: 1.27k]
  ------------------
 8324|  2.00k|                    s.append(postfixes[totalDims]);
 8325|       |
 8326|       |                    // refZ argument
 8327|  2.00k|                    if (sampler.shadow)
  ------------------
  |  Branch (8327:25): [True: 462, False: 1.54k]
  ------------------
 8328|    462|                        s.append(",float");
 8329|       |
 8330|       |                    // offset argument
 8331|  2.00k|                    if (offset > 0) {
  ------------------
  |  Branch (8331:25): [True: 1.09k, False: 910]
  ------------------
 8332|  1.09k|                        s.append(",ivec2");
 8333|  1.09k|                        if (offset == 2)
  ------------------
  |  Branch (8333:29): [True: 546, False: 546]
  ------------------
 8334|    546|                            s.append("[4]");
 8335|  1.09k|                    }
 8336|       |
 8337|       |                    // texel out (for sparse texture)
 8338|  2.00k|                    if (sparse) {
  ------------------
  |  Branch (8338:25): [True: 1.00k, False: 1.00k]
  ------------------
 8339|  1.00k|                        s.append(",out ");
 8340|  1.00k|                        s.append(prefixes[sampler.type]);
 8341|  1.00k|                        s.append("vec4 ");
 8342|  1.00k|                    }
 8343|       |
 8344|       |                    // comp argument
 8345|  2.00k|                    if (comp)
  ------------------
  |  Branch (8345:25): [True: 770, False: 1.23k]
  ------------------
 8346|    770|                        s.append(",int");
 8347|       |
 8348|  2.00k|                    s.append(");\n");
 8349|  2.00k|                    commonBuiltins.append(s);
 8350|  2.00k|                }
 8351|  1.00k|            }
 8352|    840|        }
 8353|    280|    }
 8354|       |
 8355|    210|    if (sampler.dim == EsdRect || sampler.shadow)
  ------------------
  |  Branch (8355:9): [True: 42, False: 168]
  |  Branch (8355:35): [True: 56, False: 112]
  ------------------
 8356|     98|        return;
 8357|       |
 8358|    112|    if (profile == EEsProfile || version < 450)
  ------------------
  |  Branch (8358:9): [True: 0, False: 112]
  |  Branch (8358:34): [True: 0, False: 112]
  ------------------
 8359|      0|        return;
 8360|       |
 8361|    336|    for (int bias = 0; bias < 2; ++bias) { // loop over presence of bias argument
  ------------------
  |  Branch (8361:24): [True: 224, False: 112]
  ------------------
 8362|       |
 8363|    672|        for (int lod = 0; lod < 2; ++lod) { // loop over presence of lod argument
  ------------------
  |  Branch (8363:27): [True: 448, False: 224]
  ------------------
 8364|       |
 8365|    448|            if ((lod && bias) || (lod == 0 && bias == 0))
  ------------------
  |  Branch (8365:18): [True: 224, False: 224]
  |  Branch (8365:25): [True: 112, False: 112]
  |  Branch (8365:35): [True: 224, False: 112]
  |  Branch (8365:47): [True: 112, False: 112]
  ------------------
 8366|    224|                continue;
 8367|       |
 8368|    672|            for (int f16TexAddr = 0; f16TexAddr <= 1; ++f16TexAddr) { // loop over 16-bit floating-point texel addressing
  ------------------
  |  Branch (8368:38): [True: 448, False: 224]
  ------------------
 8369|       |
 8370|    448|                if (f16TexAddr && sampler.type != EbtFloat16)
  ------------------
  |  Branch (8370:21): [True: 224, False: 224]
  |  Branch (8370:35): [True: 168, False: 56]
  ------------------
 8371|    168|                    continue;
 8372|       |
 8373|  1.12k|                for (int offset = 0; offset < 3; ++offset) { // loop over three forms of offset in the call name:  none, Offset, and Offsets
  ------------------
  |  Branch (8373:38): [True: 840, False: 280]
  ------------------
 8374|       |
 8375|  2.52k|                    for (int comp = 0; comp < 2; ++comp) { // loop over presence of comp argument
  ------------------
  |  Branch (8375:40): [True: 1.68k, False: 840]
  ------------------
 8376|       |
 8377|  1.68k|                        if (comp == 0 && bias)
  ------------------
  |  Branch (8377:29): [True: 840, False: 840]
  |  Branch (8377:42): [True: 420, False: 420]
  ------------------
 8378|    420|                            continue;
 8379|       |
 8380|  1.26k|                        if (offset > 0 && sampler.dim == EsdCube)
  ------------------
  |  Branch (8380:29): [True: 840, False: 420]
  |  Branch (8380:43): [True: 420, False: 420]
  ------------------
 8381|    420|                            continue;
 8382|       |
 8383|  2.52k|                        for (int sparse = 0; sparse <= 1; ++sparse) { // loop over "bool" sparse or not
  ------------------
  |  Branch (8383:46): [True: 1.68k, False: 840]
  ------------------
 8384|  1.68k|                            if (sparse && (profile == EEsProfile || version < 450))
  ------------------
  |  Branch (8384:33): [True: 840, False: 840]
  |  Branch (8384:44): [True: 0, False: 840]
  |  Branch (8384:69): [True: 0, False: 840]
  ------------------
 8385|      0|                                continue;
 8386|       |
 8387|  1.68k|                            TString s;
 8388|       |
 8389|       |                            // return type
 8390|  1.68k|                            if (sparse)
  ------------------
  |  Branch (8390:33): [True: 840, False: 840]
  ------------------
 8391|    840|                                s.append("int ");
 8392|    840|                            else {
 8393|    840|                                s.append(prefixes[sampler.type]);
 8394|    840|                                s.append("vec4 ");
 8395|    840|                            }
 8396|       |
 8397|       |                            // name
 8398|  1.68k|                            if (sparse)
  ------------------
  |  Branch (8398:33): [True: 840, False: 840]
  ------------------
 8399|    840|                                s.append("sparseTextureGather");
 8400|    840|                            else
 8401|    840|                                s.append("textureGather");
 8402|       |
 8403|  1.68k|                            if (lod)
  ------------------
  |  Branch (8403:33): [True: 1.12k, False: 560]
  ------------------
 8404|  1.12k|                                s.append("Lod");
 8405|       |
 8406|  1.68k|                            switch (offset) {
 8407|    420|                            case 1:
  ------------------
  |  Branch (8407:29): [True: 420, False: 1.26k]
  ------------------
 8408|    420|                                s.append("Offset");
 8409|    420|                                break;
 8410|    420|                            case 2:
  ------------------
  |  Branch (8410:29): [True: 420, False: 1.26k]
  ------------------
 8411|    420|                                s.append("Offsets");
 8412|    420|                                break;
 8413|    840|                            default:
  ------------------
  |  Branch (8413:29): [True: 840, False: 840]
  ------------------
 8414|    840|                                break;
 8415|  1.68k|                            }
 8416|       |
 8417|  1.68k|                            if (lod)
  ------------------
  |  Branch (8417:33): [True: 1.12k, False: 560]
  ------------------
 8418|  1.12k|                                s.append("AMD");
 8419|    560|                            else if (sparse)
  ------------------
  |  Branch (8419:38): [True: 280, False: 280]
  ------------------
 8420|    280|                                s.append("ARB");
 8421|       |
 8422|  1.68k|                            s.append("(");
 8423|       |
 8424|       |                            // sampler type argument
 8425|  1.68k|                            s.append(typeName);
 8426|       |
 8427|       |                            // P coordinate argument
 8428|  1.68k|                            if (f16TexAddr)
  ------------------
  |  Branch (8428:33): [True: 336, False: 1.34k]
  ------------------
 8429|    336|                                s.append(",f16vec");
 8430|  1.34k|                            else
 8431|  1.34k|                                s.append(",vec");
 8432|  1.68k|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8432:68): [True: 840, False: 840]
  ------------------
 8433|  1.68k|                            s.append(postfixes[totalDims]);
 8434|       |
 8435|       |                            // lod argument
 8436|  1.68k|                            if (lod) {
  ------------------
  |  Branch (8436:33): [True: 1.12k, False: 560]
  ------------------
 8437|  1.12k|                                if (f16TexAddr)
  ------------------
  |  Branch (8437:37): [True: 224, False: 896]
  ------------------
 8438|    224|                                    s.append(",float16_t");
 8439|    896|                                else
 8440|    896|                                    s.append(",float");
 8441|  1.12k|                            }
 8442|       |
 8443|       |                            // offset argument
 8444|  1.68k|                            if (offset > 0) {
  ------------------
  |  Branch (8444:33): [True: 840, False: 840]
  ------------------
 8445|    840|                                s.append(",ivec2");
 8446|    840|                                if (offset == 2)
  ------------------
  |  Branch (8446:37): [True: 420, False: 420]
  ------------------
 8447|    420|                                    s.append("[4]");
 8448|    840|                            }
 8449|       |
 8450|       |                            // texel out (for sparse texture)
 8451|  1.68k|                            if (sparse) {
  ------------------
  |  Branch (8451:33): [True: 840, False: 840]
  ------------------
 8452|    840|                                s.append(",out ");
 8453|    840|                                s.append(prefixes[sampler.type]);
 8454|    840|                                s.append("vec4 ");
 8455|    840|                            }
 8456|       |
 8457|       |                            // comp argument
 8458|  1.68k|                            if (comp)
  ------------------
  |  Branch (8458:33): [True: 1.12k, False: 560]
  ------------------
 8459|  1.12k|                                s.append(",int");
 8460|       |
 8461|       |                            // bias argument
 8462|  1.68k|                            if (bias) {
  ------------------
  |  Branch (8462:33): [True: 560, False: 1.12k]
  ------------------
 8463|    560|                                if (f16TexAddr)
  ------------------
  |  Branch (8463:37): [True: 112, False: 448]
  ------------------
 8464|    112|                                    s.append(",float16_t");
 8465|    448|                                else
 8466|    448|                                    s.append(",float");
 8467|    560|                            }
 8468|       |
 8469|  1.68k|                            s.append(");\n");
 8470|  1.68k|                            if (bias) {
  ------------------
  |  Branch (8470:33): [True: 560, False: 1.12k]
  ------------------
 8471|    560|                                stageBuiltins[EShLangFragment].append(s);
 8472|    560|                                stageBuiltins[EShLangCompute].append(s);
 8473|    560|                                stageBuiltins[EShLangTask].append(s);
 8474|    560|                                stageBuiltins[EShLangMesh].append(s);
 8475|    560|                            } else
 8476|  1.12k|                                commonBuiltins.append(s);
 8477|  1.68k|                        }
 8478|    840|                    }
 8479|    840|                }
 8480|    280|            }
 8481|    224|        }
 8482|    224|    }
 8483|    112|}
_ZN7glslang9TBuiltIns22addGatherFunctionsQCOMEv:
 8486|      7|{
 8487|      7|    const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint };
 8488|      7|    const TSamplerDim sDims[] = { Esd2D };
 8489|      7|    const TString modes[] = { "4x1", "V2", "H2", "D" };
 8490|     21|    for (size_t arrayed = 0; arrayed <= 1; ++arrayed) { // loop over "bool" arrayed or not
  ------------------
  |  Branch (8490:30): [True: 14, False: 7]
  ------------------
 8491|     28|        for (size_t dimIdx = 0; dimIdx < std::size(sDims); ++dimIdx) {
  ------------------
  |  Branch (8491:33): [True: 14, False: 14]
  ------------------
 8492|     14|            int dim = sDims[dimIdx];
 8493|       |            // Loop over the bTypes
 8494|     56|            for (size_t bType = 0; bType < std::size(bTypes); ++bType) {
  ------------------
  |  Branch (8494:36): [True: 42, False: 14]
  ------------------
 8495|    210|                for (size_t mode = 0; mode < std::size(modes); ++mode) {
  ------------------
  |  Branch (8495:39): [True: 168, False: 42]
  ------------------
 8496|       |                    // loop over two forms of offset in the call name:  none, and Offset
 8497|    504|                    for (int offset = 0; offset < 2; ++offset) {
  ------------------
  |  Branch (8497:42): [True: 336, False: 168]
  ------------------
 8498|  1.00k|                        for (int comp = 0; comp < 2; ++comp) {
  ------------------
  |  Branch (8498:44): [True: 672, False: 336]
  ------------------
 8499|       |                            //
 8500|       |                            // Now, make all the function prototypes for the type we just built...
 8501|       |                            //
 8502|    672|                            TSampler sampler;
 8503|    672|                            sampler.set(bTypes[bType], (TSamplerDim)dim, arrayed ? true : false, false, false);
  ------------------
  |  Branch (8503:74): [True: 336, False: 336]
  ------------------
 8504|    672|                            TString typeName = sampler.getString().c_str();
 8505|       |
 8506|    672|                            TString s;
 8507|    672|                            s.append(prefixes[sampler.type]);
 8508|    672|                            s.append("vec4 textureGather");
 8509|    672|                            s.append(modes[mode]);
 8510|       |
 8511|    672|                            if (offset == 1)
  ------------------
  |  Branch (8511:33): [True: 336, False: 336]
  ------------------
 8512|    336|                                s.append("Offset");
 8513|       |
 8514|    672|                            s.append("QCOM(");
 8515|    672|                            s.append(typeName);
 8516|    672|                            s.append(", vec");
 8517|    672|                            int totalDims = dimMap[sampler.dim] + (sampler.arrayed ? 1 : 0);
  ------------------
  |  Branch (8517:68): [True: 336, False: 336]
  ------------------
 8518|    672|                            s.append(postfixes[totalDims]);
 8519|       |
 8520|       |                            // offset argument
 8521|    672|                            if (offset == 1)
  ------------------
  |  Branch (8521:33): [True: 336, False: 336]
  ------------------
 8522|    336|                                s.append(", ivec2");
 8523|       |
 8524|    672|                            if (comp)
  ------------------
  |  Branch (8524:33): [True: 336, False: 336]
  ------------------
 8525|    336|                                s.append(", int");
 8526|    672|                            s.append(");\n");
 8527|    672|                            commonBuiltins.append(s);
 8528|    672|                        }
 8529|    336|                    }
 8530|    168|                }
 8531|     42|            }
 8532|     14|        }
 8533|     14|    }
 8534|      7|}
_ZN7glslang9TBuiltIns10initializeERK16TBuiltInResourcei8EProfileRKNS_10SpvVersionE11EShLanguage:
 8544|      4|{
 8545|       |    //
 8546|       |    // Initialize the context-dependent (resource-dependent) built-in strings for parsing.
 8547|       |    //
 8548|       |
 8549|       |    //============================================================================
 8550|       |    //
 8551|       |    // Standard Uniforms
 8552|       |    //
 8553|       |    //============================================================================
 8554|       |
 8555|      4|    TString& s = commonBuiltins;
 8556|      4|    const int maxSize = 200;
 8557|      4|    char builtInConstant[maxSize];
 8558|       |
 8559|       |    //
 8560|       |    // Build string of implementation dependent constants.
 8561|       |    //
 8562|       |
 8563|      4|    if (profile == EEsProfile) {
  ------------------
  |  Branch (8563:9): [True: 4, False: 0]
  ------------------
 8564|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8565|      4|        s.append(builtInConstant);
 8566|       |
 8567|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8568|      4|        s.append(builtInConstant);
 8569|       |
 8570|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8571|      4|        s.append(builtInConstant);
 8572|       |
 8573|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8574|      4|        s.append(builtInConstant);
 8575|       |
 8576|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8577|      4|        s.append(builtInConstant);
 8578|       |
 8579|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8580|      4|        s.append(builtInConstant);
 8581|       |
 8582|      4|        snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8583|      4|        s.append(builtInConstant);
 8584|       |
 8585|      4|        if (version == 100) {
  ------------------
  |  Branch (8585:13): [True: 4, False: 0]
  ------------------
 8586|      4|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8587|      4|            s.append(builtInConstant);
 8588|      4|        } else {
 8589|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxVertexOutputVectors = %d;", resources.maxVertexOutputVectors);
 8590|      0|            s.append(builtInConstant);
 8591|       |
 8592|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxFragmentInputVectors = %d;", resources.maxFragmentInputVectors);
 8593|      0|            s.append(builtInConstant);
 8594|       |
 8595|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8596|      0|            s.append(builtInConstant);
 8597|       |
 8598|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8599|      0|            s.append(builtInConstant);
 8600|      0|        }
 8601|       |
 8602|      4|        if (version >= 310) {
  ------------------
  |  Branch (8602:13): [True: 0, False: 4]
  ------------------
 8603|       |            // geometry
 8604|       |
 8605|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8606|      0|            s.append(builtInConstant);
 8607|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8608|      0|            s.append(builtInConstant);
 8609|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8610|      0|            s.append(builtInConstant);
 8611|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8612|      0|            s.append(builtInConstant);
 8613|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8614|      0|            s.append(builtInConstant);
 8615|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8616|      0|            s.append(builtInConstant);
 8617|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8618|      0|            s.append(builtInConstant);
 8619|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.maxGeometryAtomicCounters);
 8620|      0|            s.append(builtInConstant);
 8621|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.maxGeometryAtomicCounterBuffers);
 8622|      0|            s.append(builtInConstant);
 8623|       |
 8624|       |            // tessellation
 8625|       |
 8626|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8627|      0|            s.append(builtInConstant);
 8628|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8629|      0|            s.append(builtInConstant);
 8630|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8631|      0|            s.append(builtInConstant);
 8632|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8633|      0|            s.append(builtInConstant);
 8634|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8635|      0|            s.append(builtInConstant);
 8636|       |
 8637|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8638|      0|            s.append(builtInConstant);
 8639|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8640|      0|            s.append(builtInConstant);
 8641|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8642|      0|            s.append(builtInConstant);
 8643|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8644|      0|            s.append(builtInConstant);
 8645|       |
 8646|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8647|      0|            s.append(builtInConstant);
 8648|       |
 8649|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8650|      0|            s.append(builtInConstant);
 8651|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8652|      0|            s.append(builtInConstant);
 8653|       |
 8654|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8655|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8655:17): [True: 0, False: 0]
  |  Branch (8655:51): [True: 0, False: 0]
  ------------------
 8656|      0|                s.append(
 8657|      0|                    "in gl_PerVertex {"
 8658|      0|                        "highp vec4 gl_Position;"
 8659|      0|                        "highp float gl_PointSize;"
 8660|      0|                        "highp vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8661|      0|                        "highp vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8662|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8663|      0|                    "\n");
 8664|      0|            }
 8665|      0|        }
 8666|       |
 8667|      4|        if (version >= 320) {
  ------------------
  |  Branch (8667:13): [True: 0, False: 4]
  ------------------
 8668|       |            // tessellation
 8669|       |
 8670|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8671|      0|            s.append(builtInConstant);
 8672|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8673|      0|            s.append(builtInConstant);
 8674|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.maxTessControlAtomicCounters);
 8675|      0|            s.append(builtInConstant);
 8676|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.maxTessEvaluationAtomicCounters);
 8677|      0|            s.append(builtInConstant);
 8678|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.maxTessControlAtomicCounterBuffers);
 8679|      0|            s.append(builtInConstant);
 8680|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources.maxTessEvaluationAtomicCounterBuffers);
 8681|      0|            s.append(builtInConstant);
 8682|      0|        }
 8683|       |
 8684|      4|        if (version >= 100) {
  ------------------
  |  Branch (8684:13): [True: 4, False: 0]
  ------------------
 8685|       |            // GL_EXT_blend_func_extended
 8686|      4|            snprintf(builtInConstant, maxSize, "const mediump int gl_MaxDualSourceDrawBuffersEXT = %d;", resources.maxDualSourceDrawBuffersEXT);
 8687|      4|            s.append(builtInConstant);
 8688|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxDualSourceDrawBuffersEXT
 8689|      4|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8689:17): [True: 0, False: 4]
  ------------------
 8690|      0|                s.append(
 8691|      0|                    "mediump vec4 gl_SecondaryFragColorEXT;"
 8692|      0|                    "mediump vec4 gl_SecondaryFragDataEXT[gl_MaxDualSourceDrawBuffersEXT];"
 8693|      0|                    "\n");
 8694|      0|            }
 8695|      4|        }
 8696|      4|    } else {
 8697|       |        // non-ES profile
 8698|       |
 8699|      0|        if (version > 400) {
  ------------------
  |  Branch (8699:13): [True: 0, False: 0]
  ------------------
 8700|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors);
 8701|      0|            s.append(builtInConstant);
 8702|       |
 8703|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformVectors = %d;", resources.maxFragmentUniformVectors);
 8704|      0|            s.append(builtInConstant);
 8705|       |
 8706|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingVectors = %d;", resources.maxVaryingVectors);
 8707|      0|            s.append(builtInConstant);
 8708|      0|        }
 8709|       |
 8710|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs);
 8711|      0|        s.append(builtInConstant);
 8712|       |
 8713|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits);
 8714|      0|        s.append(builtInConstant);
 8715|       |
 8716|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits);
 8717|      0|        s.append(builtInConstant);
 8718|       |
 8719|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits);
 8720|      0|        s.append(builtInConstant);
 8721|       |
 8722|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxDrawBuffers = %d;", resources.maxDrawBuffers);
 8723|      0|        s.append(builtInConstant);
 8724|       |
 8725|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxLights = %d;", resources.maxLights);
 8726|      0|        s.append(builtInConstant);
 8727|       |
 8728|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxClipPlanes = %d;", resources.maxClipPlanes);
 8729|      0|        s.append(builtInConstant);
 8730|       |
 8731|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureUnits = %d;", resources.maxTextureUnits);
 8732|      0|        s.append(builtInConstant);
 8733|       |
 8734|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxTextureCoords = %d;", resources.maxTextureCoords);
 8735|      0|        s.append(builtInConstant);
 8736|       |
 8737|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxVertexUniformComponents = %d;", resources.maxVertexUniformComponents);
 8738|      0|        s.append(builtInConstant);
 8739|       |
 8740|       |        // Moved from just being deprecated into compatibility profile only as of 4.20
 8741|      0|        if (version < 420 || profile == ECompatibilityProfile) {
  ------------------
  |  Branch (8741:13): [True: 0, False: 0]
  |  Branch (8741:30): [True: 0, False: 0]
  ------------------
 8742|      0|            snprintf(builtInConstant, maxSize, "const int  gl_MaxVaryingFloats = %d;", resources.maxVaryingFloats);
 8743|      0|            s.append(builtInConstant);
 8744|      0|        }
 8745|       |
 8746|      0|        snprintf(builtInConstant, maxSize, "const int  gl_MaxFragmentUniformComponents = %d;", resources.maxFragmentUniformComponents);
 8747|      0|        s.append(builtInConstant);
 8748|       |
 8749|      0|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion)) {
  ------------------
  |  Branch (8749:13): [True: 0, False: 0]
  |  Branch (8749:36): [True: 0, False: 0]
  ------------------
 8750|       |            //
 8751|       |            // OpenGL'uniform' state.  Page numbers are in reference to version
 8752|       |            // 1.4 of the OpenGL specification.
 8753|       |            //
 8754|       |
 8755|       |            //
 8756|       |            // Matrix state. p. 31, 32, 37, 39, 40.
 8757|       |            //
 8758|      0|            s.append("uniform mat4  gl_TextureMatrix[gl_MaxTextureCoords];"
 8759|       |
 8760|       |            //
 8761|       |            // Derived matrix state that provides inverse and transposed versions
 8762|       |            // of the matrices above.
 8763|       |            //
 8764|      0|                        "uniform mat4  gl_TextureMatrixInverse[gl_MaxTextureCoords];"
 8765|       |
 8766|      0|                        "uniform mat4  gl_TextureMatrixTranspose[gl_MaxTextureCoords];"
 8767|       |
 8768|      0|                        "uniform mat4  gl_TextureMatrixInverseTranspose[gl_MaxTextureCoords];"
 8769|       |
 8770|       |            //
 8771|       |            // Clip planes p. 42.
 8772|       |            //
 8773|      0|                        "uniform vec4  gl_ClipPlane[gl_MaxClipPlanes];"
 8774|       |
 8775|       |            //
 8776|       |            // Light State p 50, 53, 55.
 8777|       |            //
 8778|      0|                        "uniform gl_LightSourceParameters  gl_LightSource[gl_MaxLights];"
 8779|       |
 8780|       |            //
 8781|       |            // Derived state from products of light.
 8782|       |            //
 8783|      0|                        "uniform gl_LightProducts gl_FrontLightProduct[gl_MaxLights];"
 8784|      0|                        "uniform gl_LightProducts gl_BackLightProduct[gl_MaxLights];"
 8785|       |
 8786|       |            //
 8787|       |            // Texture Environment and Generation, p. 152, p. 40-42.
 8788|       |            //
 8789|      0|                        "uniform vec4  gl_TextureEnvColor[gl_MaxTextureImageUnits];"
 8790|      0|                        "uniform vec4  gl_EyePlaneS[gl_MaxTextureCoords];"
 8791|      0|                        "uniform vec4  gl_EyePlaneT[gl_MaxTextureCoords];"
 8792|      0|                        "uniform vec4  gl_EyePlaneR[gl_MaxTextureCoords];"
 8793|      0|                        "uniform vec4  gl_EyePlaneQ[gl_MaxTextureCoords];"
 8794|      0|                        "uniform vec4  gl_ObjectPlaneS[gl_MaxTextureCoords];"
 8795|      0|                        "uniform vec4  gl_ObjectPlaneT[gl_MaxTextureCoords];"
 8796|      0|                        "uniform vec4  gl_ObjectPlaneR[gl_MaxTextureCoords];"
 8797|      0|                        "uniform vec4  gl_ObjectPlaneQ[gl_MaxTextureCoords];");
 8798|      0|        }
 8799|       |
 8800|      0|        if (version >= 130) {
  ------------------
  |  Branch (8800:13): [True: 0, False: 0]
  ------------------
 8801|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxClipDistances = %d;", resources.maxClipDistances);
 8802|      0|            s.append(builtInConstant);
 8803|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxVaryingComponents = %d;", resources.maxVaryingComponents);
 8804|      0|            s.append(builtInConstant);
 8805|       |
 8806|       |            // GL_ARB_shading_language_420pack
 8807|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MinProgramTexelOffset = %d;", resources.minProgramTexelOffset);
 8808|      0|            s.append(builtInConstant);
 8809|      0|            snprintf(builtInConstant, maxSize, "const mediump int  gl_MaxProgramTexelOffset = %d;", resources.maxProgramTexelOffset);
 8810|      0|            s.append(builtInConstant);
 8811|      0|        }
 8812|       |
 8813|       |        // geometry
 8814|      0|        if (version >= 150) {
  ------------------
  |  Branch (8814:13): [True: 0, False: 0]
  ------------------
 8815|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryInputComponents = %d;", resources.maxGeometryInputComponents);
 8816|      0|            s.append(builtInConstant);
 8817|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputComponents = %d;", resources.maxGeometryOutputComponents);
 8818|      0|            s.append(builtInConstant);
 8819|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTextureImageUnits = %d;", resources.maxGeometryTextureImageUnits);
 8820|      0|            s.append(builtInConstant);
 8821|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryOutputVertices = %d;", resources.maxGeometryOutputVertices);
 8822|      0|            s.append(builtInConstant);
 8823|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryTotalOutputComponents = %d;", resources.maxGeometryTotalOutputComponents);
 8824|      0|            s.append(builtInConstant);
 8825|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryUniformComponents = %d;", resources.maxGeometryUniformComponents);
 8826|      0|            s.append(builtInConstant);
 8827|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryVaryingComponents = %d;", resources.maxGeometryVaryingComponents);
 8828|      0|            s.append(builtInConstant);
 8829|       |
 8830|      0|        }
 8831|       |
 8832|      0|        if (version >= 150) {
  ------------------
  |  Branch (8832:13): [True: 0, False: 0]
  ------------------
 8833|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxVertexOutputComponents = %d;", resources.maxVertexOutputComponents);
 8834|      0|            s.append(builtInConstant);
 8835|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentInputComponents = %d;", resources.maxFragmentInputComponents);
 8836|      0|            s.append(builtInConstant);
 8837|      0|        }
 8838|       |
 8839|       |        // tessellation
 8840|      0|        if (version >= 150) {
  ------------------
  |  Branch (8840:13): [True: 0, False: 0]
  ------------------
 8841|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlInputComponents = %d;", resources.maxTessControlInputComponents);
 8842|      0|            s.append(builtInConstant);
 8843|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlOutputComponents = %d;", resources.maxTessControlOutputComponents);
 8844|      0|            s.append(builtInConstant);
 8845|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTextureImageUnits = %d;", resources.maxTessControlTextureImageUnits);
 8846|      0|            s.append(builtInConstant);
 8847|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlUniformComponents = %d;", resources.maxTessControlUniformComponents);
 8848|      0|            s.append(builtInConstant);
 8849|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlTotalOutputComponents = %d;", resources.maxTessControlTotalOutputComponents);
 8850|      0|            s.append(builtInConstant);
 8851|       |
 8852|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationInputComponents = %d;", resources.maxTessEvaluationInputComponents);
 8853|      0|            s.append(builtInConstant);
 8854|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationOutputComponents = %d;", resources.maxTessEvaluationOutputComponents);
 8855|      0|            s.append(builtInConstant);
 8856|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationTextureImageUnits = %d;", resources.maxTessEvaluationTextureImageUnits);
 8857|      0|            s.append(builtInConstant);
 8858|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationUniformComponents = %d;", resources.maxTessEvaluationUniformComponents);
 8859|      0|            s.append(builtInConstant);
 8860|       |
 8861|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessPatchComponents = %d;", resources.maxTessPatchComponents);
 8862|      0|            s.append(builtInConstant);
 8863|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessGenLevel = %d;", resources.maxTessGenLevel);
 8864|      0|            s.append(builtInConstant);
 8865|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxPatchVertices = %d;", resources.maxPatchVertices);
 8866|      0|            s.append(builtInConstant);
 8867|       |
 8868|       |            // this is here instead of with the others in initialize(version, profile) due to the dependence on gl_MaxPatchVertices
 8869|      0|            if (language == EShLangTessControl || language == EShLangTessEvaluation) {
  ------------------
  |  Branch (8869:17): [True: 0, False: 0]
  |  Branch (8869:51): [True: 0, False: 0]
  ------------------
 8870|      0|                s.append(
 8871|      0|                    "in gl_PerVertex {"
 8872|      0|                        "vec4 gl_Position;"
 8873|      0|                        "float gl_PointSize;"
 8874|      0|                        "float gl_ClipDistance[];"
 8875|      0|                    );
 8876|      0|                if (profile == ECompatibilityProfile)
  ------------------
  |  Branch (8876:21): [True: 0, False: 0]
  ------------------
 8877|      0|                    s.append(
 8878|      0|                        "vec4 gl_ClipVertex;"
 8879|      0|                        "vec4 gl_FrontColor;"
 8880|      0|                        "vec4 gl_BackColor;"
 8881|      0|                        "vec4 gl_FrontSecondaryColor;"
 8882|      0|                        "vec4 gl_BackSecondaryColor;"
 8883|      0|                        "vec4 gl_TexCoord[];"
 8884|      0|                        "float gl_FogFragCoord;"
 8885|      0|                        );
 8886|      0|                if (profile != EEsProfile && version >= 450)
  ------------------
  |  Branch (8886:21): [True: 0, False: 0]
  |  Branch (8886:46): [True: 0, False: 0]
  ------------------
 8887|      0|                    s.append(
 8888|      0|                        "float gl_CullDistance[];"
 8889|      0|                        "vec4 gl_SecondaryPositionNV;"  // GL_NV_stereo_view_rendering
 8890|      0|                        "vec4 gl_PositionPerViewNV[];"  // GL_NVX_multiview_per_view_attributes
 8891|      0|                       );
 8892|      0|                s.append(
 8893|      0|                    "} gl_in[gl_MaxPatchVertices];"
 8894|      0|                    "\n");
 8895|      0|            }
 8896|      0|        }
 8897|       |
 8898|      0|        if (version >= 150) {
  ------------------
  |  Branch (8898:13): [True: 0, False: 0]
  ------------------
 8899|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxViewports = %d;", resources.maxViewports);
 8900|      0|            s.append(builtInConstant);
 8901|      0|        }
 8902|       |
 8903|       |        // images
 8904|      0|        if (version >= 130) {
  ------------------
  |  Branch (8904:13): [True: 0, False: 0]
  ------------------
 8905|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUnitsAndFragmentOutputs = %d;", resources.maxCombinedImageUnitsAndFragmentOutputs);
 8906|      0|            s.append(builtInConstant);
 8907|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxImageSamples = %d;", resources.maxImageSamples);
 8908|      0|            s.append(builtInConstant);
 8909|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlImageUniforms = %d;", resources.maxTessControlImageUniforms);
 8910|      0|            s.append(builtInConstant);
 8911|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationImageUniforms = %d;", resources.maxTessEvaluationImageUniforms);
 8912|      0|            s.append(builtInConstant);
 8913|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryImageUniforms = %d;", resources.maxGeometryImageUniforms);
 8914|      0|            s.append(builtInConstant);
 8915|      0|        }
 8916|       |
 8917|       |        // enhanced layouts
 8918|      0|        if (version >= 430) {
  ------------------
  |  Branch (8918:13): [True: 0, False: 0]
  ------------------
 8919|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackBuffers = %d;", resources.maxTransformFeedbackBuffers);
 8920|      0|            s.append(builtInConstant);
 8921|      0|            snprintf(builtInConstant, maxSize, "const int gl_MaxTransformFeedbackInterleavedComponents = %d;", resources.maxTransformFeedbackInterleavedComponents);
 8922|      0|            s.append(builtInConstant);
 8923|      0|        }
 8924|      0|    }
 8925|       |
 8926|       |    // compute
 8927|      4|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8927:10): [True: 4, False: 0]
  |  Branch (8927:35): [True: 0, False: 4]
  |  Branch (8927:55): [True: 0, False: 4]
  |  Branch (8927:80): [True: 0, False: 0]
  ------------------
 8928|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupCount = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupCountX,
 8929|      0|                                                                                                         resources.maxComputeWorkGroupCountY,
 8930|      0|                                                                                                         resources.maxComputeWorkGroupCountZ);
 8931|      0|        s.append(builtInConstant);
 8932|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxComputeWorkGroupSize = ivec3(%d,%d,%d);", resources.maxComputeWorkGroupSizeX,
 8933|      0|                                                                                                        resources.maxComputeWorkGroupSizeY,
 8934|      0|                                                                                                        resources.maxComputeWorkGroupSizeZ);
 8935|      0|        s.append(builtInConstant);
 8936|       |
 8937|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeUniformComponents = %d;", resources.maxComputeUniformComponents);
 8938|      0|        s.append(builtInConstant);
 8939|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeTextureImageUnits = %d;", resources.maxComputeTextureImageUnits);
 8940|      0|        s.append(builtInConstant);
 8941|       |
 8942|       |        // GL_ARM_tensors operands.
 8943|      0|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsNonTemporalARM = 0x1U;");
 8944|      0|        s.append(builtInConstant);
 8945|      0|        snprintf(builtInConstant, maxSize, "const uint gl_TensorOperandsOutOfBoundsValueARM = 0x2U;");
 8946|      0|        s.append(builtInConstant);
 8947|       |
 8948|      0|        s.append("\n");
 8949|      0|    }
 8950|       |
 8951|       |    // images (some in compute below)
 8952|      4|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8952:10): [True: 4, False: 0]
  |  Branch (8952:35): [True: 0, False: 4]
  ------------------
 8953|      4|        (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (8953:10): [True: 0, False: 4]
  |  Branch (8953:35): [True: 0, False: 0]
  ------------------
 8954|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxImageUnits = %d;", resources.maxImageUnits);
 8955|      0|        s.append(builtInConstant);
 8956|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedShaderOutputResources = %d;", resources.maxCombinedShaderOutputResources);
 8957|      0|        s.append(builtInConstant);
 8958|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexImageUniforms = %d;", resources.maxVertexImageUniforms);
 8959|      0|        s.append(builtInConstant);
 8960|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentImageUniforms = %d;", resources.maxFragmentImageUniforms);
 8961|      0|        s.append(builtInConstant);
 8962|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedImageUniforms = %d;", resources.maxCombinedImageUniforms);
 8963|      0|        s.append(builtInConstant);
 8964|      0|    }
 8965|       |
 8966|       |    // compute
 8967|      4|    if ((profile == EEsProfile && version >= 310) || (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8967:10): [True: 4, False: 0]
  |  Branch (8967:35): [True: 0, False: 4]
  |  Branch (8967:55): [True: 0, False: 4]
  |  Branch (8967:80): [True: 0, False: 0]
  ------------------
 8968|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeImageUniforms = %d;", resources.maxComputeImageUniforms);
 8969|      0|        s.append(builtInConstant);
 8970|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounters = %d;", resources.maxComputeAtomicCounters);
 8971|      0|        s.append(builtInConstant);
 8972|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxComputeAtomicCounterBuffers = %d;", resources.maxComputeAtomicCounterBuffers);
 8973|      0|        s.append(builtInConstant);
 8974|       |
 8975|      0|        s.append("\n");
 8976|      0|    }
 8977|       |
 8978|       |    // atomic counters (some in compute below)
 8979|      4|    if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (8979:10): [True: 4, False: 0]
  |  Branch (8979:35): [True: 0, False: 4]
  ------------------
 8980|      4|        (profile != EEsProfile && version >= 420)) {
  ------------------
  |  Branch (8980:10): [True: 0, False: 4]
  |  Branch (8980:35): [True: 0, False: 0]
  ------------------
 8981|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounters = %d;", resources.               maxVertexAtomicCounters);
 8982|      0|        s.append(builtInConstant);
 8983|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounters = %d;", resources.             maxFragmentAtomicCounters);
 8984|      0|        s.append(builtInConstant);
 8985|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounters = %d;", resources.             maxCombinedAtomicCounters);
 8986|      0|        s.append(builtInConstant);
 8987|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBindings = %d;", resources.              maxAtomicCounterBindings);
 8988|      0|        s.append(builtInConstant);
 8989|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxVertexAtomicCounterBuffers = %d;", resources.         maxVertexAtomicCounterBuffers);
 8990|      0|        s.append(builtInConstant);
 8991|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxFragmentAtomicCounterBuffers = %d;", resources.       maxFragmentAtomicCounterBuffers);
 8992|      0|        s.append(builtInConstant);
 8993|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedAtomicCounterBuffers = %d;", resources.       maxCombinedAtomicCounterBuffers);
 8994|      0|        s.append(builtInConstant);
 8995|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxAtomicCounterBufferSize = %d;", resources.            maxAtomicCounterBufferSize);
 8996|      0|        s.append(builtInConstant);
 8997|      0|    }
 8998|      4|    if (profile != EEsProfile && version >= 420) {
  ------------------
  |  Branch (8998:9): [True: 0, False: 4]
  |  Branch (8998:34): [True: 0, False: 0]
  ------------------
 8999|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounters = %d;", resources.          maxTessControlAtomicCounters);
 9000|      0|        s.append(builtInConstant);
 9001|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounters = %d;", resources.       maxTessEvaluationAtomicCounters);
 9002|      0|        s.append(builtInConstant);
 9003|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounters = %d;", resources.             maxGeometryAtomicCounters);
 9004|      0|        s.append(builtInConstant);
 9005|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessControlAtomicCounterBuffers = %d;", resources.    maxTessControlAtomicCounterBuffers);
 9006|      0|        s.append(builtInConstant);
 9007|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxTessEvaluationAtomicCounterBuffers = %d;", resources. maxTessEvaluationAtomicCounterBuffers);
 9008|      0|        s.append(builtInConstant);
 9009|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxGeometryAtomicCounterBuffers = %d;", resources.       maxGeometryAtomicCounterBuffers);
 9010|      0|        s.append(builtInConstant);
 9011|       |
 9012|      0|        s.append("\n");
 9013|      0|    }
 9014|       |
 9015|       |    // GL_ARB_cull_distance
 9016|      4|    if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (9016:9): [True: 0, False: 4]
  |  Branch (9016:34): [True: 0, False: 0]
  ------------------
 9017|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCullDistances = %d;",                resources.maxCullDistances);
 9018|      0|        s.append(builtInConstant);
 9019|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxCombinedClipAndCullDistances = %d;", resources.maxCombinedClipAndCullDistances);
 9020|      0|        s.append(builtInConstant);
 9021|      0|    }
 9022|       |
 9023|       |    // GL_ARB_ES3_1_compatibility
 9024|      4|    if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9024:10): [True: 0, False: 4]
  |  Branch (9024:35): [True: 0, False: 0]
  ------------------
 9025|      4|        (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9025:10): [True: 4, False: 0]
  |  Branch (9025:35): [True: 0, False: 4]
  ------------------
 9026|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxSamples = %d;", resources.maxSamples);
 9027|      0|        s.append(builtInConstant);
 9028|      0|    }
 9029|       |
 9030|       |    // SPV_NV_mesh_shader
 9031|      4|    if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9031:10): [True: 0, False: 4]
  |  Branch (9031:35): [True: 0, False: 0]
  |  Branch (9031:55): [True: 4, False: 0]
  |  Branch (9031:80): [True: 0, False: 4]
  ------------------
 9032|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputVerticesNV = %d;", resources.maxMeshOutputVerticesNV);
 9033|      0|        s.append(builtInConstant);
 9034|       |
 9035|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshOutputPrimitivesNV = %d;", resources.maxMeshOutputPrimitivesNV);
 9036|      0|        s.append(builtInConstant);
 9037|       |
 9038|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxMeshWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxMeshWorkGroupSizeX_NV,
 9039|      0|                                                                                                       resources.maxMeshWorkGroupSizeY_NV,
 9040|      0|                                                                                                       resources.maxMeshWorkGroupSizeZ_NV);
 9041|      0|        s.append(builtInConstant);
 9042|      0|        snprintf(builtInConstant, maxSize, "const ivec3 gl_MaxTaskWorkGroupSizeNV = ivec3(%d,%d,%d);", resources.maxTaskWorkGroupSizeX_NV,
 9043|      0|                                                                                                       resources.maxTaskWorkGroupSizeY_NV,
 9044|      0|                                                                                                       resources.maxTaskWorkGroupSizeZ_NV);
 9045|      0|        s.append(builtInConstant);
 9046|       |
 9047|      0|        snprintf(builtInConstant, maxSize, "const int gl_MaxMeshViewCountNV = %d;", resources.maxMeshViewCountNV);
 9048|      0|        s.append(builtInConstant);
 9049|       |
 9050|      0|        s.append("\n");
 9051|      0|    }
 9052|       |
 9053|      4|    s.append("\n");
 9054|      4|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableE:
 9153|    133|{
 9154|       |    //
 9155|       |    // Tag built-in variables and functions with additional qualifier and extension information
 9156|       |    // that cannot be declared with the text strings.
 9157|       |    //
 9158|       |
 9159|       |    // N.B.: a symbol should only be tagged once, and this function is called multiple times, once
 9160|       |    // per stage that's used for this profile.  So
 9161|       |    //  - generally, stick common ones in the fragment stage to ensure they are tagged exactly once
 9162|       |    //  - for ES, which has different precisions for different stages, the coarsest-grained tagging
 9163|       |    //    for a built-in used in many stages needs to be once for the fragment stage and once for
 9164|       |    //    the vertex stage
 9165|       |
 9166|    133|    switch(language) {
 9167|     45|    case EShLangVertex:
  ------------------
  |  Branch (9167:5): [True: 45, False: 88]
  ------------------
 9168|     45|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9168:13): [True: 41, False: 4]
  ------------------
 9169|     41|            BuiltInVariable("gl_VertexIndex",   EbvVertexIndex,   symbolTable);
 9170|     41|            BuiltInVariable("gl_InstanceIndex", EbvInstanceIndex, symbolTable);
 9171|     41|        }
 9172|       |
 9173|     45|        if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (9173:13): [True: 4, False: 41]
  ------------------
 9174|      4|            SpecialQualifier("gl_VertexID",   EvqVertexId,   EbvVertexId,   symbolTable);
 9175|      4|            SpecialQualifier("gl_InstanceID", EvqInstanceId, EbvInstanceId, symbolTable);
 9176|      4|            if (version < 140)
  ------------------
  |  Branch (9176:17): [True: 4, False: 0]
  ------------------
 9177|      4|                symbolTable.setVariableExtensions("gl_InstanceID", 1, &E_GL_EXT_draw_instanced);
 9178|      4|        }
 9179|       |
 9180|     45|        if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9180:13): [True: 41, False: 4]
  |  Branch (9180:38): [True: 0, False: 41]
  ------------------
 9181|       |            // treat these built-ins as aliases of VertexIndex and InstanceIndex
 9182|      0|            RetargetVariable("gl_InstanceID", "gl_InstanceIndex", symbolTable);
 9183|      0|            RetargetVariable("gl_VertexID", "gl_VertexIndex", symbolTable);
 9184|      0|        }
 9185|       |
 9186|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9186:13): [True: 7, False: 38]
  ------------------
 9187|      7|            if (version >= 440) {
  ------------------
  |  Branch (9187:17): [True: 7, False: 0]
  ------------------
 9188|      7|                symbolTable.setVariableExtensions("gl_BaseVertexARB",   1, &E_GL_ARB_shader_draw_parameters);
 9189|      7|                symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters);
 9190|      7|                symbolTable.setVariableExtensions("gl_DrawIDARB",       1, &E_GL_ARB_shader_draw_parameters);
 9191|      7|                BuiltInVariable("gl_BaseVertexARB",   EbvBaseVertex,   symbolTable);
 9192|      7|                BuiltInVariable("gl_BaseInstanceARB", EbvBaseInstance, symbolTable);
 9193|      7|                BuiltInVariable("gl_DrawIDARB",       EbvDrawId,       symbolTable);
 9194|      7|            }
 9195|      7|            if (version >= 460) {
  ------------------
  |  Branch (9195:17): [True: 0, False: 7]
  ------------------
 9196|      0|                BuiltInVariable("gl_BaseVertex",   EbvBaseVertex,   symbolTable);
 9197|      0|                BuiltInVariable("gl_BaseInstance", EbvBaseInstance, symbolTable);
 9198|      0|                BuiltInVariable("gl_DrawID",       EbvDrawId,       symbolTable);
 9199|      0|            }
 9200|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9201|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9202|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9203|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9204|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9205|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9206|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9207|       |
 9208|      7|            symbolTable.setFunctionExtensions("ballotARB",              1, &E_GL_ARB_shader_ballot);
 9209|      7|            symbolTable.setFunctionExtensions("readInvocationARB",      1, &E_GL_ARB_shader_ballot);
 9210|      7|            symbolTable.setFunctionExtensions("readFirstInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9211|       |
 9212|      7|            if (version >= 430) {
  ------------------
  |  Branch (9212:17): [True: 7, False: 0]
  ------------------
 9213|      7|                symbolTable.setFunctionExtensions("anyInvocationARB",       1, &E_GL_ARB_shader_group_vote);
 9214|      7|                symbolTable.setFunctionExtensions("allInvocationsARB",      1, &E_GL_ARB_shader_group_vote);
 9215|      7|                symbolTable.setFunctionExtensions("allInvocationsEqualARB", 1, &E_GL_ARB_shader_group_vote);
 9216|      7|            }
 9217|      7|            if (version >= 150) {
  ------------------
  |  Branch (9217:17): [True: 7, False: 0]
  ------------------
 9218|      7|                symbolTable.setFunctionExtensions("anyThreadNV",       1, &E_GL_NV_gpu_shader5);
 9219|      7|                symbolTable.setFunctionExtensions("allThreadsNV",      1, &E_GL_NV_gpu_shader5);
 9220|      7|                symbolTable.setFunctionExtensions("allThreadsEqualNV", 1, &E_GL_NV_gpu_shader5);
 9221|      7|            }
 9222|      7|        }
 9223|       |
 9224|       |
 9225|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9225:13): [True: 7, False: 38]
  ------------------
 9226|      7|            symbolTable.setFunctionExtensions("minInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9227|      7|            symbolTable.setFunctionExtensions("maxInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9228|      7|            symbolTable.setFunctionExtensions("addInvocationsAMD",                1, &E_GL_AMD_shader_ballot);
 9229|      7|            symbolTable.setFunctionExtensions("minInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9230|      7|            symbolTable.setFunctionExtensions("maxInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9231|      7|            symbolTable.setFunctionExtensions("addInvocationsNonUniformAMD",      1, &E_GL_AMD_shader_ballot);
 9232|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsAMD",            1, &E_GL_AMD_shader_ballot);
 9233|      7|            symbolTable.setFunctionExtensions("swizzleInvocationsWithPatternAMD", 1, &E_GL_AMD_shader_ballot);
 9234|      7|            symbolTable.setFunctionExtensions("writeInvocationAMD",               1, &E_GL_AMD_shader_ballot);
 9235|      7|            symbolTable.setFunctionExtensions("mbcntAMD",                         1, &E_GL_AMD_shader_ballot);
 9236|       |
 9237|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9238|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9239|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9240|      7|            symbolTable.setFunctionExtensions("minInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9241|      7|            symbolTable.setFunctionExtensions("maxInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9242|      7|            symbolTable.setFunctionExtensions("addInvocationsInclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9243|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9244|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9245|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanAMD",             1, &E_GL_AMD_shader_ballot);
 9246|      7|            symbolTable.setFunctionExtensions("minInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9247|      7|            symbolTable.setFunctionExtensions("maxInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9248|      7|            symbolTable.setFunctionExtensions("addInvocationsExclusiveScanNonUniformAMD",   1, &E_GL_AMD_shader_ballot);
 9249|      7|        }
 9250|       |
 9251|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9251:13): [True: 7, False: 38]
  ------------------
 9252|      7|            symbolTable.setFunctionExtensions("min3", 1, &E_GL_AMD_shader_trinary_minmax);
 9253|      7|            symbolTable.setFunctionExtensions("max3", 1, &E_GL_AMD_shader_trinary_minmax);
 9254|      7|            symbolTable.setFunctionExtensions("mid3", 1, &E_GL_AMD_shader_trinary_minmax);
 9255|      7|        }
 9256|       |
 9257|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9257:13): [True: 7, False: 38]
  ------------------
 9258|      7|            symbolTable.setVariableExtensions("gl_SIMDGroupSizeAMD", 1, &E_GL_AMD_gcn_shader);
 9259|      7|            SpecialQualifier("gl_SIMDGroupSizeAMD", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9260|       |
 9261|      7|            symbolTable.setFunctionExtensions("cubeFaceIndexAMD", 1, &E_GL_AMD_gcn_shader);
 9262|      7|            symbolTable.setFunctionExtensions("cubeFaceCoordAMD", 1, &E_GL_AMD_gcn_shader);
 9263|      7|            symbolTable.setFunctionExtensions("timeAMD",          1, &E_GL_AMD_gcn_shader);
 9264|      7|        }
 9265|       |
 9266|     45|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9266:13): [True: 7, False: 38]
  ------------------
 9267|      7|            symbolTable.setFunctionExtensions("fragmentMaskFetchAMD", 1, &E_GL_AMD_shader_fragment_mask);
 9268|      7|            symbolTable.setFunctionExtensions("fragmentFetchAMD",     1, &E_GL_AMD_shader_fragment_mask);
 9269|      7|        }
 9270|       |
 9271|     45|        symbolTable.setFunctionExtensions("countLeadingZeros",  1, &E_GL_INTEL_shader_integer_functions2);
 9272|     45|        symbolTable.setFunctionExtensions("countTrailingZeros", 1, &E_GL_INTEL_shader_integer_functions2);
 9273|     45|        symbolTable.setFunctionExtensions("absoluteDifference", 1, &E_GL_INTEL_shader_integer_functions2);
 9274|     45|        symbolTable.setFunctionExtensions("addSaturate",        1, &E_GL_INTEL_shader_integer_functions2);
 9275|     45|        symbolTable.setFunctionExtensions("subtractSaturate",   1, &E_GL_INTEL_shader_integer_functions2);
 9276|     45|        symbolTable.setFunctionExtensions("average",            1, &E_GL_INTEL_shader_integer_functions2);
 9277|     45|        symbolTable.setFunctionExtensions("averageRounded",     1, &E_GL_INTEL_shader_integer_functions2);
 9278|     45|        symbolTable.setFunctionExtensions("multiply32x16",      1, &E_GL_INTEL_shader_integer_functions2);
 9279|       |
 9280|     45|        symbolTable.setFunctionExtensions("textureFootprintNV",          1, &E_GL_NV_shader_texture_footprint);
 9281|     45|        symbolTable.setFunctionExtensions("textureFootprintClampNV",     1, &E_GL_NV_shader_texture_footprint);
 9282|     45|        symbolTable.setFunctionExtensions("textureFootprintLodNV",       1, &E_GL_NV_shader_texture_footprint);
 9283|     45|        symbolTable.setFunctionExtensions("textureFootprintGradNV",      1, &E_GL_NV_shader_texture_footprint);
 9284|     45|        symbolTable.setFunctionExtensions("textureFootprintGradClampNV", 1, &E_GL_NV_shader_texture_footprint);
 9285|       |        // Compatibility variables, vertex only
 9286|     45|        if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9286:13): [True: 45, False: 0]
  ------------------
 9287|     45|            BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9288|     45|            BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9289|     45|            BuiltInVariable("gl_Normal",         EbvNormal,         symbolTable);
 9290|     45|            BuiltInVariable("gl_Vertex",         EbvVertex,         symbolTable);
 9291|     45|            BuiltInVariable("gl_MultiTexCoord0", EbvMultiTexCoord0, symbolTable);
 9292|     45|            BuiltInVariable("gl_MultiTexCoord1", EbvMultiTexCoord1, symbolTable);
 9293|     45|            BuiltInVariable("gl_MultiTexCoord2", EbvMultiTexCoord2, symbolTable);
 9294|     45|            BuiltInVariable("gl_MultiTexCoord3", EbvMultiTexCoord3, symbolTable);
 9295|     45|            BuiltInVariable("gl_MultiTexCoord4", EbvMultiTexCoord4, symbolTable);
 9296|     45|            BuiltInVariable("gl_MultiTexCoord5", EbvMultiTexCoord5, symbolTable);
 9297|     45|            BuiltInVariable("gl_MultiTexCoord6", EbvMultiTexCoord6, symbolTable);
 9298|     45|            BuiltInVariable("gl_MultiTexCoord7", EbvMultiTexCoord7, symbolTable);
 9299|     45|            BuiltInVariable("gl_FogCoord",       EbvFogFragCoord,   symbolTable);
 9300|     45|        }
 9301|       |
 9302|     45|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9302:13): [True: 38, False: 7]
  ------------------
 9303|     38|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9303:17): [True: 38, False: 0]
  ------------------
 9304|     38|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9305|     38|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9306|     38|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9307|     38|                if (version == 310)
  ------------------
  |  Branch (9307:21): [True: 0, False: 38]
  ------------------
 9308|      0|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9309|     38|            }
 9310|     38|            if (version == 310) {
  ------------------
  |  Branch (9310:17): [True: 0, False: 38]
  ------------------
 9311|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9312|     38|            } else if (profile != EEsProfile && version >= 150) {
  ------------------
  |  Branch (9312:24): [True: 0, False: 38]
  |  Branch (9312:49): [True: 0, False: 0]
  ------------------
 9313|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9314|      0|            }
 9315|     38|        }
 9316|       |
 9317|     45|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9317:13): [True: 38, False: 7]
  |  Branch (9317:38): [True: 38, False: 0]
  ------------------
 9318|     38|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9319|     38|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9320|     38|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9321|     38|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9322|     38|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9323|     38|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9324|     38|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9325|     38|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9326|     38|        }
 9327|       |
 9328|     45|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9328:13): [True: 7, False: 38]
  ------------------
 9329|      7|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9330|      7|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9331|      7|        }
 9332|       |
 9333|     45|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9333:13): [True: 38, False: 7]
  ------------------
 9334|     38|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
 9335|     38|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
 9336|     38|        }
 9337|       |
 9338|       |        // E_GL_EXT_texture_array
 9339|     45|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9339:13): [True: 7, False: 38]
  |  Branch (9339:38): [True: 7, False: 0]
  ------------------
 9340|      7|            symbolTable.setFunctionExtensions("texture1DArray", 1, &E_GL_EXT_texture_array);
 9341|      7|            symbolTable.setFunctionExtensions("texture2DArray", 1, &E_GL_EXT_texture_array);
 9342|      7|            symbolTable.setFunctionExtensions("shadow1DArray", 1, &E_GL_EXT_texture_array);
 9343|      7|            symbolTable.setFunctionExtensions("shadow2DArray", 1, &E_GL_EXT_texture_array);
 9344|       |
 9345|      7|            symbolTable.setFunctionExtensions("texture1DArrayLod", 1, &E_GL_EXT_texture_array);
 9346|      7|            symbolTable.setFunctionExtensions("texture2DArrayLod", 1, &E_GL_EXT_texture_array);
 9347|      7|            symbolTable.setFunctionExtensions("shadow1DArrayLod", 1, &E_GL_EXT_texture_array);
 9348|      7|        }
 9349|     45|        [[fallthrough]];
 9350|       |
 9351|     52|    case EShLangTessControl:
  ------------------
  |  Branch (9351:5): [True: 7, False: 126]
  ------------------
 9352|     52|        if (profile == EEsProfile && version >= 310) {
  ------------------
  |  Branch (9352:13): [True: 38, False: 14]
  |  Branch (9352:38): [True: 0, False: 38]
  ------------------
 9353|      0|            BuiltInVariable("gl_BoundingBoxEXT", EbvBoundingBox, symbolTable);
 9354|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxEXT", 1,
 9355|      0|                                              &E_GL_EXT_primitive_bounding_box);
 9356|      0|            BuiltInVariable("gl_BoundingBoxOES", EbvBoundingBox, symbolTable);
 9357|      0|            symbolTable.setVariableExtensions("gl_BoundingBoxOES", 1,
 9358|      0|                                              &E_GL_OES_primitive_bounding_box);
 9359|       |
 9360|      0|            if (version >= 320) {
  ------------------
  |  Branch (9360:17): [True: 0, False: 0]
  ------------------
 9361|      0|                BuiltInVariable("gl_BoundingBox", EbvBoundingBox, symbolTable);
 9362|      0|            }
 9363|      0|        }
 9364|     52|        [[fallthrough]];
 9365|       |
 9366|     59|    case EShLangTessEvaluation:
  ------------------
  |  Branch (9366:5): [True: 7, False: 126]
  ------------------
 9367|     66|    case EShLangGeometry:
  ------------------
  |  Branch (9367:5): [True: 7, False: 126]
  ------------------
 9368|     66|        SpecialQualifier("gl_Position",   EvqPosition,   EbvPosition,   symbolTable);
 9369|     66|        SpecialQualifier("gl_PointSize",  EvqPointSize,  EbvPointSize,  symbolTable);
 9370|       |
 9371|     66|        BuiltInVariable("gl_in",  "gl_Position",     EbvPosition,     symbolTable);
 9372|     66|        BuiltInVariable("gl_in",  "gl_PointSize",    EbvPointSize,    symbolTable);
 9373|       |
 9374|     66|        BuiltInVariable("gl_out", "gl_Position",     EbvPosition,     symbolTable);
 9375|     66|        BuiltInVariable("gl_out", "gl_PointSize",    EbvPointSize,    symbolTable);
 9376|       |
 9377|     66|        SpecialQualifier("gl_ClipVertex", EvqClipVertex, EbvClipVertex, symbolTable);
 9378|       |
 9379|     66|        BuiltInVariable("gl_in",  "gl_ClipDistance", EbvClipDistance, symbolTable);
 9380|     66|        BuiltInVariable("gl_in",  "gl_CullDistance", EbvCullDistance, symbolTable);
 9381|       |
 9382|     66|        BuiltInVariable("gl_out", "gl_ClipDistance", EbvClipDistance, symbolTable);
 9383|     66|        BuiltInVariable("gl_out", "gl_CullDistance", EbvCullDistance, symbolTable);
 9384|       |
 9385|     66|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9386|     66|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9387|     66|        BuiltInVariable("gl_PrimitiveIDIn",   EbvPrimitiveId,    symbolTable);
 9388|     66|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9389|     66|        BuiltInVariable("gl_InvocationID",    EbvInvocationId,   symbolTable);
 9390|     66|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9391|     66|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9392|       |
 9393|     66|        if (language != EShLangGeometry) {
  ------------------
  |  Branch (9393:13): [True: 59, False: 7]
  ------------------
 9394|     59|            symbolTable.setVariableExtensions("gl_Layer",         Num_viewportEXTs, viewportEXTs);
 9395|     59|            symbolTable.setVariableExtensions("gl_ViewportIndex", Num_viewportEXTs, viewportEXTs);
 9396|     59|        }
 9397|     66|        symbolTable.setVariableExtensions("gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9398|     66|        symbolTable.setVariableExtensions("gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9399|     66|        symbolTable.setVariableExtensions("gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9400|     66|        symbolTable.setVariableExtensions("gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9401|     66|        symbolTable.setVariableExtensions("gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9402|       |
 9403|     66|        if (profile != EEsProfile && language == EShLangGeometry && version < 400) {
  ------------------
  |  Branch (9403:13): [True: 28, False: 38]
  |  Branch (9403:38): [True: 7, False: 21]
  |  Branch (9403:69): [True: 0, False: 7]
  ------------------
 9404|      0|            symbolTable.setVariableExtensions("gl_InvocationID", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9405|      0|        }
 9406|     66|        BuiltInVariable("gl_ViewportMask",              EbvViewportMaskNV,          symbolTable);
 9407|     66|        BuiltInVariable("gl_SecondaryPositionNV",       EbvSecondaryPositionNV,     symbolTable);
 9408|     66|        BuiltInVariable("gl_SecondaryViewportMaskNV",   EbvSecondaryViewportMaskNV, symbolTable);
 9409|     66|        BuiltInVariable("gl_PositionPerViewNV",         EbvPositionPerViewNV,       symbolTable);
 9410|     66|        BuiltInVariable("gl_ViewportMaskPerViewNV",     EbvViewportMaskPerViewNV,   symbolTable);
 9411|       |
 9412|     66|        if (language == EShLangVertex || language == EShLangGeometry) {
  ------------------
  |  Branch (9412:13): [True: 45, False: 21]
  |  Branch (9412:42): [True: 7, False: 14]
  ------------------
 9413|     52|            symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
 9414|     52|            symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9415|       |
 9416|     52|            BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
 9417|     52|            BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
 9418|     52|        }
 9419|     66|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMask",            1, &E_GL_NV_viewport_array2);
 9420|     66|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryPositionNV",     1, &E_GL_NV_stereo_view_rendering);
 9421|     66|        symbolTable.setVariableExtensions("gl_out", "gl_SecondaryViewportMaskNV", 1, &E_GL_NV_stereo_view_rendering);
 9422|     66|        symbolTable.setVariableExtensions("gl_out", "gl_PositionPerViewNV",       1, &E_GL_NVX_multiview_per_view_attributes);
 9423|     66|        symbolTable.setVariableExtensions("gl_out", "gl_ViewportMaskPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
 9424|       |
 9425|     66|        BuiltInVariable("gl_out", "gl_ViewportMask",            EbvViewportMaskNV,          symbolTable);
 9426|     66|        BuiltInVariable("gl_out", "gl_SecondaryPositionNV",     EbvSecondaryPositionNV,     symbolTable);
 9427|     66|        BuiltInVariable("gl_out", "gl_SecondaryViewportMaskNV", EbvSecondaryViewportMaskNV, symbolTable);
 9428|     66|        BuiltInVariable("gl_out", "gl_PositionPerViewNV",       EbvPositionPerViewNV,       symbolTable);
 9429|     66|        BuiltInVariable("gl_out", "gl_ViewportMaskPerViewNV",   EbvViewportMaskPerViewNV,   symbolTable);
 9430|       |
 9431|     66|        BuiltInVariable("gl_PatchVerticesIn", EbvPatchVertices,  symbolTable);
 9432|     66|        BuiltInVariable("gl_TessLevelOuter",  EbvTessLevelOuter, symbolTable);
 9433|     66|        BuiltInVariable("gl_TessLevelInner",  EbvTessLevelInner, symbolTable);
 9434|     66|        BuiltInVariable("gl_TessCoord",       EbvTessCoord,      symbolTable);
 9435|       |
 9436|     66|        if (version < 410)
  ------------------
  |  Branch (9436:13): [True: 38, False: 28]
  ------------------
 9437|     38|            symbolTable.setVariableExtensions("gl_ViewportIndex", 1, &E_GL_ARB_viewport_array);
 9438|       |
 9439|       |        // Compatibility variables
 9440|       |
 9441|     66|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9442|     66|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9443|     66|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
 9444|     66|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9445|     66|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9446|     66|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9447|     66|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9448|       |
 9449|     66|        BuiltInVariable("gl_out", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9450|     66|        BuiltInVariable("gl_out", "gl_FrontColor",          EbvFrontColor,          symbolTable);
 9451|     66|        BuiltInVariable("gl_out", "gl_BackColor",           EbvBackColor,           symbolTable);
 9452|     66|        BuiltInVariable("gl_out", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9453|     66|        BuiltInVariable("gl_out", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9454|     66|        BuiltInVariable("gl_out", "gl_TexCoord",            EbvTexCoord,            symbolTable);
 9455|     66|        BuiltInVariable("gl_out", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9456|       |
 9457|     66|        BuiltInVariable("gl_ClipVertex",          EbvClipVertex,          symbolTable);
 9458|     66|        BuiltInVariable("gl_FrontColor",          EbvFrontColor,          symbolTable);
 9459|     66|        BuiltInVariable("gl_BackColor",           EbvBackColor,           symbolTable);
 9460|     66|        BuiltInVariable("gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
 9461|     66|        BuiltInVariable("gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
 9462|     66|        BuiltInVariable("gl_TexCoord",            EbvTexCoord,            symbolTable);
 9463|     66|        BuiltInVariable("gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
 9464|       |
 9465|       |        // gl_PointSize, when it needs to be tied to an extension, is always a member of a block.
 9466|       |        // (Sometimes with an instance name, sometimes anonymous).
 9467|     66|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9467:13): [True: 38, False: 28]
  ------------------
 9468|     38|            if (language == EShLangGeometry) {
  ------------------
  |  Branch (9468:17): [True: 0, False: 38]
  ------------------
 9469|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9470|      0|                symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_geometry_point_size, AEP_geometry_point_size);
 9471|     38|            } else if (language == EShLangTessEvaluation || language == EShLangTessControl) {
  ------------------
  |  Branch (9471:24): [True: 0, False: 38]
  |  Branch (9471:61): [True: 0, False: 38]
  ------------------
 9472|       |                // gl_in tessellation settings of gl_PointSize are in the context-dependent paths
 9473|      0|                symbolTable.setVariableExtensions("gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9474|      0|                symbolTable.setVariableExtensions("gl_out", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
 9475|      0|            }
 9476|     38|        }
 9477|       |
 9478|     66|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (9478:14): [True: 28, False: 38]
  |  Branch (9478:39): [True: 28, False: 0]
  ------------------
 9479|     38|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9479:14): [True: 38, False: 0]
  |  Branch (9479:39): [True: 0, False: 38]
  ------------------
 9480|     28|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9481|     28|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9482|     28|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9483|     28|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9484|     28|        }
 9485|       |
 9486|     66|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9486:13): [True: 28, False: 38]
  ------------------
 9487|     28|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9488|     28|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9489|     28|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9490|     28|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9491|     28|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9492|     28|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9493|       |
 9494|     28|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9494:17): [True: 28, False: 0]
  ------------------
 9495|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
 9496|     28|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
 9497|     28|                if (language == EShLangFragment)
  ------------------
  |  Branch (9497:21): [True: 0, False: 28]
  ------------------
 9498|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
 9499|     28|            }
 9500|      0|            else
 9501|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
 9502|     28|        }
 9503|       |
 9504|       |        // GL_ARB_gpu_shader5/GL_NV_gpu_shader5
 9505|     66|        if (profile != EEsProfile && version < 400 && language == EShLangGeometry) {
  ------------------
  |  Branch (9505:13): [True: 28, False: 38]
  |  Branch (9505:38): [True: 0, False: 28]
  |  Branch (9505:55): [True: 0, False: 0]
  ------------------
 9506|      0|            symbolTable.setFunctionExtensions("EmitStreamVertex", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9507|      0|            symbolTable.setFunctionExtensions("EndStreamPrimitive", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9508|      0|        }
 9509|       |        // GL_KHR_shader_subgroup
 9510|     66|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9510:14): [True: 38, False: 28]
  |  Branch (9510:39): [True: 0, False: 38]
  ------------------
 9511|     66|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (9511:14): [True: 28, False: 38]
  |  Branch (9511:39): [True: 28, False: 0]
  ------------------
 9512|     28|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
 9513|     28|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
 9514|     28|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9515|     28|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9516|     28|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9517|     28|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9518|     28|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
 9519|       |
 9520|     28|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
 9521|     28|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
 9522|     28|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
 9523|     28|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
 9524|     28|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
 9525|     28|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
 9526|     28|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
 9527|       |
 9528|       |            // GL_NV_shader_sm_builtins
 9529|     28|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
 9530|     28|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
 9531|     28|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
 9532|     28|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
 9533|     28|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
 9534|     28|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
 9535|     28|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
 9536|     28|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
 9537|       |
 9538|       |            // GL_ARM_shader_core_builtins
 9539|     28|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
 9540|     28|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9541|     28|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9542|     28|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
 9543|     28|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
 9544|       |
 9545|     28|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
 9546|     28|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
 9547|     28|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
 9548|     28|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
 9549|     28|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
 9550|     28|        }
 9551|       |
 9552|     66|        if (language == EShLangGeometry || language == EShLangVertex) {
  ------------------
  |  Branch (9552:13): [True: 7, False: 59]
  |  Branch (9552:44): [True: 45, False: 14]
  ------------------
 9553|     52|            if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (9553:18): [True: 38, False: 14]
  |  Branch (9553:43): [True: 0, False: 38]
  ------------------
 9554|     52|                (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (9554:18): [True: 14, False: 38]
  |  Branch (9554:43): [True: 14, False: 0]
  ------------------
 9555|     14|                symbolTable.setVariableExtensions("gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9556|     14|                BuiltInVariable("gl_PrimitiveShadingRateEXT", EbvPrimitiveShadingRateKHR, symbolTable);
 9557|       |
 9558|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9559|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9560|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9561|     14|                symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
 9562|     14|            }
 9563|     52|        }
 9564|     66|        break;
 9565|       |
 9566|      4|    case EShLangFragment:
  ------------------
  |  Branch (9566:5): [True: 4, False: 129]
  ------------------
 9567|      4|        SpecialQualifier("gl_FrontFacing",      EvqFace,       EbvFace,             symbolTable);
 9568|      4|        SpecialQualifier("gl_FragCoord",        EvqFragCoord,  EbvFragCoord,        symbolTable);
 9569|      4|        SpecialQualifier("gl_PointCoord",       EvqPointCoord, EbvPointCoord,       symbolTable);
 9570|      4|        if (spvVersion.spv == 0)
  ------------------
  |  Branch (9570:13): [True: 4, False: 0]
  ------------------
 9571|      4|            SpecialQualifier("gl_FragColor",    EvqFragColor,  EbvFragColor,        symbolTable);
 9572|      0|        else {
 9573|      0|            TSymbol* symbol = symbolTable.find("gl_FragColor");
 9574|      0|            if (symbol) {
  ------------------
  |  Branch (9574:17): [True: 0, False: 0]
  ------------------
 9575|      0|                symbol->getWritableType().getQualifier().storage = EvqVaryingOut;
 9576|      0|                symbol->getWritableType().getQualifier().layoutLocation = 0;
 9577|      0|            }
 9578|      0|        }
 9579|      4|        SpecialQualifier("gl_FragDepth",        EvqFragDepth,  EbvFragDepth,        symbolTable);
 9580|      4|        SpecialQualifier("gl_FragDepthEXT",     EvqFragDepth,  EbvFragDepth,        symbolTable);
 9581|      4|        SpecialQualifier("gl_FragStencilRefARB", EvqFragStencil, EbvFragStencilRef, symbolTable);
 9582|      4|        SpecialQualifier("gl_HelperInvocation", EvqVaryingIn,  EbvHelperInvocation, symbolTable);
 9583|       |
 9584|      4|        BuiltInVariable("gl_ClipDistance",    EbvClipDistance,   symbolTable);
 9585|      4|        BuiltInVariable("gl_CullDistance",    EbvCullDistance,   symbolTable);
 9586|      4|        BuiltInVariable("gl_PrimitiveID",     EbvPrimitiveId,    symbolTable);
 9587|       |
 9588|      4|        if (profile != EEsProfile && version >= 140) {
  ------------------
  |  Branch (9588:13): [True: 0, False: 4]
  |  Branch (9588:38): [True: 0, False: 0]
  ------------------
 9589|      0|            symbolTable.setVariableExtensions("gl_FragStencilRefARB", 1, &E_GL_ARB_shader_stencil_export);
 9590|      0|            BuiltInVariable("gl_FragStencilRefARB", EbvFragStencilRef, symbolTable);
 9591|      0|        }
 9592|       |
 9593|      4|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9593:13): [True: 0, False: 4]
  |  Branch (9593:38): [True: 0, False: 0]
  ------------------
 9594|      0|            symbolTable.setFunctionExtensions("textureQueryLOD", 1, &E_GL_ARB_texture_query_lod);
 9595|      0|        }
 9596|       |
 9597|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (9597:13): [True: 0, False: 4]
  |  Branch (9597:38): [True: 0, False: 0]
  ------------------
 9598|      0|            symbolTable.setFunctionExtensions("rayQueryInitializeEXT",                                            1, &E_GL_EXT_ray_query);
 9599|      0|            symbolTable.setFunctionExtensions("rayQueryTerminateEXT",                                             1, &E_GL_EXT_ray_query);
 9600|      0|            symbolTable.setFunctionExtensions("rayQueryGenerateIntersectionEXT",                                  1, &E_GL_EXT_ray_query);
 9601|      0|            symbolTable.setFunctionExtensions("rayQueryConfirmIntersectionEXT",                                   1, &E_GL_EXT_ray_query);
 9602|      0|            symbolTable.setFunctionExtensions("rayQueryProceedEXT",                                               1, &E_GL_EXT_ray_query);
 9603|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTypeEXT",                                   1, &E_GL_EXT_ray_query);
 9604|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTEXT",                                      1, &E_GL_EXT_ray_query);
 9605|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayFlagsEXT",                                           1, &E_GL_EXT_ray_query);
 9606|      0|            symbolTable.setFunctionExtensions("rayQueryGetRayTMinEXT",                                            1, &E_GL_EXT_ray_query);
 9607|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceCustomIndexEXT",                    1, &E_GL_EXT_ray_query);
 9608|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceIdEXT",                             1, &E_GL_EXT_ray_query);
 9609|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT", 1, &E_GL_EXT_ray_query);
 9610|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionGeometryIndexEXT",                          1, &E_GL_EXT_ray_query);
 9611|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionPrimitiveIndexEXT",                         1, &E_GL_EXT_ray_query);
 9612|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionBarycentricsEXT",                           1, &E_GL_EXT_ray_query);
 9613|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionFrontFaceEXT",                              1, &E_GL_EXT_ray_query);
 9614|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                    1, &E_GL_EXT_ray_query);
 9615|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayDirectionEXT",                     1, &E_GL_EXT_ray_query);
 9616|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectRayOriginEXT",                        1, &E_GL_EXT_ray_query);
 9617|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionObjectToWorldEXT",                          1, &E_GL_EXT_ray_query);
 9618|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionWorldToObjectEXT",                          1, &E_GL_EXT_ray_query);
 9619|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayOriginEXT",                                     1, &E_GL_EXT_ray_query);
 9620|      0|            symbolTable.setFunctionExtensions("rayQueryGetWorldRayDirectionEXT",                                  1, &E_GL_EXT_ray_query);
 9621|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionTriangleVertexPositionsEXT",                1, &E_GL_EXT_ray_tracing_position_fetch);
 9622|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionClusterIdNV",                               1, &E_GL_NV_cluster_acceleration_structure);
 9623|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSpherePositionNV",                          1, &E_GL_NV_linear_swept_spheres);
 9624|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionSphereRadiusNV",                            1, &E_GL_NV_linear_swept_spheres);
 9625|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSHitValueNV",                             1, &E_GL_NV_linear_swept_spheres);
 9626|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSPositionsNV",                            1, &E_GL_NV_linear_swept_spheres);
 9627|      0|            symbolTable.setFunctionExtensions("rayQueryGetIntersectionLSSRadiiNV",                                1, &E_GL_NV_linear_swept_spheres);
 9628|      0|            symbolTable.setFunctionExtensions("rayQueryIsSphereHitNV",                                            1, &E_GL_NV_linear_swept_spheres);
 9629|      0|            symbolTable.setFunctionExtensions("rayQueryIsLSSHitNV",                                               1, &E_GL_NV_linear_swept_spheres);
 9630|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipAABBEXT",                         1, &E_GL_EXT_ray_flags_primitive_culling);
 9631|      0|            symbolTable.setVariableExtensions("gl_RayFlagsSkipTrianglesEXT",                    1, &E_GL_EXT_ray_flags_primitive_culling);
 9632|      0|            symbolTable.setVariableExtensions("gl_RayFlagsForceOpacityMicromap2StateEXT",                  1, &E_GL_EXT_opacity_micromap);
 9633|      0|            symbolTable.setVariableExtensions("gl_EnableOpacityMicromapEXT",                    1, &E_GL_EXT_opacity_micromap_ray_query_mode);
 9634|      0|        }
 9635|       |
 9636|      4|        if ((profile != EEsProfile && version >= 130) ||
  ------------------
  |  Branch (9636:14): [True: 0, False: 4]
  |  Branch (9636:39): [True: 0, False: 0]
  ------------------
 9637|      4|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9637:14): [True: 4, False: 0]
  |  Branch (9637:39): [True: 0, False: 4]
  ------------------
 9638|      0|            BuiltInVariable("gl_SampleID",           EbvSampleId,       symbolTable);
 9639|      0|            BuiltInVariable("gl_SamplePosition",     EbvSamplePosition, symbolTable);
 9640|      0|            BuiltInVariable("gl_SampleMask",         EbvSampleMask,     symbolTable);
 9641|       |
 9642|      0|            if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9642:17): [True: 0, False: 0]
  |  Branch (9642:42): [True: 0, False: 0]
  ------------------
 9643|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9644|      0|                symbolTable.setVariableExtensions("gl_SampleMaskIn", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9645|       |
 9646|      0|                BuiltInVariable("gl_NumSamples",     EbvSampleMask,     symbolTable);
 9647|       |
 9648|      0|                symbolTable.setVariableExtensions("gl_SampleMask",     1, &E_GL_ARB_sample_shading);
 9649|      0|                symbolTable.setVariableExtensions("gl_SampleID",       1, &E_GL_ARB_sample_shading);
 9650|      0|                symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_ARB_sample_shading);
 9651|      0|                symbolTable.setVariableExtensions("gl_NumSamples",     1, &E_GL_ARB_sample_shading);
 9652|      0|            } else {
 9653|      0|                BuiltInVariable("gl_SampleMaskIn",    EbvSampleMask,     symbolTable);
 9654|       |
 9655|      0|                if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9655:21): [True: 0, False: 0]
  |  Branch (9655:46): [True: 0, False: 0]
  ------------------
 9656|      0|                    symbolTable.setVariableExtensions("gl_SampleID", 1, &E_GL_OES_sample_variables);
 9657|      0|                    symbolTable.setVariableExtensions("gl_SamplePosition", 1, &E_GL_OES_sample_variables);
 9658|      0|                    symbolTable.setVariableExtensions("gl_SampleMaskIn", 1, &E_GL_OES_sample_variables);
 9659|      0|                    symbolTable.setVariableExtensions("gl_SampleMask", 1, &E_GL_OES_sample_variables);
 9660|      0|                    symbolTable.setVariableExtensions("gl_NumSamples", 1, &E_GL_OES_sample_variables);
 9661|      0|                }
 9662|      0|            }
 9663|      0|        }
 9664|       |
 9665|      4|        BuiltInVariable("gl_Layer",           EbvLayer,          symbolTable);
 9666|      4|        BuiltInVariable("gl_ViewportIndex",   EbvViewportIndex,  symbolTable);
 9667|       |
 9668|       |        // Compatibility variables
 9669|       |
 9670|      4|        BuiltInVariable("gl_in", "gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9671|      4|        BuiltInVariable("gl_in", "gl_TexCoord",       EbvTexCoord,       symbolTable);
 9672|      4|        BuiltInVariable("gl_in", "gl_Color",          EbvColor,          symbolTable);
 9673|      4|        BuiltInVariable("gl_in", "gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9674|       |
 9675|      4|        BuiltInVariable("gl_FogFragCoord",   EbvFogFragCoord,   symbolTable);
 9676|      4|        BuiltInVariable("gl_TexCoord",       EbvTexCoord,       symbolTable);
 9677|      4|        BuiltInVariable("gl_Color",          EbvColor,          symbolTable);
 9678|      4|        BuiltInVariable("gl_SecondaryColor", EbvSecondaryColor, symbolTable);
 9679|       |
 9680|       |        // built-in functions
 9681|       |
 9682|      4|        if (profile == EEsProfile) {
  ------------------
  |  Branch (9682:13): [True: 4, False: 0]
  ------------------
 9683|      4|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9683:17): [True: 4, False: 0]
  ------------------
 9684|      4|                symbolTable.setFunctionExtensions("texture2DLodEXT",      1, &E_GL_EXT_shader_texture_lod);
 9685|      4|                symbolTable.setFunctionExtensions("texture2DProjLodEXT",  1, &E_GL_EXT_shader_texture_lod);
 9686|      4|                symbolTable.setFunctionExtensions("textureCubeLodEXT",    1, &E_GL_EXT_shader_texture_lod);
 9687|      4|                symbolTable.setFunctionExtensions("texture2DGradEXT",     1, &E_GL_EXT_shader_texture_lod);
 9688|      4|                symbolTable.setFunctionExtensions("texture2DProjGradEXT", 1, &E_GL_EXT_shader_texture_lod);
 9689|      4|                symbolTable.setFunctionExtensions("textureCubeGradEXT",   1, &E_GL_EXT_shader_texture_lod);
 9690|      4|                if (version < 320)
  ------------------
  |  Branch (9690:21): [True: 4, False: 0]
  ------------------
 9691|      4|                    symbolTable.setFunctionExtensions("textureGatherOffsets", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9692|      4|            }
 9693|      4|            if (version == 100) {
  ------------------
  |  Branch (9693:17): [True: 4, False: 0]
  ------------------
 9694|      4|                symbolTable.setFunctionExtensions("dFdx",   1, &E_GL_OES_standard_derivatives);
 9695|      4|                symbolTable.setFunctionExtensions("dFdy",   1, &E_GL_OES_standard_derivatives);
 9696|      4|                symbolTable.setFunctionExtensions("fwidth", 1, &E_GL_OES_standard_derivatives);
 9697|      4|            }
 9698|      4|            if (version == 310) {
  ------------------
  |  Branch (9698:17): [True: 0, False: 4]
  ------------------
 9699|      0|                symbolTable.setFunctionExtensions("fma", Num_AEP_gpu_shader5, AEP_gpu_shader5);
 9700|      0|                symbolTable.setFunctionExtensions("interpolateAtCentroid", 1, &E_GL_OES_shader_multisample_interpolation);
 9701|      0|                symbolTable.setFunctionExtensions("interpolateAtSample",   1, &E_GL_OES_shader_multisample_interpolation);
 9702|      0|                symbolTable.setFunctionExtensions("interpolateAtOffset",   1, &E_GL_OES_shader_multisample_interpolation);
 9703|      0|            }
 9704|      4|        } else if (version < 130) {
  ------------------
  |  Branch (9704:20): [True: 0, False: 0]
  ------------------
 9705|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (9705:17): [True: 0, False: 0]
  ------------------
 9706|      0|                symbolTable.setFunctionExtensions("texture1DLod",        1, &E_GL_ARB_shader_texture_lod);
 9707|      0|                symbolTable.setFunctionExtensions("texture2DLod",        1, &E_GL_ARB_shader_texture_lod);
 9708|      0|                symbolTable.setFunctionExtensions("texture3DLod",        1, &E_GL_ARB_shader_texture_lod);
 9709|      0|                symbolTable.setFunctionExtensions("textureCubeLod",      1, &E_GL_ARB_shader_texture_lod);
 9710|      0|                symbolTable.setFunctionExtensions("texture1DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9711|      0|                symbolTable.setFunctionExtensions("texture2DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9712|      0|                symbolTable.setFunctionExtensions("texture3DProjLod",    1, &E_GL_ARB_shader_texture_lod);
 9713|      0|                symbolTable.setFunctionExtensions("shadow1DLod",         1, &E_GL_ARB_shader_texture_lod);
 9714|      0|                symbolTable.setFunctionExtensions("shadow2DLod",         1, &E_GL_ARB_shader_texture_lod);
 9715|      0|                symbolTable.setFunctionExtensions("shadow1DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9716|      0|                symbolTable.setFunctionExtensions("shadow2DProjLod",     1, &E_GL_ARB_shader_texture_lod);
 9717|      0|            }
 9718|      0|        }
 9719|       |
 9720|       |        // E_GL_ARB_shader_texture_lod functions usable only with the extension enabled
 9721|      4|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (9721:13): [True: 0, False: 4]
  |  Branch (9721:38): [True: 0, False: 0]
  ------------------
 9722|      0|            symbolTable.setFunctionExtensions("texture1DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9723|      0|            symbolTable.setFunctionExtensions("texture1DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9724|      0|            symbolTable.setFunctionExtensions("texture2DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9725|      0|            symbolTable.setFunctionExtensions("texture2DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9726|      0|            symbolTable.setFunctionExtensions("texture3DGradARB",         1, &E_GL_ARB_shader_texture_lod);
 9727|      0|            symbolTable.setFunctionExtensions("texture3DProjGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9728|      0|            symbolTable.setFunctionExtensions("textureCubeGradARB",       1, &E_GL_ARB_shader_texture_lod);
 9729|      0|            symbolTable.setFunctionExtensions("shadow1DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9730|      0|            symbolTable.setFunctionExtensions("shadow1DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9731|      0|            symbolTable.setFunctionExtensions("shadow2DGradARB",          1, &E_GL_ARB_shader_texture_lod);
 9732|      0|            symbolTable.setFunctionExtensions("shadow2DProjGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9733|      0|            symbolTable.setFunctionExtensions("texture2DRectGradARB",     1, &E_GL_ARB_shader_texture_lod);
 9734|      0|            symbolTable.setFunctionExtensions("texture2DRectProjGradARB", 1, &E_GL_ARB_shader_texture_lod);
 9735|      0|            symbolTable.setFunctionExtensions("shadow2DRectGradARB",      1, &E_GL_ARB_shader_texture_lod);
 9736|      0|            symbolTable.setFunctionExtensions("shadow2DRectProjGradARB",  1, &E_GL_ARB_shader_texture_lod);
 9737|      0|        }
 9738|       |
 9739|       |        // E_GL_ARB_shader_image_load_store
 9740|      4|        if (profile != EEsProfile && version < 420)
  ------------------
  |  Branch (9740:13): [True: 0, False: 4]
  |  Branch (9740:38): [True: 0, False: 0]
  ------------------
 9741|      0|            symbolTable.setFunctionExtensions("memoryBarrier", 1, &E_GL_ARB_shader_image_load_store);
 9742|       |        // All the image access functions are protected by checks on the type of the first argument.
 9743|       |
 9744|       |        // E_GL_ARB_shader_atomic_counters
 9745|      4|        if (profile != EEsProfile && version < 420) {
  ------------------
  |  Branch (9745:13): [True: 0, False: 4]
  |  Branch (9745:38): [True: 0, False: 0]
  ------------------
 9746|      0|            symbolTable.setFunctionExtensions("atomicCounterIncrement", 1, &E_GL_ARB_shader_atomic_counters);
 9747|      0|            symbolTable.setFunctionExtensions("atomicCounterDecrement", 1, &E_GL_ARB_shader_atomic_counters);
 9748|      0|            symbolTable.setFunctionExtensions("atomicCounter"         , 1, &E_GL_ARB_shader_atomic_counters);
 9749|      0|        }
 9750|       |
 9751|       |        // E_GL_ARB_gpu_shader5/E_GL_NV_gpu_shader5 
 9752|      4|        if (profile != EEsProfile && version < 400) {
  ------------------
  |  Branch (9752:13): [True: 0, False: 4]
  |  Branch (9752:38): [True: 0, False: 0]
  ------------------
 9753|      0|            symbolTable.setFunctionExtensions("bitfieldExtract", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9754|      0|            symbolTable.setFunctionExtensions("bitfieldInsert", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9755|      0|            symbolTable.setFunctionExtensions("bitfieldReverse", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9756|      0|            symbolTable.setFunctionExtensions("bitCount", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9757|      0|            symbolTable.setFunctionExtensions("findLSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9758|      0|            symbolTable.setFunctionExtensions("findMSB", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9759|      0|            symbolTable.setFunctionExtensions("uaddCarry", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9760|      0|            symbolTable.setFunctionExtensions("usubBorrow", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9761|      0|            symbolTable.setFunctionExtensions("umulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9762|      0|            symbolTable.setFunctionExtensions("imulExtended", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9763|      0|            symbolTable.setFunctionExtensions("interpolateAtCentroid", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9764|      0|            symbolTable.setFunctionExtensions("interpolateAtSample", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9765|      0|            symbolTable.setFunctionExtensions("interpolateAtOffset", Num_AEP_core_gpu_shader5, AEP_core_gpu_shader5);
 9766|      0|        }
 9767|       |
 9768|       |        // E_GL_NV_gpu_shader5
 9769|      4|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9769:13): [True: 0, False: 4]
  |  Branch (9769:38): [True: 0, False: 0]
  ------------------
 9770|      0|            symbolTable.setFunctionExtensions("packInt2x32",     1, &E_GL_NV_gpu_shader5);
 9771|      0|            symbolTable.setFunctionExtensions("packUint2x32",     1, &E_GL_NV_gpu_shader5);
 9772|      0|            symbolTable.setFunctionExtensions("unpackInt2x32",     1, &E_GL_NV_gpu_shader5);
 9773|      0|            symbolTable.setFunctionExtensions("unpackUint2x32",     1, &E_GL_NV_gpu_shader5);
 9774|      0|            symbolTable.setFunctionExtensions("packFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9775|      0|            symbolTable.setFunctionExtensions("unpackFloat2x16",     1, &E_GL_NV_gpu_shader5);
 9776|      0|            symbolTable.setFunctionExtensions("doubleBitsToInt64",     1, &E_GL_NV_gpu_shader5);
 9777|      0|            symbolTable.setFunctionExtensions("doubleBitsToUint64",     1, &E_GL_NV_gpu_shader5);
 9778|      0|            symbolTable.setFunctionExtensions("int64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9779|      0|            symbolTable.setFunctionExtensions("uint64BitsToDouble",     1, &E_GL_NV_gpu_shader5);
 9780|      0|        }
 9781|       |
 9782|       |        // E_GL_ARB_shader_atomic_counter_ops
 9783|      4|        if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (9783:13): [True: 0, False: 4]
  |  Branch (9783:38): [True: 0, False: 0]
  ------------------
 9784|      0|            symbolTable.setFunctionExtensions("atomicCounterAddARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9785|      0|            symbolTable.setFunctionExtensions("atomicCounterSubtractARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9786|      0|            symbolTable.setFunctionExtensions("atomicCounterMinARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9787|      0|            symbolTable.setFunctionExtensions("atomicCounterMaxARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9788|      0|            symbolTable.setFunctionExtensions("atomicCounterAndARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9789|      0|            symbolTable.setFunctionExtensions("atomicCounterOrARB"      , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9790|      0|            symbolTable.setFunctionExtensions("atomicCounterXorARB"     , 1, &E_GL_ARB_shader_atomic_counter_ops);
 9791|      0|            symbolTable.setFunctionExtensions("atomicCounterExchangeARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9792|      0|            symbolTable.setFunctionExtensions("atomicCounterCompSwapARB", 1, &E_GL_ARB_shader_atomic_counter_ops);
 9793|      0|        }
 9794|       |
 9795|       |        // E_GL_ARB_derivative_control
 9796|      4|        if (profile != EEsProfile && version < 450) {
  ------------------
  |  Branch (9796:13): [True: 0, False: 4]
  |  Branch (9796:38): [True: 0, False: 0]
  ------------------
 9797|      0|            symbolTable.setFunctionExtensions("dFdxFine",     1, &E_GL_ARB_derivative_control);
 9798|      0|            symbolTable.setFunctionExtensions("dFdyFine",     1, &E_GL_ARB_derivative_control);
 9799|      0|            symbolTable.setFunctionExtensions("fwidthFine",   1, &E_GL_ARB_derivative_control);
 9800|      0|            symbolTable.setFunctionExtensions("dFdxCoarse",   1, &E_GL_ARB_derivative_control);
 9801|      0|            symbolTable.setFunctionExtensions("dFdyCoarse",   1, &E_GL_ARB_derivative_control);
 9802|      0|            symbolTable.setFunctionExtensions("fwidthCoarse", 1, &E_GL_ARB_derivative_control);
 9803|      0|        }
 9804|       |
 9805|       |        // E_GL_ARB_sparse_texture2
 9806|      4|        if (profile != EEsProfile)
  ------------------
  |  Branch (9806:13): [True: 0, False: 4]
  ------------------
 9807|      0|        {
 9808|      0|            symbolTable.setFunctionExtensions("sparseTextureARB",              1, &E_GL_ARB_sparse_texture2);
 9809|      0|            symbolTable.setFunctionExtensions("sparseTextureLodARB",           1, &E_GL_ARB_sparse_texture2);
 9810|      0|            symbolTable.setFunctionExtensions("sparseTextureOffsetARB",        1, &E_GL_ARB_sparse_texture2);
 9811|      0|            symbolTable.setFunctionExtensions("sparseTexelFetchARB",           1, &E_GL_ARB_sparse_texture2);
 9812|      0|            symbolTable.setFunctionExtensions("sparseTexelFetchOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9813|      0|            symbolTable.setFunctionExtensions("sparseTextureLodOffsetARB",     1, &E_GL_ARB_sparse_texture2);
 9814|      0|            symbolTable.setFunctionExtensions("sparseTextureGradARB",          1, &E_GL_ARB_sparse_texture2);
 9815|      0|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetARB",    1, &E_GL_ARB_sparse_texture2);
 9816|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherARB",        1, &E_GL_ARB_sparse_texture2);
 9817|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetARB",  1, &E_GL_ARB_sparse_texture2);
 9818|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherOffsetsARB", 1, &E_GL_ARB_sparse_texture2);
 9819|      0|            symbolTable.setFunctionExtensions("sparseImageLoadARB",            1, &E_GL_ARB_sparse_texture2);
 9820|      0|            symbolTable.setFunctionExtensions("sparseTexelsResident",          1, &E_GL_ARB_sparse_texture2);
 9821|      0|        }
 9822|       |
 9823|       |        // E_GL_ARB_sparse_texture_clamp
 9824|      4|        if (profile != EEsProfile)
  ------------------
  |  Branch (9824:13): [True: 0, False: 4]
  ------------------
 9825|      0|        {
 9826|      0|            symbolTable.setFunctionExtensions("sparseTextureClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9827|      0|            symbolTable.setFunctionExtensions("sparseTextureOffsetClampARB",        1, &E_GL_ARB_sparse_texture_clamp);
 9828|      0|            symbolTable.setFunctionExtensions("sparseTextureGradClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9829|      0|            symbolTable.setFunctionExtensions("sparseTextureGradOffsetClampARB",    1, &E_GL_ARB_sparse_texture_clamp);
 9830|      0|            symbolTable.setFunctionExtensions("textureClampARB",                    1, &E_GL_ARB_sparse_texture_clamp);
 9831|      0|            symbolTable.setFunctionExtensions("textureOffsetClampARB",              1, &E_GL_ARB_sparse_texture_clamp);
 9832|      0|            symbolTable.setFunctionExtensions("textureGradClampARB",                1, &E_GL_ARB_sparse_texture_clamp);
 9833|      0|            symbolTable.setFunctionExtensions("textureGradOffsetClampARB",          1, &E_GL_ARB_sparse_texture_clamp);
 9834|      0|        }
 9835|       |
 9836|       |        // E_GL_AMD_shader_explicit_vertex_parameter
 9837|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9837:13): [True: 0, False: 4]
  ------------------
 9838|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9839|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspCentroidAMD", 1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9840|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspSampleAMD",   1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9841|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothAMD",          1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9842|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothCentroidAMD",  1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9843|      0|            symbolTable.setVariableExtensions("gl_BaryCoordSmoothSampleAMD",    1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9844|      0|            symbolTable.setVariableExtensions("gl_BaryCoordPullModelAMD",       1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9845|       |
 9846|      0|            symbolTable.setFunctionExtensions("interpolateAtVertexAMD",         1, &E_GL_AMD_shader_explicit_vertex_parameter);
 9847|       |
 9848|      0|            BuiltInVariable("gl_BaryCoordNoPerspAMD",           EbvBaryCoordNoPersp,         symbolTable);
 9849|      0|            BuiltInVariable("gl_BaryCoordNoPerspCentroidAMD",   EbvBaryCoordNoPerspCentroid, symbolTable);
 9850|      0|            BuiltInVariable("gl_BaryCoordNoPerspSampleAMD",     EbvBaryCoordNoPerspSample,   symbolTable);
 9851|      0|            BuiltInVariable("gl_BaryCoordSmoothAMD",            EbvBaryCoordSmooth,          symbolTable);
 9852|      0|            BuiltInVariable("gl_BaryCoordSmoothCentroidAMD",    EbvBaryCoordSmoothCentroid,  symbolTable);
 9853|      0|            BuiltInVariable("gl_BaryCoordSmoothSampleAMD",      EbvBaryCoordSmoothSample,    symbolTable);
 9854|      0|            BuiltInVariable("gl_BaryCoordPullModelAMD",         EbvBaryCoordPullModel,       symbolTable);
 9855|      0|        }
 9856|       |
 9857|       |        // E_GL_AMD_texture_gather_bias_lod
 9858|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9858:13): [True: 0, False: 4]
  ------------------
 9859|      0|            symbolTable.setFunctionExtensions("textureGatherLodAMD",                1, &E_GL_AMD_texture_gather_bias_lod);
 9860|      0|            symbolTable.setFunctionExtensions("textureGatherLodOffsetAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9861|      0|            symbolTable.setFunctionExtensions("textureGatherLodOffsetsAMD",         1, &E_GL_AMD_texture_gather_bias_lod);
 9862|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodAMD",          1, &E_GL_AMD_texture_gather_bias_lod);
 9863|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetAMD",    1, &E_GL_AMD_texture_gather_bias_lod);
 9864|      0|            symbolTable.setFunctionExtensions("sparseTextureGatherLodOffsetsAMD",   1, &E_GL_AMD_texture_gather_bias_lod);
 9865|      0|        }
 9866|       |
 9867|       |        // E_GL_AMD_shader_image_load_store_lod
 9868|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9868:13): [True: 0, False: 4]
  ------------------
 9869|      0|            symbolTable.setFunctionExtensions("imageLoadLodAMD",        1, &E_GL_AMD_shader_image_load_store_lod);
 9870|      0|            symbolTable.setFunctionExtensions("imageStoreLodAMD",       1, &E_GL_AMD_shader_image_load_store_lod);
 9871|      0|            symbolTable.setFunctionExtensions("sparseImageLoadLodAMD",  1, &E_GL_AMD_shader_image_load_store_lod);
 9872|      0|        }
 9873|      4|        if (profile != EEsProfile && version >= 430) {
  ------------------
  |  Branch (9873:13): [True: 0, False: 4]
  |  Branch (9873:38): [True: 0, False: 0]
  ------------------
 9874|      0|            symbolTable.setVariableExtensions("gl_FragFullyCoveredNV", 1, &E_GL_NV_conservative_raster_underestimation);
 9875|      0|            BuiltInVariable("gl_FragFullyCoveredNV", EbvFragFullyCoveredNV, symbolTable);
 9876|      0|        }
 9877|      4|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9877:14): [True: 0, False: 4]
  |  Branch (9877:39): [True: 0, False: 0]
  ------------------
 9878|      4|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (9878:14): [True: 4, False: 0]
  |  Branch (9878:39): [True: 0, False: 4]
  ------------------
 9879|      0|            symbolTable.setVariableExtensions("gl_FragmentSizeNV",        1, &E_GL_NV_shading_rate_image);
 9880|      0|            symbolTable.setVariableExtensions("gl_InvocationsPerPixelNV", 1, &E_GL_NV_shading_rate_image);
 9881|      0|            BuiltInVariable("gl_FragmentSizeNV",        EbvFragmentSizeNV, symbolTable);
 9882|      0|            BuiltInVariable("gl_InvocationsPerPixelNV", EbvInvocationsPerPixelNV, symbolTable);
 9883|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNV",        1, &E_GL_NV_fragment_shader_barycentric);
 9884|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspNV", 1, &E_GL_NV_fragment_shader_barycentric);
 9885|      0|            BuiltInVariable("gl_BaryCoordNV",        EbvBaryCoordNV,        symbolTable);
 9886|      0|            BuiltInVariable("gl_BaryCoordNoPerspNV", EbvBaryCoordNoPerspNV, symbolTable);
 9887|      0|            symbolTable.setVariableExtensions("gl_BaryCoordEXT",        1, &E_GL_EXT_fragment_shader_barycentric);
 9888|      0|            symbolTable.setVariableExtensions("gl_BaryCoordNoPerspEXT", 1, &E_GL_EXT_fragment_shader_barycentric);
 9889|      0|            BuiltInVariable("gl_BaryCoordEXT",        EbvBaryCoordEXT,        symbolTable);
 9890|      0|            BuiltInVariable("gl_BaryCoordNoPerspEXT", EbvBaryCoordNoPerspEXT, symbolTable);
 9891|      0|        }
 9892|       |
 9893|      4|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (9893:14): [True: 0, False: 4]
  |  Branch (9893:39): [True: 0, False: 0]
  ------------------
 9894|      4|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (9894:14): [True: 4, False: 0]
  |  Branch (9894:39): [True: 0, False: 4]
  ------------------
 9895|      0|            symbolTable.setVariableExtensions("gl_FragSizeEXT",            1, &E_GL_EXT_fragment_invocation_density);
 9896|      0|            symbolTable.setVariableExtensions("gl_FragInvocationCountEXT", 1, &E_GL_EXT_fragment_invocation_density);
 9897|      0|            BuiltInVariable("gl_FragSizeEXT",            EbvFragSizeEXT, symbolTable);
 9898|      0|            BuiltInVariable("gl_FragInvocationCountEXT", EbvFragInvocationCountEXT, symbolTable);
 9899|      0|        }
 9900|       |
 9901|      4|        symbolTable.setVariableExtensions("gl_FragDepthEXT", 1, &E_GL_EXT_frag_depth);
 9902|       |
 9903|      4|        symbolTable.setFunctionExtensions("clockARB",     1, &E_GL_ARB_shader_clock);
 9904|      4|        symbolTable.setFunctionExtensions("clock2x32ARB", 1, &E_GL_ARB_shader_clock);
 9905|       |
 9906|      4|        symbolTable.setFunctionExtensions("clockRealtimeEXT", 1, &E_GL_EXT_shader_realtime_clock);
 9907|      4|        symbolTable.setFunctionExtensions("clockRealtime2x32EXT", 1, &E_GL_EXT_shader_realtime_clock);
 9908|       |
 9909|      4|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9909:13): [True: 4, False: 0]
  |  Branch (9909:38): [True: 4, False: 0]
  ------------------
 9910|      4|            symbolTable.setVariableExtensions("gl_PrimitiveID",  Num_AEP_geometry_shader, AEP_geometry_shader);
 9911|      4|            symbolTable.setVariableExtensions("gl_Layer",        Num_AEP_geometry_shader, AEP_geometry_shader);
 9912|      4|        }
 9913|       |
 9914|      4|        if (profile == EEsProfile && version < 320) {
  ------------------
  |  Branch (9914:13): [True: 4, False: 0]
  |  Branch (9914:38): [True: 4, False: 0]
  ------------------
 9915|      4|            symbolTable.setFunctionExtensions("imageAtomicAdd",      1, &E_GL_OES_shader_image_atomic);
 9916|      4|            symbolTable.setFunctionExtensions("imageAtomicMin",      1, &E_GL_OES_shader_image_atomic);
 9917|      4|            symbolTable.setFunctionExtensions("imageAtomicMax",      1, &E_GL_OES_shader_image_atomic);
 9918|      4|            symbolTable.setFunctionExtensions("imageAtomicAnd",      1, &E_GL_OES_shader_image_atomic);
 9919|      4|            symbolTable.setFunctionExtensions("imageAtomicOr",       1, &E_GL_OES_shader_image_atomic);
 9920|      4|            symbolTable.setFunctionExtensions("imageAtomicXor",      1, &E_GL_OES_shader_image_atomic);
 9921|      4|            symbolTable.setFunctionExtensions("imageAtomicExchange", 1, &E_GL_OES_shader_image_atomic);
 9922|      4|            symbolTable.setFunctionExtensions("imageAtomicCompSwap", 1, &E_GL_OES_shader_image_atomic);
 9923|      4|        }
 9924|       |
 9925|      4|        if (profile != EEsProfile && version < 330 ) {
  ------------------
  |  Branch (9925:13): [True: 0, False: 4]
  |  Branch (9925:38): [True: 0, False: 0]
  ------------------
 9926|      0|            const int numBitEncodingExts = 3;
 9927|      0|            const char* bitEncodingExts[numBitEncodingExts] = { E_GL_ARB_shader_bit_encoding,
 9928|      0|                                                                E_GL_ARB_gpu_shader5,
 9929|      0|                                                                E_GL_NV_gpu_shader5};
 9930|      0|            symbolTable.setFunctionExtensions("floatBitsToInt", numBitEncodingExts, bitEncodingExts);
 9931|      0|            symbolTable.setFunctionExtensions("floatBitsToUint", numBitEncodingExts, bitEncodingExts);
 9932|      0|            symbolTable.setFunctionExtensions("intBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9933|      0|            symbolTable.setFunctionExtensions("uintBitsToFloat", numBitEncodingExts, bitEncodingExts);
 9934|       |
 9935|      0|        }
 9936|       |
 9937|      4|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9937:13): [True: 0, False: 4]
  |  Branch (9937:38): [True: 0, False: 0]
  ------------------
 9938|      0|            symbolTable.setFunctionExtensions("imageSize", 1, &E_GL_ARB_shader_image_size);
 9939|      0|        }
 9940|       |
 9941|       |        // GL_ARB_shader_storage_buffer_object
 9942|      4|        if (profile != EEsProfile && version < 430 ) {
  ------------------
  |  Branch (9942:13): [True: 0, False: 4]
  |  Branch (9942:38): [True: 0, False: 0]
  ------------------
 9943|      0|            symbolTable.setFunctionExtensions("atomicAdd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9944|      0|            symbolTable.setFunctionExtensions("atomicMin", 1, &E_GL_ARB_shader_storage_buffer_object);
 9945|      0|            symbolTable.setFunctionExtensions("atomicMax", 1, &E_GL_ARB_shader_storage_buffer_object);
 9946|      0|            symbolTable.setFunctionExtensions("atomicAnd", 1, &E_GL_ARB_shader_storage_buffer_object);
 9947|      0|            symbolTable.setFunctionExtensions("atomicOr", 1, &E_GL_ARB_shader_storage_buffer_object);
 9948|      0|            symbolTable.setFunctionExtensions("atomicXor", 1, &E_GL_ARB_shader_storage_buffer_object);
 9949|      0|            symbolTable.setFunctionExtensions("atomicExchange", 1, &E_GL_ARB_shader_storage_buffer_object);
 9950|      0|            symbolTable.setFunctionExtensions("atomicCompSwap", 1, &E_GL_ARB_shader_storage_buffer_object);
 9951|      0|        }
 9952|       |
 9953|       |        // GL_ARB_shading_language_packing
 9954|      4|        if (profile != EEsProfile && version < 400 ) {
  ------------------
  |  Branch (9954:13): [True: 0, False: 4]
  |  Branch (9954:38): [True: 0, False: 0]
  ------------------
 9955|      0|            const int numPackingExts = 3;
 9956|      0|            const char* packingExts[numPackingExts] = { E_GL_ARB_shading_language_packing,
 9957|      0|                                                                E_GL_ARB_gpu_shader5,
 9958|      0|                                                                E_GL_NV_gpu_shader5};
 9959|      0|            symbolTable.setFunctionExtensions("packUnorm2x16", numPackingExts, packingExts);
 9960|      0|            symbolTable.setFunctionExtensions("unpackUnorm2x16", numPackingExts, packingExts);
 9961|      0|            symbolTable.setFunctionExtensions("packSnorm4x8", numPackingExts, packingExts);
 9962|      0|            symbolTable.setFunctionExtensions("packUnorm4x8", numPackingExts, packingExts);
 9963|      0|            symbolTable.setFunctionExtensions("unpackSnorm4x8", numPackingExts, packingExts);
 9964|      0|            symbolTable.setFunctionExtensions("unpackUnorm4x8", numPackingExts, packingExts);
 9965|      0|        }
 9966|      4|        if (profile != EEsProfile && version < 420 ) {
  ------------------
  |  Branch (9966:13): [True: 0, False: 4]
  |  Branch (9966:38): [True: 0, False: 0]
  ------------------
 9967|      0|            symbolTable.setFunctionExtensions("packSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9968|      0|            symbolTable.setFunctionExtensions("unpackSnorm2x16", 1, &E_GL_ARB_shading_language_packing);
 9969|      0|            symbolTable.setFunctionExtensions("unpackHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9970|      0|            symbolTable.setFunctionExtensions("packHalf2x16", 1, &E_GL_ARB_shading_language_packing);
 9971|      0|        }
 9972|       |
 9973|      4|        symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
 9974|      4|        BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
 9975|      4|        symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
 9976|      4|        BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
 9977|      4|        if (version >= 300 /* both ES and non-ES */) {
  ------------------
  |  Branch (9977:13): [True: 0, False: 4]
  ------------------
 9978|      0|            symbolTable.setVariableExtensions("gl_ViewID_OVR", Num_OVR_multiview_EXTs, OVR_multiview_EXTs);
 9979|      0|            BuiltInVariable("gl_ViewID_OVR", EbvViewIndex, symbolTable);
 9980|      0|        }
 9981|       |
 9982|       |        // GL_ARB_shader_ballot
 9983|      4|        if (profile != EEsProfile) {
  ------------------
  |  Branch (9983:13): [True: 0, False: 4]
  ------------------
 9984|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
 9985|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
 9986|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
 9987|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9988|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9989|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
 9990|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
 9991|       |
 9992|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
 9993|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
 9994|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
 9995|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
 9996|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
 9997|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
 9998|       |
 9999|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (9999:17): [True: 0, False: 0]
  ------------------
10000|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10001|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10002|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10002:21): [True: 0, False: 0]
  ------------------
10003|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10004|      0|            }
10005|      0|            else
10006|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10007|      0|        }
10008|       |
10009|       |        // GL_EXT_expect_assume
10010|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10010:14): [True: 4, False: 0]
  |  Branch (10010:39): [True: 0, False: 4]
  ------------------
10011|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10011:14): [True: 0, False: 4]
  |  Branch (10011:39): [True: 0, False: 0]
  ------------------
10012|      0|            symbolTable.setFunctionExtensions("assumeEXT", 1, &E_GL_EXT_expect_assume);
10013|      0|            symbolTable.setFunctionExtensions("expectEXT", 1, &E_GL_EXT_expect_assume);
10014|      0|        }
10015|       |
10016|       |        // GL_KHR_shader_subgroup
10017|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10017:14): [True: 4, False: 0]
  |  Branch (10017:39): [True: 0, False: 4]
  ------------------
10018|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10018:14): [True: 0, False: 4]
  |  Branch (10018:39): [True: 0, False: 0]
  ------------------
10019|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10020|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10021|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10022|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10023|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10024|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10025|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10026|       |
10027|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10028|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10029|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10030|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10031|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10032|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10033|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10034|       |
10035|      0|            symbolTable.setFunctionExtensions("subgroupBarrier",                 1, &E_GL_KHR_shader_subgroup_basic);
10036|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrier",           1, &E_GL_KHR_shader_subgroup_basic);
10037|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierBuffer",     1, &E_GL_KHR_shader_subgroup_basic);
10038|      0|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierImage",      1, &E_GL_KHR_shader_subgroup_basic);
10039|      0|            symbolTable.setFunctionExtensions("subgroupElect",                   1, &E_GL_KHR_shader_subgroup_basic);
10040|      0|            symbolTable.setFunctionExtensions("subgroupAll",                     1, &E_GL_KHR_shader_subgroup_vote);
10041|      0|            symbolTable.setFunctionExtensions("subgroupAny",                     1, &E_GL_KHR_shader_subgroup_vote);
10042|      0|            symbolTable.setFunctionExtensions("subgroupAllEqual",                1, &E_GL_KHR_shader_subgroup_vote);
10043|      0|            symbolTable.setFunctionExtensions("subgroupBroadcast",               1, &E_GL_KHR_shader_subgroup_ballot);
10044|      0|            symbolTable.setFunctionExtensions("subgroupBroadcastFirst",          1, &E_GL_KHR_shader_subgroup_ballot);
10045|      0|            symbolTable.setFunctionExtensions("subgroupBallot",                  1, &E_GL_KHR_shader_subgroup_ballot);
10046|      0|            symbolTable.setFunctionExtensions("subgroupInverseBallot",           1, &E_GL_KHR_shader_subgroup_ballot);
10047|      0|            symbolTable.setFunctionExtensions("subgroupBallotBitExtract",        1, &E_GL_KHR_shader_subgroup_ballot);
10048|      0|            symbolTable.setFunctionExtensions("subgroupBallotBitCount",          1, &E_GL_KHR_shader_subgroup_ballot);
10049|      0|            symbolTable.setFunctionExtensions("subgroupBallotInclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10050|      0|            symbolTable.setFunctionExtensions("subgroupBallotExclusiveBitCount", 1, &E_GL_KHR_shader_subgroup_ballot);
10051|      0|            symbolTable.setFunctionExtensions("subgroupBallotFindLSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10052|      0|            symbolTable.setFunctionExtensions("subgroupBallotFindMSB",           1, &E_GL_KHR_shader_subgroup_ballot);
10053|      0|            symbolTable.setFunctionExtensions("subgroupShuffle",                 1, &E_GL_KHR_shader_subgroup_shuffle);
10054|      0|            symbolTable.setFunctionExtensions("subgroupShuffleXor",              1, &E_GL_KHR_shader_subgroup_shuffle);
10055|      0|            symbolTable.setFunctionExtensions("subgroupShuffleUp",               1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10056|      0|            symbolTable.setFunctionExtensions("subgroupShuffleDown",             1, &E_GL_KHR_shader_subgroup_shuffle_relative);
10057|      0|            symbolTable.setFunctionExtensions("subgroupRotate",                  1, &E_GL_KHR_shader_subgroup_rotate);
10058|      0|            symbolTable.setFunctionExtensions("subgroupClusteredRotate",         1, &E_GL_KHR_shader_subgroup_rotate);
10059|      0|            symbolTable.setFunctionExtensions("subgroupAdd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10060|      0|            symbolTable.setFunctionExtensions("subgroupMul",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10061|      0|            symbolTable.setFunctionExtensions("subgroupMin",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10062|      0|            symbolTable.setFunctionExtensions("subgroupMax",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10063|      0|            symbolTable.setFunctionExtensions("subgroupAnd",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10064|      0|            symbolTable.setFunctionExtensions("subgroupOr",                      1, &E_GL_KHR_shader_subgroup_arithmetic);
10065|      0|            symbolTable.setFunctionExtensions("subgroupXor",                     1, &E_GL_KHR_shader_subgroup_arithmetic);
10066|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10067|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10068|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10069|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10070|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10071|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10072|      0|            symbolTable.setFunctionExtensions("subgroupInclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10073|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveAdd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10074|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMul",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10075|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMin",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10076|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveMax",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10077|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveAnd",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10078|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveOr",             1, &E_GL_KHR_shader_subgroup_arithmetic);
10079|      0|            symbolTable.setFunctionExtensions("subgroupExclusiveXor",            1, &E_GL_KHR_shader_subgroup_arithmetic);
10080|      0|            symbolTable.setFunctionExtensions("subgroupClusteredAdd",            1, &E_GL_KHR_shader_subgroup_clustered);
10081|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMul",            1, &E_GL_KHR_shader_subgroup_clustered);
10082|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMin",            1, &E_GL_KHR_shader_subgroup_clustered);
10083|      0|            symbolTable.setFunctionExtensions("subgroupClusteredMax",            1, &E_GL_KHR_shader_subgroup_clustered);
10084|      0|            symbolTable.setFunctionExtensions("subgroupClusteredAnd",            1, &E_GL_KHR_shader_subgroup_clustered);
10085|      0|            symbolTable.setFunctionExtensions("subgroupClusteredOr",             1, &E_GL_KHR_shader_subgroup_clustered);
10086|      0|            symbolTable.setFunctionExtensions("subgroupClusteredXor",            1, &E_GL_KHR_shader_subgroup_clustered);
10087|      0|            symbolTable.setFunctionExtensions("subgroupQuadBroadcast",           1, &E_GL_KHR_shader_subgroup_quad);
10088|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapHorizontal",      1, &E_GL_KHR_shader_subgroup_quad);
10089|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapVertical",        1, &E_GL_KHR_shader_subgroup_quad);
10090|      0|            symbolTable.setFunctionExtensions("subgroupQuadSwapDiagonal",        1, &E_GL_KHR_shader_subgroup_quad);
10091|      0|            symbolTable.setFunctionExtensions("subgroupPartitionNV",                          1, &E_GL_NV_shader_subgroup_partitioned);
10092|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedAddNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10093|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMulNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10094|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMinNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10095|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedMaxNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10096|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedAndNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10097|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedOrNV",                      1, &E_GL_NV_shader_subgroup_partitioned);
10098|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedXorNV",                     1, &E_GL_NV_shader_subgroup_partitioned);
10099|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10100|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10101|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10102|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10103|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10104|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10105|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedInclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10106|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAddNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10107|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMulNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10108|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMinNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10109|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveMaxNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10110|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveAndNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10111|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveOrNV",             1, &E_GL_NV_shader_subgroup_partitioned);
10112|      0|            symbolTable.setFunctionExtensions("subgroupPartitionedExclusiveXorNV",            1, &E_GL_NV_shader_subgroup_partitioned);
10113|       |
10114|       |            // GL_NV_shader_sm_builtins
10115|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10116|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10117|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10118|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10119|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10120|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10121|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10122|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10123|       |
10124|       |            // GL_ARM_shader_core_builtins
10125|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10126|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10127|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10128|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10129|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10130|       |
10131|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10132|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10133|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10134|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10135|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10136|      0|        }
10137|       |
10138|      4|        if (profile == EEsProfile) {
  ------------------
  |  Branch (10138:13): [True: 4, False: 0]
  ------------------
10139|      4|            symbolTable.setFunctionExtensions("shadow2DEXT",        1, &E_GL_EXT_shadow_samplers);
10140|      4|            symbolTable.setFunctionExtensions("shadow2DProjEXT",    1, &E_GL_EXT_shadow_samplers);
10141|      4|        }
10142|       |
10143|      4|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10143:13): [True: 0, False: 4]
  ------------------
10144|      0|            symbolTable.setVariableExtensions("gl_ScopeDevice",             1, &E_GL_KHR_memory_scope_semantics);
10145|      0|            symbolTable.setVariableExtensions("gl_ScopeWorkgroup",          1, &E_GL_KHR_memory_scope_semantics);
10146|      0|            symbolTable.setVariableExtensions("gl_ScopeSubgroup",           1, &E_GL_KHR_memory_scope_semantics);
10147|      0|            symbolTable.setVariableExtensions("gl_ScopeInvocation",         1, &E_GL_KHR_memory_scope_semantics);
10148|       |
10149|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelaxed",        1, &E_GL_KHR_memory_scope_semantics);
10150|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquire",        1, &E_GL_KHR_memory_scope_semantics);
10151|      0|            symbolTable.setVariableExtensions("gl_SemanticsRelease",        1, &E_GL_KHR_memory_scope_semantics);
10152|      0|            symbolTable.setVariableExtensions("gl_SemanticsAcquireRelease", 1, &E_GL_KHR_memory_scope_semantics);
10153|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeAvailable",  1, &E_GL_KHR_memory_scope_semantics);
10154|      0|            symbolTable.setVariableExtensions("gl_SemanticsMakeVisible",    1, &E_GL_KHR_memory_scope_semantics);
10155|      0|            symbolTable.setVariableExtensions("gl_SemanticsVolatile",       1, &E_GL_KHR_memory_scope_semantics);
10156|       |
10157|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsNone",    1, &E_GL_KHR_memory_scope_semantics);
10158|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsBuffer",  1, &E_GL_KHR_memory_scope_semantics);
10159|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsShared",  1, &E_GL_KHR_memory_scope_semantics);
10160|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsImage",   1, &E_GL_KHR_memory_scope_semantics);
10161|      0|            symbolTable.setVariableExtensions("gl_StorageSemanticsOutput",  1, &E_GL_KHR_memory_scope_semantics);
10162|      0|        }
10163|       |
10164|      4|        symbolTable.setFunctionExtensions("helperInvocationEXT",            1, &E_GL_EXT_demote_to_helper_invocation);
10165|       |
10166|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10166:14): [True: 4, False: 0]
  |  Branch (10166:39): [True: 0, False: 4]
  ------------------
10167|      4|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10167:14): [True: 0, False: 4]
  |  Branch (10167:39): [True: 0, False: 0]
  ------------------
10168|      0|            symbolTable.setVariableExtensions("gl_ShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10169|      0|            BuiltInVariable("gl_ShadingRateEXT", EbvShadingRateKHR, symbolTable);
10170|       |
10171|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10172|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10173|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10174|      0|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10175|      0|        }
10176|       |
10177|       |        // GL_EXT_shader_quad_control
10178|      4|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10178:14): [True: 0, False: 4]
  |  Branch (10178:39): [True: 0, False: 0]
  ------------------
10179|      4|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10179:14): [True: 4, False: 0]
  |  Branch (10179:39): [True: 0, False: 4]
  ------------------
10180|      0|            symbolTable.setFunctionExtensions("subgroupQuadAll",                     1,  &E_GL_KHR_shader_subgroup_vote);
10181|      0|            symbolTable.setFunctionExtensions("subgroupQuadAny",                     1,  &E_GL_KHR_shader_subgroup_vote);
10182|      0|        }
10183|       |
10184|       |        // GL_EXT_shader_tile_image
10185|      4|        symbolTable.setFunctionExtensions("stencilAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10186|      4|        symbolTable.setFunctionExtensions("depthAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10187|      4|        symbolTable.setFunctionExtensions("colorAttachmentReadEXT", 1, &E_GL_EXT_shader_tile_image);
10188|       |
10189|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10189:14): [True: 4, False: 0]
  |  Branch (10189:39): [True: 0, False: 4]
  ------------------
10190|      4|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10190:14): [True: 0, False: 4]
  |  Branch (10190:39): [True: 0, False: 0]
  ------------------
10191|       |
10192|      0|            symbolTable.setFunctionExtensions("textureWeightedQCOM",      1, &E_GL_QCOM_image_processing);
10193|      0|            symbolTable.setFunctionExtensions("textureBoxFilterQCOM",     1, &E_GL_QCOM_image_processing);
10194|      0|            symbolTable.setFunctionExtensions("textureBlockMatchSADQCOM", 1, &E_GL_QCOM_image_processing);
10195|      0|            symbolTable.setFunctionExtensions("textureBlockMatchSSDQCOM", 1, &E_GL_QCOM_image_processing);
10196|       |
10197|      0|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10198|      0|            symbolTable.setFunctionExtensions("textureBlockMatchWindowSADQCOM", 1, &E_GL_QCOM_image_processing2);
10199|      0|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSSDQCOM", 1, &E_GL_QCOM_image_processing2);
10200|      0|            symbolTable.setFunctionExtensions("textureBlockMatchGatherSADQCOM", 1, &E_GL_QCOM_image_processing2);
10201|      0|        }
10202|       |
10203|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10203:14): [True: 4, False: 0]
  |  Branch (10203:39): [True: 0, False: 4]
  ------------------
10204|      4|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10204:14): [True: 0, False: 4]
  |  Branch (10204:39): [True: 0, False: 0]
  ------------------
10205|      0|            BuiltInVariable("gl_TileOffsetQCOM",    EbvTileOffsetQCOM,      symbolTable);
10206|      0|            BuiltInVariable("gl_TileDimensionQCOM", EbvTileDimensionQCOM,   symbolTable);
10207|      0|            BuiltInVariable("gl_TileApronSizeQCOM", EbvTileApronSizeQCOM,   symbolTable);
10208|       |
10209|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10210|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10211|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10212|      0|        }
10213|       |
10214|      4|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10214:14): [True: 4, False: 0]
  |  Branch (10214:39): [True: 0, False: 4]
  ------------------
10215|      4|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (10215:14): [True: 0, False: 4]
  |  Branch (10215:39): [True: 0, False: 0]
  ------------------
10216|      0|            symbolTable.setFunctionExtensions("textureGather4x1QCOM", 1, &E_GL_QCOM_image_processing3);
10217|      0|            symbolTable.setFunctionExtensions("textureGatherV2QCOM", 1, &E_GL_QCOM_image_processing3);
10218|      0|            symbolTable.setFunctionExtensions("textureGatherH2QCOM", 1, &E_GL_QCOM_image_processing3);
10219|      0|            symbolTable.setFunctionExtensions("textureGatherDQCOM", 1, &E_GL_QCOM_image_processing3);
10220|      0|            symbolTable.setFunctionExtensions("textureGather4x1OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10221|      0|            symbolTable.setFunctionExtensions("textureGatherV2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10222|      0|            symbolTable.setFunctionExtensions("textureGatherH2OffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10223|      0|            symbolTable.setFunctionExtensions("textureGatherDOffsetQCOM", 1, &E_GL_QCOM_image_processing3);
10224|      0|        }
10225|       |
10226|      4|        break;
10227|       |
10228|      7|    case EShLangCompute:
  ------------------
  |  Branch (10228:5): [True: 7, False: 126]
  ------------------
10229|      7|        BuiltInVariable("gl_NumWorkGroups",         EbvNumWorkGroups,        symbolTable);
10230|      7|        BuiltInVariable("gl_WorkGroupSize",         EbvWorkGroupSize,        symbolTable);
10231|      7|        BuiltInVariable("gl_WorkGroupID",           EbvWorkGroupId,          symbolTable);
10232|      7|        BuiltInVariable("gl_LocalInvocationID",     EbvLocalInvocationId,    symbolTable);
10233|      7|        BuiltInVariable("gl_GlobalInvocationID",    EbvGlobalInvocationId,   symbolTable);
10234|      7|        BuiltInVariable("gl_LocalInvocationIndex",  EbvLocalInvocationIndex, symbolTable);
10235|      7|        BuiltInVariable("gl_DeviceIndex",           EbvDeviceIndex,          symbolTable);
10236|      7|        BuiltInVariable("gl_ViewIndex",             EbvViewIndex,            symbolTable);
10237|       |
10238|      7|        if ((profile != EEsProfile && version >= 140) ||
  ------------------
  |  Branch (10238:14): [True: 7, False: 0]
  |  Branch (10238:39): [True: 7, False: 0]
  ------------------
10239|      7|            (profile == EEsProfile && version >= 310)) {
  ------------------
  |  Branch (10239:14): [True: 0, False: 0]
  |  Branch (10239:39): [True: 0, False: 0]
  ------------------
10240|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex",  1, &E_GL_EXT_device_group);
10241|      7|            symbolTable.setVariableExtensions("gl_ViewIndex",    1, &E_GL_EXT_multiview);
10242|      7|        }
10243|       |
10244|      7|        if (profile != EEsProfile && version < 430) {
  ------------------
  |  Branch (10244:13): [True: 7, False: 0]
  |  Branch (10244:38): [True: 0, False: 7]
  ------------------
10245|      0|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_ARB_compute_shader);
10246|      0|            symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_ARB_compute_shader);
10247|      0|            symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_ARB_compute_shader);
10248|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_ARB_compute_shader);
10249|      0|            symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_ARB_compute_shader);
10250|      0|            symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_ARB_compute_shader);
10251|       |
10252|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupCount",       1, &E_GL_ARB_compute_shader);
10253|      0|            symbolTable.setVariableExtensions("gl_MaxComputeWorkGroupSize",        1, &E_GL_ARB_compute_shader);
10254|      0|            symbolTable.setVariableExtensions("gl_MaxComputeUniformComponents",    1, &E_GL_ARB_compute_shader);
10255|      0|            symbolTable.setVariableExtensions("gl_MaxComputeTextureImageUnits",    1, &E_GL_ARB_compute_shader);
10256|      0|            symbolTable.setVariableExtensions("gl_MaxComputeImageUniforms",        1, &E_GL_ARB_compute_shader);
10257|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounters",       1, &E_GL_ARB_compute_shader);
10258|      0|            symbolTable.setVariableExtensions("gl_MaxComputeAtomicCounterBuffers", 1, &E_GL_ARB_compute_shader);
10259|       |
10260|      0|            symbolTable.setFunctionExtensions("barrier",                    1, &E_GL_ARB_compute_shader);
10261|      0|            symbolTable.setFunctionExtensions("memoryBarrierAtomicCounter", 1, &E_GL_ARB_compute_shader);
10262|      0|            symbolTable.setFunctionExtensions("memoryBarrierBuffer",        1, &E_GL_ARB_compute_shader);
10263|      0|            symbolTable.setFunctionExtensions("memoryBarrierImage",         1, &E_GL_ARB_compute_shader);
10264|      0|            symbolTable.setFunctionExtensions("memoryBarrierShared",        1, &E_GL_ARB_compute_shader);
10265|      0|            symbolTable.setFunctionExtensions("groupMemoryBarrier",         1, &E_GL_ARB_compute_shader);
10266|      0|        }
10267|       |
10268|      7|        symbolTable.setFunctionExtensions("controlBarrier",                 1, &E_GL_KHR_memory_scope_semantics);
10269|      7|        symbolTable.setFunctionExtensions("debugPrintfEXT",                 1, &E_GL_EXT_debug_printf);
10270|      7|        symbolTable.setFunctionExtensions("abortEXT",                       1, &E_GL_EXT_abort);
10271|      7|        symbolTable.setFunctionExtensions("controlBarrierArrive",           1, &E_GL_EXT_split_barrier);
10272|      7|        symbolTable.setFunctionExtensions("controlBarrierWait",             1, &E_GL_EXT_split_barrier);
10273|       |
10274|       |        // GL_ARB_shader_ballot
10275|      7|        if (profile != EEsProfile) {
  ------------------
  |  Branch (10275:13): [True: 7, False: 0]
  ------------------
10276|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10277|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10278|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10279|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10280|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10281|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10282|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10283|       |
10284|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10285|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10286|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10287|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10288|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10289|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10290|       |
10291|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10291:17): [True: 7, False: 0]
  ------------------
10292|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10293|      7|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10294|      7|                if (language == EShLangFragment)
  ------------------
  |  Branch (10294:21): [True: 0, False: 7]
  ------------------
10295|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10296|      7|            }
10297|      0|            else
10298|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10299|      7|        }
10300|       |
10301|       |        // GL_KHR_shader_subgroup
10302|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10302:14): [True: 0, False: 7]
  |  Branch (10302:39): [True: 0, False: 0]
  ------------------
10303|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10303:14): [True: 7, False: 0]
  |  Branch (10303:39): [True: 7, False: 0]
  ------------------
10304|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10305|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10306|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10307|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10308|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10309|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10310|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10311|       |
10312|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10313|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10314|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10315|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10316|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10317|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10318|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10319|       |
10320|       |            // GL_NV_shader_sm_builtins
10321|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10322|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10323|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10324|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10325|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10326|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10327|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10328|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10329|       |
10330|       |            // GL_ARM_shader_core_builtins
10331|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10332|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10333|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10334|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10335|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10336|       |
10337|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10338|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10339|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10340|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10341|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10342|      7|        }
10343|       |
10344|       |        // GL_KHR_shader_subgroup
10345|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10345:14): [True: 0, False: 7]
  |  Branch (10345:39): [True: 0, False: 0]
  ------------------
10346|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (10346:14): [True: 7, False: 0]
  |  Branch (10346:39): [True: 7, False: 0]
  ------------------
10347|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups", 1, &E_GL_KHR_shader_subgroup_basic);
10348|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",   1, &E_GL_KHR_shader_subgroup_basic);
10349|       |
10350|      7|            BuiltInVariable("gl_NumSubgroups", EbvNumSubgroups, symbolTable);
10351|      7|            BuiltInVariable("gl_SubgroupID",   EbvSubgroupID,   symbolTable);
10352|       |
10353|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
10354|      7|        }
10355|       |
10356|      7|        {
10357|      7|            const char *coopExt[2] = { E_GL_NV_cooperative_matrix, E_GL_NV_integer_cooperative_matrix };
10358|      7|            symbolTable.setFunctionExtensions("coopMatLoadNV",   2, coopExt);
10359|      7|            symbolTable.setFunctionExtensions("coopMatStoreNV",  2, coopExt);
10360|      7|            symbolTable.setFunctionExtensions("coopMatMulAddNV", 2, coopExt);
10361|      7|        }
10362|       |
10363|      7|        {
10364|      7|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|      7|                std::vector<const char *> ret;
10366|      7|                if (strstr(name, "u64") != nullptr) {
10367|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|      7|                } else {
10369|      7|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|      7|                }
10371|      7|                return ret;
10372|      7|            };
10373|      7|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|      7|                std::vector<const char *> ret;
10375|      7|                if (strstr(name, "u64") != nullptr) {
10376|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|      7|                } else {
10378|      7|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|      7|                }
10380|      7|                return ret;
10381|      7|            };
10382|       |
10383|      7|            symbolTable.setFunctionExtensionsCallback("coopMatLoad",   coopMatKHRCallback);
10384|      7|            symbolTable.setFunctionExtensionsCallback("coopMatStore",  coopMatKHRCallback);
10385|      7|            symbolTable.setFunctionExtensions("coopMatMulAdd", 1, &E_GL_KHR_cooperative_matrix);
10386|       |
10387|      7|            symbolTable.setFunctionExtensionsCallback("coopMatLoadTensorNV",   coopMat2NVCallback);
10388|      7|            symbolTable.setFunctionExtensionsCallback("coopMatStoreTensorNV",   coopMat2NVCallback);
10389|       |
10390|      7|            symbolTable.setFunctionExtensions("coopMatReduceNV",   1, &E_GL_NV_cooperative_matrix2);
10391|      7|            symbolTable.setFunctionExtensions("coopMatPerElementNV",  1, &E_GL_NV_cooperative_matrix2);
10392|      7|            symbolTable.setFunctionExtensions("coopMatTransposeNV",   1, &E_GL_NV_cooperative_matrix2);
10393|       |            
10394|      7|            symbolTable.setFunctionExtensions("createTensorLayoutNV",           1, &E_GL_NV_cooperative_matrix2);
10395|      7|            symbolTable.setFunctionExtensions("setTensorLayoutBlockSizeNV",     1, &E_GL_NV_cooperative_matrix2);
10396|      7|            symbolTable.setFunctionExtensions("setTensorLayoutDimensionNV",     1, &E_GL_NV_cooperative_matrix2);
10397|      7|            symbolTable.setFunctionExtensions("setTensorLayoutStrideNV",        1, &E_GL_NV_cooperative_matrix2);
10398|      7|            symbolTable.setFunctionExtensions("sliceTensorLayoutNV",            1, &E_GL_NV_cooperative_matrix2);
10399|      7|            symbolTable.setFunctionExtensions("setTensorLayoutClampValueNV",    1, &E_GL_NV_cooperative_matrix2);
10400|       |
10401|      7|            symbolTable.setFunctionExtensions("createTensorViewNV",             1, &E_GL_NV_cooperative_matrix2);
10402|      7|            symbolTable.setFunctionExtensions("setTensorViewDimensionsNV",      1, &E_GL_NV_cooperative_matrix2);
10403|      7|            symbolTable.setFunctionExtensions("setTensorViewStrideNV",          1, &E_GL_NV_cooperative_matrix2);
10404|      7|            symbolTable.setFunctionExtensions("setTensorViewClipNV",            1, &E_GL_NV_cooperative_matrix2);
10405|      7|        }
10406|       |
10407|      7|        {
10408|      7|            symbolTable.setFunctionExtensions("coopMatReduceEXT",           1, &E_GL_EXT_cooperative_matrix_maintenance1);
10409|      7|            symbolTable.setFunctionExtensions("coopMatPerElementEXT",       1, &E_GL_EXT_cooperative_matrix_maintenance1);
10410|      7|            symbolTable.setFunctionExtensions("coopMatTransposeEXT",        1, &E_GL_EXT_cooperative_matrix_maintenance1);
10411|      7|            symbolTable.setFunctionExtensions("coopMatGetCoordinateEXT",    1, &E_GL_EXT_cooperative_matrix_maintenance1);
10412|      7|        }
10413|       |
10414|      7|        {
10415|      7|            symbolTable.setFunctionExtensions("tensorReadARM",   1, &E_GL_ARM_tensors);
10416|      7|            symbolTable.setFunctionExtensions("tensorWriteARM",  1, &E_GL_ARM_tensors);
10417|      7|            symbolTable.setFunctionExtensions("tensorSizeARM",   1, &E_GL_ARM_tensors);
10418|      7|        }
10419|      7|        {
10420|      7|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|      7|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|      7|                if (strstr(name, "u641;") != nullptr) {
10424|      7|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|      7|                } else {
10426|      7|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|      7|                }
10428|      7|                return ret;
10429|      7|            };
10430|      7|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulNV", coopVecCallback);
10431|      7|            symbolTable.setFunctionExtensionsCallback("coopVecMatMulAddNV", coopVecCallback);
10432|      7|            symbolTable.setFunctionExtensionsCallback("coopVecLoadNV", coopVecCallback);
10433|      7|            symbolTable.setFunctionExtensionsCallback("coopVecStoreNV", coopVecCallback);
10434|      7|            symbolTable.setFunctionExtensionsCallback("coopVecOuterProductAccumulateNV", coopVecCallback);
10435|      7|            symbolTable.setFunctionExtensionsCallback("coopVecReduceSumAccumulateNV", coopVecCallback);
10436|      7|        }
10437|       |
10438|      7|        {
10439|      7|          symbolTable.setFunctionExtensions("bitcastQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10440|      7|          symbolTable.setFunctionExtensions("extractSubArrayQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10441|      7|          symbolTable.setFunctionExtensions("vectorToCoopmatQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10442|      7|          symbolTable.setFunctionExtensions("coopmatToVectorQCOM", 1, &E_GL_QCOM_cooperative_matrix_conversion);
10443|      7|        }
10444|       |
10445|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10445:14): [True: 7, False: 0]
  |  Branch (10445:39): [True: 7, False: 0]
  |  Branch (10445:59): [True: 0, False: 0]
  |  Branch (10445:84): [True: 0, False: 0]
  ------------------
10446|      7|            const char* const derivativeExts[] = { E_GL_NV_compute_shader_derivatives, E_GL_KHR_compute_shader_derivatives };
10447|      7|            if (language == EShLangCompute) {
  ------------------
  |  Branch (10447:17): [True: 7, False: 0]
  ------------------
10448|      7|                symbolTable.setFunctionExtensions("dFdx",                   2, derivativeExts);
10449|      7|                symbolTable.setFunctionExtensions("dFdy",                   2, derivativeExts);
10450|      7|                symbolTable.setFunctionExtensions("fwidth",                 2, derivativeExts);
10451|      7|                symbolTable.setFunctionExtensions("dFdxFine",               2, derivativeExts);
10452|      7|                symbolTable.setFunctionExtensions("dFdyFine",               2, derivativeExts);
10453|      7|                symbolTable.setFunctionExtensions("fwidthFine",             2, derivativeExts);
10454|      7|                symbolTable.setFunctionExtensions("dFdxCoarse",             2, derivativeExts);
10455|      7|                symbolTable.setFunctionExtensions("dFdyCoarse",             2, derivativeExts);
10456|      7|                symbolTable.setFunctionExtensions("fwidthCoarse",           2, derivativeExts);
10457|      7|            } else if (language == EShLangTask || language == EShLangMesh) {
  ------------------
  |  Branch (10457:24): [True: 0, False: 0]
  |  Branch (10457:51): [True: 0, False: 0]
  ------------------
10458|      0|                symbolTable.setFunctionExtensions("dFdx",                   1, &E_GL_KHR_compute_shader_derivatives);
10459|      0|                symbolTable.setFunctionExtensions("dFdy",                   1, &E_GL_KHR_compute_shader_derivatives);
10460|      0|                symbolTable.setFunctionExtensions("fwidth",                 1, &E_GL_KHR_compute_shader_derivatives);
10461|      0|                symbolTable.setFunctionExtensions("dFdxFine",               1, &E_GL_KHR_compute_shader_derivatives);
10462|      0|                symbolTable.setFunctionExtensions("dFdyFine",               1, &E_GL_KHR_compute_shader_derivatives);
10463|      0|                symbolTable.setFunctionExtensions("fwidthFine",             1, &E_GL_KHR_compute_shader_derivatives);
10464|      0|                symbolTable.setFunctionExtensions("dFdxCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10465|      0|                symbolTable.setFunctionExtensions("dFdyCoarse",             1, &E_GL_KHR_compute_shader_derivatives);
10466|      0|                symbolTable.setFunctionExtensions("fwidthCoarse",           1, &E_GL_KHR_compute_shader_derivatives);
10467|      0|            }
10468|      7|        }
10469|       |
10470|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10470:14): [True: 0, False: 7]
  |  Branch (10470:39): [True: 0, False: 0]
  ------------------
10471|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10471:14): [True: 7, False: 0]
  |  Branch (10471:39): [True: 7, False: 0]
  ------------------
10472|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10473|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10474|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10475|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10476|      7|        }
10477|       |
10478|      7|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10478:14): [True: 7, False: 0]
  |  Branch (10478:39): [True: 0, False: 7]
  ------------------
10479|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10480|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10481|      0|        }
10482|       |
10483|       |        // GL_EXT_integer_dot_product
10484|      7|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (10484:14): [True: 0, False: 7]
  |  Branch (10484:39): [True: 0, False: 0]
  ------------------
10485|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10485:14): [True: 7, False: 0]
  |  Branch (10485:39): [True: 7, False: 0]
  ------------------
10486|      7|            symbolTable.setFunctionExtensions("dotEXT", 1, &E_GL_EXT_integer_dot_product);
10487|      7|            symbolTable.setFunctionExtensions("dotPacked4x8EXT", 1, &E_GL_EXT_integer_dot_product);
10488|      7|            symbolTable.setFunctionExtensions("dotAccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10489|      7|            symbolTable.setFunctionExtensions("dotPacked4x8AccSatEXT", 1, &E_GL_EXT_integer_dot_product);
10490|      7|        }
10491|       |
10492|      7|        {
10493|      7|            symbolTable.setFunctionExtensions("bfloat16BitsToIntEXT", 1, &E_GL_EXT_bfloat16);
10494|      7|            symbolTable.setFunctionExtensions("bfloat16BitsToUintEXT", 1, &E_GL_EXT_bfloat16);
10495|      7|            symbolTable.setFunctionExtensions("intBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10496|      7|            symbolTable.setFunctionExtensions("uintBitsToBFloat16EXT", 1, &E_GL_EXT_bfloat16);
10497|       |
10498|      7|            symbolTable.setFunctionExtensions("floate5m2BitsToIntEXT", 1, &E_GL_EXT_float_e5m2);
10499|      7|            symbolTable.setFunctionExtensions("floate5m2BitsToUintEXT", 1, &E_GL_EXT_float_e5m2);
10500|      7|            symbolTable.setFunctionExtensions("intBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10501|      7|            symbolTable.setFunctionExtensions("uintBitsToFloate5m2EXT", 1, &E_GL_EXT_float_e5m2);
10502|       |
10503|      7|            symbolTable.setFunctionExtensions("floate4m3BitsToIntEXT", 1, &E_GL_EXT_float_e4m3);
10504|      7|            symbolTable.setFunctionExtensions("floate4m3BitsToUintEXT", 1, &E_GL_EXT_float_e4m3);
10505|      7|            symbolTable.setFunctionExtensions("intBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10506|      7|            symbolTable.setFunctionExtensions("uintBitsToFloate4m3EXT", 1, &E_GL_EXT_float_e4m3);
10507|       |
10508|      7|            const char *float8exts[] = {E_GL_EXT_float_e5m2, E_GL_EXT_float_e4m3};
10509|      7|            symbolTable.setFunctionExtensions("saturatedConvertEXT", 2, float8exts);
10510|       |
10511|      7|            symbolTable.setFunctionExtensions("floatue8m0BitsToIntEXT", 1, &E_GL_EXT_float_ue8m0);
10512|      7|            symbolTable.setFunctionExtensions("floatue8m0BitsToUintEXT", 1, &E_GL_EXT_float_ue8m0);
10513|      7|            symbolTable.setFunctionExtensions("intBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10514|      7|            symbolTable.setFunctionExtensions("uintBitsToFloatue8m0EXT", 1, &E_GL_EXT_float_ue8m0);
10515|       |
10516|      7|            symbolTable.setFunctionExtensions("floatmxint8BitsToIntEXT", 1, &E_GL_EXT_float_mxint8);
10517|      7|            symbolTable.setFunctionExtensions("floatmxint8BitsToUintEXT", 1, &E_GL_EXT_float_mxint8);
10518|      7|            symbolTable.setFunctionExtensions("intBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10519|      7|            symbolTable.setFunctionExtensions("uintBitsToFloatmxint8EXT", 1, &E_GL_EXT_float_mxint8);
10520|       |
10521|      7|            symbolTable.setFunctionExtensions("unpackFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10522|      7|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10523|      7|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10524|      7|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10525|      7|            symbolTable.setFunctionExtensions("packFloat2xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10526|      7|            symbolTable.setFunctionExtensions("packFloat4xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10527|      7|            symbolTable.setFunctionExtensions("packFloat8xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10528|      7|            symbolTable.setFunctionExtensions("packFloat16xfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10529|       |
10530|      7|            symbolTable.setFunctionExtensions("unpackFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10531|      7|            symbolTable.setFunctionExtensions("unpackFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10532|      7|            symbolTable.setFunctionExtensions("unpackFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10533|      7|            symbolTable.setFunctionExtensions("packFloat4xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10534|      7|            symbolTable.setFunctionExtensions("packFloat8xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10535|      7|            symbolTable.setFunctionExtensions("packFloat16xfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10536|       |
10537|      7|            symbolTable.setFunctionExtensions("unpackFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10538|      7|            symbolTable.setFunctionExtensions("unpackFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10539|      7|            symbolTable.setFunctionExtensions("unpackFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10540|      7|            symbolTable.setFunctionExtensions("packFloat4xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10541|      7|            symbolTable.setFunctionExtensions("packFloat8xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10542|      7|            symbolTable.setFunctionExtensions("packFloat16xfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10543|       |
10544|      7|            symbolTable.setFunctionExtensions("bitcastExtractfe2m1EXT", 1, &E_GL_EXT_float_e2m1);
10545|      7|            symbolTable.setFunctionExtensions("bitcastExtractfe3m2EXT", 1, &E_GL_EXT_float_e3m2);
10546|      7|            symbolTable.setFunctionExtensions("bitcastExtractfe2m3EXT", 1, &E_GL_EXT_float_e2m3);
10547|      7|        }
10548|       |
10549|       |        // E_SPV_QCOM_tile_shading
10550|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10550:14): [True: 0, False: 7]
  |  Branch (10550:39): [True: 0, False: 0]
  ------------------
10551|      7|            (profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (10551:14): [True: 7, False: 0]
  |  Branch (10551:39): [True: 0, False: 7]
  ------------------
10552|      0|            BuiltInVariable("gl_TileOffsetQCOM",        EbvTileOffsetQCOM,      symbolTable);
10553|      0|            BuiltInVariable("gl_TileDimensionQCOM",     EbvTileDimensionQCOM,   symbolTable);
10554|      0|            BuiltInVariable("gl_TileApronSizeQCOM",     EbvTileApronSizeQCOM,   symbolTable);
10555|       |
10556|      0|            symbolTable.setVariableExtensions("gl_TileOffsetQCOM",        1, &E_GL_QCOM_tile_shading);
10557|      0|            symbolTable.setVariableExtensions("gl_TileDimensionQCOM",     1, &E_GL_QCOM_tile_shading);
10558|      0|            symbolTable.setVariableExtensions("gl_TileApronSizeQCOM",     1, &E_GL_QCOM_tile_shading);
10559|      0|        }
10560|      7|        break;
10561|       |
10562|      7|    case EShLangRayGen:
  ------------------
  |  Branch (10562:5): [True: 7, False: 126]
  ------------------
10563|     14|    case EShLangIntersect:
  ------------------
  |  Branch (10563:5): [True: 7, False: 126]
  ------------------
10564|     21|    case EShLangAnyHit:
  ------------------
  |  Branch (10564:5): [True: 7, False: 126]
  ------------------
10565|     28|    case EShLangClosestHit:
  ------------------
  |  Branch (10565:5): [True: 7, False: 126]
  ------------------
10566|     35|    case EShLangMiss:
  ------------------
  |  Branch (10566:5): [True: 7, False: 126]
  ------------------
10567|     42|    case EShLangCallable:
  ------------------
  |  Branch (10567:5): [True: 7, False: 126]
  ------------------
10568|     42|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (10568:13): [True: 42, False: 0]
  |  Branch (10568:38): [True: 0, False: 42]
  ------------------
10569|      0|            const char *rtexts[] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
10570|      0|            symbolTable.setVariableExtensions("gl_LaunchIDNV", 1, &E_GL_NV_ray_tracing);
10571|      0|            symbolTable.setVariableExtensions("gl_LaunchIDEXT", 1, &E_GL_EXT_ray_tracing);
10572|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeNV", 1, &E_GL_NV_ray_tracing);
10573|      0|            symbolTable.setVariableExtensions("gl_LaunchSizeEXT", 1, &E_GL_EXT_ray_tracing);
10574|      0|            symbolTable.setVariableExtensions("gl_PrimitiveID", 2, rtexts);
10575|      0|            symbolTable.setVariableExtensions("gl_InstanceID", 2, rtexts);
10576|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexNV", 1, &E_GL_NV_ray_tracing);
10577|      0|            symbolTable.setVariableExtensions("gl_InstanceCustomIndexEXT", 1, &E_GL_EXT_ray_tracing);
10578|      0|            symbolTable.setVariableExtensions("gl_GeometryIndexEXT", 1, &E_GL_EXT_ray_tracing);
10579|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginNV", 1, &E_GL_NV_ray_tracing);
10580|      0|            symbolTable.setVariableExtensions("gl_WorldRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10581|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10582|      0|            symbolTable.setVariableExtensions("gl_WorldRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10583|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginNV", 1, &E_GL_NV_ray_tracing);
10584|      0|            symbolTable.setVariableExtensions("gl_ObjectRayOriginEXT", 1, &E_GL_EXT_ray_tracing);
10585|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionNV", 1, &E_GL_NV_ray_tracing);
10586|      0|            symbolTable.setVariableExtensions("gl_ObjectRayDirectionEXT", 1, &E_GL_EXT_ray_tracing);
10587|      0|            symbolTable.setVariableExtensions("gl_RayTminNV", 1, &E_GL_NV_ray_tracing);
10588|      0|            symbolTable.setVariableExtensions("gl_RayTminEXT", 1, &E_GL_EXT_ray_tracing);
10589|      0|            symbolTable.setVariableExtensions("gl_RayTmaxNV", 1, &E_GL_NV_ray_tracing);
10590|      0|            symbolTable.setVariableExtensions("gl_RayTmaxEXT", 1, &E_GL_EXT_ray_tracing);
10591|      0|            symbolTable.setVariableExtensions("gl_CullMaskEXT", 1, &E_GL_EXT_ray_cull_mask);
10592|      0|            symbolTable.setVariableExtensions("gl_HitTNV", 1, &E_GL_NV_ray_tracing);
10593|      0|            symbolTable.setVariableExtensions("gl_HitTEXT", 1, &E_GL_EXT_ray_tracing);
10594|      0|            symbolTable.setVariableExtensions("gl_HitKindNV", 1, &E_GL_NV_ray_tracing);
10595|      0|            symbolTable.setVariableExtensions("gl_HitKindEXT", 1, &E_GL_EXT_ray_tracing);
10596|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldNV", 1, &E_GL_NV_ray_tracing);
10597|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorldEXT", 1, &E_GL_EXT_ray_tracing);
10598|      0|            symbolTable.setVariableExtensions("gl_ObjectToWorld3x4EXT", 1, &E_GL_EXT_ray_tracing);
10599|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectNV", 1, &E_GL_NV_ray_tracing);
10600|      0|            symbolTable.setVariableExtensions("gl_WorldToObjectEXT", 1, &E_GL_EXT_ray_tracing);
10601|      0|            symbolTable.setVariableExtensions("gl_WorldToObject3x4EXT", 1, &E_GL_EXT_ray_tracing);
10602|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsNV", 1, &E_GL_NV_ray_tracing);
10603|      0|            symbolTable.setVariableExtensions("gl_IncomingRayFlagsEXT", 1, &E_GL_EXT_ray_tracing);
10604|      0|            symbolTable.setVariableExtensions("gl_CurrentRayTimeNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10605|      0|            symbolTable.setVariableExtensions("gl_HitTriangleVertexPositionsEXT", 1, &E_GL_EXT_ray_tracing_position_fetch);
10606|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexPositionsNV", 1, &E_GL_NV_displacement_micromap);
10607|      0|            symbolTable.setVariableExtensions("gl_HitMicroTriangleVertexBarycentricsNV", 1, &E_GL_NV_displacement_micromap);
10608|      0|            symbolTable.setVariableExtensions("gl_ClusterIDNV", 1, &E_GL_NV_cluster_acceleration_structure);
10609|      0|            symbolTable.setVariableExtensions("gl_HitKindSphereNV", 1, &E_GL_NV_linear_swept_spheres);
10610|      0|            symbolTable.setVariableExtensions("gl_HitKindLSSNV", 1, &E_GL_NV_linear_swept_spheres);
10611|      0|            symbolTable.setVariableExtensions("gl_HitSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10612|      0|            symbolTable.setVariableExtensions("gl_HitSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10613|      0|            symbolTable.setVariableExtensions("gl_HitLSSPositionNV", 1, &E_GL_NV_linear_swept_spheres);
10614|      0|            symbolTable.setVariableExtensions("gl_HitLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10615|       |
10616|      0|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10617|       |
10618|       |
10619|      0|            symbolTable.setFunctionExtensions("traceNV", 1, &E_GL_NV_ray_tracing);
10620|      0|            symbolTable.setFunctionExtensions("traceRayMotionNV", 1, &E_GL_NV_ray_tracing_motion_blur);
10621|      0|            symbolTable.setFunctionExtensions("traceRayEXT", 1, &E_GL_EXT_ray_tracing);
10622|      0|            symbolTable.setFunctionExtensions("reportIntersectionNV", 1, &E_GL_NV_ray_tracing);
10623|      0|            symbolTable.setFunctionExtensions("reportIntersectionEXT", 1, &E_GL_EXT_ray_tracing);
10624|      0|            symbolTable.setFunctionExtensions("ignoreIntersectionNV", 1, &E_GL_NV_ray_tracing);
10625|      0|            symbolTable.setFunctionExtensions("terminateRayNV", 1, &E_GL_NV_ray_tracing);
10626|      0|            symbolTable.setFunctionExtensions("executeCallableNV", 1, &E_GL_NV_ray_tracing);
10627|      0|            symbolTable.setFunctionExtensions("executeCallableEXT", 1, &E_GL_EXT_ray_tracing);
10628|       |
10629|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayNV", 1, &E_GL_NV_shader_invocation_reorder);
10630|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10631|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10632|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10633|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10634|      0|            symbolTable.setFunctionExtensions("hitObjectRecordHitWithIndexMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10635|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10636|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionNV", 1, &E_GL_NV_shader_invocation_reorder);
10637|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10638|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderNV", 1, &E_GL_NV_shader_invocation_reorder);
10639|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyNV", 1, &E_GL_NV_shader_invocation_reorder);
10640|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissNV", 1, &E_GL_NV_shader_invocation_reorder);
10641|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitNV", 1, &E_GL_NV_shader_invocation_reorder);
10642|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinNV", 1, &E_GL_NV_shader_invocation_reorder);
10643|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxNV", 1, &E_GL_NV_shader_invocation_reorder);
10644|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10645|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10646|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginNV", 1, &E_GL_NV_shader_invocation_reorder);
10647|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionNV", 1, &E_GL_NV_shader_invocation_reorder);
10648|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectNV", 1, &E_GL_NV_shader_invocation_reorder);
10649|      0|            symbolTable.setFunctionExtensions("hitObjectGetbjectToWorldNV", 1, &E_GL_NV_shader_invocation_reorder);
10650|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10651|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdNV", 1, &E_GL_NV_shader_invocation_reorder);
10652|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10653|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10654|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindNV", 1, &E_GL_NV_shader_invocation_reorder);
10655|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesNV", 1, &E_GL_NV_shader_invocation_reorder);
10656|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeNV", 1, &E_GL_NV_shader_invocation_reorder);
10657|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexNV", 1, &E_GL_NV_shader_invocation_reorder);
10658|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleNV", 1, &E_GL_NV_shader_invocation_reorder);
10659|      0|            symbolTable.setFunctionExtensions("hitObjectGetClusterIdNV", 1, &E_GL_NV_cluster_acceleration_structure);
10660|      0|            symbolTable.setFunctionExtensions("reorderThreadNV", 1, &E_GL_NV_shader_invocation_reorder);
10661|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
10662|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
10663|      0|            symbolTable.setFunctionExtensions("hitObjectGetSpherePositionNV", 1, &E_GL_NV_linear_swept_spheres);
10664|      0|            symbolTable.setFunctionExtensions("hitObjectGetSphereRadiusNV", 1, &E_GL_NV_linear_swept_spheres);
10665|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSPositionsNV", 1, &E_GL_NV_linear_swept_spheres);
10666|      0|            symbolTable.setFunctionExtensions("hitObjectGetLSSRadiiNV", 1, &E_GL_NV_linear_swept_spheres);
10667|      0|            symbolTable.setFunctionExtensions("hitObjectIsSphereHitNV", 1, &E_GL_NV_linear_swept_spheres);
10668|      0|            symbolTable.setFunctionExtensions("hitObjectIsLSSHitNV", 1, &E_GL_NV_linear_swept_spheres);
10669|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10670|      0|            symbolTable.setFunctionExtensions("hitObjectTraceRayMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10671|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10672|      0|            symbolTable.setFunctionExtensions("hitObjectRecordMissMotionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10673|      0|            symbolTable.setFunctionExtensions("hitObjectRecordEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10674|      0|            symbolTable.setFunctionExtensions("hitObjectExecuteShaderEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10675|      0|            symbolTable.setFunctionExtensions("hitObjectIsEmptyEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10676|      0|            symbolTable.setFunctionExtensions("hitObjectIsMissEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10677|      0|            symbolTable.setFunctionExtensions("hitObjectIsHitEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10678|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMinEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10679|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayTMaxEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10680|      0|            symbolTable.setFunctionExtensions("hitObjectGetRayFlagsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10681|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10682|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10683|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayOriginEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10684|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldRayDirectionEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10685|      0|            symbolTable.setFunctionExtensions("hitObjectGetWorldToObjectEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10686|      0|            symbolTable.setFunctionExtensions("hitObjectGetObjectToWorldEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10687|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceCustomIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10688|      0|            symbolTable.setFunctionExtensions("hitObjectGetInstanceIdEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10689|      0|            symbolTable.setFunctionExtensions("hitObjectGetGeometryIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10690|      0|            symbolTable.setFunctionExtensions("hitObjectGetPrimitiveIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10691|      0|            symbolTable.setFunctionExtensions("hitObjectGetHitKindEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10692|      0|            symbolTable.setFunctionExtensions("hitObjectGetAttributesEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10693|      0|            symbolTable.setFunctionExtensions("hitObjectGetCurrentTimeEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10694|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10695|      0|            symbolTable.setFunctionExtensions("hitObjectGetShaderRecordBufferHandleEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10696|      0|            symbolTable.setFunctionExtensions("hitObjectSetShaderBindingTableRecordIndexEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10697|      0|            symbolTable.setFunctionExtensions("reorderThreadEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10698|      0|            symbolTable.setFunctionExtensions("hitObjectReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10699|      0|            symbolTable.setFunctionExtensions("hitObjectTraceReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10700|      0|            symbolTable.setFunctionExtensions("hitObjectTraceMotionReorderExecuteEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10701|      0|            symbolTable.setFunctionExtensions("hitObjectRecordFromQueryEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10702|      0|            symbolTable.setFunctionExtensions("hitObjectGetIntersectionTriangleVertexPositionsEXT", 1, &E_GL_EXT_shader_invocation_reorder);
10703|       |
10704|       |
10705|      0|            BuiltInVariable("gl_LaunchIDNV",             EbvLaunchId,           symbolTable);
10706|      0|            BuiltInVariable("gl_LaunchIDEXT",            EbvLaunchId,           symbolTable);
10707|      0|            BuiltInVariable("gl_LaunchSizeNV",           EbvLaunchSize,         symbolTable);
10708|      0|            BuiltInVariable("gl_LaunchSizeEXT",          EbvLaunchSize,         symbolTable);
10709|      0|            BuiltInVariable("gl_PrimitiveID",            EbvPrimitiveId,        symbolTable);
10710|      0|            BuiltInVariable("gl_InstanceID",             EbvInstanceId,         symbolTable);
10711|      0|            BuiltInVariable("gl_InstanceCustomIndexNV",  EbvInstanceCustomIndex,symbolTable);
10712|      0|            BuiltInVariable("gl_InstanceCustomIndexEXT", EbvInstanceCustomIndex,symbolTable);
10713|      0|            BuiltInVariable("gl_GeometryIndexEXT",       EbvGeometryIndex,      symbolTable);
10714|      0|            BuiltInVariable("gl_WorldRayOriginNV",       EbvWorldRayOrigin,     symbolTable);
10715|      0|            BuiltInVariable("gl_WorldRayOriginEXT",      EbvWorldRayOrigin,     symbolTable);
10716|      0|            BuiltInVariable("gl_WorldRayDirectionNV",    EbvWorldRayDirection,  symbolTable);
10717|      0|            BuiltInVariable("gl_WorldRayDirectionEXT",   EbvWorldRayDirection,  symbolTable);
10718|      0|            BuiltInVariable("gl_ObjectRayOriginNV",      EbvObjectRayOrigin,    symbolTable);
10719|      0|            BuiltInVariable("gl_ObjectRayOriginEXT",     EbvObjectRayOrigin,    symbolTable);
10720|      0|            BuiltInVariable("gl_ObjectRayDirectionNV",   EbvObjectRayDirection, symbolTable);
10721|      0|            BuiltInVariable("gl_ObjectRayDirectionEXT",  EbvObjectRayDirection, symbolTable);
10722|      0|            BuiltInVariable("gl_RayTminNV",              EbvRayTmin,            symbolTable);
10723|      0|            BuiltInVariable("gl_RayTminEXT",             EbvRayTmin,            symbolTable);
10724|      0|            BuiltInVariable("gl_RayTmaxNV",              EbvRayTmax,            symbolTable);
10725|      0|            BuiltInVariable("gl_RayTmaxEXT",             EbvRayTmax,            symbolTable);
10726|      0|            BuiltInVariable("gl_CullMaskEXT",            EbvCullMask,           symbolTable);
10727|      0|            BuiltInVariable("gl_HitKindNV",              EbvHitKind,            symbolTable);
10728|      0|            BuiltInVariable("gl_HitKindEXT",             EbvHitKind,            symbolTable);
10729|      0|            BuiltInVariable("gl_ObjectToWorldNV",        EbvObjectToWorld,      symbolTable);
10730|      0|            BuiltInVariable("gl_ObjectToWorldEXT",       EbvObjectToWorld,      symbolTable);
10731|      0|            BuiltInVariable("gl_ObjectToWorld3x4EXT",    EbvObjectToWorld3x4,   symbolTable);
10732|      0|            BuiltInVariable("gl_WorldToObjectNV",        EbvWorldToObject,      symbolTable);
10733|      0|            BuiltInVariable("gl_WorldToObjectEXT",       EbvWorldToObject,      symbolTable);
10734|      0|            BuiltInVariable("gl_WorldToObject3x4EXT",    EbvWorldToObject3x4,   symbolTable);
10735|      0|            BuiltInVariable("gl_IncomingRayFlagsNV",     EbvIncomingRayFlags,   symbolTable);
10736|      0|            BuiltInVariable("gl_IncomingRayFlagsEXT",    EbvIncomingRayFlags,   symbolTable);
10737|      0|            BuiltInVariable("gl_DeviceIndex",            EbvDeviceIndex,        symbolTable);
10738|      0|            BuiltInVariable("gl_CurrentRayTimeNV",       EbvCurrentRayTimeNV,   symbolTable);
10739|      0|            BuiltInVariable("gl_HitTriangleVertexPositionsEXT", EbvPositionFetch, symbolTable);
10740|      0|            BuiltInVariable("gl_HitMicroTriangleVertexPositionsNV", EbvMicroTrianglePositionNV, symbolTable);
10741|      0|            BuiltInVariable("gl_HitMicroTriangleVertexBarycentricsNV", EbvMicroTriangleBaryNV, symbolTable);
10742|      0|            BuiltInVariable("gl_HitKindFrontFacingMicroTriangleNV", EbvHitKindFrontFacingMicroTriangleNV, symbolTable);
10743|      0|            BuiltInVariable("gl_HitKindBackFacingMicroTriangleNV", EbvHitKindBackFacingMicroTriangleNV, symbolTable);
10744|      0|            BuiltInVariable("gl_ClusterIDNV",            EbvClusterIDNV,         symbolTable);
10745|      0|            BuiltInVariable("gl_HitIsSphereNV", EbvHitIsSphereNV, symbolTable);
10746|      0|            BuiltInVariable("gl_HitIsLSSNV", EbvHitIsLSSNV, symbolTable);
10747|      0|            BuiltInVariable("gl_HitSpherePositionNV", EbvHitSpherePositionNV, symbolTable);
10748|      0|            BuiltInVariable("gl_HitSphereRadiusNV", EbvHitSphereRadiusNV, symbolTable);
10749|      0|            BuiltInVariable("gl_HitLSSPositionsNV", EbvHitLSSPositionsNV, symbolTable);
10750|      0|            BuiltInVariable("gl_HitLSSRadiiNV", EbvHitLSSRadiiNV, symbolTable);
10751|       |
10752|       |            // gl_HitT variables are aliases of their gl_RayTmax counterparts.
10753|      0|            RetargetVariable("gl_HitTNV",                "gl_RayTmaxNV",        symbolTable);
10754|      0|            RetargetVariable("gl_HitTEXT",               "gl_RayTmaxEXT",       symbolTable);
10755|       |
10756|       |            // GL_ARB_shader_ballot
10757|      0|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10758|      0|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10759|      0|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10760|      0|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10761|      0|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10762|      0|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10763|      0|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10764|       |
10765|      0|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10766|      0|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10767|      0|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10768|      0|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10769|      0|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10770|      0|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10771|       |
10772|      0|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10772:17): [True: 0, False: 0]
  ------------------
10773|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10774|      0|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10775|      0|                if (language == EShLangFragment)
  ------------------
  |  Branch (10775:21): [True: 0, False: 0]
  ------------------
10776|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10777|      0|            }
10778|      0|            else
10779|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10780|       |
10781|       |            // GL_KHR_shader_subgroup
10782|      0|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
10783|      0|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
10784|      0|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
10785|      0|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
10786|      0|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10787|      0|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10788|      0|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10789|      0|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10790|      0|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
10791|       |
10792|      0|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
10793|      0|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
10794|      0|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
10795|      0|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
10796|      0|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
10797|      0|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
10798|      0|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
10799|      0|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
10800|      0|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
10801|       |
10802|       |            // GL_NV_shader_sm_builtins
10803|      0|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
10804|      0|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
10805|      0|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
10806|      0|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
10807|      0|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
10808|      0|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
10809|      0|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
10810|      0|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
10811|       |
10812|       |            // GL_ARM_shader_core_builtins
10813|      0|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
10814|      0|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
10815|      0|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10816|      0|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
10817|      0|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
10818|       |
10819|      0|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
10820|      0|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
10821|      0|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
10822|      0|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
10823|      0|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
10824|      0|        }
10825|     42|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (10825:14): [True: 0, False: 42]
  |  Branch (10825:39): [True: 0, False: 0]
  ------------------
10826|     42|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (10826:14): [True: 42, False: 0]
  |  Branch (10826:39): [True: 42, False: 0]
  ------------------
10827|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10828|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10829|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10830|     42|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
10831|     42|        }
10832|     42|        break;
10833|       |
10834|      7|    case EShLangMesh:
  ------------------
  |  Branch (10834:5): [True: 7, False: 126]
  ------------------
10835|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (10835:14): [True: 7, False: 0]
  |  Branch (10835:39): [True: 7, False: 0]
  |  Branch (10835:59): [True: 0, False: 0]
  |  Branch (10835:84): [True: 0, False: 0]
  ------------------
10836|       |            // per-vertex builtins
10837|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_Position",     1, &E_GL_NV_mesh_shader);
10838|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PointSize",    1, &E_GL_NV_mesh_shader);
10839|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistance", 1, &E_GL_NV_mesh_shader);
10840|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistance", 1, &E_GL_NV_mesh_shader);
10841|       |
10842|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_Position",     EbvPosition,     symbolTable);
10843|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_PointSize",    EbvPointSize,    symbolTable);
10844|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistance", EbvClipDistance, symbolTable);
10845|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistance", EbvCullDistance, symbolTable);
10846|       |
10847|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_PositionPerViewNV",     1, &E_GL_NV_mesh_shader);
10848|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10849|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", 1, &E_GL_NV_mesh_shader);
10850|       |
10851|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_PositionPerViewNV",     EbvPositionPerViewNV,     symbolTable);
10852|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_ClipDistancePerViewNV", EbvClipDistancePerViewNV, symbolTable);
10853|      7|            BuiltInVariable("gl_MeshVerticesNV", "gl_CullDistancePerViewNV", EbvCullDistancePerViewNV, symbolTable);
10854|       |
10855|       |            // per-primitive builtins
10856|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_PrimitiveID",   1, &E_GL_NV_mesh_shader);
10857|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_Layer",         1, &E_GL_NV_mesh_shader);
10858|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportIndex", 1, &E_GL_NV_mesh_shader);
10859|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMask",  1, &E_GL_NV_mesh_shader);
10860|       |
10861|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_PrimitiveID",   EbvPrimitiveId,    symbolTable);
10862|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_Layer",         EbvLayer,          symbolTable);
10863|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportIndex", EbvViewportIndex,  symbolTable);
10864|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMask",  EbvViewportMaskNV, symbolTable);
10865|       |
10866|       |            // per-view per-primitive builtins
10867|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        1, &E_GL_NV_mesh_shader);
10868|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", 1, &E_GL_NV_mesh_shader);
10869|       |
10870|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_LayerPerViewNV",        EbvLayerPerViewNV,        symbolTable);
10871|      7|            BuiltInVariable("gl_MeshPrimitivesNV", "gl_ViewportMaskPerViewNV", EbvViewportMaskPerViewNV, symbolTable);
10872|       |
10873|       |            // other builtins
10874|      7|            symbolTable.setVariableExtensions("gl_PrimitiveCountNV",     1, &E_GL_NV_mesh_shader);
10875|      7|            symbolTable.setVariableExtensions("gl_PrimitiveIndicesNV",   1, &E_GL_NV_mesh_shader);
10876|      7|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
10877|      7|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
10878|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10878:17): [True: 7, False: 0]
  ------------------
10879|      7|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
10880|      7|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
10881|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
10882|      7|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
10883|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
10884|      7|            } else {
10885|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
10886|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
10887|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
10888|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
10889|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
10890|      0|            }
10891|      7|            BuiltInVariable("gl_PrimitiveCountNV",     EbvPrimitiveCountNV,     symbolTable);
10892|      7|            BuiltInVariable("gl_PrimitiveIndicesNV",   EbvPrimitiveIndicesNV,   symbolTable);
10893|      7|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
10894|      7|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
10895|      7|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
10896|      7|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
10897|      7|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
10898|      7|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
10899|      7|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
10900|       |
10901|       |            // builtin constants
10902|      7|            symbolTable.setVariableExtensions("gl_MaxMeshOutputVerticesNV",   1, &E_GL_NV_mesh_shader);
10903|      7|            symbolTable.setVariableExtensions("gl_MaxMeshOutputPrimitivesNV", 1, &E_GL_NV_mesh_shader);
10904|      7|            symbolTable.setVariableExtensions("gl_MaxMeshWorkGroupSizeNV",    1, &E_GL_NV_mesh_shader);
10905|      7|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",        1, &E_GL_NV_mesh_shader);
10906|       |
10907|       |            // builtin functions
10908|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (10908:17): [True: 7, False: 0]
  ------------------
10909|      7|                symbolTable.setFunctionExtensions("barrier",                      Num_AEP_mesh_shader, AEP_mesh_shader);
10910|      7|                symbolTable.setFunctionExtensions("memoryBarrierShared",          Num_AEP_mesh_shader, AEP_mesh_shader);
10911|      7|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           Num_AEP_mesh_shader, AEP_mesh_shader);
10912|      7|            } else {
10913|      0|                symbolTable.setFunctionExtensions("barrier",                      1, &E_GL_NV_mesh_shader);
10914|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",          1, &E_GL_NV_mesh_shader);
10915|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",           1, &E_GL_NV_mesh_shader);
10916|      0|            }
10917|      7|            symbolTable.setFunctionExtensions("writePackedPrimitiveIndices4x8NV",  1, &E_GL_NV_mesh_shader);
10918|      7|        }
10919|       |
10920|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (10920:13): [True: 7, False: 0]
  |  Branch (10920:38): [True: 7, False: 0]
  ------------------
10921|       |            // GL_EXT_Mesh_shader
10922|      7|            symbolTable.setVariableExtensions("gl_PrimitivePointIndicesEXT",    1, &E_GL_EXT_mesh_shader);
10923|      7|            symbolTable.setVariableExtensions("gl_PrimitiveLineIndicesEXT",     1, &E_GL_EXT_mesh_shader);
10924|      7|            symbolTable.setVariableExtensions("gl_PrimitiveTriangleIndicesEXT", 1, &E_GL_EXT_mesh_shader);
10925|      7|            symbolTable.setVariableExtensions("gl_NumWorkGroups",               1, &E_GL_EXT_mesh_shader);
10926|       |
10927|      7|            BuiltInVariable("gl_PrimitivePointIndicesEXT",    EbvPrimitivePointIndicesEXT,    symbolTable);
10928|      7|            BuiltInVariable("gl_PrimitiveLineIndicesEXT",     EbvPrimitiveLineIndicesEXT,     symbolTable);
10929|      7|            BuiltInVariable("gl_PrimitiveTriangleIndicesEXT", EbvPrimitiveTriangleIndicesEXT, symbolTable);
10930|      7|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
10931|       |
10932|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_Position",     1, &E_GL_EXT_mesh_shader);
10933|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_PointSize",    1, &E_GL_EXT_mesh_shader);
10934|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_ClipDistance", 1, &E_GL_EXT_mesh_shader);
10935|      7|            symbolTable.setVariableExtensions("gl_MeshVerticesEXT", "gl_CullDistance", 1, &E_GL_EXT_mesh_shader);
10936|       |            
10937|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_Position",     EbvPosition,     symbolTable);
10938|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_PointSize",    EbvPointSize,    symbolTable);
10939|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_ClipDistance", EbvClipDistance, symbolTable);
10940|      7|            BuiltInVariable("gl_MeshVerticesEXT", "gl_CullDistance", EbvCullDistance, symbolTable);
10941|       |            
10942|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveID",             1, &E_GL_EXT_mesh_shader);
10943|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_Layer",                   1, &E_GL_EXT_mesh_shader);
10944|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_ViewportIndex",           1, &E_GL_EXT_mesh_shader);
10945|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",        1, &E_GL_EXT_mesh_shader);
10946|       |
10947|       |            // note: technically this member requires both GL_EXT_mesh_shader and GL_EXT_fragment_shading_rate
10948|       |            // since setVariableExtensions only needs *one of* the extensions to validate, it's more useful to specify EXT_fragment_shading_rate
10949|       |            // GL_EXT_mesh_shader will be required in practice by use of other fields of gl_MeshPrimitivesEXT
10950|      7|            symbolTable.setVariableExtensions("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT", 1, &E_GL_EXT_fragment_shading_rate);
10951|       |
10952|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveID",              EbvPrimitiveId,    symbolTable);
10953|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_Layer",                    EbvLayer,          symbolTable);
10954|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_ViewportIndex",            EbvViewportIndex,  symbolTable);
10955|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_CullPrimitiveEXT",         EbvCullPrimitiveEXT, symbolTable);
10956|      7|            BuiltInVariable("gl_MeshPrimitivesEXT", "gl_PrimitiveShadingRateEXT",  EbvPrimitiveShadingRateKHR, symbolTable);
10957|       |
10958|      7|            symbolTable.setFunctionExtensions("SetMeshOutputsEXT",  1, &E_GL_EXT_mesh_shader);
10959|       |
10960|       |            // GL_EXT_device_group
10961|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
10962|      7|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
10963|       |
10964|       |            // GL_ARB_shader_draw_parameters
10965|      7|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
10966|      7|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
10967|      7|            if (version >= 460) {
  ------------------
  |  Branch (10967:17): [True: 0, False: 7]
  ------------------
10968|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
10969|      0|            }
10970|       |            // GL_EXT_multiview
10971|      7|            BuiltInVariable("gl_ViewIndex", EbvViewIndex, symbolTable);
10972|      7|            symbolTable.setVariableExtensions("gl_ViewIndex", 1, &E_GL_EXT_multiview);
10973|       |
10974|       |            // GL_ARB_shader_ballot
10975|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
10976|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
10977|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
10978|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
10979|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
10980|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
10981|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
10982|       |
10983|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
10984|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
10985|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
10986|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
10987|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
10988|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
10989|       |
10990|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (10990:17): [True: 7, False: 0]
  ------------------
10991|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
10992|      7|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
10993|      7|                if (language == EShLangFragment)
  ------------------
  |  Branch (10993:21): [True: 0, False: 7]
  ------------------
10994|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
10995|      7|            }
10996|      0|            else
10997|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
10998|      7|        }
10999|       |
11000|       |        // GL_KHR_shader_subgroup
11001|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11001:14): [True: 0, False: 7]
  |  Branch (11001:39): [True: 0, False: 0]
  ------------------
11002|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11002:14): [True: 7, False: 0]
  |  Branch (11002:39): [True: 7, False: 0]
  ------------------
11003|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11004|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11005|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11006|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11007|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11008|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11009|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11010|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11011|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11012|       |
11013|      7|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11014|      7|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11015|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11016|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11017|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11018|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11019|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11020|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11021|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11022|       |
11023|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11024|       |
11025|       |            // GL_NV_shader_sm_builtins
11026|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11027|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11028|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11029|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11030|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11031|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11032|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11033|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11034|       |
11035|       |            // GL_ARM_shader_core_builtins
11036|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11037|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11038|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11039|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11040|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11041|       |
11042|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11043|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11044|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11045|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11046|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11047|      7|        }
11048|       |
11049|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11049:14): [True: 0, False: 7]
  |  Branch (11049:39): [True: 0, False: 0]
  ------------------
11050|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11050:14): [True: 7, False: 0]
  |  Branch (11050:39): [True: 7, False: 0]
  ------------------
11051|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11052|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11053|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11054|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11055|      7|        }
11056|       |
11057|       |        // Builtins for GL_NV_displacment_micromap
11058|      7|        if ((profile != EEsProfile && version >= 460)) {
  ------------------
  |  Branch (11058:14): [True: 7, False: 0]
  |  Branch (11058:39): [True: 0, False: 7]
  ------------------
11059|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexPositionNV", 1, &E_GL_NV_displacement_micromap);
11060|      0|            symbolTable.setFunctionExtensions("fetchMicroTriangleVertexBarycentricNV", 1, &E_GL_NV_displacement_micromap);
11061|      0|        }
11062|       |
11063|      7|        break;
11064|       |
11065|      7|    case EShLangTask:
  ------------------
  |  Branch (11065:5): [True: 7, False: 126]
  ------------------
11066|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11066:14): [True: 7, False: 0]
  |  Branch (11066:39): [True: 7, False: 0]
  |  Branch (11066:59): [True: 0, False: 0]
  |  Branch (11066:84): [True: 0, False: 0]
  ------------------
11067|      7|            symbolTable.setVariableExtensions("gl_TaskCountNV",          1, &E_GL_NV_mesh_shader);
11068|      7|            symbolTable.setVariableExtensions("gl_MeshViewCountNV",      1, &E_GL_NV_mesh_shader);
11069|      7|            symbolTable.setVariableExtensions("gl_MeshViewIndicesNV",    1, &E_GL_NV_mesh_shader);
11070|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11070:17): [True: 7, False: 0]
  ------------------
11071|      7|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        Num_AEP_mesh_shader, AEP_mesh_shader);
11072|      7|                symbolTable.setVariableExtensions("gl_WorkGroupID",          Num_AEP_mesh_shader, AEP_mesh_shader);
11073|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    Num_AEP_mesh_shader, AEP_mesh_shader);
11074|      7|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   Num_AEP_mesh_shader, AEP_mesh_shader);
11075|      7|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", Num_AEP_mesh_shader, AEP_mesh_shader);
11076|      7|            } else {
11077|      0|                symbolTable.setVariableExtensions("gl_WorkGroupSize",        1, &E_GL_NV_mesh_shader);
11078|      0|                symbolTable.setVariableExtensions("gl_WorkGroupID",          1, &E_GL_NV_mesh_shader);
11079|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationID",    1, &E_GL_NV_mesh_shader);
11080|      0|                symbolTable.setVariableExtensions("gl_GlobalInvocationID",   1, &E_GL_NV_mesh_shader);
11081|      0|                symbolTable.setVariableExtensions("gl_LocalInvocationIndex", 1, &E_GL_NV_mesh_shader);
11082|      0|            }
11083|       |
11084|      7|            BuiltInVariable("gl_TaskCountNV",          EbvTaskCountNV,          symbolTable);
11085|      7|            BuiltInVariable("gl_WorkGroupSize",        EbvWorkGroupSize,        symbolTable);
11086|      7|            BuiltInVariable("gl_WorkGroupID",          EbvWorkGroupId,          symbolTable);
11087|      7|            BuiltInVariable("gl_LocalInvocationID",    EbvLocalInvocationId,    symbolTable);
11088|      7|            BuiltInVariable("gl_GlobalInvocationID",   EbvGlobalInvocationId,   symbolTable);
11089|      7|            BuiltInVariable("gl_LocalInvocationIndex", EbvLocalInvocationIndex, symbolTable);
11090|      7|            BuiltInVariable("gl_MeshViewCountNV",      EbvMeshViewCountNV,      symbolTable);
11091|      7|            BuiltInVariable("gl_MeshViewIndicesNV",    EbvMeshViewIndicesNV,    symbolTable);
11092|       |
11093|      7|            symbolTable.setVariableExtensions("gl_MaxTaskWorkGroupSizeNV", 1, &E_GL_NV_mesh_shader);
11094|      7|            symbolTable.setVariableExtensions("gl_MaxMeshViewCountNV",     1, &E_GL_NV_mesh_shader);
11095|       |
11096|      7|            if (profile != EEsProfile) {
  ------------------
  |  Branch (11096:17): [True: 7, False: 0]
  ------------------
11097|      7|                symbolTable.setFunctionExtensions("barrier",                   Num_AEP_mesh_shader, AEP_mesh_shader);
11098|      7|                symbolTable.setFunctionExtensions("memoryBarrierShared",       Num_AEP_mesh_shader, AEP_mesh_shader);
11099|      7|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        Num_AEP_mesh_shader, AEP_mesh_shader);
11100|      7|            } else {
11101|      0|                symbolTable.setFunctionExtensions("barrier",                   1, &E_GL_NV_mesh_shader);
11102|      0|                symbolTable.setFunctionExtensions("memoryBarrierShared",       1, &E_GL_NV_mesh_shader);
11103|      0|                symbolTable.setFunctionExtensions("groupMemoryBarrier",        1, &E_GL_NV_mesh_shader);
11104|      0|            }
11105|      7|        }
11106|       |
11107|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (11107:13): [True: 7, False: 0]
  |  Branch (11107:38): [True: 7, False: 0]
  ------------------
11108|       |            // GL_EXT_mesh_shader
11109|      7|            symbolTable.setFunctionExtensions("EmitMeshTasksEXT",          1, &E_GL_EXT_mesh_shader);
11110|      7|            symbolTable.setVariableExtensions("gl_NumWorkGroups",        1, &E_GL_EXT_mesh_shader);
11111|      7|            BuiltInVariable("gl_NumWorkGroups",        EbvNumWorkGroups,        symbolTable);
11112|       |
11113|       |            // GL_EXT_device_group
11114|      7|            symbolTable.setVariableExtensions("gl_DeviceIndex", 1, &E_GL_EXT_device_group);
11115|      7|            BuiltInVariable("gl_DeviceIndex", EbvDeviceIndex, symbolTable);
11116|       |
11117|       |            // GL_ARB_shader_draw_parameters
11118|      7|            symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters);
11119|      7|            BuiltInVariable("gl_DrawIDARB", EbvDrawId, symbolTable);
11120|      7|            if (version >= 460) {
  ------------------
  |  Branch (11120:17): [True: 0, False: 7]
  ------------------
11121|      0|                BuiltInVariable("gl_DrawID", EbvDrawId, symbolTable);
11122|      0|            }
11123|       |
11124|       |            // GL_ARB_shader_ballot
11125|      7|            symbolTable.setVariableExtensions("gl_SubGroupSizeARB",       1, &E_GL_ARB_shader_ballot);
11126|      7|            symbolTable.setVariableExtensions("gl_SubGroupInvocationARB", 1, &E_GL_ARB_shader_ballot);
11127|      7|            symbolTable.setVariableExtensions("gl_SubGroupEqMaskARB",     1, &E_GL_ARB_shader_ballot);
11128|      7|            symbolTable.setVariableExtensions("gl_SubGroupGeMaskARB",     1, &E_GL_ARB_shader_ballot);
11129|      7|            symbolTable.setVariableExtensions("gl_SubGroupGtMaskARB",     1, &E_GL_ARB_shader_ballot);
11130|      7|            symbolTable.setVariableExtensions("gl_SubGroupLeMaskARB",     1, &E_GL_ARB_shader_ballot);
11131|      7|            symbolTable.setVariableExtensions("gl_SubGroupLtMaskARB",     1, &E_GL_ARB_shader_ballot);
11132|       |
11133|      7|            BuiltInVariable("gl_SubGroupInvocationARB", EbvSubGroupInvocation, symbolTable);
11134|      7|            BuiltInVariable("gl_SubGroupEqMaskARB",     EbvSubGroupEqMask,     symbolTable);
11135|      7|            BuiltInVariable("gl_SubGroupGeMaskARB",     EbvSubGroupGeMask,     symbolTable);
11136|      7|            BuiltInVariable("gl_SubGroupGtMaskARB",     EbvSubGroupGtMask,     symbolTable);
11137|      7|            BuiltInVariable("gl_SubGroupLeMaskARB",     EbvSubGroupLeMask,     symbolTable);
11138|      7|            BuiltInVariable("gl_SubGroupLtMaskARB",     EbvSubGroupLtMask,     symbolTable);
11139|       |
11140|      7|            if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (11140:17): [True: 7, False: 0]
  ------------------
11141|       |                // Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
11142|      7|                SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
11143|      7|                if (language == EShLangFragment)
  ------------------
  |  Branch (11143:21): [True: 0, False: 7]
  ------------------
11144|      0|                    ModifyFlatDecoration("gl_SubGroupSizeARB", true, symbolTable);
11145|      7|            }
11146|      0|            else
11147|      0|                BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
11148|      7|        }
11149|       |
11150|       |        // GL_KHR_shader_subgroup
11151|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11151:14): [True: 0, False: 7]
  |  Branch (11151:39): [True: 0, False: 0]
  ------------------
11152|      7|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11152:14): [True: 7, False: 0]
  |  Branch (11152:39): [True: 7, False: 0]
  ------------------
11153|      7|            symbolTable.setVariableExtensions("gl_NumSubgroups",         1, &E_GL_KHR_shader_subgroup_basic);
11154|      7|            symbolTable.setVariableExtensions("gl_SubgroupID",           1, &E_GL_KHR_shader_subgroup_basic);
11155|      7|            symbolTable.setVariableExtensions("gl_SubgroupSize",         1, &E_GL_KHR_shader_subgroup_basic);
11156|      7|            symbolTable.setVariableExtensions("gl_SubgroupInvocationID", 1, &E_GL_KHR_shader_subgroup_basic);
11157|      7|            symbolTable.setVariableExtensions("gl_SubgroupEqMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11158|      7|            symbolTable.setVariableExtensions("gl_SubgroupGeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11159|      7|            symbolTable.setVariableExtensions("gl_SubgroupGtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11160|      7|            symbolTable.setVariableExtensions("gl_SubgroupLeMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11161|      7|            symbolTable.setVariableExtensions("gl_SubgroupLtMask",       1, &E_GL_KHR_shader_subgroup_ballot);
11162|       |
11163|      7|            BuiltInVariable("gl_NumSubgroups",         EbvNumSubgroups,        symbolTable);
11164|      7|            BuiltInVariable("gl_SubgroupID",           EbvSubgroupID,          symbolTable);
11165|      7|            BuiltInVariable("gl_SubgroupSize",         EbvSubgroupSize2,       symbolTable);
11166|      7|            BuiltInVariable("gl_SubgroupInvocationID", EbvSubgroupInvocation2, symbolTable);
11167|      7|            BuiltInVariable("gl_SubgroupEqMask",       EbvSubgroupEqMask2,     symbolTable);
11168|      7|            BuiltInVariable("gl_SubgroupGeMask",       EbvSubgroupGeMask2,     symbolTable);
11169|      7|            BuiltInVariable("gl_SubgroupGtMask",       EbvSubgroupGtMask2,     symbolTable);
11170|      7|            BuiltInVariable("gl_SubgroupLeMask",       EbvSubgroupLeMask2,     symbolTable);
11171|      7|            BuiltInVariable("gl_SubgroupLtMask",       EbvSubgroupLtMask2,     symbolTable);
11172|       |
11173|      7|            symbolTable.setFunctionExtensions("subgroupMemoryBarrierShared", 1, &E_GL_KHR_shader_subgroup_basic);
11174|       |
11175|       |            // GL_NV_shader_sm_builtins
11176|      7|            symbolTable.setVariableExtensions("gl_WarpsPerSMNV",         1, &E_GL_NV_shader_sm_builtins);
11177|      7|            symbolTable.setVariableExtensions("gl_SMCountNV",            1, &E_GL_NV_shader_sm_builtins);
11178|      7|            symbolTable.setVariableExtensions("gl_WarpIDNV",             1, &E_GL_NV_shader_sm_builtins);
11179|      7|            symbolTable.setVariableExtensions("gl_SMIDNV",               1, &E_GL_NV_shader_sm_builtins);
11180|      7|            BuiltInVariable("gl_WarpsPerSMNV",          EbvWarpsPerSM,      symbolTable);
11181|      7|            BuiltInVariable("gl_SMCountNV",             EbvSMCount,         symbolTable);
11182|      7|            BuiltInVariable("gl_WarpIDNV",              EbvWarpID,          symbolTable);
11183|      7|            BuiltInVariable("gl_SMIDNV",                EbvSMID,            symbolTable);
11184|       |
11185|       |            // GL_ARM_shader_core_builtins
11186|      7|            symbolTable.setVariableExtensions("gl_CoreCountARM", 1, &E_GL_ARM_shader_core_builtins);
11187|      7|            symbolTable.setVariableExtensions("gl_CoreIDARM",    1, &E_GL_ARM_shader_core_builtins);
11188|      7|            symbolTable.setVariableExtensions("gl_CoreMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11189|      7|            symbolTable.setVariableExtensions("gl_WarpIDARM",    1, &E_GL_ARM_shader_core_builtins);
11190|      7|            symbolTable.setVariableExtensions("gl_WarpMaxIDARM", 1, &E_GL_ARM_shader_core_builtins);
11191|       |
11192|      7|            BuiltInVariable("gl_CoreCountARM", EbvCoreCountARM, symbolTable);
11193|      7|            BuiltInVariable("gl_CoreIDARM",    EbvCoreIDARM, symbolTable);
11194|      7|            BuiltInVariable("gl_CoreMaxIDARM", EbvCoreMaxIDARM, symbolTable);
11195|      7|            BuiltInVariable("gl_WarpIDARM",    EbvWarpIDARM, symbolTable);
11196|      7|            BuiltInVariable("gl_WarpMaxIDARM", EbvWarpMaxIDARM, symbolTable);
11197|      7|        }
11198|      7|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11198:14): [True: 0, False: 7]
  |  Branch (11198:39): [True: 0, False: 0]
  ------------------
11199|      7|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11199:14): [True: 7, False: 0]
  |  Branch (11199:39): [True: 7, False: 0]
  ------------------
11200|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11201|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4VerticalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11202|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag2HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11203|      7|            symbolTable.setVariableExtensions("gl_ShadingRateFlag4HorizontalPixelsEXT", 1, &E_GL_EXT_fragment_shading_rate);
11204|      7|        }
11205|      7|        break;
11206|       |
11207|      0|    default:
  ------------------
  |  Branch (11207:5): [True: 0, False: 133]
  ------------------
11208|      0|        assert(false && "Language not supported");
11209|      0|        break;
11210|    133|    }
11211|       |
11212|       |    //
11213|       |    // Next, identify which built-ins have a mapping to an operator.
11214|       |    // If PureOperatorBuiltins is false, those that are not identified as such are
11215|       |    // expected to be resolved through a library of functions, versus as
11216|       |    // operations.
11217|       |    //
11218|       |
11219|    133|    relateTabledBuiltins(version, profile, spvVersion, language, symbolTable);
11220|       |
11221|    133|    symbolTable.relateToOperator("doubleBitsToInt64",  EOpDoubleBitsToInt64);
11222|    133|    symbolTable.relateToOperator("doubleBitsToUint64", EOpDoubleBitsToUint64);
11223|    133|    symbolTable.relateToOperator("int64BitsToDouble",  EOpInt64BitsToDouble);
11224|    133|    symbolTable.relateToOperator("uint64BitsToDouble", EOpUint64BitsToDouble);
11225|    133|    symbolTable.relateToOperator("halfBitsToInt16",  EOpFloat16BitsToInt16);
11226|    133|    symbolTable.relateToOperator("halfBitsToUint16", EOpFloat16BitsToUint16);
11227|    133|    symbolTable.relateToOperator("float16BitsToInt16",  EOpFloat16BitsToInt16);
11228|    133|    symbolTable.relateToOperator("float16BitsToUint16", EOpFloat16BitsToUint16);
11229|    133|    symbolTable.relateToOperator("int16BitsToFloat16",  EOpInt16BitsToFloat16);
11230|    133|    symbolTable.relateToOperator("uint16BitsToFloat16", EOpUint16BitsToFloat16);
11231|       |
11232|    133|    symbolTable.relateToOperator("int16BitsToHalf",  EOpInt16BitsToFloat16);
11233|    133|    symbolTable.relateToOperator("uint16BitsToHalf", EOpUint16BitsToFloat16);
11234|       |
11235|    133|    symbolTable.relateToOperator("packSnorm4x8",    EOpPackSnorm4x8);
11236|    133|    symbolTable.relateToOperator("unpackSnorm4x8",  EOpUnpackSnorm4x8);
11237|    133|    symbolTable.relateToOperator("packUnorm4x8",    EOpPackUnorm4x8);
11238|    133|    symbolTable.relateToOperator("unpackUnorm4x8",  EOpUnpackUnorm4x8);
11239|       |
11240|    133|    symbolTable.relateToOperator("packDouble2x32",    EOpPackDouble2x32);
11241|    133|    symbolTable.relateToOperator("unpackDouble2x32",  EOpUnpackDouble2x32);
11242|       |
11243|    133|    symbolTable.relateToOperator("packInt2x32",     EOpPackInt2x32);
11244|    133|    symbolTable.relateToOperator("unpackInt2x32",   EOpUnpackInt2x32);
11245|    133|    symbolTable.relateToOperator("packUint2x32",    EOpPackUint2x32);
11246|    133|    symbolTable.relateToOperator("unpackUint2x32",  EOpUnpackUint2x32);
11247|       |
11248|    133|    symbolTable.relateToOperator("packInt2x16",     EOpPackInt2x16);
11249|    133|    symbolTable.relateToOperator("unpackInt2x16",   EOpUnpackInt2x16);
11250|    133|    symbolTable.relateToOperator("packUint2x16",    EOpPackUint2x16);
11251|    133|    symbolTable.relateToOperator("unpackUint2x16",  EOpUnpackUint2x16);
11252|       |
11253|    133|    symbolTable.relateToOperator("packInt4x16",     EOpPackInt4x16);
11254|    133|    symbolTable.relateToOperator("unpackInt4x16",   EOpUnpackInt4x16);
11255|    133|    symbolTable.relateToOperator("packUint4x16",    EOpPackUint4x16);
11256|    133|    symbolTable.relateToOperator("unpackUint4x16",  EOpUnpackUint4x16);
11257|    133|    symbolTable.relateToOperator("packFloat2x16",   EOpPackFloat2x16);
11258|    133|    symbolTable.relateToOperator("unpackFloat2x16", EOpUnpackFloat2x16);
11259|       |
11260|    133|    symbolTable.relateToOperator("pack16",          EOpPack16);
11261|    133|    symbolTable.relateToOperator("pack32",          EOpPack32);
11262|    133|    symbolTable.relateToOperator("pack64",          EOpPack64);
11263|       |
11264|    133|    symbolTable.relateToOperator("unpack32",        EOpUnpack32);
11265|    133|    symbolTable.relateToOperator("unpack16",        EOpUnpack16);
11266|    133|    symbolTable.relateToOperator("unpack8",         EOpUnpack8);
11267|       |
11268|    133|    symbolTable.relateToOperator("controlBarrier",             EOpBarrier);
11269|    133|    symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierAtomicCounter);
11270|    133|    symbolTable.relateToOperator("memoryBarrierImage",         EOpMemoryBarrierImage);
11271|       |
11272|    133|    symbolTable.relateToOperator("controlBarrierArrive",  EOpControlBarrierArriveEXT);
11273|    133|    symbolTable.relateToOperator("controlBarrierWait",    EOpControlBarrierWaitEXT);
11274|       |
11275|    133|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11275:9): [True: 0, False: 133]
  ------------------
11276|       |        //
11277|       |        // functions signature have been replaced to take uint operations on buffer variables
11278|       |        // remap atomic counter functions to atomic operations
11279|       |        //
11280|      0|        symbolTable.relateToOperator("memoryBarrierAtomicCounter", EOpMemoryBarrierBuffer);
11281|      0|    }
11282|       |
11283|    133|    symbolTable.relateToOperator("atomicLoad",     EOpAtomicLoad);
11284|    133|    symbolTable.relateToOperator("atomicStore",    EOpAtomicStore);
11285|       |
11286|    133|    symbolTable.relateToOperator("atomicCounterIncrement", EOpAtomicCounterIncrement);
11287|    133|    symbolTable.relateToOperator("atomicCounterDecrement", EOpAtomicCounterDecrement);
11288|    133|    symbolTable.relateToOperator("atomicCounter",          EOpAtomicCounter);
11289|       |
11290|    133|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11290:9): [True: 0, False: 133]
  ------------------
11291|       |        //
11292|       |        // functions signature have been replaced to take uint operations
11293|       |        // remap atomic counter functions to atomic operations
11294|       |        //
11295|       |        // these atomic counter functions do not match signatures of glsl
11296|       |        // atomic functions, so they will be remapped to semantically
11297|       |        // equivalent functions in the parser
11298|       |        //
11299|      0|        symbolTable.relateToOperator("atomicCounterIncrement", EOpNull);
11300|      0|        symbolTable.relateToOperator("atomicCounterDecrement", EOpNull);
11301|      0|        symbolTable.relateToOperator("atomicCounter", EOpNull);
11302|      0|    }
11303|       |
11304|    133|    symbolTable.relateToOperator("clockARB",     EOpReadClockSubgroupKHR);
11305|    133|    symbolTable.relateToOperator("clock2x32ARB", EOpReadClockSubgroupKHR);
11306|       |
11307|    133|    symbolTable.relateToOperator("clockRealtimeEXT",     EOpReadClockDeviceKHR);
11308|    133|    symbolTable.relateToOperator("clockRealtime2x32EXT", EOpReadClockDeviceKHR);
11309|       |
11310|    133|    if (profile != EEsProfile && version == 450) {
  ------------------
  |  Branch (11310:9): [True: 91, False: 42]
  |  Branch (11310:34): [True: 91, False: 0]
  ------------------
11311|     91|        symbolTable.relateToOperator("atomicCounterAddARB",      EOpAtomicCounterAdd);
11312|     91|        symbolTable.relateToOperator("atomicCounterSubtractARB", EOpAtomicCounterSubtract);
11313|     91|        symbolTable.relateToOperator("atomicCounterMinARB",      EOpAtomicCounterMin);
11314|     91|        symbolTable.relateToOperator("atomicCounterMaxARB",      EOpAtomicCounterMax);
11315|     91|        symbolTable.relateToOperator("atomicCounterAndARB",      EOpAtomicCounterAnd);
11316|     91|        symbolTable.relateToOperator("atomicCounterOrARB",       EOpAtomicCounterOr);
11317|     91|        symbolTable.relateToOperator("atomicCounterXorARB",      EOpAtomicCounterXor);
11318|     91|        symbolTable.relateToOperator("atomicCounterExchangeARB", EOpAtomicCounterExchange);
11319|     91|        symbolTable.relateToOperator("atomicCounterCompSwapARB", EOpAtomicCounterCompSwap);
11320|     91|    }
11321|       |
11322|    133|    if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11322:9): [True: 91, False: 42]
  |  Branch (11322:34): [True: 0, False: 91]
  ------------------
11323|      0|        symbolTable.relateToOperator("atomicCounterAdd",      EOpAtomicCounterAdd);
11324|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicCounterSubtract);
11325|      0|        symbolTable.relateToOperator("atomicCounterMin",      EOpAtomicCounterMin);
11326|      0|        symbolTable.relateToOperator("atomicCounterMax",      EOpAtomicCounterMax);
11327|      0|        symbolTable.relateToOperator("atomicCounterAnd",      EOpAtomicCounterAnd);
11328|      0|        symbolTable.relateToOperator("atomicCounterOr",       EOpAtomicCounterOr);
11329|      0|        symbolTable.relateToOperator("atomicCounterXor",      EOpAtomicCounterXor);
11330|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicCounterExchange);
11331|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCounterCompSwap);
11332|      0|    }
11333|       |
11334|    133|    if (spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (11334:9): [True: 0, False: 133]
  ------------------
11335|       |        //
11336|       |        // functions signature have been replaced to take 'uint' instead of 'atomic_uint'
11337|       |        // remap atomic counter functions to non-counter atomic ops so
11338|       |        // functions act as aliases to non-counter atomic ops
11339|       |        //
11340|      0|        symbolTable.relateToOperator("atomicCounterAdd", EOpAtomicAdd);
11341|      0|        symbolTable.relateToOperator("atomicCounterSubtract", EOpAtomicSubtract);
11342|      0|        symbolTable.relateToOperator("atomicCounterMin", EOpAtomicMin);
11343|      0|        symbolTable.relateToOperator("atomicCounterMax", EOpAtomicMax);
11344|      0|        symbolTable.relateToOperator("atomicCounterAnd", EOpAtomicAnd);
11345|      0|        symbolTable.relateToOperator("atomicCounterOr", EOpAtomicOr);
11346|      0|        symbolTable.relateToOperator("atomicCounterXor", EOpAtomicXor);
11347|      0|        symbolTable.relateToOperator("atomicCounterExchange", EOpAtomicExchange);
11348|      0|        symbolTable.relateToOperator("atomicCounterCompSwap", EOpAtomicCompSwap);
11349|      0|    }
11350|       |
11351|    133|    symbolTable.relateToOperator("fma",               EOpFma);
11352|    133|    symbolTable.relateToOperator("frexp",             EOpFrexp);
11353|    133|    symbolTable.relateToOperator("ldexp",             EOpLdexp);
11354|    133|    symbolTable.relateToOperator("uaddCarry",         EOpAddCarry);
11355|    133|    symbolTable.relateToOperator("usubBorrow",        EOpSubBorrow);
11356|    133|    symbolTable.relateToOperator("umulExtended",      EOpUMulExtended);
11357|    133|    symbolTable.relateToOperator("imulExtended",      EOpIMulExtended);
11358|    133|    symbolTable.relateToOperator("bitfieldExtract",   EOpBitfieldExtract);
11359|    133|    symbolTable.relateToOperator("bitfieldInsert",    EOpBitfieldInsert);
11360|    133|    symbolTable.relateToOperator("bitfieldReverse",   EOpBitFieldReverse);
11361|    133|    symbolTable.relateToOperator("bitCount",          EOpBitCount);
11362|    133|    symbolTable.relateToOperator("findLSB",           EOpFindLSB);
11363|    133|    symbolTable.relateToOperator("findMSB",           EOpFindMSB);
11364|       |
11365|    133|    symbolTable.relateToOperator("helperInvocationEXT",  EOpIsHelperInvocation);
11366|       |
11367|    133|    symbolTable.relateToOperator("countLeadingZeros",  EOpCountLeadingZeros);
11368|    133|    symbolTable.relateToOperator("countTrailingZeros", EOpCountTrailingZeros);
11369|    133|    symbolTable.relateToOperator("absoluteDifference", EOpAbsDifference);
11370|    133|    symbolTable.relateToOperator("addSaturate",        EOpAddSaturate);
11371|    133|    symbolTable.relateToOperator("subtractSaturate",   EOpSubSaturate);
11372|    133|    symbolTable.relateToOperator("average",            EOpAverage);
11373|    133|    symbolTable.relateToOperator("averageRounded",     EOpAverageRounded);
11374|    133|    symbolTable.relateToOperator("multiply32x16",      EOpMul32x16);
11375|    133|    symbolTable.relateToOperator("debugPrintfEXT",     EOpDebugPrintf);
11376|    133|    symbolTable.relateToOperator("assumeEXT",          EOpAssumeEXT);
11377|    133|    symbolTable.relateToOperator("expectEXT",          EOpExpectEXT);
11378|    133|    symbolTable.relateToOperator("abortEXT",           EOpAbortEXT);
11379|       |
11380|       |
11381|    133|    if (PureOperatorBuiltins) {
  ------------------
  |  Branch (11381:9): [True: 133, Folded]
  ------------------
11382|    133|        symbolTable.relateToOperator("imageSize",               EOpImageQuerySize);
11383|    133|        symbolTable.relateToOperator("imageSamples",            EOpImageQuerySamples);
11384|    133|        symbolTable.relateToOperator("imageLoad",               EOpImageLoad);
11385|    133|        symbolTable.relateToOperator("imageStore",              EOpImageStore);
11386|    133|        symbolTable.relateToOperator("imageAtomicAdd",          EOpImageAtomicAdd);
11387|    133|        symbolTable.relateToOperator("imageAtomicMin",          EOpImageAtomicMin);
11388|    133|        symbolTable.relateToOperator("imageAtomicMax",          EOpImageAtomicMax);
11389|    133|        symbolTable.relateToOperator("imageAtomicAnd",          EOpImageAtomicAnd);
11390|    133|        symbolTable.relateToOperator("imageAtomicOr",           EOpImageAtomicOr);
11391|    133|        symbolTable.relateToOperator("imageAtomicXor",          EOpImageAtomicXor);
11392|    133|        symbolTable.relateToOperator("imageAtomicExchange",     EOpImageAtomicExchange);
11393|    133|        symbolTable.relateToOperator("imageAtomicCompSwap",     EOpImageAtomicCompSwap);
11394|    133|        symbolTable.relateToOperator("imageAtomicLoad",         EOpImageAtomicLoad);
11395|    133|        symbolTable.relateToOperator("imageAtomicStore",        EOpImageAtomicStore);
11396|       |
11397|    133|        symbolTable.relateToOperator("subpassLoad",             EOpSubpassLoad);
11398|    133|        symbolTable.relateToOperator("subpassLoadMS",           EOpSubpassLoadMS);
11399|       |
11400|    133|        symbolTable.relateToOperator("textureGather",           EOpTextureGather);
11401|    133|        symbolTable.relateToOperator("textureGatherOffset",     EOpTextureGatherOffset);
11402|    133|        symbolTable.relateToOperator("textureGatherOffsets",    EOpTextureGatherOffsets);
11403|       |
11404|    133|        symbolTable.relateToOperator("noise1", EOpNoise);
11405|    133|        symbolTable.relateToOperator("noise2", EOpNoise);
11406|    133|        symbolTable.relateToOperator("noise3", EOpNoise);
11407|    133|        symbolTable.relateToOperator("noise4", EOpNoise);
11408|       |
11409|    133|        symbolTable.relateToOperator("textureFootprintNV",          EOpImageSampleFootprintNV);
11410|    133|        symbolTable.relateToOperator("textureFootprintClampNV",     EOpImageSampleFootprintClampNV);
11411|    133|        symbolTable.relateToOperator("textureFootprintLodNV",       EOpImageSampleFootprintLodNV);
11412|    133|        symbolTable.relateToOperator("textureFootprintGradNV",      EOpImageSampleFootprintGradNV);
11413|    133|        symbolTable.relateToOperator("textureFootprintGradClampNV", EOpImageSampleFootprintGradClampNV);
11414|       |
11415|    133|        if (spvVersion.spv == 0 && IncludeLegacy(version, profile, spvVersion))
  ------------------
  |  Branch (11415:13): [True: 133, False: 0]
  |  Branch (11415:36): [True: 0, False: 133]
  ------------------
11416|      0|            symbolTable.relateToOperator("ftransform", EOpFtransform);
11417|       |
11418|    133|        if (spvVersion.spv == 0 && (IncludeLegacy(version, profile, spvVersion) ||
  ------------------
  |  Branch (11418:13): [True: 133, False: 0]
  |  Branch (11418:37): [True: 0, False: 133]
  ------------------
11419|    133|            (profile == EEsProfile && version == 100))) {
  ------------------
  |  Branch (11419:14): [True: 42, False: 91]
  |  Branch (11419:39): [True: 42, False: 0]
  ------------------
11420|       |
11421|     42|            symbolTable.relateToOperator("texture1D",                EOpTexture);
11422|     42|            symbolTable.relateToOperator("texture1DGradARB",         EOpTextureGrad);
11423|     42|            symbolTable.relateToOperator("texture1DProj",            EOpTextureProj);
11424|     42|            symbolTable.relateToOperator("texture1DProjGradARB",     EOpTextureProjGrad);
11425|     42|            symbolTable.relateToOperator("texture1DLod",             EOpTextureLod);
11426|     42|            symbolTable.relateToOperator("texture1DProjLod",         EOpTextureProjLod);
11427|       |
11428|     42|            symbolTable.relateToOperator("texture2DRect",            EOpTexture);
11429|     42|            symbolTable.relateToOperator("texture2DRectProj",        EOpTextureProj);
11430|     42|            symbolTable.relateToOperator("texture2DRectGradARB",     EOpTextureGrad);
11431|     42|            symbolTable.relateToOperator("texture2DRectProjGradARB", EOpTextureProjGrad);
11432|     42|            symbolTable.relateToOperator("shadow2DRect",             EOpTexture);
11433|     42|            symbolTable.relateToOperator("shadow2DRectProj",         EOpTextureProj);
11434|     42|            symbolTable.relateToOperator("shadow2DRectGradARB",      EOpTextureGrad);
11435|     42|            symbolTable.relateToOperator("shadow2DRectProjGradARB",  EOpTextureProjGrad);
11436|       |
11437|     42|            symbolTable.relateToOperator("texture2D",                EOpTexture);
11438|     42|            symbolTable.relateToOperator("texture2DProj",            EOpTextureProj);
11439|     42|            symbolTable.relateToOperator("texture2DGradEXT",         EOpTextureGrad);
11440|     42|            symbolTable.relateToOperator("texture2DGradARB",         EOpTextureGrad);
11441|     42|            symbolTable.relateToOperator("texture2DProjGradEXT",     EOpTextureProjGrad);
11442|     42|            symbolTable.relateToOperator("texture2DProjGradARB",     EOpTextureProjGrad);
11443|     42|            symbolTable.relateToOperator("texture2DLod",             EOpTextureLod);
11444|     42|            symbolTable.relateToOperator("texture2DLodEXT",          EOpTextureLod);
11445|     42|            symbolTable.relateToOperator("texture2DProjLod",         EOpTextureProjLod);
11446|     42|            symbolTable.relateToOperator("texture2DProjLodEXT",      EOpTextureProjLod);
11447|       |
11448|     42|            symbolTable.relateToOperator("texture3D",                EOpTexture);
11449|     42|            symbolTable.relateToOperator("texture3DGradARB",         EOpTextureGrad);
11450|     42|            symbolTable.relateToOperator("texture3DProj",            EOpTextureProj);
11451|     42|            symbolTable.relateToOperator("texture3DProjGradARB",     EOpTextureProjGrad);
11452|     42|            symbolTable.relateToOperator("texture3DLod",             EOpTextureLod);
11453|     42|            symbolTable.relateToOperator("texture3DProjLod",         EOpTextureProjLod);
11454|     42|            symbolTable.relateToOperator("textureCube",              EOpTexture);
11455|     42|            symbolTable.relateToOperator("textureCubeGradEXT",       EOpTextureGrad);
11456|     42|            symbolTable.relateToOperator("textureCubeGradARB",       EOpTextureGrad);
11457|     42|            symbolTable.relateToOperator("textureCubeLod",           EOpTextureLod);
11458|     42|            symbolTable.relateToOperator("textureCubeLodEXT",        EOpTextureLod);
11459|     42|            symbolTable.relateToOperator("shadow1D",                 EOpTexture);
11460|     42|            symbolTable.relateToOperator("shadow1DGradARB",          EOpTextureGrad);
11461|     42|            symbolTable.relateToOperator("shadow2D",                 EOpTexture);
11462|     42|            symbolTable.relateToOperator("shadow2DGradARB",          EOpTextureGrad);
11463|     42|            symbolTable.relateToOperator("shadow1DProj",             EOpTextureProj);
11464|     42|            symbolTable.relateToOperator("shadow2DProj",             EOpTextureProj);
11465|     42|            symbolTable.relateToOperator("shadow1DProjGradARB",      EOpTextureProjGrad);
11466|     42|            symbolTable.relateToOperator("shadow2DProjGradARB",      EOpTextureProjGrad);
11467|     42|            symbolTable.relateToOperator("shadow1DLod",              EOpTextureLod);
11468|     42|            symbolTable.relateToOperator("shadow2DLod",              EOpTextureLod);
11469|     42|            symbolTable.relateToOperator("shadow1DProjLod",          EOpTextureProjLod);
11470|     42|            symbolTable.relateToOperator("shadow2DProjLod",          EOpTextureProjLod);
11471|     42|        }
11472|       |
11473|    133|        if (profile != EEsProfile) {
  ------------------
  |  Branch (11473:13): [True: 91, False: 42]
  ------------------
11474|     91|            symbolTable.relateToOperator("sparseTextureARB",                EOpSparseTexture);
11475|     91|            symbolTable.relateToOperator("sparseTextureLodARB",             EOpSparseTextureLod);
11476|     91|            symbolTable.relateToOperator("sparseTextureOffsetARB",          EOpSparseTextureOffset);
11477|     91|            symbolTable.relateToOperator("sparseTexelFetchARB",             EOpSparseTextureFetch);
11478|     91|            symbolTable.relateToOperator("sparseTexelFetchOffsetARB",       EOpSparseTextureFetchOffset);
11479|     91|            symbolTable.relateToOperator("sparseTextureLodOffsetARB",       EOpSparseTextureLodOffset);
11480|     91|            symbolTable.relateToOperator("sparseTextureGradARB",            EOpSparseTextureGrad);
11481|     91|            symbolTable.relateToOperator("sparseTextureGradOffsetARB",      EOpSparseTextureGradOffset);
11482|     91|            symbolTable.relateToOperator("sparseTextureGatherARB",          EOpSparseTextureGather);
11483|     91|            symbolTable.relateToOperator("sparseTextureGatherOffsetARB",    EOpSparseTextureGatherOffset);
11484|     91|            symbolTable.relateToOperator("sparseTextureGatherOffsetsARB",   EOpSparseTextureGatherOffsets);
11485|     91|            symbolTable.relateToOperator("sparseImageLoadARB",              EOpSparseImageLoad);
11486|     91|            symbolTable.relateToOperator("sparseTexelsResidentARB",         EOpSparseTexelsResident);
11487|       |
11488|     91|            symbolTable.relateToOperator("sparseTextureClampARB",           EOpSparseTextureClamp);
11489|     91|            symbolTable.relateToOperator("sparseTextureOffsetClampARB",     EOpSparseTextureOffsetClamp);
11490|     91|            symbolTable.relateToOperator("sparseTextureGradClampARB",       EOpSparseTextureGradClamp);
11491|     91|            symbolTable.relateToOperator("sparseTextureGradOffsetClampARB", EOpSparseTextureGradOffsetClamp);
11492|     91|            symbolTable.relateToOperator("textureClampARB",                 EOpTextureClamp);
11493|     91|            symbolTable.relateToOperator("textureOffsetClampARB",           EOpTextureOffsetClamp);
11494|     91|            symbolTable.relateToOperator("textureGradClampARB",             EOpTextureGradClamp);
11495|     91|            symbolTable.relateToOperator("textureGradOffsetClampARB",       EOpTextureGradOffsetClamp);
11496|       |
11497|     91|            symbolTable.relateToOperator("ballotARB",                       EOpBallot);
11498|     91|            symbolTable.relateToOperator("readInvocationARB",               EOpReadInvocation);
11499|     91|            symbolTable.relateToOperator("readFirstInvocationARB",          EOpReadFirstInvocation);
11500|       |
11501|     91|            if (version >= 430) {
  ------------------
  |  Branch (11501:17): [True: 91, False: 0]
  ------------------
11502|     91|                symbolTable.relateToOperator("anyInvocationARB",            EOpAnyInvocation);
11503|     91|                symbolTable.relateToOperator("allInvocationsARB",           EOpAllInvocations);
11504|     91|                symbolTable.relateToOperator("allInvocationsEqualARB",      EOpAllInvocationsEqual);
11505|     91|            }
11506|     91|            if (version >= 460) {
  ------------------
  |  Branch (11506:17): [True: 0, False: 91]
  ------------------
11507|      0|                symbolTable.relateToOperator("anyInvocation",               EOpAnyInvocation);
11508|      0|                symbolTable.relateToOperator("allInvocations",              EOpAllInvocations);
11509|      0|                symbolTable.relateToOperator("allInvocationsEqual",         EOpAllInvocationsEqual);
11510|      0|            }
11511|       |            // As per dependency between NV_gpu_shader5 and ARB_shader_group_vote
11512|       |            // anyInvocationARB = anyThreadNV
11513|       |            // allInvocationsARB = allThreadsNV
11514|       |            // allInvocationsEqualARB = allThreadsEqualNV
11515|       |            // Thus we reuse the Op's
11516|     91|            if (version >= 150) {
  ------------------
  |  Branch (11516:17): [True: 91, False: 0]
  ------------------
11517|     91|                symbolTable.relateToOperator("anyThreadNV",            EOpAnyInvocation);
11518|     91|                symbolTable.relateToOperator("allThreadsNV",           EOpAllInvocations);
11519|     91|                symbolTable.relateToOperator("allThreadsEqualNV",      EOpAllInvocationsEqual);
11520|     91|            }
11521|     91|            symbolTable.relateToOperator("minInvocationsAMD",                           EOpMinInvocations);
11522|     91|            symbolTable.relateToOperator("maxInvocationsAMD",                           EOpMaxInvocations);
11523|     91|            symbolTable.relateToOperator("addInvocationsAMD",                           EOpAddInvocations);
11524|     91|            symbolTable.relateToOperator("minInvocationsNonUniformAMD",                 EOpMinInvocationsNonUniform);
11525|     91|            symbolTable.relateToOperator("maxInvocationsNonUniformAMD",                 EOpMaxInvocationsNonUniform);
11526|     91|            symbolTable.relateToOperator("addInvocationsNonUniformAMD",                 EOpAddInvocationsNonUniform);
11527|     91|            symbolTable.relateToOperator("minInvocationsInclusiveScanAMD",              EOpMinInvocationsInclusiveScan);
11528|     91|            symbolTable.relateToOperator("maxInvocationsInclusiveScanAMD",              EOpMaxInvocationsInclusiveScan);
11529|     91|            symbolTable.relateToOperator("addInvocationsInclusiveScanAMD",              EOpAddInvocationsInclusiveScan);
11530|     91|            symbolTable.relateToOperator("minInvocationsInclusiveScanNonUniformAMD",    EOpMinInvocationsInclusiveScanNonUniform);
11531|     91|            symbolTable.relateToOperator("maxInvocationsInclusiveScanNonUniformAMD",    EOpMaxInvocationsInclusiveScanNonUniform);
11532|     91|            symbolTable.relateToOperator("addInvocationsInclusiveScanNonUniformAMD",    EOpAddInvocationsInclusiveScanNonUniform);
11533|     91|            symbolTable.relateToOperator("minInvocationsExclusiveScanAMD",              EOpMinInvocationsExclusiveScan);
11534|     91|            symbolTable.relateToOperator("maxInvocationsExclusiveScanAMD",              EOpMaxInvocationsExclusiveScan);
11535|     91|            symbolTable.relateToOperator("addInvocationsExclusiveScanAMD",              EOpAddInvocationsExclusiveScan);
11536|     91|            symbolTable.relateToOperator("minInvocationsExclusiveScanNonUniformAMD",    EOpMinInvocationsExclusiveScanNonUniform);
11537|     91|            symbolTable.relateToOperator("maxInvocationsExclusiveScanNonUniformAMD",    EOpMaxInvocationsExclusiveScanNonUniform);
11538|     91|            symbolTable.relateToOperator("addInvocationsExclusiveScanNonUniformAMD",    EOpAddInvocationsExclusiveScanNonUniform);
11539|     91|            symbolTable.relateToOperator("swizzleInvocationsAMD",                       EOpSwizzleInvocations);
11540|     91|            symbolTable.relateToOperator("swizzleInvocationsMaskedAMD",                 EOpSwizzleInvocationsMasked);
11541|     91|            symbolTable.relateToOperator("writeInvocationAMD",                          EOpWriteInvocation);
11542|     91|            symbolTable.relateToOperator("mbcntAMD",                                    EOpMbcnt);
11543|       |
11544|     91|            symbolTable.relateToOperator("min3",    EOpMin3);
11545|     91|            symbolTable.relateToOperator("max3",    EOpMax3);
11546|     91|            symbolTable.relateToOperator("mid3",    EOpMid3);
11547|       |
11548|     91|            symbolTable.relateToOperator("cubeFaceIndexAMD",    EOpCubeFaceIndex);
11549|     91|            symbolTable.relateToOperator("cubeFaceCoordAMD",    EOpCubeFaceCoord);
11550|     91|            symbolTable.relateToOperator("timeAMD",             EOpTime);
11551|       |
11552|     91|            symbolTable.relateToOperator("textureGatherLodAMD",                 EOpTextureGatherLod);
11553|     91|            symbolTable.relateToOperator("textureGatherLodOffsetAMD",           EOpTextureGatherLodOffset);
11554|     91|            symbolTable.relateToOperator("textureGatherLodOffsetsAMD",          EOpTextureGatherLodOffsets);
11555|     91|            symbolTable.relateToOperator("sparseTextureGatherLodAMD",           EOpSparseTextureGatherLod);
11556|     91|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetAMD",     EOpSparseTextureGatherLodOffset);
11557|     91|            symbolTable.relateToOperator("sparseTextureGatherLodOffsetsAMD",    EOpSparseTextureGatherLodOffsets);
11558|       |
11559|     91|            symbolTable.relateToOperator("imageLoadLodAMD",                     EOpImageLoadLod);
11560|     91|            symbolTable.relateToOperator("imageStoreLodAMD",                    EOpImageStoreLod);
11561|     91|            symbolTable.relateToOperator("sparseImageLoadLodAMD",               EOpSparseImageLoadLod);
11562|       |
11563|     91|            symbolTable.relateToOperator("fragmentMaskFetchAMD",                EOpFragmentMaskFetch);
11564|     91|            symbolTable.relateToOperator("fragmentFetchAMD",                    EOpFragmentFetch);
11565|     91|        }
11566|       |
11567|       |        // GL_EXT_integer_dot_product
11568|    133|        if ((profile == EEsProfile && version >= 300) ||
  ------------------
  |  Branch (11568:14): [True: 42, False: 91]
  |  Branch (11568:39): [True: 0, False: 42]
  ------------------
11569|    133|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11569:14): [True: 91, False: 42]
  |  Branch (11569:39): [True: 91, False: 0]
  ------------------
11570|     91|            symbolTable.relateToOperator("dotEXT", EOpDot);
11571|     91|            symbolTable.relateToOperator("dotPacked4x8EXT", EOpDotPackedEXT);
11572|     91|            symbolTable.relateToOperator("dotAccSatEXT", EOpDotAccSatEXT);
11573|     91|            symbolTable.relateToOperator("dotPacked4x8AccSatEXT", EOpDotPackedAccSatEXT);
11574|     91|        }
11575|       |
11576|       |        // GL_EXT_bfloat16
11577|    133|        if ((profile == EEsProfile && version >= 320) ||
  ------------------
  |  Branch (11577:14): [True: 42, False: 91]
  |  Branch (11577:39): [True: 0, False: 42]
  ------------------
11578|    133|            (profile != EEsProfile && version >= 450)) {
  ------------------
  |  Branch (11578:14): [True: 91, False: 42]
  |  Branch (11578:39): [True: 91, False: 0]
  ------------------
11579|     91|            symbolTable.relateToOperator("bfloat16BitsToIntEXT",  EOpFloatBitsToInt);
11580|     91|            symbolTable.relateToOperator("bfloat16BitsToUintEXT", EOpFloatBitsToUint);
11581|     91|            symbolTable.relateToOperator("intBitsToBFloat16EXT",  EOpIntBitsToFloat);
11582|     91|            symbolTable.relateToOperator("uintBitsToBFloat16EXT", EOpUintBitsToFloat);
11583|       |
11584|     91|            symbolTable.relateToOperator("floate5m2BitsToIntEXT",  EOpFloatBitsToInt);
11585|     91|            symbolTable.relateToOperator("floate5m2BitsToUintEXT", EOpFloatBitsToUint);
11586|     91|            symbolTable.relateToOperator("intBitsToFloate5m2EXT",  EOpIntBitsToFloat);
11587|     91|            symbolTable.relateToOperator("uintBitsToFloate5m2EXT", EOpUintBitsToFloat);
11588|       |
11589|     91|            symbolTable.relateToOperator("floate4m3BitsToIntEXT",  EOpFloatBitsToInt);
11590|     91|            symbolTable.relateToOperator("floate4m3BitsToUintEXT", EOpFloatBitsToUint);
11591|     91|            symbolTable.relateToOperator("intBitsToFloate4m3EXT",  EOpIntBitsToFloat);
11592|     91|            symbolTable.relateToOperator("uintBitsToFloate4m3EXT", EOpUintBitsToFloat);
11593|       |
11594|     91|            symbolTable.relateToOperator("saturatedConvertEXT", EOpConstructSaturated);
11595|       |
11596|     91|            symbolTable.relateToOperator("floatue8m0BitsToIntEXT",  EOpFloatBitsToInt);
11597|     91|            symbolTable.relateToOperator("floatue8m0BitsToUintEXT", EOpFloatBitsToUint);
11598|     91|            symbolTable.relateToOperator("intBitsToFloatue8m0EXT",  EOpIntBitsToFloat);
11599|     91|            symbolTable.relateToOperator("uintBitsToFloatue8m0EXT", EOpUintBitsToFloat);
11600|       |
11601|     91|            symbolTable.relateToOperator("floatmxint8BitsToIntEXT",  EOpFloatBitsToInt);
11602|     91|            symbolTable.relateToOperator("floatmxint8BitsToUintEXT", EOpFloatBitsToUint);
11603|     91|            symbolTable.relateToOperator("intBitsToFloatmxint8EXT",  EOpIntBitsToFloat);
11604|     91|            symbolTable.relateToOperator("uintBitsToFloatmxint8EXT", EOpUintBitsToFloat);
11605|       |
11606|     91|            symbolTable.relateToOperator("unpackFloat2xfe2m1EXT", EOpUnpackFloat2xE2M1);
11607|     91|            symbolTable.relateToOperator("unpackFloat4xfe2m1EXT", EOpUnpackFloat4xE2M1);
11608|     91|            symbolTable.relateToOperator("unpackFloat8xfe2m1EXT", EOpUnpackFloat8xE2M1);
11609|     91|            symbolTable.relateToOperator("unpackFloat16xfe2m1EXT", EOpUnpackFloat16xE2M1);
11610|     91|            symbolTable.relateToOperator("packFloat2xfe2m1EXT", EOpPackFloat2xE2M1);
11611|     91|            symbolTable.relateToOperator("packFloat4xfe2m1EXT", EOpPackFloat4xE2M1);
11612|     91|            symbolTable.relateToOperator("packFloat8xfe2m1EXT", EOpPackFloat8xE2M1);
11613|     91|            symbolTable.relateToOperator("packFloat16xfe2m1EXT", EOpPackFloat16xE2M1);
11614|       |
11615|     91|            symbolTable.relateToOperator("unpackFloat4xfe3m2EXT", EOpUnpackFloat4xE3M2);
11616|     91|            symbolTable.relateToOperator("unpackFloat8xfe3m2EXT", EOpUnpackFloat8xE3M2);
11617|     91|            symbolTable.relateToOperator("unpackFloat16xfe3m2EXT", EOpUnpackFloat16xE3M2);
11618|     91|            symbolTable.relateToOperator("packFloat4xfe3m2EXT", EOpPackFloat4xE3M2);
11619|     91|            symbolTable.relateToOperator("packFloat8xfe3m2EXT", EOpPackFloat8xE3M2);
11620|     91|            symbolTable.relateToOperator("packFloat16xfe3m2EXT", EOpPackFloat16xE3M2);
11621|       |
11622|     91|            symbolTable.relateToOperator("unpackFloat4xfe2m3EXT", EOpUnpackFloat4xE2M3);
11623|     91|            symbolTable.relateToOperator("unpackFloat8xfe2m3EXT", EOpUnpackFloat8xE2M3);
11624|     91|            symbolTable.relateToOperator("unpackFloat16xfe2m3EXT", EOpUnpackFloat16xE2M3);
11625|     91|            symbolTable.relateToOperator("packFloat4xfe2m3EXT", EOpPackFloat4xE2M3);
11626|     91|            symbolTable.relateToOperator("packFloat8xfe2m3EXT", EOpPackFloat8xE2M3);
11627|     91|            symbolTable.relateToOperator("packFloat16xfe2m3EXT", EOpPackFloat16xE2M3);
11628|       |
11629|     91|            symbolTable.relateToOperator("bitcastExtractfe2m1EXT", EOpBitcastExtractE2M1);
11630|     91|            symbolTable.relateToOperator("bitcastExtractfe3m2EXT", EOpBitcastExtractE3M2);
11631|     91|            symbolTable.relateToOperator("bitcastExtractfe2m3EXT", EOpBitcastExtractE2M3);
11632|     91|        }
11633|       |
11634|       |        // GL_KHR_shader_subgroup
11635|    133|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11635:14): [True: 42, False: 91]
  |  Branch (11635:39): [True: 0, False: 42]
  ------------------
11636|    133|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11636:14): [True: 91, False: 42]
  |  Branch (11636:39): [True: 91, False: 0]
  ------------------
11637|     91|            symbolTable.relateToOperator("subgroupBarrier",                 EOpSubgroupBarrier);
11638|     91|            symbolTable.relateToOperator("subgroupMemoryBarrier",           EOpSubgroupMemoryBarrier);
11639|     91|            symbolTable.relateToOperator("subgroupMemoryBarrierBuffer",     EOpSubgroupMemoryBarrierBuffer);
11640|     91|            symbolTable.relateToOperator("subgroupMemoryBarrierImage",      EOpSubgroupMemoryBarrierImage);
11641|     91|            symbolTable.relateToOperator("subgroupElect",                   EOpSubgroupElect);
11642|     91|            symbolTable.relateToOperator("subgroupAll",                     EOpSubgroupAll);
11643|     91|            symbolTable.relateToOperator("subgroupAny",                     EOpSubgroupAny);
11644|     91|            symbolTable.relateToOperator("subgroupAllEqual",                EOpSubgroupAllEqual);
11645|     91|            symbolTable.relateToOperator("subgroupBroadcast",               EOpSubgroupBroadcast);
11646|     91|            symbolTable.relateToOperator("subgroupBroadcastFirst",          EOpSubgroupBroadcastFirst);
11647|     91|            symbolTable.relateToOperator("subgroupBallot",                  EOpSubgroupBallot);
11648|     91|            symbolTable.relateToOperator("subgroupInverseBallot",           EOpSubgroupInverseBallot);
11649|     91|            symbolTable.relateToOperator("subgroupBallotBitExtract",        EOpSubgroupBallotBitExtract);
11650|     91|            symbolTable.relateToOperator("subgroupBallotBitCount",          EOpSubgroupBallotBitCount);
11651|     91|            symbolTable.relateToOperator("subgroupBallotInclusiveBitCount", EOpSubgroupBallotInclusiveBitCount);
11652|     91|            symbolTable.relateToOperator("subgroupBallotExclusiveBitCount", EOpSubgroupBallotExclusiveBitCount);
11653|     91|            symbolTable.relateToOperator("subgroupBallotFindLSB",           EOpSubgroupBallotFindLSB);
11654|     91|            symbolTable.relateToOperator("subgroupBallotFindMSB",           EOpSubgroupBallotFindMSB);
11655|     91|            symbolTable.relateToOperator("subgroupShuffle",                 EOpSubgroupShuffle);
11656|     91|            symbolTable.relateToOperator("subgroupShuffleXor",              EOpSubgroupShuffleXor);
11657|     91|            symbolTable.relateToOperator("subgroupShuffleUp",               EOpSubgroupShuffleUp);
11658|     91|            symbolTable.relateToOperator("subgroupShuffleDown",             EOpSubgroupShuffleDown);
11659|     91|            symbolTable.relateToOperator("subgroupRotate",                  EOpSubgroupRotate);
11660|     91|            symbolTable.relateToOperator("subgroupClusteredRotate",         EOpSubgroupClusteredRotate);
11661|     91|            symbolTable.relateToOperator("subgroupAdd",                     EOpSubgroupAdd);
11662|     91|            symbolTable.relateToOperator("subgroupMul",                     EOpSubgroupMul);
11663|     91|            symbolTable.relateToOperator("subgroupMin",                     EOpSubgroupMin);
11664|     91|            symbolTable.relateToOperator("subgroupMax",                     EOpSubgroupMax);
11665|     91|            symbolTable.relateToOperator("subgroupAnd",                     EOpSubgroupAnd);
11666|     91|            symbolTable.relateToOperator("subgroupOr",                      EOpSubgroupOr);
11667|     91|            symbolTable.relateToOperator("subgroupXor",                     EOpSubgroupXor);
11668|     91|            symbolTable.relateToOperator("subgroupInclusiveAdd",            EOpSubgroupInclusiveAdd);
11669|     91|            symbolTable.relateToOperator("subgroupInclusiveMul",            EOpSubgroupInclusiveMul);
11670|     91|            symbolTable.relateToOperator("subgroupInclusiveMin",            EOpSubgroupInclusiveMin);
11671|     91|            symbolTable.relateToOperator("subgroupInclusiveMax",            EOpSubgroupInclusiveMax);
11672|     91|            symbolTable.relateToOperator("subgroupInclusiveAnd",            EOpSubgroupInclusiveAnd);
11673|     91|            symbolTable.relateToOperator("subgroupInclusiveOr",             EOpSubgroupInclusiveOr);
11674|     91|            symbolTable.relateToOperator("subgroupInclusiveXor",            EOpSubgroupInclusiveXor);
11675|     91|            symbolTable.relateToOperator("subgroupExclusiveAdd",            EOpSubgroupExclusiveAdd);
11676|     91|            symbolTable.relateToOperator("subgroupExclusiveMul",            EOpSubgroupExclusiveMul);
11677|     91|            symbolTable.relateToOperator("subgroupExclusiveMin",            EOpSubgroupExclusiveMin);
11678|     91|            symbolTable.relateToOperator("subgroupExclusiveMax",            EOpSubgroupExclusiveMax);
11679|     91|            symbolTable.relateToOperator("subgroupExclusiveAnd",            EOpSubgroupExclusiveAnd);
11680|     91|            symbolTable.relateToOperator("subgroupExclusiveOr",             EOpSubgroupExclusiveOr);
11681|     91|            symbolTable.relateToOperator("subgroupExclusiveXor",            EOpSubgroupExclusiveXor);
11682|     91|            symbolTable.relateToOperator("subgroupClusteredAdd",            EOpSubgroupClusteredAdd);
11683|     91|            symbolTable.relateToOperator("subgroupClusteredMul",            EOpSubgroupClusteredMul);
11684|     91|            symbolTable.relateToOperator("subgroupClusteredMin",            EOpSubgroupClusteredMin);
11685|     91|            symbolTable.relateToOperator("subgroupClusteredMax",            EOpSubgroupClusteredMax);
11686|     91|            symbolTable.relateToOperator("subgroupClusteredAnd",            EOpSubgroupClusteredAnd);
11687|     91|            symbolTable.relateToOperator("subgroupClusteredOr",             EOpSubgroupClusteredOr);
11688|     91|            symbolTable.relateToOperator("subgroupClusteredXor",            EOpSubgroupClusteredXor);
11689|     91|            symbolTable.relateToOperator("subgroupQuadBroadcast",           EOpSubgroupQuadBroadcast);
11690|     91|            symbolTable.relateToOperator("subgroupQuadSwapHorizontal",      EOpSubgroupQuadSwapHorizontal);
11691|     91|            symbolTable.relateToOperator("subgroupQuadSwapVertical",        EOpSubgroupQuadSwapVertical);
11692|     91|            symbolTable.relateToOperator("subgroupQuadSwapDiagonal",        EOpSubgroupQuadSwapDiagonal);
11693|       |
11694|     91|            symbolTable.relateToOperator("subgroupPartitionNV",                          EOpSubgroupPartition);
11695|     91|            symbolTable.relateToOperator("subgroupPartitionedAddNV",                     EOpSubgroupPartitionedAdd);
11696|     91|            symbolTable.relateToOperator("subgroupPartitionedMulNV",                     EOpSubgroupPartitionedMul);
11697|     91|            symbolTable.relateToOperator("subgroupPartitionedMinNV",                     EOpSubgroupPartitionedMin);
11698|     91|            symbolTable.relateToOperator("subgroupPartitionedMaxNV",                     EOpSubgroupPartitionedMax);
11699|     91|            symbolTable.relateToOperator("subgroupPartitionedAndNV",                     EOpSubgroupPartitionedAnd);
11700|     91|            symbolTable.relateToOperator("subgroupPartitionedOrNV",                      EOpSubgroupPartitionedOr);
11701|     91|            symbolTable.relateToOperator("subgroupPartitionedXorNV",                     EOpSubgroupPartitionedXor);
11702|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAddNV",            EOpSubgroupPartitionedInclusiveAdd);
11703|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMulNV",            EOpSubgroupPartitionedInclusiveMul);
11704|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMinNV",            EOpSubgroupPartitionedInclusiveMin);
11705|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveMaxNV",            EOpSubgroupPartitionedInclusiveMax);
11706|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveAndNV",            EOpSubgroupPartitionedInclusiveAnd);
11707|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveOrNV",             EOpSubgroupPartitionedInclusiveOr);
11708|     91|            symbolTable.relateToOperator("subgroupPartitionedInclusiveXorNV",            EOpSubgroupPartitionedInclusiveXor);
11709|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAddNV",            EOpSubgroupPartitionedExclusiveAdd);
11710|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMulNV",            EOpSubgroupPartitionedExclusiveMul);
11711|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMinNV",            EOpSubgroupPartitionedExclusiveMin);
11712|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveMaxNV",            EOpSubgroupPartitionedExclusiveMax);
11713|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveAndNV",            EOpSubgroupPartitionedExclusiveAnd);
11714|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveOrNV",             EOpSubgroupPartitionedExclusiveOr);
11715|     91|            symbolTable.relateToOperator("subgroupPartitionedExclusiveXorNV",            EOpSubgroupPartitionedExclusiveXor);
11716|     91|        }
11717|       |
11718|    133|        if (profile == EEsProfile) {
  ------------------
  |  Branch (11718:13): [True: 42, False: 91]
  ------------------
11719|     42|            symbolTable.relateToOperator("shadow2DEXT",              EOpTexture);
11720|     42|            symbolTable.relateToOperator("shadow2DProjEXT",          EOpTextureProj);
11721|     42|        }
11722|       |
11723|       |        // GL_EXT_shader_quad_control
11724|    133|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11724:14): [True: 42, False: 91]
  |  Branch (11724:39): [True: 0, False: 42]
  ------------------
11725|    133|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11725:14): [True: 91, False: 42]
  |  Branch (11725:39): [True: 91, False: 0]
  ------------------
11726|     91|            symbolTable.relateToOperator("subgroupQuadAll",                     EOpSubgroupQuadAll);
11727|     91|            symbolTable.relateToOperator("subgroupQuadAny",                     EOpSubgroupQuadAny);
11728|     91|        }
11729|       |
11730|    133|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11730:14): [True: 42, False: 91]
  |  Branch (11730:39): [True: 0, False: 42]
  ------------------
11731|    133|            (profile != EEsProfile && version >= 140)) {
  ------------------
  |  Branch (11731:14): [True: 91, False: 42]
  |  Branch (11731:39): [True: 91, False: 0]
  ------------------
11732|     91|            symbolTable.relateToOperator("textureWeightedQCOM",      EOpImageSampleWeightedQCOM);
11733|     91|            symbolTable.relateToOperator("textureBoxFilterQCOM",     EOpImageBoxFilterQCOM);
11734|     91|            symbolTable.relateToOperator("textureBlockMatchSADQCOM", EOpImageBlockMatchSADQCOM);
11735|     91|            symbolTable.relateToOperator("textureBlockMatchSSDQCOM", EOpImageBlockMatchSSDQCOM);
11736|       |
11737|     91|            symbolTable.relateToOperator("textureBlockMatchWindowSSDQCOM", EOpImageBlockMatchWindowSSDQCOM);
11738|     91|            symbolTable.relateToOperator("textureBlockMatchWindowSADQCOM", EOpImageBlockMatchWindowSADQCOM);
11739|     91|            symbolTable.relateToOperator("textureBlockMatchGatherSSDQCOM", EOpImageBlockMatchGatherSSDQCOM);
11740|     91|            symbolTable.relateToOperator("textureBlockMatchGatherSADQCOM", EOpImageBlockMatchGatherSADQCOM);
11741|     91|        }
11742|       |
11743|    133|        if ((profile == EEsProfile && version >= 310) ||
  ------------------
  |  Branch (11743:14): [True: 42, False: 91]
  |  Branch (11743:39): [True: 0, False: 42]
  ------------------
11744|    133|            (profile != EEsProfile && version >= 130)) {
  ------------------
  |  Branch (11744:14): [True: 91, False: 42]
  |  Branch (11744:39): [True: 91, False: 0]
  ------------------
11745|     91|            symbolTable.relateToOperator("textureGather4x1QCOM", EOpTextureGather4x1QCOM);
11746|     91|            symbolTable.relateToOperator("textureGatherV2QCOM",  EOpTextureGatherV2QCOM);
11747|     91|            symbolTable.relateToOperator("textureGatherH2QCOM",  EOpTextureGatherH2QCOM);
11748|     91|            symbolTable.relateToOperator("textureGatherDQCOM",   EOpTextureGatherDQCOM);
11749|     91|            symbolTable.relateToOperator("textureGather4x1OffsetQCOM", EOpTextureGather4x1OffsetQCOM);
11750|     91|            symbolTable.relateToOperator("textureGatherV2OffsetQCOM",  EOpTextureGatherV2OffsetQCOM);
11751|     91|            symbolTable.relateToOperator("textureGatherH2OffsetQCOM",  EOpTextureGatherH2OffsetQCOM);
11752|     91|            symbolTable.relateToOperator("textureGatherDOffsetQCOM",   EOpTextureGatherDOffsetQCOM);
11753|     91|        }
11754|       |
11755|    133|        if (profile != EEsProfile && spvVersion.spv == 0) {
  ------------------
  |  Branch (11755:13): [True: 91, False: 42]
  |  Branch (11755:38): [True: 91, False: 0]
  ------------------
11756|     91|            symbolTable.relateToOperator("texture1DArray", EOpTexture);
11757|     91|            symbolTable.relateToOperator("texture2DArray", EOpTexture);
11758|     91|            symbolTable.relateToOperator("shadow1DArray", EOpTexture);
11759|     91|            symbolTable.relateToOperator("shadow2DArray", EOpTexture);
11760|       |
11761|     91|            symbolTable.relateToOperator("texture1DArrayLod", EOpTextureLod);
11762|     91|            symbolTable.relateToOperator("texture2DArrayLod", EOpTextureLod);
11763|     91|            symbolTable.relateToOperator("shadow1DArrayLod", EOpTextureLod);
11764|     91|        }
11765|       |
11766|    133|        symbolTable.relateToOperator("coopVecMatMulNV",              EOpCooperativeVectorMatMulNV);
11767|    133|        symbolTable.relateToOperator("coopVecMatMulAddNV",           EOpCooperativeVectorMatMulAddNV);
11768|    133|        symbolTable.relateToOperator("coopVecLoadNV",                EOpCooperativeVectorLoadNV);
11769|    133|        symbolTable.relateToOperator("coopVecStoreNV",               EOpCooperativeVectorStoreNV);
11770|    133|        symbolTable.relateToOperator("coopVecOuterProductAccumulateNV", EOpCooperativeVectorOuterProductAccumulateNV);
11771|    133|        symbolTable.relateToOperator("coopVecReduceSumAccumulateNV",    EOpCooperativeVectorReduceSumAccumulateNV);
11772|    133|    }
11773|       |
11774|    133|    switch(language) {
11775|     45|    case EShLangVertex:
  ------------------
  |  Branch (11775:5): [True: 45, False: 88]
  ------------------
11776|     45|        break;
11777|       |
11778|      7|    case EShLangTessControl:
  ------------------
  |  Branch (11778:5): [True: 7, False: 126]
  ------------------
11779|     14|    case EShLangTessEvaluation:
  ------------------
  |  Branch (11779:5): [True: 7, False: 126]
  ------------------
11780|     14|        break;
11781|       |
11782|      7|    case EShLangGeometry:
  ------------------
  |  Branch (11782:5): [True: 7, False: 126]
  ------------------
11783|      7|        symbolTable.relateToOperator("EmitStreamVertex",   EOpEmitStreamVertex);
11784|      7|        symbolTable.relateToOperator("EndStreamPrimitive", EOpEndStreamPrimitive);
11785|      7|        symbolTable.relateToOperator("EmitVertex",         EOpEmitVertex);
11786|      7|        symbolTable.relateToOperator("EndPrimitive",       EOpEndPrimitive);
11787|      7|        break;
11788|       |
11789|      4|    case EShLangFragment:
  ------------------
  |  Branch (11789:5): [True: 4, False: 129]
  ------------------
11790|      4|        if (profile != EEsProfile && version >= 400) {
  ------------------
  |  Branch (11790:13): [True: 0, False: 4]
  |  Branch (11790:38): [True: 0, False: 0]
  ------------------
11791|      0|            symbolTable.relateToOperator("dFdxFine",     EOpDPdxFine);
11792|      0|            symbolTable.relateToOperator("dFdyFine",     EOpDPdyFine);
11793|      0|            symbolTable.relateToOperator("fwidthFine",   EOpFwidthFine);
11794|      0|            symbolTable.relateToOperator("dFdxCoarse",   EOpDPdxCoarse);
11795|      0|            symbolTable.relateToOperator("dFdyCoarse",   EOpDPdyCoarse);
11796|      0|            symbolTable.relateToOperator("fwidthCoarse", EOpFwidthCoarse);
11797|      0|        }
11798|       |
11799|      4|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11799:13): [True: 0, False: 4]
  |  Branch (11799:38): [True: 0, False: 0]
  ------------------
11800|      0|            symbolTable.relateToOperator("rayQueryInitializeEXT",                                             EOpRayQueryInitialize);
11801|      0|            symbolTable.relateToOperator("rayQueryTerminateEXT",                                              EOpRayQueryTerminate);
11802|      0|            symbolTable.relateToOperator("rayQueryGenerateIntersectionEXT",                                   EOpRayQueryGenerateIntersection);
11803|      0|            symbolTable.relateToOperator("rayQueryConfirmIntersectionEXT",                                    EOpRayQueryConfirmIntersection);
11804|      0|            symbolTable.relateToOperator("rayQueryProceedEXT",                                                EOpRayQueryProceed);
11805|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTypeEXT",                                    EOpRayQueryGetIntersectionType);
11806|      0|            symbolTable.relateToOperator("rayQueryGetRayTMinEXT",                                             EOpRayQueryGetRayTMin);
11807|      0|            symbolTable.relateToOperator("rayQueryGetRayFlagsEXT",                                            EOpRayQueryGetRayFlags);
11808|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTEXT",                                       EOpRayQueryGetIntersectionT);
11809|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceCustomIndexEXT",                     EOpRayQueryGetIntersectionInstanceCustomIndex);
11810|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceIdEXT",                              EOpRayQueryGetIntersectionInstanceId);
11811|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT",  EOpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffset);
11812|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionGeometryIndexEXT",                           EOpRayQueryGetIntersectionGeometryIndex);
11813|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionPrimitiveIndexEXT",                          EOpRayQueryGetIntersectionPrimitiveIndex);
11814|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionBarycentricsEXT",                            EOpRayQueryGetIntersectionBarycentrics);
11815|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionFrontFaceEXT",                               EOpRayQueryGetIntersectionFrontFace);
11816|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionCandidateAABBOpaqueEXT",                     EOpRayQueryGetIntersectionCandidateAABBOpaque);
11817|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayDirectionEXT",                      EOpRayQueryGetIntersectionObjectRayDirection);
11818|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectRayOriginEXT",                         EOpRayQueryGetIntersectionObjectRayOrigin);
11819|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayDirectionEXT",                                   EOpRayQueryGetWorldRayDirection);
11820|      0|            symbolTable.relateToOperator("rayQueryGetWorldRayOriginEXT",                                      EOpRayQueryGetWorldRayOrigin);
11821|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionObjectToWorldEXT",                           EOpRayQueryGetIntersectionObjectToWorld);
11822|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionWorldToObjectEXT",                           EOpRayQueryGetIntersectionWorldToObject);
11823|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionTriangleVertexPositionsEXT",                 EOpRayQueryGetIntersectionTriangleVertexPositionsEXT);
11824|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionClusterIdNV",                                EOpRayQueryGetIntersectionClusterIdNV);
11825|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSpherePositionNV",                           EOpRayQueryGetIntersectionSpherePositionNV);
11826|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionSphereRadiusNV",                             EOpRayQueryGetIntersectionSphereRadiusNV);
11827|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSHitValueNV",                              EOpRayQueryGetIntersectionLSSHitValueNV);
11828|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSPositionsNV",                             EOpRayQueryGetIntersectionLSSPositionsNV);
11829|      0|            symbolTable.relateToOperator("rayQueryGetIntersectionLSSRadiiNV",                                 EOpRayQueryGetIntersectionLSSRadiiNV);
11830|      0|            symbolTable.relateToOperator("rayQueryIsSphereHitNV",                                             EOpRayQueryIsSphereHitNV);
11831|      0|            symbolTable.relateToOperator("rayQueryIsLSSHitNV",                                                EOpRayQueryIsLSSHitNV);
11832|      0|        }
11833|       |
11834|      4|        symbolTable.relateToOperator("interpolateAtCentroid", EOpInterpolateAtCentroid);
11835|      4|        symbolTable.relateToOperator("interpolateAtSample",   EOpInterpolateAtSample);
11836|      4|        symbolTable.relateToOperator("interpolateAtOffset",   EOpInterpolateAtOffset);
11837|       |
11838|      4|        if (profile != EEsProfile)
  ------------------
  |  Branch (11838:13): [True: 0, False: 4]
  ------------------
11839|      0|            symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex);
11840|       |
11841|      4|        symbolTable.relateToOperator("beginInvocationInterlockARB", EOpBeginInvocationInterlock);
11842|      4|        symbolTable.relateToOperator("endInvocationInterlockARB",   EOpEndInvocationInterlock);
11843|       |
11844|      4|        symbolTable.relateToOperator("stencilAttachmentReadEXT", EOpStencilAttachmentReadEXT);
11845|      4|        symbolTable.relateToOperator("depthAttachmentReadEXT",   EOpDepthAttachmentReadEXT);
11846|      4|        symbolTable.relateToOperator("colorAttachmentReadEXT",   EOpColorAttachmentReadEXT);
11847|       |
11848|      4|        break;
11849|       |
11850|      7|    case EShLangCompute:
  ------------------
  |  Branch (11850:5): [True: 7, False: 126]
  ------------------
11851|      7|        symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
11852|      7|        if ((profile != EEsProfile && version >= 450) ||
  ------------------
  |  Branch (11852:14): [True: 7, False: 0]
  |  Branch (11852:39): [True: 7, False: 0]
  ------------------
11853|      7|            (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (11853:14): [True: 0, False: 0]
  |  Branch (11853:39): [True: 0, False: 0]
  ------------------
11854|      7|            symbolTable.relateToOperator("dFdx",        EOpDPdx);
11855|      7|            symbolTable.relateToOperator("dFdy",        EOpDPdy);
11856|      7|            symbolTable.relateToOperator("fwidth",      EOpFwidth);
11857|      7|            symbolTable.relateToOperator("dFdxFine",    EOpDPdxFine);
11858|      7|            symbolTable.relateToOperator("dFdyFine",    EOpDPdyFine);
11859|      7|            symbolTable.relateToOperator("fwidthFine",  EOpFwidthFine);
11860|      7|            symbolTable.relateToOperator("dFdxCoarse",  EOpDPdxCoarse);
11861|      7|            symbolTable.relateToOperator("dFdyCoarse",  EOpDPdyCoarse);
11862|      7|            symbolTable.relateToOperator("fwidthCoarse",EOpFwidthCoarse);
11863|      7|        }
11864|      7|        symbolTable.relateToOperator("coopMatLoadNV",              EOpCooperativeMatrixLoadNV);
11865|      7|        symbolTable.relateToOperator("coopMatStoreNV",             EOpCooperativeMatrixStoreNV);
11866|      7|        symbolTable.relateToOperator("coopMatMulAddNV",            EOpCooperativeMatrixMulAddNV);
11867|       |
11868|      7|        symbolTable.relateToOperator("coopMatLoad",                EOpCooperativeMatrixLoad);
11869|      7|        symbolTable.relateToOperator("coopMatStore",               EOpCooperativeMatrixStore);
11870|      7|        symbolTable.relateToOperator("coopMatMulAdd",              EOpCooperativeMatrixMulAdd);
11871|       |
11872|      7|        symbolTable.relateToOperator("coopMatLoadTensorNV",        EOpCooperativeMatrixLoadTensorNV);
11873|      7|        symbolTable.relateToOperator("coopMatStoreTensorNV",       EOpCooperativeMatrixStoreTensorNV);
11874|       |
11875|      7|        symbolTable.relateToOperator("coopMatReduceNV",            EOpCooperativeMatrixReduceNV);
11876|      7|        symbolTable.relateToOperator("coopMatPerElementNV",        EOpCooperativeMatrixPerElementOpNV);
11877|      7|        symbolTable.relateToOperator("coopMatTransposeNV",         EOpCooperativeMatrixTransposeNV);
11878|       |
11879|      7|        symbolTable.relateToOperator("coopMatReduceEXT",           EOpCooperativeMatrixReduceNV);
11880|      7|        symbolTable.relateToOperator("coopMatPerElementEXT",       EOpCooperativeMatrixPerElementOpNV);
11881|      7|        symbolTable.relateToOperator("coopMatTransposeEXT",        EOpCooperativeMatrixTransposeNV);
11882|      7|        symbolTable.relateToOperator("coopMatGetCoordinateEXT",    EOpCooperativeMatrixGetCoordinateEXT);
11883|       |
11884|      7|        symbolTable.relateToOperator("createTensorLayoutNV",         EOpCreateTensorLayoutNV);
11885|      7|        symbolTable.relateToOperator("setTensorLayoutBlockSizeNV",   EOpTensorLayoutSetBlockSizeNV);
11886|      7|        symbolTable.relateToOperator("setTensorLayoutDimensionNV",   EOpTensorLayoutSetDimensionNV);
11887|      7|        symbolTable.relateToOperator("setTensorLayoutStrideNV",      EOpTensorLayoutSetStrideNV);
11888|      7|        symbolTable.relateToOperator("sliceTensorLayoutNV",          EOpTensorLayoutSliceNV);
11889|      7|        symbolTable.relateToOperator("setTensorLayoutClampValueNV",  EOpTensorLayoutSetClampValueNV);
11890|       |
11891|      7|        symbolTable.relateToOperator("createTensorViewNV",           EOpCreateTensorViewNV);
11892|      7|        symbolTable.relateToOperator("setTensorViewDimensionsNV",    EOpTensorViewSetDimensionNV);
11893|      7|        symbolTable.relateToOperator("setTensorViewStrideNV",        EOpTensorViewSetStrideNV);
11894|      7|        symbolTable.relateToOperator("setTensorViewClipNV",          EOpTensorViewSetClipNV);
11895|       |
11896|      7|        symbolTable.relateToOperator("tensorReadARM",                EOpTensorReadARM);
11897|      7|        symbolTable.relateToOperator("tensorWriteARM",               EOpTensorWriteARM);
11898|      7|        symbolTable.relateToOperator("tensorSizeARM",                EOpTensorSizeARM);
11899|       |
11900|      7|        symbolTable.relateToOperator("bitcastQCOM", EOpBitCastArrayQCOM);
11901|      7|        symbolTable.relateToOperator("extractSubArrayQCOM", EOpExtractSubArrayQCOM);
11902|      7|        symbolTable.relateToOperator("vectorToCoopmatQCOM", EOpCompositeConstructCoopMatQCOM);
11903|      7|        symbolTable.relateToOperator("coopmatToVectorQCOM", EOpCompositeExtractCoopMatQCOM);
11904|       |
11905|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11905:13): [True: 7, False: 0]
  |  Branch (11905:38): [True: 0, False: 7]
  ------------------
11906|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11907|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11908|      0|        }
11909|      7|        break;
11910|       |
11911|      7|    case EShLangRayGen:
  ------------------
  |  Branch (11911:5): [True: 7, False: 126]
  ------------------
11912|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11912:13): [True: 7, False: 0]
  |  Branch (11912:38): [True: 0, False: 7]
  ------------------
11913|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
11914|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
11915|      0|        }
11916|      7|        [[fallthrough]];
11917|     14|    case EShLangClosestHit:
  ------------------
  |  Branch (11917:5): [True: 7, False: 126]
  ------------------
11918|     21|    case EShLangMiss:
  ------------------
  |  Branch (11918:5): [True: 7, False: 126]
  ------------------
11919|     21|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (11919:13): [True: 21, False: 0]
  |  Branch (11919:38): [True: 0, False: 21]
  ------------------
11920|      0|            symbolTable.relateToOperator("traceNV", EOpTraceNV);
11921|      0|            symbolTable.relateToOperator("traceRayMotionNV", EOpTraceRayMotionNV);
11922|      0|            symbolTable.relateToOperator("traceRayEXT", EOpTraceKHR);
11923|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
11924|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
11925|       |
11926|      0|            symbolTable.relateToOperator("hitObjectTraceRayNV", EOpHitObjectTraceRayNV);
11927|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionNV", EOpHitObjectTraceRayMotionNV);
11928|      0|            symbolTable.relateToOperator("hitObjectRecordHitNV", EOpHitObjectRecordHitNV);
11929|      0|            symbolTable.relateToOperator("hitObjectRecordHitMotionNV", EOpHitObjectRecordHitMotionNV);
11930|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexNV", EOpHitObjectRecordHitWithIndexNV);
11931|      0|            symbolTable.relateToOperator("hitObjectRecordHitWithIndexMotionNV", EOpHitObjectRecordHitWithIndexMotionNV);
11932|      0|            symbolTable.relateToOperator("hitObjectRecordMissNV", EOpHitObjectRecordMissNV);
11933|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionNV", EOpHitObjectRecordMissMotionNV);
11934|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyNV", EOpHitObjectRecordEmptyNV);
11935|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderNV", EOpHitObjectExecuteShaderNV);
11936|      0|            symbolTable.relateToOperator("hitObjectIsEmptyNV", EOpHitObjectIsEmptyNV);
11937|      0|            symbolTable.relateToOperator("hitObjectIsMissNV", EOpHitObjectIsMissNV);
11938|      0|            symbolTable.relateToOperator("hitObjectIsHitNV", EOpHitObjectIsHitNV);
11939|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinNV", EOpHitObjectGetRayTMinNV);
11940|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxNV", EOpHitObjectGetRayTMaxNV);
11941|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginNV", EOpHitObjectGetObjectRayOriginNV);
11942|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionNV", EOpHitObjectGetObjectRayDirectionNV);
11943|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginNV", EOpHitObjectGetWorldRayOriginNV);
11944|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionNV", EOpHitObjectGetWorldRayDirectionNV);
11945|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectNV", EOpHitObjectGetWorldToObjectNV);
11946|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldNV", EOpHitObjectGetObjectToWorldNV);
11947|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexNV", EOpHitObjectGetInstanceCustomIndexNV);
11948|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdNV", EOpHitObjectGetInstanceIdNV);
11949|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexNV", EOpHitObjectGetGeometryIndexNV);
11950|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexNV", EOpHitObjectGetPrimitiveIndexNV);
11951|      0|            symbolTable.relateToOperator("hitObjectGetHitKindNV", EOpHitObjectGetHitKindNV);
11952|      0|            symbolTable.relateToOperator("hitObjectGetAttributesNV", EOpHitObjectGetAttributesNV);
11953|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeNV", EOpHitObjectGetCurrentTimeNV);
11954|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexNV", EOpHitObjectGetShaderBindingTableRecordIndexNV);
11955|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleNV", EOpHitObjectGetShaderRecordBufferHandleNV);
11956|      0|            symbolTable.relateToOperator("hitObjectGetClusterIdNV", EOpHitObjectGetClusterIdNV);
11957|      0|            symbolTable.relateToOperator("reorderThreadNV", EOpReorderThreadNV);
11958|      0|            symbolTable.relateToOperator("hitObjectGetSpherePositionNV", EOpHitObjectGetSpherePositionNV);
11959|      0|            symbolTable.relateToOperator("hitObjectGetSphereRadiusNV", EOpHitObjectGetSphereRadiusNV);
11960|      0|            symbolTable.relateToOperator("hitObjectGetLSSPositionsNV", EOpHitObjectGetLSSPositionsNV);
11961|      0|            symbolTable.relateToOperator("hitObjectGetLSSRadiiNV", EOpHitObjectGetLSSRadiiNV);
11962|      0|            symbolTable.relateToOperator("hitObjectIsSphereHitNV", EOpHitObjectIsSphereHitNV);
11963|      0|            symbolTable.relateToOperator("hitObjectIsLSSHitNV", EOpHitObjectIsLSSHitNV);
11964|      0|            symbolTable.relateToOperator("hitObjectTraceRayEXT", EOpHitObjectTraceRayEXT);
11965|      0|            symbolTable.relateToOperator("hitObjectTraceRayMotionEXT", EOpHitObjectTraceRayMotionEXT);
11966|      0|            symbolTable.relateToOperator("hitObjectRecordMissEXT", EOpHitObjectRecordMissEXT);
11967|      0|            symbolTable.relateToOperator("hitObjectRecordMissMotionEXT", EOpHitObjectRecordMissMotionEXT);
11968|      0|            symbolTable.relateToOperator("hitObjectRecordEmptyEXT", EOpHitObjectRecordEmptyEXT);
11969|      0|            symbolTable.relateToOperator("hitObjectExecuteShaderEXT", EOpHitObjectExecuteShaderEXT);
11970|      0|            symbolTable.relateToOperator("hitObjectIsEmptyEXT", EOpHitObjectIsEmptyEXT);
11971|      0|            symbolTable.relateToOperator("hitObjectIsMissEXT", EOpHitObjectIsMissEXT);
11972|      0|            symbolTable.relateToOperator("hitObjectIsHitEXT", EOpHitObjectIsHitEXT);
11973|      0|            symbolTable.relateToOperator("hitObjectGetRayTMinEXT", EOpHitObjectGetRayTMinEXT);
11974|      0|            symbolTable.relateToOperator("hitObjectGetRayTMaxEXT", EOpHitObjectGetRayTMaxEXT);
11975|      0|            symbolTable.relateToOperator("hitObjectGetRayFlagsEXT", EOpHitObjectGetRayFlagsEXT);
11976|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayOriginEXT", EOpHitObjectGetObjectRayOriginEXT);
11977|      0|            symbolTable.relateToOperator("hitObjectGetObjectRayDirectionEXT", EOpHitObjectGetObjectRayDirectionEXT);
11978|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayOriginEXT", EOpHitObjectGetWorldRayOriginEXT);
11979|      0|            symbolTable.relateToOperator("hitObjectGetWorldRayDirectionEXT", EOpHitObjectGetWorldRayDirectionEXT);
11980|      0|            symbolTable.relateToOperator("hitObjectGetWorldToObjectEXT", EOpHitObjectGetWorldToObjectEXT);
11981|      0|            symbolTable.relateToOperator("hitObjectGetObjectToWorldEXT", EOpHitObjectGetObjectToWorldEXT);
11982|      0|            symbolTable.relateToOperator("hitObjectGetInstanceCustomIndexEXT", EOpHitObjectGetInstanceCustomIndexEXT);
11983|      0|            symbolTable.relateToOperator("hitObjectGetInstanceIdEXT", EOpHitObjectGetInstanceIdEXT);
11984|      0|            symbolTable.relateToOperator("hitObjectGetGeometryIndexEXT", EOpHitObjectGetGeometryIndexEXT);
11985|      0|            symbolTable.relateToOperator("hitObjectGetPrimitiveIndexEXT", EOpHitObjectGetPrimitiveIndexEXT);
11986|      0|            symbolTable.relateToOperator("hitObjectGetHitKindEXT", EOpHitObjectGetHitKindEXT);
11987|      0|            symbolTable.relateToOperator("hitObjectGetAttributesEXT", EOpHitObjectGetAttributesEXT);
11988|      0|            symbolTable.relateToOperator("hitObjectGetCurrentTimeEXT", EOpHitObjectGetCurrentTimeEXT);
11989|      0|            symbolTable.relateToOperator("hitObjectGetShaderBindingTableRecordIndexEXT", EOpHitObjectGetShaderBindingTableRecordIndexEXT);
11990|      0|            symbolTable.relateToOperator("hitObjectGetShaderRecordBufferHandleEXT", EOpHitObjectGetShaderRecordBufferHandleEXT);
11991|      0|            symbolTable.relateToOperator("hitObjectSetShaderBindingTableRecordIndexEXT", EOpHitObjectSetShaderBindingTableRecordIndexEXT);
11992|      0|            symbolTable.relateToOperator("reorderThreadEXT", EOpReorderThreadEXT);
11993|      0|            symbolTable.relateToOperator("hitObjectReorderExecuteEXT", EOpHitObjectReorderExecuteEXT);
11994|      0|            symbolTable.relateToOperator("hitObjectTraceReorderExecuteEXT", EOpHitObjectTraceReorderExecuteEXT);
11995|      0|            symbolTable.relateToOperator("hitObjectTraceMotionReorderExecuteEXT", EOpHitObjectTraceMotionReorderExecuteEXT);
11996|      0|            symbolTable.relateToOperator("hitObjectRecordFromQueryEXT", EOpHitObjectRecordFromQueryEXT);
11997|      0|            symbolTable.relateToOperator("hitObjectGetIntersectionTriangleVertexPositionsEXT", EOpHitObjectGetIntersectionTriangleVertexPositionsEXT);
11998|      0|        }
11999|     21|        break;
12000|      7|    case EShLangIntersect:
  ------------------
  |  Branch (12000:5): [True: 7, False: 126]
  ------------------
12001|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12001:13): [True: 7, False: 0]
  |  Branch (12001:38): [True: 0, False: 7]
  ------------------
12002|      0|            symbolTable.relateToOperator("reportIntersectionNV", EOpReportIntersection);
12003|      0|            symbolTable.relateToOperator("reportIntersectionEXT", EOpReportIntersection);
12004|      0|        }
12005|      7|        break;
12006|      7|    case EShLangAnyHit:
  ------------------
  |  Branch (12006:5): [True: 7, False: 126]
  ------------------
12007|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12007:13): [True: 7, False: 0]
  |  Branch (12007:38): [True: 0, False: 7]
  ------------------
12008|      0|            symbolTable.relateToOperator("ignoreIntersectionNV", EOpIgnoreIntersectionNV);
12009|      0|            symbolTable.relateToOperator("terminateRayNV", EOpTerminateRayNV);
12010|      0|        }
12011|      7|        break;
12012|      7|    case EShLangCallable:
  ------------------
  |  Branch (12012:5): [True: 7, False: 126]
  ------------------
12013|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12013:13): [True: 7, False: 0]
  |  Branch (12013:38): [True: 0, False: 7]
  ------------------
12014|      0|            symbolTable.relateToOperator("executeCallableNV", EOpExecuteCallableNV);
12015|      0|            symbolTable.relateToOperator("executeCallableEXT", EOpExecuteCallableKHR);
12016|      0|        }
12017|      7|        break;
12018|      7|    case EShLangMesh:
  ------------------
  |  Branch (12018:5): [True: 7, False: 126]
  ------------------
12019|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12019:14): [True: 7, False: 0]
  |  Branch (12019:39): [True: 7, False: 0]
  |  Branch (12019:59): [True: 0, False: 0]
  |  Branch (12019:84): [True: 0, False: 0]
  ------------------
12020|      7|            symbolTable.relateToOperator("writePackedPrimitiveIndices4x8NV", EOpWritePackedPrimitiveIndices4x8NV);
12021|      7|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12022|      7|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12023|      7|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12024|      7|        }
12025|       |
12026|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12026:13): [True: 7, False: 0]
  |  Branch (12026:38): [True: 7, False: 0]
  ------------------
12027|      7|            symbolTable.relateToOperator("SetMeshOutputsEXT", EOpSetMeshOutputsEXT);
12028|      7|        }
12029|       |
12030|      7|        if (profile != EEsProfile && version >= 460) {
  ------------------
  |  Branch (12030:13): [True: 7, False: 0]
  |  Branch (12030:38): [True: 0, False: 7]
  ------------------
12031|       |            // Builtins for GL_NV_displacement_micromap.
12032|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexPositionNV", EOpFetchMicroTriangleVertexPositionNV);
12033|      0|            symbolTable.relateToOperator("fetchMicroTriangleVertexBarycentricNV", EOpFetchMicroTriangleVertexBarycentricNV);
12034|      0|        }
12035|      7|        break;
12036|      7|    case EShLangTask:
  ------------------
  |  Branch (12036:5): [True: 7, False: 126]
  ------------------
12037|      7|        if ((profile != EEsProfile && version >= 450) || (profile == EEsProfile && version >= 320)) {
  ------------------
  |  Branch (12037:14): [True: 7, False: 0]
  |  Branch (12037:39): [True: 7, False: 0]
  |  Branch (12037:59): [True: 0, False: 0]
  |  Branch (12037:84): [True: 0, False: 0]
  ------------------
12038|      7|            symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);
12039|      7|            symbolTable.relateToOperator("groupMemoryBarrier", EOpGroupMemoryBarrier);
12040|      7|            symbolTable.relateToOperator("subgroupMemoryBarrierShared", EOpSubgroupMemoryBarrierShared);
12041|      7|        }
12042|      7|        if (profile != EEsProfile && version >= 450) {
  ------------------
  |  Branch (12042:13): [True: 7, False: 0]
  |  Branch (12042:38): [True: 7, False: 0]
  ------------------
12043|      7|            symbolTable.relateToOperator("EmitMeshTasksEXT", EOpEmitMeshTasksEXT);
12044|      7|        }
12045|      7|        break;
12046|       |
12047|      0|    default:
  ------------------
  |  Branch (12047:5): [True: 0, False: 133]
  ------------------
12048|       |        assert(false && "Language not supported");
12049|    133|    }
12050|    133|}
_ZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableERK16TBuiltInResource:
12062|      4|{
12063|      4|    if (profile != EEsProfile && version >= 430 && version < 440) {
  ------------------
  |  Branch (12063:9): [True: 0, False: 4]
  |  Branch (12063:34): [True: 0, False: 0]
  |  Branch (12063:52): [True: 0, False: 0]
  ------------------
12064|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackBuffers", 1, &E_GL_ARB_enhanced_layouts);
12065|      0|        symbolTable.setVariableExtensions("gl_MaxTransformFeedbackInterleavedComponents", 1, &E_GL_ARB_enhanced_layouts);
12066|      0|    }
12067|      4|    if (profile != EEsProfile && version >= 130 && version < 420) {
  ------------------
  |  Branch (12067:9): [True: 0, False: 4]
  |  Branch (12067:34): [True: 0, False: 0]
  |  Branch (12067:52): [True: 0, False: 0]
  ------------------
12068|      0|        symbolTable.setVariableExtensions("gl_MinProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12069|      0|        symbolTable.setVariableExtensions("gl_MaxProgramTexelOffset", 1, &E_GL_ARB_shading_language_420pack);
12070|      0|    }
12071|      4|    if (profile != EEsProfile && version >= 150 && version < 410)
  ------------------
  |  Branch (12071:9): [True: 0, False: 4]
  |  Branch (12071:34): [True: 0, False: 0]
  |  Branch (12071:52): [True: 0, False: 0]
  ------------------
12072|      0|        symbolTable.setVariableExtensions("gl_MaxViewports", 1, &E_GL_ARB_viewport_array);
12073|       |
12074|      4|    switch(language) {
12075|      0|    case EShLangFragment:
  ------------------
  |  Branch (12075:5): [True: 0, False: 4]
  ------------------
12076|       |        // Set up gl_FragData based on current array size.
12077|      0|        if (version == 100 || IncludeLegacy(version, profile, spvVersion) || (! ForwardCompatibility && profile != EEsProfile && version < 420)) {
  ------------------
  |  Branch (12077:13): [True: 0, False: 0]
  |  Branch (12077:31): [True: 0, False: 0]
  |  Branch (12077:79): [True: 0, Folded]
  |  Branch (12077:105): [True: 0, False: 0]
  |  Branch (12077:130): [True: 0, False: 0]
  ------------------
12078|      0|            TPrecisionQualifier pq = profile == EEsProfile ? EpqMedium : EpqNone;
  ------------------
  |  Branch (12078:38): [True: 0, False: 0]
  ------------------
12079|      0|            TType fragData(EbtFloat, EvqFragColor, pq, 4);
12080|      0|            TArraySizes* arraySizes = new TArraySizes;
12081|      0|            arraySizes->addInnerSize(resources.maxDrawBuffers);
12082|      0|            fragData.transferArraySizes(arraySizes);
12083|      0|            symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData"), fragData));
12084|      0|            SpecialQualifier("gl_FragData", EvqFragColor, EbvFragData, symbolTable);
12085|      0|        }
12086|       |
12087|       |        // GL_EXT_blend_func_extended
12088|      0|        if (profile == EEsProfile && version >= 100) {
  ------------------
  |  Branch (12088:13): [True: 0, False: 0]
  |  Branch (12088:38): [True: 0, False: 0]
  ------------------
12089|      0|           symbolTable.setVariableExtensions("gl_MaxDualSourceDrawBuffersEXT",    1, &E_GL_EXT_blend_func_extended);
12090|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragColorEXT",    1, &E_GL_EXT_blend_func_extended);
12091|      0|           symbolTable.setVariableExtensions("gl_SecondaryFragDataEXT",    1, &E_GL_EXT_blend_func_extended);
12092|      0|           SpecialQualifier("gl_SecondaryFragColorEXT", EvqVaryingOut, EbvSecondaryFragColorEXT, symbolTable);
12093|      0|           SpecialQualifier("gl_SecondaryFragDataEXT", EvqVaryingOut, EbvSecondaryFragDataEXT, symbolTable);
12094|      0|        }
12095|       |
12096|      0|        break;
12097|       |
12098|      0|    case EShLangTessControl:
  ------------------
  |  Branch (12098:5): [True: 0, False: 4]
  ------------------
12099|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (12099:5): [True: 0, False: 4]
  ------------------
12100|       |        // Because of the context-dependent array size (gl_MaxPatchVertices),
12101|       |        // these variables were added later than the others and need to be mapped now.
12102|       |
12103|       |        // standard members
12104|      0|        BuiltInVariable("gl_in", "gl_Position",     EbvPosition,     symbolTable);
12105|      0|        BuiltInVariable("gl_in", "gl_PointSize",    EbvPointSize,    symbolTable);
12106|      0|        BuiltInVariable("gl_in", "gl_ClipDistance", EbvClipDistance, symbolTable);
12107|      0|        BuiltInVariable("gl_in", "gl_CullDistance", EbvCullDistance, symbolTable);
12108|       |
12109|       |        // compatibility members
12110|      0|        BuiltInVariable("gl_in", "gl_ClipVertex",          EbvClipVertex,          symbolTable);
12111|      0|        BuiltInVariable("gl_in", "gl_FrontColor",          EbvFrontColor,          symbolTable);
12112|      0|        BuiltInVariable("gl_in", "gl_BackColor",           EbvBackColor,           symbolTable);
12113|      0|        BuiltInVariable("gl_in", "gl_FrontSecondaryColor", EbvFrontSecondaryColor, symbolTable);
12114|      0|        BuiltInVariable("gl_in", "gl_BackSecondaryColor",  EbvBackSecondaryColor,  symbolTable);
12115|      0|        BuiltInVariable("gl_in", "gl_TexCoord",            EbvTexCoord,            symbolTable);
12116|      0|        BuiltInVariable("gl_in", "gl_FogFragCoord",        EbvFogFragCoord,        symbolTable);
12117|       |
12118|      0|        symbolTable.setVariableExtensions("gl_in", "gl_SecondaryPositionNV", 1, &E_GL_NV_stereo_view_rendering);
12119|      0|        symbolTable.setVariableExtensions("gl_in", "gl_PositionPerViewNV",   1, &E_GL_NVX_multiview_per_view_attributes);
12120|       |
12121|      0|        BuiltInVariable("gl_in", "gl_SecondaryPositionNV", EbvSecondaryPositionNV, symbolTable);
12122|      0|        BuiltInVariable("gl_in", "gl_PositionPerViewNV",   EbvPositionPerViewNV,   symbolTable);
12123|       |
12124|       |        // extension requirements
12125|      0|        if (profile == EEsProfile) {
  ------------------
  |  Branch (12125:13): [True: 0, False: 0]
  ------------------
12126|      0|            symbolTable.setVariableExtensions("gl_in", "gl_PointSize", Num_AEP_tessellation_point_size, AEP_tessellation_point_size);
12127|      0|        }
12128|       |
12129|      0|        break;
12130|       |
12131|      4|    default:
  ------------------
  |  Branch (12131:5): [True: 4, False: 0]
  ------------------
12132|      4|        break;
12133|      4|    }
12134|      4|}
Initialize.cpp:_ZZN7glslang9TBuiltIns17addTabledBuiltinsEi8EProfileRKNS_10SpvVersionEENK3$_0clERNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEERK4spanIKNS_12_GLOBAL__N_115BuiltInFunctionEE:
  510|     97|    const auto forEachFunction = [&](TString& decls, const span<const BuiltInFunction>& functions) {
  511|  3.71k|        for (const auto& fn : functions) {
  ------------------
  |  Branch (511:29): [True: 3.71k, False: 97]
  ------------------
  512|  3.71k|            if (ValidVersion(fn, version, profile, spvVersion)) {
  ------------------
  |  Branch (512:17): [True: 2.41k, False: 1.29k]
  ------------------
  513|  2.41k|                AddTabledBuiltin(decls, fn);
  514|  2.41k|                if (profile != EEsProfile) {
  ------------------
  |  Branch (514:21): [True: 595, False: 1.82k]
  ------------------
  515|    595|                    AddLongVectorBuiltin(decls, fn);
  516|    595|                }
  517|  2.41k|            }
  518|  3.71k|        }
  519|     97|    };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_112ValidVersionERKNS0_15BuiltInFunctionEi8EProfileRKNS_10SpvVersionE:
  476|  3.71k|{
  477|       |    // nullptr means always valid
  478|  3.71k|    if (function.versioning.empty())
  ------------------
  |  Branch (478:9): [True: 2.18k, False: 1.53k]
  ------------------
  479|  2.18k|        return true;
  480|       |
  481|       |    // check for what is said about our current profile
  482|  3.06k|    for (const auto& v : function.versioning) {
  ------------------
  |  Branch (482:24): [True: 3.06k, False: 1.29k]
  ------------------
  483|  3.06k|        if ((v.profiles & profile) != 0) {
  ------------------
  |  Branch (483:13): [True: 1.53k, False: 1.53k]
  ------------------
  484|  1.53k|            if (v.minCoreVersion <= version || (v.numExtensions > 0 && v.minExtendedVersion <= version))
  ------------------
  |  Branch (484:17): [True: 238, False: 1.29k]
  |  Branch (484:49): [True: 0, False: 1.29k]
  |  Branch (484:72): [True: 0, False: 0]
  ------------------
  485|    238|                return true;
  486|  1.53k|        }
  487|  3.06k|    }
  488|       |
  489|  1.29k|    return false;
  490|  1.53k|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  322|  2.41k|{
  323|  2.41k|    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.41k|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  329|  5.21k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (329:25): [True: 2.80k, False: 2.41k]
  |  Branch (329:34): [True: 1.14k, False: 4.07k]
  ------------------
  330|       |
  331|  2.80k|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (331:13): [True: 2.41k, False: 381]
  |  Branch (331:27): [True: 45, False: 2.37k]
  ------------------
  332|     45|            continue;
  333|       |
  334|       |        // walk the type strings in TypeString[]
  335|  46.8k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (335:28): [True: 44.0k, False: 2.75k]
  ------------------
  336|       |            // skip types not selected: go from type to row number to type bit
  337|  44.0k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (337:17): [True: 31.2k, False: 12.8k]
  ------------------
  338|  31.2k|                continue;
  339|       |
  340|       |            // if we aren't on a scalar, and should be, skip
  341|  12.8k|            if ((function.classes & ClassV1) && !isScalarType(type))
  ------------------
  |  Branch (341:17): [True: 448, False: 12.4k]
  |  Branch (341:49): [True: 336, False: 112]
  ------------------
  342|    336|                continue;
  343|       |
  344|       |            // if we aren't on a 3-vector, and should be, skip
  345|  12.5k|            if ((function.classes & ClassV3) && (type & TypeStringColumnMask) != 2)
  ------------------
  |  Branch (345:17): [True: 180, False: 12.3k]
  |  Branch (345:49): [True: 135, False: 45]
  ------------------
  346|    135|                continue;
  347|       |
  348|       |            // skip replication of all arg scalars between the varying arg set and the fixed args
  349|  12.4k|            if (fixed == 1 && type == (type & TypeStringScalarMask) && (function.classes & ClassXLS) == 0)
  ------------------
  |  Branch (349:17): [True: 1.60k, False: 10.8k]
  |  Branch (349:31): [True: 402, False: 1.20k]
  |  Branch (349:72): [True: 357, False: 45]
  ------------------
  350|    357|                continue;
  351|       |
  352|       |            // skip scalars when we are told to
  353|  12.0k|            if ((function.classes & ClassNS) && isScalarType(type))
  ------------------
  |  Branch (353:17): [True: 3.22k, False: 8.82k]
  |  Branch (353:49): [True: 807, False: 2.42k]
  ------------------
  354|    807|                continue;
  355|       |
  356|       |            // return type
  357|  11.2k|            if (function.classes & ClassB)
  ------------------
  |  Branch (357:17): [True: 2.07k, False: 9.17k]
  ------------------
  358|  2.07k|                decls.append(TypeString[type & TypeStringColumnMask]);
  359|  9.17k|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (359:22): [True: 810, False: 8.36k]
  ------------------
  360|    810|                decls.append(TypeString[type & TypeStringScalarMask]);
  361|  8.36k|            else
  362|  8.36k|                decls.append(TypeString[type]);
  363|  11.2k|            decls.append(" ");
  364|  11.2k|            decls.append(function.name);
  365|  11.2k|            decls.append("(");
  366|       |
  367|       |            // arguments
  368|  30.0k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (368:31): [True: 18.8k, False: 11.2k]
  ------------------
  369|  18.8k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (369:21): [True: 11.2k, False: 7.60k]
  |  Branch (369:57): [True: 28, False: 11.2k]
  ------------------
  370|     28|                    decls.append("out ");
  371|  18.8k|                if (arg == 0) {
  ------------------
  |  Branch (371:21): [True: 11.2k, False: 7.60k]
  ------------------
  372|  11.2k|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (372:25): [True: 112, False: 11.1k]
  ------------------
  373|    112|                        decls.append("coherent volatile nontemporal ");
  374|  11.2k|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (374:25): [True: 112, False: 11.1k]
  ------------------
  375|    112|                        decls.append("inout ");
  376|  11.2k|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (376:25): [True: 0, False: 11.2k]
  ------------------
  377|      0|                        decls.append("out ");
  378|  11.2k|                }
  379|  18.8k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (379:21): [True: 252, False: 18.5k]
  |  Branch (379:53): [True: 84, False: 168]
  ------------------
  380|     84|                    decls.append(TypeString[type & TypeStringColumnMask]);
  381|  18.7k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (381:26): [True: 3.12k, False: 15.6k]
  |  Branch (381:37): [True: 1.25k, False: 1.87k]
  |  Branch (381:73): [True: 981, False: 270]
  ------------------
  382|  1.25k|                                                                                                       ClassLS2))) ||
  383|  2.14k|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (383:37): [True: 1.25k, False: 897]
  |  Branch (383:73): [True: 177, False: 1.07k]
  ------------------
  384|  1.97k|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (384:37): [True: 1.25k, False: 720]
  |  Branch (384:73): [True: 270, False: 981]
  ------------------
  385|  1.70k|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (385:37): [True: 585, False: 1.11k]
  |  Branch (385:73): [True: 135, False: 450]
  ------------------
  386|  1.56k|                    decls.append(TypeString[type & TypeStringScalarMask]);
  387|  17.1k|                else
  388|  17.1k|                    decls.append(TypeString[type]);
  389|  18.8k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (389:21): [True: 7.60k, False: 11.2k]
  ------------------
  390|  7.60k|                    decls.append(",");
  391|  18.8k|            }
  392|  11.2k|            decls.append(");\n");
  393|  11.2k|        }
  394|  2.75k|    }
  395|  2.41k|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_116AddTabledBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  323|  3.67k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionE:
  401|    595|{
  402|    595|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
  403|       |
  404|       |    // loop across these two:
  405|       |    //  0: the varying arg set, and
  406|       |    //  1: the fixed scalar args
  407|    595|    const ArgClass ClassFixed = (ArgClass)(ClassLS | ClassXLS | ClassLS2 | ClassFS | ClassFS2);
  408|  1.26k|    for (int fixed = 0; fixed < ((function.classes & ClassFixed) > 0 ? 2 : 1); ++fixed) {
  ------------------
  |  Branch (408:25): [True: 672, False: 595]
  |  Branch (408:34): [True: 231, False: 1.03k]
  ------------------
  409|       |
  410|    672|        if (fixed == 0 && (function.classes & ClassXLS))
  ------------------
  |  Branch (410:13): [True: 595, False: 77]
  |  Branch (410:27): [True: 7, False: 588]
  ------------------
  411|      7|            continue;
  412|       |
  413|       |        // Iterate over the different scalar types (needed for ClassRS)
  414|  11.3k|        for (int type = 0; type < TypeStringCount; ++type) {
  ------------------
  |  Branch (414:28): [True: 10.6k, False: 665]
  ------------------
  415|  10.6k|            if (!isScalarType(type))
  ------------------
  |  Branch (415:17): [True: 7.98k, False: 2.66k]
  ------------------
  416|  7.98k|                continue;
  417|       |
  418|       |            // skip types not selected: go from type to row number to type bit
  419|  2.66k|            if ((function.types & (1 << (type >> TypeStringRowShift))) == 0)
  ------------------
  |  Branch (419:17): [True: 1.83k, False: 826]
  ------------------
  420|  1.83k|                continue;
  421|       |
  422|       |            // skip scalar-only
  423|    826|            if (function.classes & ClassV1)
  ------------------
  |  Branch (423:17): [True: 112, False: 714]
  ------------------
  424|    112|                continue;
  425|       |
  426|       |            // skip 3-vector
  427|    714|            if (function.classes & ClassV3)
  ------------------
  |  Branch (427:17): [True: 7, False: 707]
  ------------------
  428|      7|                continue;
  429|       |
  430|    707|            TString decl;
  431|       |            // return type
  432|    707|            if (function.classes & ClassB)
  ------------------
  |  Branch (432:17): [True: 154, False: 553]
  ------------------
  433|    154|                decl.append("vector");
  434|    553|            else if (function.classes & ClassRS)
  ------------------
  |  Branch (434:22): [True: 35, False: 518]
  ------------------
  435|     35|                decl.append(TypeString[type & TypeStringScalarMask]);
  436|    518|            else
  437|    518|                decl.append("vector");
  438|    707|            decl.append(" ");
  439|    707|            decl.append(function.name);
  440|    707|            decl.append("(");
  441|       |
  442|       |            // arguments
  443|  1.93k|            for (int arg = 0; arg < function.numArguments; ++arg) {
  ------------------
  |  Branch (443:31): [True: 1.22k, False: 707]
  ------------------
  444|  1.22k|                if (arg == function.numArguments - 1 && (function.classes & ClassLO))
  ------------------
  |  Branch (444:21): [True: 707, False: 518]
  |  Branch (444:57): [True: 7, False: 700]
  ------------------
  445|      7|                    decl.append("out ");
  446|  1.22k|                if (arg == 0) {
  ------------------
  |  Branch (446:21): [True: 707, False: 518]
  ------------------
  447|    707|                    if (function.classes & ClassCVN)
  ------------------
  |  Branch (447:25): [True: 0, False: 707]
  ------------------
  448|      0|                        decl.append("coherent volatile nontemporal ");
  449|    707|                    if (function.classes & ClassFIO)
  ------------------
  |  Branch (449:25): [True: 0, False: 707]
  ------------------
  450|      0|                        decl.append("inout ");
  451|    707|                    if (function.classes & ClassFO)
  ------------------
  |  Branch (451:25): [True: 0, False: 707]
  ------------------
  452|      0|                        decl.append("out ");
  453|    707|                }
  454|  1.22k|                if ((function.classes & ClassLB) && arg == function.numArguments - 1)
  ------------------
  |  Branch (454:21): [True: 63, False: 1.16k]
  |  Branch (454:53): [True: 21, False: 42]
  ------------------
  455|     21|                    decl.append("vector");
  456|  1.20k|                else if (fixed && ((arg == function.numArguments - 1 && (function.classes & (ClassLS | ClassXLS |
  ------------------
  |  Branch (456:26): [True: 238, False: 966]
  |  Branch (456:37): [True: 98, False: 140]
  |  Branch (456:73): [True: 84, False: 14]
  ------------------
  457|     98|                                                                                                       ClassLS2))) ||
  458|    154|                                   (arg == function.numArguments - 2 && (function.classes & ClassLS2))             ||
  ------------------
  |  Branch (458:37): [True: 98, False: 56]
  |  Branch (458:73): [True: 21, False: 77]
  ------------------
  459|    133|                                   (arg == 0                         && (function.classes & (ClassFS | ClassFS2))) ||
  ------------------
  |  Branch (459:37): [True: 98, False: 35]
  |  Branch (459:73): [True: 14, False: 84]
  ------------------
  460|    119|                                   (arg == 1                         && (function.classes & ClassFS2))))
  ------------------
  |  Branch (460:37): [True: 28, False: 91]
  |  Branch (460:73): [True: 7, False: 21]
  ------------------
  461|    126|                    decl.append(TypeString[type & TypeStringScalarMask]);
  462|  1.07k|                else
  463|  1.07k|                    decl.append("vector");
  464|  1.22k|                if (arg < function.numArguments - 1)
  ------------------
  |  Branch (464:21): [True: 518, False: 707]
  ------------------
  465|    518|                    decl.append(",");
  466|  1.22k|            }
  467|    707|            decl.append(");\n");
  468|       |
  469|    707|            decls.append(decl);
  470|    707|        }
  471|    665|    }
  472|    595|}
Initialize.cpp:_ZZN7glslang12_GLOBAL__N_120AddLongVectorBuiltinERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS0_15BuiltInFunctionEENK3$_0clEi:
  402|  10.6k|    const auto isScalarType = [](int type) { return (type & TypeStringColumnMask) == 0; };
_ZN7glslang13IncludeLegacyEi8EProfileRKNS_10SpvVersionE:
  537|    343|{
  538|    343|    return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCompatibility) ||
  ------------------
  |  Branch (538:12): [True: 217, False: 126]
  |  Branch (538:38): [True: 0, False: 217]
  |  Branch (538:57): [True: 217, False: 0]
  |  Branch (538:80): [True: 0, False: 217]
  |  Branch (538:98): [True: 0, Folded]
  ------------------
  539|    217|           profile == ECompatibilityProfile);
  ------------------
  |  Branch (539:12): [True: 0, False: 217]
  ------------------
  540|    343|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcNS_16TBuiltInVariableERNS_12TSymbolTableE:
 9108|  3.69k|{
 9109|  3.69k|    TSymbol* symbol = symbolTable.find(name);
 9110|  3.69k|    if (symbol == nullptr)
  ------------------
  |  Branch (9110:9): [True: 1.92k, False: 1.76k]
  ------------------
 9111|  1.92k|        return;
 9112|       |
 9113|  1.76k|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9114|  1.76k|    symQualifier.builtIn = builtIn;
 9115|  1.76k|}
Initialize.cpp:_ZN7glslangL16SpecialQualifierEPKcNS_17TStorageQualifierENS_16TBuiltInVariableERNS_12TSymbolTableE:
 9070|    294|{
 9071|    294|    TSymbol* symbol = symbolTable.find(name);
 9072|    294|    if (symbol == nullptr)
  ------------------
  |  Branch (9072:9): [True: 96, False: 198]
  ------------------
 9073|     96|        return;
 9074|       |
 9075|    198|    TQualifier& symQualifier = symbol->getWritableType().getQualifier();
 9076|    198|    symQualifier.storage = qualifier;
 9077|    198|    symQualifier.builtIn = builtIn;
 9078|    198|}
Initialize.cpp:_ZN7glslangL15BuiltInVariableEPKcS1_NS_16TBuiltInVariableERNS_12TSymbolTableE:
 9130|  2.05k|{
 9131|  2.05k|    TSymbol* symbol = symbolTable.find(blockName);
 9132|  2.05k|    if (symbol == nullptr)
  ------------------
  |  Branch (9132:9): [True: 1.69k, False: 357]
  ------------------
 9133|  1.69k|        return;
 9134|       |
 9135|    357|    TTypeList& structure = *symbol->getWritableType().getWritableStruct();
 9136|  1.81k|    for (int i = 0; i < (int)structure.size(); ++i) {
  ------------------
  |  Branch (9136:21): [True: 1.71k, False: 98]
  ------------------
 9137|  1.71k|        if (structure[i].type->getFieldName().compare(name) == 0) {
  ------------------
  |  Branch (9137:13): [True: 259, False: 1.45k]
  ------------------
 9138|    259|            structure[i].type->getQualifier().builtIn = builtIn;
 9139|    259|            return;
 9140|    259|        }
 9141|  1.71k|    }
 9142|    357|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm79EEEEEvRKT_RNS_12TSymbolTableE:
  499|    133|{
  500|  10.5k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 10.5k, False: 133]
  ------------------
  501|  10.5k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  10.5k|    }
  503|    133|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsINSt3__15arrayINS0_15BuiltInFunctionELm3EEEEEvRKT_RNS_12TSymbolTableE:
  499|    133|{
  500|    399|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 399, False: 133]
  ------------------
  501|    399|        symbolTable.relateToOperator(fn.name, fn.op);
  502|    399|    }
  503|    133|}
Initialize.cpp:_ZN7glslang12_GLOBAL__N_120RelateTabledBuiltinsIA39_NS0_14CustomFunctionEEEvRKT_RNS_12TSymbolTableE:
  499|    133|{
  500|  5.18k|    for (const auto& fn : functions) {
  ------------------
  |  Branch (500:25): [True: 5.18k, False: 133]
  ------------------
  501|  5.18k|        symbolTable.relateToOperator(fn.name, fn.op);
  502|  5.18k|    }
  503|    133|}
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_0clEPKc:
10364|  1.17k|            auto coopMatKHRCallback = [](const char *name) -> std::vector<const char *> {
10365|  1.17k|                std::vector<const char *> ret;
10366|  1.17k|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10366:21): [True: 630, False: 546]
  ------------------
10367|    630|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10368|    630|                } else {
10369|    546|                    ret.push_back(E_GL_KHR_cooperative_matrix);
10370|    546|                }
10371|  1.17k|                return ret;
10372|  1.17k|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_1clEPKc:
10373|    112|            auto coopMat2NVCallback = [](const char *name) -> std::vector<const char *> {
10374|    112|                std::vector<const char *> ret;
10375|    112|                if (strstr(name, "u64") != nullptr) {
  ------------------
  |  Branch (10375:21): [True: 56, False: 56]
  ------------------
10376|     56|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10377|     56|                } else {
10378|     56|                    ret.push_back(E_GL_NV_cooperative_matrix2);
10379|     56|                }
10380|    112|                return ret;
10381|    112|            };
Initialize.cpp:_ZZN7glslang9TBuiltIns16identifyBuiltInsEi8EProfileRKNS_10SpvVersionE11EShLanguageRNS_12TSymbolTableEENK3$_2clEPKc:
10420|  3.38k|            auto coopVecCallback = [](const char *name) -> std::vector<const char *> {
10421|  3.38k|                std::vector<const char *> ret;
10422|       |                // This looks for u64 as the last parameter (the offset)
10423|  3.38k|                if (strstr(name, "u641;") != nullptr) {
  ------------------
  |  Branch (10423:21): [True: 1.69k, False: 1.69k]
  ------------------
10424|  1.69k|                    ret.push_back(E_GL_EXT_shader_64bit_indexing);
10425|  1.69k|                } else {
10426|  1.69k|                    ret.push_back(E_GL_NV_cooperative_vector);
10427|  1.69k|                }
10428|  3.38k|                return ret;
10429|  3.38k|            };

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

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

_ZN7glslang13TIntermediate9addSymbolExRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEES9_RKNS_5TTypeERKNS_16TConstUnionArrayEPNS_12TIntermTypedERKNS_10TSourceLocE:
   71|    409|{
   72|    409|    TIntermSymbol* node = new TIntermSymbol(id, name, getStage(), type, &mangledName);
   73|    409|    node->setLoc(loc);
   74|    409|    node->setConstArray(constArray);
   75|    409|    node->setConstSubtree(constSubtree);
   76|       |
   77|    409|    return node;
   78|    409|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableE:
   92|     12|{
   93|     12|    glslang::TSourceLoc loc; // just a null location
   94|     12|    loc.init();
   95|       |
   96|     12|    return addSymbol(variable, loc);
   97|     12|}
_ZN7glslang13TIntermediate9addSymbolERKNS_9TVariableERKNS_10TSourceLocE:
  100|    409|{
  101|    409|    return addSymbol(variable.getUniqueId(), variable.getName(), variable.getMangledName(), variable.getType(), variable.getConstArray(), variable.getConstSubtree(), loc);
  102|    409|}
_ZN7glslang13TIntermediate13addBinaryMathENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  119|     10|{
  120|       |    // No operations work on blocks
  121|     10|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock ||
  ------------------
  |  Branch (121:9): [True: 0, False: 10]
  |  Branch (121:55): [True: 0, False: 10]
  ------------------
  122|     10|        left->getType().getBasicType() == EbtString || right->getType().getBasicType() == EbtString)
  ------------------
  |  Branch (122:9): [True: 0, False: 10]
  |  Branch (122:56): [True: 0, False: 10]
  ------------------
  123|      0|        return nullptr;
  124|       |
  125|       |    // Convert "reference +/- int" and "reference - reference" to integer math
  126|     10|    if (op == EOpAdd || op == EOpSub) {
  ------------------
  |  Branch (126:9): [True: 4, False: 6]
  |  Branch (126:25): [True: 5, False: 1]
  ------------------
  127|       |
  128|       |        // No addressing math on struct with unsized array.
  129|      9|        if ((left->isReference() && left->getType().getReferentType()->containsUnsizedArray()) ||
  ------------------
  |  Branch (129:14): [True: 0, False: 9]
  |  Branch (129:37): [True: 0, False: 0]
  ------------------
  130|      9|            (right->isReference() && right->getType().getReferentType()->containsUnsizedArray())) {
  ------------------
  |  Branch (130:14): [True: 0, False: 9]
  |  Branch (130:38): [True: 0, False: 0]
  ------------------
  131|      0|            return nullptr;
  132|      0|        }
  133|       |
  134|      9|        if (left->isReference() && isTypeInt(right->getBasicType())) {
  ------------------
  |  Branch (134:13): [True: 0, False: 9]
  |  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|      9|    }
  147|       |
  148|     10|    if (op == EOpAdd && right->isReference() && isTypeInt(left->getBasicType())) {
  ------------------
  |  Branch (148:9): [True: 4, False: 6]
  |  Branch (148:25): [True: 0, False: 4]
  |  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|     10|    if (op == EOpSub && left->isReference() && right->isReference()) {
  ------------------
  |  Branch (162:9): [True: 5, False: 5]
  |  Branch (162:25): [True: 0, False: 5]
  |  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|     10|    if (left->isReference() || right->isReference())
  ------------------
  |  Branch (179:9): [True: 0, False: 10]
  |  Branch (179:32): [True: 0, False: 10]
  ------------------
  180|      0|        return nullptr;
  181|       |
  182|       |    // Try converting the children's base types to compatible types.
  183|     10|    auto children = addPairConversion(op, left, right);
  184|     10|    left = std::get<0>(children);
  185|     10|    right = std::get<1>(children);
  186|       |
  187|     10|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (187:9): [True: 4, False: 6]
  |  Branch (187:28): [True: 0, False: 6]
  ------------------
  188|      4|        return nullptr;
  189|       |
  190|       |    // Convert the children's type shape to be compatible.
  191|      6|    addBiShapeConversion(op, left, right);
  192|      6|    if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (192:9): [True: 0, False: 6]
  |  Branch (192:28): [True: 0, False: 6]
  ------------------
  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|      6|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  200|      6|    if (! promote(node))
  ------------------
  |  Branch (200:9): [True: 0, False: 6]
  ------------------
  201|      0|        return nullptr;
  202|       |
  203|      6|    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|      6|    TIntermConstantUnion *leftTempConstant = node->getLeft()->getAsConstantUnion();
  210|      6|    TIntermConstantUnion *rightTempConstant = node->getRight()->getAsConstantUnion();
  211|      6|    if (leftTempConstant && rightTempConstant) {
  ------------------
  |  Branch (211:9): [True: 6, False: 0]
  |  Branch (211:29): [True: 6, False: 0]
  ------------------
  212|      6|        TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant);
  213|      6|        if (folded)
  ------------------
  |  Branch (213:13): [True: 6, False: 0]
  ------------------
  214|      6|            return folded;
  215|      6|    }
  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|      6|}
_ZNK7glslang13TIntermediate13addBinaryNodeENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  235|      6|{
  236|       |    // build the node
  237|      6|    TIntermBinary* node = new TIntermBinary(op);
  238|      6|    node->setLoc(loc.line != 0 ? loc : left->getLoc());
  ------------------
  |  Branch (238:18): [True: 6, False: 0]
  ------------------
  239|      6|    node->setLeft(left);
  240|      6|    node->setRight(right);
  241|       |
  242|      6|    return node;
  243|      6|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  260|     23|{
  261|     23|    TIntermUnary* node = new TIntermUnary(op);
  262|     23|    node->setLoc(loc.line != 0 ? loc : child->getLoc());
  ------------------
  |  Branch (262:18): [True: 23, False: 0]
  ------------------
  263|     23|    node->setOperand(child);
  264|       |
  265|     23|    return node;
  266|     23|}
_ZNK7glslang13TIntermediate12addUnaryNodeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocERKNS_5TTypeE:
  273|      4|{
  274|      4|    TIntermUnary* node = addUnaryNode(op, child, loc);
  275|      4|    node->setType(type);
  276|      4|    return node;
  277|      4|}
_ZN7glslang13TIntermediate9addAssignENS_9TOperatorEPNS_12TIntermTypedES3_RKNS_10TSourceLocE:
  289|      1|{
  290|       |    // No block assignment
  291|      1|    if (left->getType().getBasicType() == EbtBlock || right->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (291:9): [True: 0, False: 1]
  |  Branch (291:55): [True: 0, False: 1]
  ------------------
  292|      0|        return nullptr;
  293|       |
  294|       |    // Convert "reference += int" to "reference = reference + int". We need this because the
  295|       |    // "reference + int" calculation involves a cast back to the original type, which makes it
  296|       |    // not an lvalue.
  297|      1|    if ((op == EOpAddAssign || op == EOpSubAssign) && left->isReference()) {
  ------------------
  |  Branch (297:10): [True: 0, False: 1]
  |  Branch (297:32): [True: 0, False: 1]
  |  Branch (297:55): [True: 0, False: 0]
  ------------------
  298|      0|        if (!(right->getType().isScalar() && right->getType().isIntegerDomain()))
  ------------------
  |  Branch (298:15): [True: 0, False: 0]
  |  Branch (298:46): [True: 0, False: 0]
  ------------------
  299|      0|            return nullptr;
  300|       |
  301|      0|        TIntermTyped* node = addBinaryMath(op == EOpAddAssign ? EOpAdd : EOpSub, left, right, loc);
  ------------------
  |  Branch (301:44): [True: 0, False: 0]
  ------------------
  302|      0|        if (!node)
  ------------------
  |  Branch (302:13): [True: 0, False: 0]
  ------------------
  303|      0|            return nullptr;
  304|       |
  305|      0|        TIntermSymbol* symbol = left->getAsSymbolNode();
  306|      0|        left = addSymbol(*symbol);
  307|       |
  308|      0|        node = addAssign(EOpAssign, left, node, loc);
  309|      0|        return node;
  310|      0|    }
  311|       |
  312|       |    //
  313|       |    // Like adding binary math, except the conversion can only go
  314|       |    // from right to left.
  315|       |    //
  316|       |
  317|       |    // convert base types, nullptr return means not possible
  318|      1|    right = addConversion(op, left->getType(), right);
  319|      1|    if (right == nullptr)
  ------------------
  |  Branch (319:9): [True: 1, False: 0]
  ------------------
  320|      1|        return nullptr;
  321|       |
  322|       |    // convert shape
  323|      0|    right = addUniShapeConversion(op, left->getType(), right);
  324|       |
  325|       |    // build the node
  326|      0|    TIntermBinary* node = addBinaryNode(op, left, right, loc);
  327|       |
  328|      0|    if (! promote(node))
  ------------------
  |  Branch (328:9): [True: 0, False: 0]
  ------------------
  329|      0|        return nullptr;
  330|       |
  331|      0|    node->updatePrecision();
  332|       |
  333|      0|    return node;
  334|      0|}
_ZN7glslang13TIntermediate12addUnaryMathENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocE:
  357|    100|{
  358|    100|    if (child == nullptr)
  ------------------
  |  Branch (358:9): [True: 11, False: 89]
  ------------------
  359|     11|        return nullptr;
  360|       |
  361|     89|    if (child->getType().getBasicType() == EbtBlock)
  ------------------
  |  Branch (361:9): [True: 0, False: 89]
  ------------------
  362|      0|        return nullptr;
  363|       |
  364|     89|    switch (op) {
  365|     16|    case EOpLogicalNot:
  ------------------
  |  Branch (365:5): [True: 16, False: 73]
  ------------------
  366|     16|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (366:13): [True: 16, False: 0]
  ------------------
  367|     16|            break; // HLSL can promote logical not
  368|     16|        }
  369|       |
  370|      0|        if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) {
  ------------------
  |  Branch (370:13): [True: 0, False: 0]
  |  Branch (370:59): [True: 0, False: 0]
  |  Branch (370:90): [True: 0, False: 0]
  |  Branch (370:120): [True: 0, False: 0]
  ------------------
  371|      0|            return nullptr;
  372|      0|        }
  373|      0|        break;
  374|       |
  375|      2|    case EOpPostIncrement:
  ------------------
  |  Branch (375:5): [True: 2, False: 87]
  ------------------
  376|      2|    case EOpPreIncrement:
  ------------------
  |  Branch (376:5): [True: 0, False: 89]
  ------------------
  377|      3|    case EOpPostDecrement:
  ------------------
  |  Branch (377:5): [True: 1, False: 88]
  ------------------
  378|      3|    case EOpPreDecrement:
  ------------------
  |  Branch (378:5): [True: 0, False: 89]
  ------------------
  379|      3|    case EOpNegative:
  ------------------
  |  Branch (379:5): [True: 0, False: 89]
  ------------------
  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|     70|    default: break; // some compilers want this
  ------------------
  |  Branch (383:5): [True: 70, False: 19]
  ------------------
  384|     89|    }
  385|       |
  386|       |    //
  387|       |    // Do we need to promote the operand?
  388|       |    //
  389|     89|    TBasicType newType = EbtVoid;
  390|     89|    switch (op) {
  391|      0|    case EOpConstructBool:   newType = EbtBool;   break;
  ------------------
  |  Branch (391:5): [True: 0, False: 89]
  ------------------
  392|      0|    case EOpConstructFloat:  newType = EbtFloat;  break;
  ------------------
  |  Branch (392:5): [True: 0, False: 89]
  ------------------
  393|      7|    case EOpConstructInt:    newType = EbtInt;    break;
  ------------------
  |  Branch (393:5): [True: 7, False: 82]
  ------------------
  394|     63|    case EOpConstructUint:   newType = EbtUint;   break;
  ------------------
  |  Branch (394:5): [True: 63, False: 26]
  ------------------
  395|      0|    case EOpConstructInt8:   newType = EbtInt8;   break;
  ------------------
  |  Branch (395:5): [True: 0, False: 89]
  ------------------
  396|      0|    case EOpConstructUint8:  newType = EbtUint8;  break;
  ------------------
  |  Branch (396:5): [True: 0, False: 89]
  ------------------
  397|      0|    case EOpConstructInt16:  newType = EbtInt16;  break;
  ------------------
  |  Branch (397:5): [True: 0, False: 89]
  ------------------
  398|      0|    case EOpConstructUint16: newType = EbtUint16; break;
  ------------------
  |  Branch (398:5): [True: 0, False: 89]
  ------------------
  399|      0|    case EOpConstructInt64:  newType = EbtInt64;  break;
  ------------------
  |  Branch (399:5): [True: 0, False: 89]
  ------------------
  400|      0|    case EOpConstructUint64: newType = EbtUint64; break;
  ------------------
  |  Branch (400:5): [True: 0, False: 89]
  ------------------
  401|      0|    case EOpConstructDouble: newType = EbtDouble; break;
  ------------------
  |  Branch (401:5): [True: 0, False: 89]
  ------------------
  402|      0|    case EOpConstructFloat16: newType = EbtFloat16; break;
  ------------------
  |  Branch (402:5): [True: 0, False: 89]
  ------------------
  403|      0|    case EOpConstructBFloat16: newType = EbtBFloat16; break;
  ------------------
  |  Branch (403:5): [True: 0, False: 89]
  ------------------
  404|      0|    case EOpConstructFloatE4M3: newType = EbtFloatE4M3; break;
  ------------------
  |  Branch (404:5): [True: 0, False: 89]
  ------------------
  405|      0|    case EOpConstructFloatE5M2: newType = EbtFloatE5M2; break;
  ------------------
  |  Branch (405:5): [True: 0, False: 89]
  ------------------
  406|      0|    case EOpConstructFloatE2M1: newType = EbtFloatE2M1; break;
  ------------------
  |  Branch (406:5): [True: 0, False: 89]
  ------------------
  407|      0|    case EOpConstructFloatE3M2: newType = EbtFloatE3M2; break;
  ------------------
  |  Branch (407:5): [True: 0, False: 89]
  ------------------
  408|      0|    case EOpConstructFloatE2M3: newType = EbtFloatE2M3; break;
  ------------------
  |  Branch (408:5): [True: 0, False: 89]
  ------------------
  409|      0|    case EOpConstructFloatUE8M0: newType = EbtFloatUE8M0; break;
  ------------------
  |  Branch (409:5): [True: 0, False: 89]
  ------------------
  410|      0|    case EOpConstructFloatMXINT8: newType = EbtFloatMXINT8; break;
  ------------------
  |  Branch (410:5): [True: 0, False: 89]
  ------------------
  411|     19|    default: break; // some compilers want this
  ------------------
  |  Branch (411:5): [True: 19, False: 70]
  ------------------
  412|     89|    }
  413|       |
  414|     89|    if (newType != EbtVoid) {
  ------------------
  |  Branch (414:9): [True: 70, False: 19]
  ------------------
  415|     70|        TType newTType(newType, EvqTemporary, child->getVectorSize(), child->getMatrixCols(), child->getMatrixRows(), child->isVector());
  416|     70|        if (child->getType().isLongVector()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 70]
  ------------------
  417|      0|            newTType.shallowCopy(child->getType());
  418|      0|            newTType.setBasicType(newType);
  419|      0|            newTType.makeTemporary();
  420|      0|            newTType.getQualifier().clear();
  421|      0|        }
  422|       |
  423|     70|        child = addConversion(op, newTType, child);
  424|     70|        if (child == nullptr)
  ------------------
  |  Branch (424:13): [True: 0, False: 70]
  ------------------
  425|      0|            return nullptr;
  426|     70|    }
  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|     89|    switch (op) {
  433|      0|        case EOpConstructInt8:
  ------------------
  |  Branch (433:9): [True: 0, False: 89]
  ------------------
  434|      0|        case EOpConstructUint8:
  ------------------
  |  Branch (434:9): [True: 0, False: 89]
  ------------------
  435|      0|        case EOpConstructInt16:
  ------------------
  |  Branch (435:9): [True: 0, False: 89]
  ------------------
  436|      0|        case EOpConstructUint16:
  ------------------
  |  Branch (436:9): [True: 0, False: 89]
  ------------------
  437|      7|        case EOpConstructInt:
  ------------------
  |  Branch (437:9): [True: 7, False: 82]
  ------------------
  438|     70|        case EOpConstructUint:
  ------------------
  |  Branch (438:9): [True: 63, False: 26]
  ------------------
  439|     70|        case EOpConstructInt64:
  ------------------
  |  Branch (439:9): [True: 0, False: 89]
  ------------------
  440|     70|        case EOpConstructUint64:
  ------------------
  |  Branch (440:9): [True: 0, False: 89]
  ------------------
  441|     70|        case EOpConstructBool:
  ------------------
  |  Branch (441:9): [True: 0, False: 89]
  ------------------
  442|     70|        case EOpConstructFloat:
  ------------------
  |  Branch (442:9): [True: 0, False: 89]
  ------------------
  443|     70|        case EOpConstructDouble:
  ------------------
  |  Branch (443:9): [True: 0, False: 89]
  ------------------
  444|     70|        case EOpConstructFloat16:
  ------------------
  |  Branch (444:9): [True: 0, False: 89]
  ------------------
  445|     70|        case EOpConstructBFloat16:
  ------------------
  |  Branch (445:9): [True: 0, False: 89]
  ------------------
  446|     70|        case EOpConstructFloatE5M2:
  ------------------
  |  Branch (446:9): [True: 0, False: 89]
  ------------------
  447|     70|        case EOpConstructFloatE4M3:
  ------------------
  |  Branch (447:9): [True: 0, False: 89]
  ------------------
  448|     70|        case EOpConstructFloatE2M1:
  ------------------
  |  Branch (448:9): [True: 0, False: 89]
  ------------------
  449|     70|        case EOpConstructFloatE3M2:
  ------------------
  |  Branch (449:9): [True: 0, False: 89]
  ------------------
  450|     70|        case EOpConstructFloatE2M3:
  ------------------
  |  Branch (450:9): [True: 0, False: 89]
  ------------------
  451|     70|        case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (451:9): [True: 0, False: 89]
  ------------------
  452|     70|        case EOpConstructFloatMXINT8: {
  ------------------
  |  Branch (452:9): [True: 0, False: 89]
  ------------------
  453|     70|            TIntermUnary* unary_node = child->getAsUnaryNode();
  454|     70|            if (unary_node != nullptr)
  ------------------
  |  Branch (454:17): [True: 4, False: 66]
  ------------------
  455|      4|                unary_node->updatePrecision();
  456|     70|            return child;
  457|     70|        }
  458|     19|        default: break; // some compilers want this
  ------------------
  |  Branch (458:9): [True: 19, False: 70]
  ------------------
  459|     89|    }
  460|       |
  461|       |    //
  462|       |    // Make a new node for the operator.
  463|       |    //
  464|     19|    TIntermUnary* node = addUnaryNode(op, child, loc);
  465|       |
  466|     19|    if (! promote(node))
  ------------------
  |  Branch (466:9): [True: 2, False: 17]
  ------------------
  467|      2|        return nullptr;
  468|       |
  469|     17|    node->updatePrecision();
  470|       |
  471|       |    // If it's a (non-specialization) constant, it must be folded.
  472|     17|    if (node->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (472:9): [True: 15, False: 2]
  ------------------
  473|     15|        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|      2|    if (node->getOperand()->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*node))
  ------------------
  |  Branch (477:9): [True: 0, False: 2]
  |  Branch (477:74): [True: 0, False: 0]
  ------------------
  478|      0|        node->getWritableType().getQualifier().makeSpecConstant();
  479|       |
  480|       |    // If must propagate nonuniform, make a nonuniform.
  481|      2|    if (node->getOperand()->getQualifier().isNonUniform() && isNonuniformPropagating(node->getOp()))
  ------------------
  |  Branch (481:9): [True: 0, False: 2]
  |  Branch (481:62): [True: 0, False: 0]
  ------------------
  482|      0|        node->getWritableType().getQualifier().nonUniform = true;
  483|       |
  484|      2|    return node;
  485|     17|}
_ZN7glslang13TIntermediate20setAggregateOperatorEP11TIntermNodeNS_9TOperatorERKNS_5TTypeERKNS_10TSourceLocE:
  527|     41|{
  528|     41|    TIntermAggregate* aggNode;
  529|       |
  530|       |    //
  531|       |    // Make sure we have an aggregate.  If not turn it into one.
  532|       |    //
  533|     41|    if (node != nullptr) {
  ------------------
  |  Branch (533:9): [True: 41, False: 0]
  ------------------
  534|     41|        aggNode = node->getAsAggregate();
  535|     41|        if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (535:13): [True: 7, False: 34]
  |  Branch (535:35): [True: 0, False: 34]
  ------------------
  536|       |            //
  537|       |            // Make an aggregate containing this node.
  538|       |            //
  539|      7|            aggNode = new TIntermAggregate();
  540|      7|            aggNode->getSequence().push_back(node);
  541|      7|        }
  542|     41|    } else
  543|      0|        aggNode = new TIntermAggregate();
  544|       |
  545|       |    //
  546|       |    // Set the operator.
  547|       |    //
  548|     41|    aggNode->setOperator(op);
  549|     41|    if (loc.line != 0 || node != nullptr)
  ------------------
  |  Branch (549:9): [True: 41, False: 0]
  |  Branch (549:26): [True: 0, False: 0]
  ------------------
  550|     41|        aggNode->setLoc(loc.line != 0 ? loc : node->getLoc());
  ------------------
  |  Branch (550:25): [True: 41, False: 0]
  ------------------
  551|       |
  552|     41|    aggNode->setType(type);
  553|       |
  554|     41|    return fold(aggNode);
  555|     41|}
_ZNK7glslang13TIntermediate19isConversionAllowedENS_9TOperatorEPNS_12TIntermTypedE:
  558|  1.00k|{
  559|       |    //
  560|       |    // Does the base type even allow the operation?
  561|       |    //
  562|  1.00k|    switch (node->getBasicType()) {
  563|     44|    case EbtVoid:
  ------------------
  |  Branch (563:5): [True: 44, False: 962]
  ------------------
  564|     44|        return false;
  565|      0|    case EbtAtomicUint:
  ------------------
  |  Branch (565:5): [True: 0, False: 1.00k]
  ------------------
  566|      0|    case EbtSampler:
  ------------------
  |  Branch (566:5): [True: 0, False: 1.00k]
  ------------------
  567|      0|    case EbtAccStruct:
  ------------------
  |  Branch (567:5): [True: 0, False: 1.00k]
  ------------------
  568|       |        // opaque types can be passed to functions
  569|      0|        if (op == EOpFunction)
  ------------------
  |  Branch (569:13): [True: 0, False: 0]
  ------------------
  570|      0|            break;
  571|       |
  572|       |        // HLSL can assign samplers directly (no constructor)
  573|      0|        if (getSource() == EShSourceHlsl && node->getBasicType() == EbtSampler)
  ------------------
  |  Branch (573:13): [True: 0, False: 0]
  |  Branch (573:45): [True: 0, False: 0]
  ------------------
  574|      0|            break;
  575|       |
  576|       |        // samplers can get assigned via a sampler constructor
  577|       |        // (well, not yet, but code in the rest of this function is ready for it)
  578|      0|        if (node->getBasicType() == EbtSampler && op == EOpAssign &&
  ------------------
  |  Branch (578:13): [True: 0, False: 0]
  |  Branch (578:51): [True: 0, False: 0]
  ------------------
  579|      0|            node->getAsOperator() != nullptr && node->getAsOperator()->getOp() == EOpConstructTextureSampler)
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  |  Branch (579:49): [True: 0, False: 0]
  ------------------
  580|      0|            break;
  581|       |
  582|       |        // otherwise, opaque types can't even be operated on, let alone converted
  583|      0|        return false;
  584|    962|    default:
  ------------------
  |  Branch (584:5): [True: 962, False: 44]
  ------------------
  585|    962|        break;
  586|  1.00k|    }
  587|       |
  588|    962|    return true;
  589|  1.00k|}
_ZNK7glslang13TIntermediate14buildConvertOpENS_10TBasicTypeES1_RNS_9TOperatorE:
  592|      4|{
  593|       |    // (bfloat16_t,fp8) <-> bool not supported
  594|      4|    if (((src == EbtBFloat16 || src == EbtFloatE5M2 || src == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(src)) && dst == EbtBool) ||
  ------------------
  |  Branch (594:11): [True: 0, False: 4]
  |  Branch (594:33): [True: 0, False: 4]
  |  Branch (594:56): [True: 0, False: 4]
  |  Branch (594:79): [True: 0, False: 4]
  |  Branch (594:115): [True: 0, False: 0]
  ------------------
  595|      4|        ((dst == EbtBFloat16 || dst == EbtFloatE5M2 || dst == EbtFloatE4M3 || isTypeOcpMicroscalingFloat(dst)) && src == EbtBool)) {
  ------------------
  |  Branch (595:11): [True: 0, False: 4]
  |  Branch (595:33): [True: 0, False: 4]
  |  Branch (595:56): [True: 0, False: 4]
  |  Branch (595:79): [True: 0, False: 4]
  |  Branch (595:115): [True: 0, False: 0]
  ------------------
  596|      0|        return false;
  597|      0|    }
  598|       |
  599|       |    // no type conversions to microscaling types
  600|      4|    if (isTypeOcpMicroscalingFloat(dst) && src != dst) {
  ------------------
  |  Branch (600:9): [True: 0, False: 4]
  |  Branch (600:44): [True: 0, False: 0]
  ------------------
  601|      0|        return false;
  602|      0|    }
  603|       |
  604|      4|    if ((isTypeInt(dst) || isTypeFloat(dst) || dst == EbtBool) &&
  ------------------
  |  Branch (604:10): [True: 4, False: 0]
  |  Branch (604:28): [True: 0, False: 0]
  |  Branch (604:48): [True: 0, False: 0]
  ------------------
  605|      4|        (isTypeInt(src) || isTypeFloat(src) || src == EbtBool)) {
  ------------------
  |  Branch (605:10): [True: 4, False: 0]
  |  Branch (605:28): [True: 0, False: 0]
  |  Branch (605:48): [True: 0, False: 0]
  ------------------
  606|      4|        newOp = EOpConvNumeric;
  607|      4|        return true;
  608|      4|    }
  609|      0|    return false;
  610|      4|}
_ZNK7glslang13TIntermediate16createConversionENS_10TBasicTypeEPNS_12TIntermTypedE:
  616|      4|{
  617|       |    //
  618|       |    // Add a new newNode for the conversion.
  619|       |    //
  620|       |
  621|      4|    bool convertToIntTypes = (convertTo == EbtInt8  || convertTo == EbtUint8  ||
  ------------------
  |  Branch (621:31): [True: 0, False: 4]
  |  Branch (621:56): [True: 0, False: 4]
  ------------------
  622|      4|                              convertTo == EbtInt16 || convertTo == EbtUint16 ||
  ------------------
  |  Branch (622:31): [True: 0, False: 4]
  |  Branch (622:56): [True: 0, False: 4]
  ------------------
  623|      4|                              convertTo == EbtInt   || convertTo == EbtUint   ||
  ------------------
  |  Branch (623:31): [True: 4, False: 0]
  |  Branch (623:56): [True: 0, False: 0]
  ------------------
  624|      0|                              convertTo == EbtInt64 || convertTo == EbtUint64);
  ------------------
  |  Branch (624:31): [True: 0, False: 0]
  |  Branch (624:56): [True: 0, False: 0]
  ------------------
  625|       |
  626|      4|    bool convertFromIntTypes = (node->getBasicType() == EbtInt8  || node->getBasicType() == EbtUint8  ||
  ------------------
  |  Branch (626:33): [True: 0, False: 4]
  |  Branch (626:69): [True: 0, False: 4]
  ------------------
  627|      4|                                node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16 ||
  ------------------
  |  Branch (627:33): [True: 0, False: 4]
  |  Branch (627:69): [True: 0, False: 4]
  ------------------
  628|      4|                                node->getBasicType() == EbtInt   || node->getBasicType() == EbtUint   ||
  ------------------
  |  Branch (628:33): [True: 1, False: 3]
  |  Branch (628:69): [True: 3, False: 0]
  ------------------
  629|      0|                                node->getBasicType() == EbtInt64 || node->getBasicType() == EbtUint64);
  ------------------
  |  Branch (629:33): [True: 0, False: 0]
  |  Branch (629:69): [True: 0, False: 0]
  ------------------
  630|       |
  631|      4|    bool convertToFloatTypes = (convertTo == EbtFloat16 || convertTo == EbtBFloat16 || convertTo == EbtFloat || convertTo == EbtDouble ||
  ------------------
  |  Branch (631:33): [True: 0, False: 4]
  |  Branch (631:60): [True: 0, False: 4]
  |  Branch (631:88): [True: 0, False: 4]
  |  Branch (631:113): [True: 0, False: 4]
  ------------------
  632|      4|                                convertTo == EbtFloatE5M2 || convertTo == EbtFloatE4M3);
  ------------------
  |  Branch (632:33): [True: 0, False: 4]
  |  Branch (632:62): [True: 0, False: 4]
  ------------------
  633|       |
  634|      4|    bool convertFromFloatTypes = (node->getBasicType() == EbtFloat16 ||
  ------------------
  |  Branch (634:35): [True: 0, False: 4]
  ------------------
  635|      4|                                  node->getBasicType() == EbtBFloat16 ||
  ------------------
  |  Branch (635:35): [True: 0, False: 4]
  ------------------
  636|      4|                                  node->getBasicType() == EbtFloat ||
  ------------------
  |  Branch (636:35): [True: 0, False: 4]
  ------------------
  637|      4|                                  node->getBasicType() == EbtDouble ||
  ------------------
  |  Branch (637:35): [True: 0, False: 4]
  ------------------
  638|      4|                                  node->getBasicType() == EbtFloatE5M2 ||
  ------------------
  |  Branch (638:35): [True: 0, False: 4]
  ------------------
  639|      4|                                  node->getBasicType() == EbtFloatE4M3 ||
  ------------------
  |  Branch (639:35): [True: 0, False: 4]
  ------------------
  640|      4|                                  isTypeOcpMicroscalingFloat(node->getBasicType()));
  ------------------
  |  Branch (640:35): [True: 0, False: 4]
  ------------------
  641|       |
  642|      4|    if (((convertTo == EbtInt8 || convertTo == EbtUint8) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (642:11): [True: 0, False: 4]
  |  Branch (642:35): [True: 0, False: 4]
  |  Branch (642:61): [True: 0, False: 0]
  ------------------
  643|      4|        ((node->getBasicType() == EbtInt8 || node->getBasicType() == EbtUint8) && ! convertToIntTypes)) {
  ------------------
  |  Branch (643:11): [True: 0, False: 4]
  |  Branch (643:46): [True: 0, False: 4]
  |  Branch (643:83): [True: 0, False: 0]
  ------------------
  644|      0|        if (! getArithemeticInt8Enabled()) {
  ------------------
  |  Branch (644:13): [True: 0, False: 0]
  ------------------
  645|      0|            return nullptr;
  646|      0|        }
  647|      0|    }
  648|       |
  649|      4|    if (((convertTo == EbtInt16 || convertTo == EbtUint16) && ! convertFromIntTypes) ||
  ------------------
  |  Branch (649:11): [True: 0, False: 4]
  |  Branch (649:36): [True: 0, False: 4]
  |  Branch (649:63): [True: 0, False: 0]
  ------------------
  650|      4|        ((node->getBasicType() == EbtInt16 || node->getBasicType() == EbtUint16) && ! convertToIntTypes)) {
  ------------------
  |  Branch (650:11): [True: 0, False: 4]
  |  Branch (650:47): [True: 0, False: 4]
  |  Branch (650:85): [True: 0, False: 0]
  ------------------
  651|      0|        if (! getArithemeticInt16Enabled()) {
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            return nullptr;
  653|      0|        }
  654|      0|    }
  655|       |
  656|      4|    if ((convertTo == EbtFloat16 && ! convertFromFloatTypes) ||
  ------------------
  |  Branch (656:10): [True: 0, False: 4]
  |  Branch (656:37): [True: 0, False: 0]
  ------------------
  657|      4|        (node->getBasicType() == EbtFloat16 && ! convertToFloatTypes)) {
  ------------------
  |  Branch (657:10): [True: 0, False: 4]
  |  Branch (657:48): [True: 0, False: 0]
  ------------------
  658|      0|        if (! getArithemeticFloat16Enabled()) {
  ------------------
  |  Branch (658:13): [True: 0, False: 0]
  ------------------
  659|      0|            return nullptr;
  660|      0|        }
  661|      0|    }
  662|       |
  663|      4|    TIntermUnary* newNode = nullptr;
  664|      4|    TOperator newOp = EOpNull;
  665|      4|    if (!buildConvertOp(convertTo, node->getBasicType(), newOp)) {
  ------------------
  |  Branch (665:9): [True: 0, False: 4]
  ------------------
  666|      0|        return nullptr;
  667|      0|    }
  668|       |
  669|      4|    TType newType(convertTo, EvqTemporary, node->getVectorSize(), node->getMatrixCols(), node->getMatrixRows());
  670|      4|    if (node->getType().isLongVector()) {
  ------------------
  |  Branch (670:9): [True: 0, False: 4]
  ------------------
  671|      0|        newType.shallowCopy(node->getType());
  672|      0|        newType.setBasicType(convertTo);
  673|      0|        newType.makeTemporary();
  674|      0|        newType.getQualifier().clear();
  675|      0|    }
  676|      4|    newNode = addUnaryNode(newOp, node, node->getLoc(), newType);
  677|       |
  678|      4|    if (node->getAsConstantUnion()) {
  ------------------
  |  Branch (678:9): [True: 0, False: 4]
  ------------------
  679|       |        // 8/16-bit storage extensions don't support 8/16-bit constants, so don't fold conversions
  680|       |        // to those types
  681|      0|        if ((getArithemeticInt8Enabled() || !(convertTo == EbtInt8 || convertTo == EbtUint8)) &&
  ------------------
  |  Branch (681:14): [True: 0, False: 0]
  |  Branch (681:47): [True: 0, False: 0]
  |  Branch (681:71): [True: 0, False: 0]
  ------------------
  682|      0|            (getArithemeticInt16Enabled() || !(convertTo == EbtInt16 || convertTo == EbtUint16)) &&
  ------------------
  |  Branch (682:14): [True: 0, False: 0]
  |  Branch (682:48): [True: 0, False: 0]
  |  Branch (682:73): [True: 0, False: 0]
  ------------------
  683|      0|            (getArithemeticFloat16Enabled() || !(convertTo == EbtFloat16)))
  ------------------
  |  Branch (683:14): [True: 0, False: 0]
  |  Branch (683:48): [True: 0, False: 0]
  ------------------
  684|      0|        {
  685|      0|            TIntermTyped* folded = node->getAsConstantUnion()->fold(newOp, newType);
  686|      0|            if (folded)
  ------------------
  |  Branch (686:17): [True: 0, False: 0]
  ------------------
  687|      0|                return folded;
  688|      0|        }
  689|      0|    }
  690|       |
  691|       |    // Propagate specialization-constant-ness, if allowed
  692|      4|    if (node->getType().getQualifier().isSpecConstant() && isSpecializationOperation(*newNode))
  ------------------
  |  Branch (692:9): [True: 0, False: 4]
  |  Branch (692:60): [True: 0, False: 0]
  ------------------
  693|      0|        newNode->getWritableType().getQualifier().makeSpecConstant();
  694|       |
  695|      4|    return newNode;
  696|      4|}
_ZN7glslang13TIntermediate17addPairConversionENS_9TOperatorEPNS_12TIntermTypedES3_:
  717|     22|{
  718|     22|    if (!isConversionAllowed(op, node0) || !isConversionAllowed(op, node1))
  ------------------
  |  Branch (718:9): [True: 2, False: 20]
  |  Branch (718:44): [True: 1, False: 19]
  ------------------
  719|      3|        return std::make_tuple(nullptr, nullptr);
  720|       |
  721|     19|    if (node0->getType() != node1->getType()) {
  ------------------
  |  Branch (721:9): [True: 19, False: 0]
  ------------------
  722|       |        // If differing structure, then no conversions.
  723|     19|        if (node0->isStruct() || node1->isStruct())
  ------------------
  |  Branch (723:13): [True: 0, False: 19]
  |  Branch (723:34): [True: 0, False: 19]
  ------------------
  724|      0|            return std::make_tuple(nullptr, nullptr);
  725|       |
  726|       |        // If differing arrays, then no conversions.
  727|     19|        if (node0->getType().isArray() || node1->getType().isArray())
  ------------------
  |  Branch (727:13): [True: 0, False: 19]
  |  Branch (727:43): [True: 0, False: 19]
  ------------------
  728|      0|            return std::make_tuple(nullptr, nullptr);
  729|       |
  730|       |        // No implicit conversions for operations involving cooperative matrices
  731|     19|        if (node0->getType().isCoopMat() || node1->getType().isCoopMat())
  ------------------
  |  Branch (731:13): [True: 0, False: 19]
  |  Branch (731:45): [True: 0, False: 19]
  ------------------
  732|      0|            return std::make_tuple(node0, node1);
  733|     19|    }
  734|       |
  735|     19|    auto promoteTo = std::make_tuple(EbtNumTypes, EbtNumTypes);
  736|       |
  737|     19|    switch (op) {
  738|       |    //
  739|       |    // List all the binary ops that can implicitly convert one operand to the other's type;
  740|       |    // This implements the 'policy' for implicit type conversion.
  741|       |    //
  742|      0|    case EOpLessThan:
  ------------------
  |  Branch (742:5): [True: 0, False: 19]
  ------------------
  743|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (743:5): [True: 0, False: 19]
  ------------------
  744|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (744:5): [True: 0, False: 19]
  ------------------
  745|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (745:5): [True: 0, False: 19]
  ------------------
  746|      0|    case EOpEqual:
  ------------------
  |  Branch (746:5): [True: 0, False: 19]
  ------------------
  747|      0|    case EOpNotEqual:
  ------------------
  |  Branch (747:5): [True: 0, False: 19]
  ------------------
  748|       |
  749|      4|    case EOpAdd:
  ------------------
  |  Branch (749:5): [True: 4, False: 15]
  ------------------
  750|      7|    case EOpSub:
  ------------------
  |  Branch (750:5): [True: 3, False: 16]
  ------------------
  751|      7|    case EOpMul:
  ------------------
  |  Branch (751:5): [True: 0, False: 19]
  ------------------
  752|      7|    case EOpDiv:
  ------------------
  |  Branch (752:5): [True: 0, False: 19]
  ------------------
  753|      7|    case EOpMod:
  ------------------
  |  Branch (753:5): [True: 0, False: 19]
  ------------------
  754|       |
  755|      7|    case EOpVectorTimesScalar:
  ------------------
  |  Branch (755:5): [True: 0, False: 19]
  ------------------
  756|      7|    case EOpVectorTimesMatrix:
  ------------------
  |  Branch (756:5): [True: 0, False: 19]
  ------------------
  757|      7|    case EOpMatrixTimesVector:
  ------------------
  |  Branch (757:5): [True: 0, False: 19]
  ------------------
  758|      7|    case EOpMatrixTimesScalar:
  ------------------
  |  Branch (758:5): [True: 0, False: 19]
  ------------------
  759|       |
  760|      7|    case EOpAnd:
  ------------------
  |  Branch (760:5): [True: 0, False: 19]
  ------------------
  761|      7|    case EOpInclusiveOr:
  ------------------
  |  Branch (761:5): [True: 0, False: 19]
  ------------------
  762|      7|    case EOpExclusiveOr:
  ------------------
  |  Branch (762:5): [True: 0, False: 19]
  ------------------
  763|       |
  764|     19|    case EOpSequence:          // used by ?:
  ------------------
  |  Branch (764:5): [True: 12, False: 7]
  ------------------
  765|       |
  766|     19|        if (node0->getBasicType() == node1->getBasicType())
  ------------------
  |  Branch (766:13): [True: 0, False: 19]
  ------------------
  767|      0|            return std::make_tuple(node0, node1);
  768|       |
  769|     19|        promoteTo = getConversionDestinationType(node0->getBasicType(), node1->getBasicType(), op);
  770|     19|        if (std::get<0>(promoteTo) == EbtNumTypes || std::get<1>(promoteTo) == EbtNumTypes)
  ------------------
  |  Branch (770:13): [True: 1, False: 18]
  |  Branch (770:54): [True: 0, False: 18]
  ------------------
  771|      1|            return std::make_tuple(nullptr, nullptr);
  772|       |
  773|     18|        break;
  774|       |
  775|     18|    case EOpLogicalAnd:
  ------------------
  |  Branch (775:5): [True: 0, False: 19]
  ------------------
  776|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (776:5): [True: 0, False: 19]
  ------------------
  777|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (777:5): [True: 0, False: 19]
  ------------------
  778|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|            promoteTo = std::make_tuple(EbtBool, EbtBool);
  780|      0|        else
  781|      0|            return std::make_tuple(node0, node1);
  782|      0|        break;
  783|       |
  784|       |    // There are no conversions needed for GLSL; the shift amount just needs to be an
  785|       |    // integer type, as does the base.
  786|       |    // HLSL can promote bools to ints to make this work.
  787|      0|    case EOpLeftShift:
  ------------------
  |  Branch (787:5): [True: 0, False: 19]
  ------------------
  788|      0|    case EOpRightShift:
  ------------------
  |  Branch (788:5): [True: 0, False: 19]
  ------------------
  789|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (789:13): [True: 0, False: 0]
  ------------------
  790|      0|            TBasicType node0BasicType = node0->getBasicType();
  791|      0|            if (node0BasicType == EbtBool)
  ------------------
  |  Branch (791:17): [True: 0, False: 0]
  ------------------
  792|      0|                node0BasicType = EbtInt;
  793|      0|            if (node1->getBasicType() == EbtBool)
  ------------------
  |  Branch (793:17): [True: 0, False: 0]
  ------------------
  794|      0|                promoteTo = std::make_tuple(node0BasicType, EbtInt);
  795|      0|            else
  796|      0|                promoteTo = std::make_tuple(node0BasicType, node1->getBasicType());
  797|      0|        } else {
  798|      0|            if (isTypeInt(node0->getBasicType()) && isTypeInt(node1->getBasicType()))
  ------------------
  |  Branch (798:17): [True: 0, False: 0]
  |  Branch (798:53): [True: 0, False: 0]
  ------------------
  799|      0|                return std::make_tuple(node0, node1);
  800|      0|            else
  801|      0|                return std::make_tuple(nullptr, nullptr);
  802|      0|        }
  803|      0|        break;
  804|       |
  805|      0|    default:
  ------------------
  |  Branch (805:5): [True: 0, False: 19]
  ------------------
  806|      0|        if (node0->getType() == node1->getType())
  ------------------
  |  Branch (806:13): [True: 0, False: 0]
  ------------------
  807|      0|            return std::make_tuple(node0, node1);
  808|       |
  809|      0|        return std::make_tuple(nullptr, nullptr);
  810|     19|    }
  811|       |
  812|     18|    TIntermTyped* newNode0;
  813|     18|    TIntermTyped* newNode1;
  814|       |
  815|     18|    if (std::get<0>(promoteTo) != node0->getType().getBasicType()) {
  ------------------
  |  Branch (815:9): [True: 18, False: 0]
  ------------------
  816|     18|        if (node0->getAsConstantUnion())
  ------------------
  |  Branch (816:13): [True: 18, False: 0]
  ------------------
  817|     18|            newNode0 = promoteConstantUnion(std::get<0>(promoteTo), node0->getAsConstantUnion());
  818|      0|        else
  819|      0|            newNode0 = createConversion(std::get<0>(promoteTo), node0);
  820|     18|    } else
  821|      0|        newNode0 = node0;
  822|       |
  823|     18|    if (std::get<1>(promoteTo) != node1->getType().getBasicType()) {
  ------------------
  |  Branch (823:9): [True: 0, False: 18]
  ------------------
  824|      0|        if (node1->getAsConstantUnion())
  ------------------
  |  Branch (824:13): [True: 0, False: 0]
  ------------------
  825|      0|            newNode1 = promoteConstantUnion(std::get<1>(promoteTo), node1->getAsConstantUnion());
  826|      0|        else
  827|      0|            newNode1 = createConversion(std::get<1>(promoteTo), node1);
  828|      0|    } else
  829|     18|        newNode1 = node1;
  830|       |
  831|     18|    return std::make_tuple(newNode0, newNode1);
  832|     19|}
_ZN7glslang13TIntermediate13addConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
  850|    964|{
  851|    964|    if (!isConversionAllowed(op, node))
  ------------------
  |  Branch (851:9): [True: 41, False: 923]
  ------------------
  852|     41|        return nullptr;
  853|       |
  854|       |    // Otherwise, if types are identical, no problem
  855|    923|    if (type == node->getType())
  ------------------
  |  Branch (855:9): [True: 836, False: 87]
  ------------------
  856|    836|        return node;
  857|       |
  858|       |    // If one's a structure, then no conversions.
  859|     87|    if (type.isStruct() || node->isStruct())
  ------------------
  |  Branch (859:9): [True: 0, False: 87]
  |  Branch (859:28): [True: 0, False: 87]
  ------------------
  860|      0|        return nullptr;
  861|       |
  862|       |    // If one's an array, then no conversions.
  863|     87|    if (type.isArray() || node->getType().isArray())
  ------------------
  |  Branch (863:9): [True: 0, False: 87]
  |  Branch (863:27): [True: 0, False: 87]
  ------------------
  864|      0|        return nullptr;
  865|       |
  866|       |    // Reject implicit conversions to cooperative matrix types
  867|     87|    if (node->getType().isCoopMat() &&
  ------------------
  |  Branch (867:9): [True: 0, False: 87]
  ------------------
  868|      0|        op != EOpConstructCooperativeMatrixNV &&
  ------------------
  |  Branch (868:9): [True: 0, False: 0]
  ------------------
  869|      0|        op != EOpConstructCooperativeMatrixKHR &&
  ------------------
  |  Branch (869:9): [True: 0, False: 0]
  ------------------
  870|      0|        op != glslang::EOpCompositeConstructCoopMatQCOM)
  ------------------
  |  Branch (870:9): [True: 0, False: 0]
  ------------------
  871|      0|        return nullptr;
  872|       |
  873|     87|    if (node->getType().isTensorLayoutNV() ||
  ------------------
  |  Branch (873:9): [True: 0, False: 87]
  ------------------
  874|     87|        node->getType().isTensorViewNV())
  ------------------
  |  Branch (874:9): [True: 0, False: 87]
  ------------------
  875|      0|        return nullptr;
  876|       |
  877|       |    // Reject implicit conversions to cooperative vector types
  878|     87|    if (node->getType().isCoopVecNV() &&
  ------------------
  |  Branch (878:9): [True: 0, False: 87]
  ------------------
  879|      0|        op != EOpConstructCooperativeVectorNV)
  ------------------
  |  Branch (879:9): [True: 0, False: 0]
  ------------------
  880|      0|        return nullptr;
  881|       |
  882|       |    // Note: callers are responsible for other aspects of shape,
  883|       |    // like vector and matrix sizes.
  884|       |
  885|     87|    switch (op) {
  886|       |    //
  887|       |    // Explicit conversions (unary operations)
  888|       |    //
  889|      7|    case EOpConstructBool:
  ------------------
  |  Branch (889:5): [True: 7, False: 80]
  ------------------
  890|      7|    case EOpConstructFloat:
  ------------------
  |  Branch (890:5): [True: 0, False: 87]
  ------------------
  891|     11|    case EOpConstructInt:
  ------------------
  |  Branch (891:5): [True: 4, False: 83]
  ------------------
  892|     74|    case EOpConstructUint:
  ------------------
  |  Branch (892:5): [True: 63, False: 24]
  ------------------
  893|     74|    case EOpConstructDouble:
  ------------------
  |  Branch (893:5): [True: 0, False: 87]
  ------------------
  894|     74|    case EOpConstructFloat16:
  ------------------
  |  Branch (894:5): [True: 0, False: 87]
  ------------------
  895|     74|    case EOpConstructBFloat16:
  ------------------
  |  Branch (895:5): [True: 0, False: 87]
  ------------------
  896|     74|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (896:5): [True: 0, False: 87]
  ------------------
  897|     74|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (897:5): [True: 0, False: 87]
  ------------------
  898|     74|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (898:5): [True: 0, False: 87]
  ------------------
  899|     74|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (899:5): [True: 0, False: 87]
  ------------------
  900|     74|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (900:5): [True: 0, False: 87]
  ------------------
  901|     74|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (901:5): [True: 0, False: 87]
  ------------------
  902|     74|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (902:5): [True: 0, False: 87]
  ------------------
  903|     74|    case EOpConstructInt8:
  ------------------
  |  Branch (903:5): [True: 0, False: 87]
  ------------------
  904|     74|    case EOpConstructUint8:
  ------------------
  |  Branch (904:5): [True: 0, False: 87]
  ------------------
  905|     74|    case EOpConstructInt16:
  ------------------
  |  Branch (905:5): [True: 0, False: 87]
  ------------------
  906|     74|    case EOpConstructUint16:
  ------------------
  |  Branch (906:5): [True: 0, False: 87]
  ------------------
  907|     74|    case EOpConstructInt64:
  ------------------
  |  Branch (907:5): [True: 0, False: 87]
  ------------------
  908|     74|    case EOpConstructUint64:
  ------------------
  |  Branch (908:5): [True: 0, False: 87]
  ------------------
  909|     74|    case EOpConstructSaturated:
  ------------------
  |  Branch (909:5): [True: 0, False: 87]
  ------------------
  910|     74|        break;
  911|       |
  912|       |    //
  913|       |    // Implicit conversions
  914|       |    //
  915|     12|    case EOpLogicalNot:
  ------------------
  |  Branch (915:5): [True: 12, False: 75]
  ------------------
  916|       |
  917|     12|    case EOpFunctionCall:
  ------------------
  |  Branch (917:5): [True: 0, False: 87]
  ------------------
  918|       |
  919|     12|    case EOpReturn:
  ------------------
  |  Branch (919:5): [True: 0, False: 87]
  ------------------
  920|     13|    case EOpAssign:
  ------------------
  |  Branch (920:5): [True: 1, False: 86]
  ------------------
  921|     13|    case EOpAddAssign:
  ------------------
  |  Branch (921:5): [True: 0, False: 87]
  ------------------
  922|     13|    case EOpSubAssign:
  ------------------
  |  Branch (922:5): [True: 0, False: 87]
  ------------------
  923|     13|    case EOpMulAssign:
  ------------------
  |  Branch (923:5): [True: 0, False: 87]
  ------------------
  924|     13|    case EOpVectorTimesScalarAssign:
  ------------------
  |  Branch (924:5): [True: 0, False: 87]
  ------------------
  925|     13|    case EOpMatrixTimesScalarAssign:
  ------------------
  |  Branch (925:5): [True: 0, False: 87]
  ------------------
  926|     13|    case EOpDivAssign:
  ------------------
  |  Branch (926:5): [True: 0, False: 87]
  ------------------
  927|     13|    case EOpModAssign:
  ------------------
  |  Branch (927:5): [True: 0, False: 87]
  ------------------
  928|     13|    case EOpAndAssign:
  ------------------
  |  Branch (928:5): [True: 0, False: 87]
  ------------------
  929|     13|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (929:5): [True: 0, False: 87]
  ------------------
  930|     13|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (930:5): [True: 0, False: 87]
  ------------------
  931|       |
  932|     13|    case EOpAtan:
  ------------------
  |  Branch (932:5): [True: 0, False: 87]
  ------------------
  933|     13|    case EOpClamp:
  ------------------
  |  Branch (933:5): [True: 0, False: 87]
  ------------------
  934|     13|    case EOpCross:
  ------------------
  |  Branch (934:5): [True: 0, False: 87]
  ------------------
  935|     13|    case EOpDistance:
  ------------------
  |  Branch (935:5): [True: 0, False: 87]
  ------------------
  936|     13|    case EOpDot:
  ------------------
  |  Branch (936:5): [True: 0, False: 87]
  ------------------
  937|     13|    case EOpDst:
  ------------------
  |  Branch (937:5): [True: 0, False: 87]
  ------------------
  938|     13|    case EOpFaceForward:
  ------------------
  |  Branch (938:5): [True: 0, False: 87]
  ------------------
  939|     13|    case EOpFma:
  ------------------
  |  Branch (939:5): [True: 0, False: 87]
  ------------------
  940|     13|    case EOpFrexp:
  ------------------
  |  Branch (940:5): [True: 0, False: 87]
  ------------------
  941|     13|    case EOpLdexp:
  ------------------
  |  Branch (941:5): [True: 0, False: 87]
  ------------------
  942|     13|    case EOpMix:
  ------------------
  |  Branch (942:5): [True: 0, False: 87]
  ------------------
  943|     13|    case EOpLit:
  ------------------
  |  Branch (943:5): [True: 0, False: 87]
  ------------------
  944|     13|    case EOpMax:
  ------------------
  |  Branch (944:5): [True: 0, False: 87]
  ------------------
  945|     13|    case EOpMin:
  ------------------
  |  Branch (945:5): [True: 0, False: 87]
  ------------------
  946|     13|    case EOpMod:
  ------------------
  |  Branch (946:5): [True: 0, False: 87]
  ------------------
  947|     13|    case EOpModf:
  ------------------
  |  Branch (947:5): [True: 0, False: 87]
  ------------------
  948|     13|    case EOpPow:
  ------------------
  |  Branch (948:5): [True: 0, False: 87]
  ------------------
  949|     13|    case EOpReflect:
  ------------------
  |  Branch (949:5): [True: 0, False: 87]
  ------------------
  950|     13|    case EOpRefract:
  ------------------
  |  Branch (950:5): [True: 0, False: 87]
  ------------------
  951|     13|    case EOpSmoothStep:
  ------------------
  |  Branch (951:5): [True: 0, False: 87]
  ------------------
  952|     13|    case EOpStep:
  ------------------
  |  Branch (952:5): [True: 0, False: 87]
  ------------------
  953|       |
  954|     13|    case EOpSequence:
  ------------------
  |  Branch (954:5): [True: 0, False: 87]
  ------------------
  955|     13|    case EOpConstructStruct:
  ------------------
  |  Branch (955:5): [True: 0, False: 87]
  ------------------
  956|     13|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (956:5): [True: 0, False: 87]
  ------------------
  957|     13|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (957:5): [True: 0, False: 87]
  ------------------
  958|     13|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (958:5): [True: 0, False: 87]
  ------------------
  959|       |
  960|     13|        if (type.isReference() || node->getType().isReference()) {
  ------------------
  |  Branch (960:13): [True: 0, False: 13]
  |  Branch (960:35): [True: 0, False: 13]
  ------------------
  961|       |            // types must match to assign a reference
  962|      0|            if (type == node->getType())
  ------------------
  |  Branch (962:17): [True: 0, False: 0]
  ------------------
  963|      0|                return node;
  964|      0|            else
  965|      0|                return nullptr;
  966|      0|        }
  967|       |
  968|     13|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (968:13): [True: 0, False: 13]
  ------------------
  969|      0|            return node;
  970|       |
  971|     13|        if (! canImplicitlyPromote(node->getBasicType(), type.getBasicType(), op))
  ------------------
  |  Branch (971:13): [True: 1, False: 12]
  ------------------
  972|      1|            return nullptr;
  973|     12|        break;
  974|       |
  975|       |    // For GLSL, there are no conversions needed; the shift amount just needs to be an
  976|       |    // integer type, as do the base/result.
  977|       |    // HLSL can convert the shift from a bool to an int.
  978|     12|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (978:5): [True: 0, False: 87]
  ------------------
  979|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (979:5): [True: 0, False: 87]
  ------------------
  980|      0|    {
  981|      0|        if (!(getSource() == EShSourceHlsl && node->getType().getBasicType() == EbtBool)) {
  ------------------
  |  Branch (981:15): [True: 0, False: 0]
  |  Branch (981:47): [True: 0, False: 0]
  ------------------
  982|      0|            if (isTypeInt(type.getBasicType()) && isTypeInt(node->getBasicType()))
  ------------------
  |  Branch (982:17): [True: 0, False: 0]
  |  Branch (982:51): [True: 0, False: 0]
  ------------------
  983|      0|                return node;
  984|      0|            else
  985|      0|                return nullptr;
  986|      0|        }
  987|      0|        break;
  988|      0|    }
  989|       |
  990|      0|    default:
  ------------------
  |  Branch (990:5): [True: 0, False: 87]
  ------------------
  991|       |        // default is to require a match; all exceptions should have case statements above
  992|       |
  993|      0|        if (type.getBasicType() == node->getType().getBasicType())
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  ------------------
  994|      0|            return node;
  995|      0|        else
  996|      0|            return nullptr;
  997|     87|    }
  998|       |
  999|     86|    bool canPromoteConstant = true;
 1000|       |    // GL_EXT_shader_16bit_storage can't do OpConstantComposite with
 1001|       |    // 16-bit types, so disable promotion for those types.
 1002|       |    // Many issues with this, from JohnK:
 1003|       |    //  - this isn't really right to discuss SPIR-V here
 1004|       |    //  - this could easily be entirely about scalars, so is overstepping
 1005|       |    //  - we should be looking at what the shader asked for, and saying whether or
 1006|       |    //    not it can be done, in the parser, by calling requireExtensions(), not
 1007|       |    //    changing language sementics on the fly by asking what extensions are in use
 1008|       |    //  - at the time of this writing (14-Aug-2020), no test results are changed by this.
 1009|     86|    switch (op) {
 1010|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (1010:5): [True: 0, False: 86]
  ------------------
 1011|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (1011:5): [True: 0, False: 86]
  ------------------
 1012|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (1012:5): [True: 0, False: 86]
  ------------------
 1013|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (1013:5): [True: 0, False: 86]
  ------------------
 1014|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (1014:5): [True: 0, False: 86]
  ------------------
 1015|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (1015:5): [True: 0, False: 86]
  ------------------
 1016|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (1016:5): [True: 0, False: 86]
  ------------------
 1017|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (1017:5): [True: 0, False: 86]
  ------------------
 1018|      0|        canPromoteConstant = true;
 1019|      0|        break;
 1020|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (1020:5): [True: 0, False: 86]
  ------------------
 1021|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1021:30): [True: 0, False: 0]
  ------------------
 1022|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16);
  ------------------
  |  Branch (1022:30): [True: 0, False: 0]
  ------------------
 1023|      0|        break;
 1024|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (1024:5): [True: 0, False: 86]
  ------------------
 1025|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (1025:5): [True: 0, False: 86]
  ------------------
 1026|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1026:30): [True: 0, False: 0]
  ------------------
 1027|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8);
  ------------------
  |  Branch (1027:30): [True: 0, False: 0]
  ------------------
 1028|      0|        break;
 1029|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (1029:5): [True: 0, False: 86]
  ------------------
 1030|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (1030:5): [True: 0, False: 86]
  ------------------
 1031|      0|        canPromoteConstant = numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1031:30): [True: 0, False: 0]
  ------------------
 1032|      0|                             numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16);
  ------------------
  |  Branch (1032:30): [True: 0, False: 0]
  ------------------
 1033|      0|        break;
 1034|     86|    default:
  ------------------
  |  Branch (1034:5): [True: 86, False: 0]
  ------------------
 1035|     86|        break;
 1036|     86|    }
 1037|       |
 1038|     86|    if (canPromoteConstant && node->getAsConstantUnion())
  ------------------
  |  Branch (1038:9): [True: 86, False: 0]
  |  Branch (1038:31): [True: 82, False: 4]
  ------------------
 1039|     82|        return promoteConstantUnion(type.getBasicType(), node->getAsConstantUnion());
 1040|       |
 1041|       |    //
 1042|       |    // Add a new newNode for the conversion.
 1043|       |    //
 1044|      4|    TIntermTyped* newNode = createConversion(type.getBasicType(), node);
 1045|       |
 1046|      4|    return newNode;
 1047|     86|}
_ZN7glslang13TIntermediate21addUniShapeConversionENS_9TOperatorERKNS_5TTypeEPNS_12TIntermTypedE:
 1062|      6|{
 1063|       |    // some source languages don't do this
 1064|      6|    switch (getSource()) {
 1065|      6|    case EShSourceHlsl:
  ------------------
  |  Branch (1065:5): [True: 6, False: 0]
  ------------------
 1066|      6|        break;
 1067|      0|    case EShSourceGlsl:
  ------------------
  |  Branch (1067:5): [True: 0, False: 6]
  ------------------
 1068|      0|    default:
  ------------------
  |  Branch (1068:5): [True: 0, False: 6]
  ------------------
 1069|      0|        return node;
 1070|      6|    }
 1071|       |
 1072|       |    // some operations don't do this
 1073|      6|    switch (op) {
 1074|      0|    case EOpFunctionCall:
  ------------------
  |  Branch (1074:5): [True: 0, False: 6]
  ------------------
 1075|      0|    case EOpReturn:
  ------------------
  |  Branch (1075:5): [True: 0, False: 6]
  ------------------
 1076|      0|        break;
 1077|       |
 1078|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1078:5): [True: 0, False: 6]
  ------------------
 1079|       |        // want to support vector *= scalar native ops in AST and lower, not smear, similarly for
 1080|       |        // matrix *= scalar, etc.
 1081|       |
 1082|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1082:5): [True: 0, False: 6]
  ------------------
 1083|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1083:5): [True: 0, False: 6]
  ------------------
 1084|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1084:5): [True: 0, False: 6]
  ------------------
 1085|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1085:5): [True: 0, False: 6]
  ------------------
 1086|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1086:5): [True: 0, False: 6]
  ------------------
 1087|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1087:5): [True: 0, False: 6]
  ------------------
 1088|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1088:5): [True: 0, False: 6]
  ------------------
 1089|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1089:5): [True: 0, False: 6]
  ------------------
 1090|      0|        if (node->getVectorSize() == 1)
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            return node;
 1092|      0|        break;
 1093|       |
 1094|      0|    case EOpAssign:
  ------------------
  |  Branch (1094:5): [True: 0, False: 6]
  ------------------
 1095|      0|        break;
 1096|       |
 1097|      6|    case EOpMix:
  ------------------
  |  Branch (1097:5): [True: 6, False: 0]
  ------------------
 1098|      6|        break;
 1099|       |
 1100|      0|    default:
  ------------------
  |  Branch (1100:5): [True: 0, False: 6]
  ------------------
 1101|      0|        return node;
 1102|      6|    }
 1103|       |
 1104|      6|    return addShapeConversion(type, node);
 1105|      6|}
_ZN7glslang13TIntermediate20addBiShapeConversionENS_9TOperatorERPNS_12TIntermTypedES4_:
 1115|     15|{
 1116|       |    // some source languages don't do this
 1117|     15|    switch (getSource()) {
 1118|     15|    case EShSourceHlsl:
  ------------------
  |  Branch (1118:5): [True: 15, False: 0]
  ------------------
 1119|     15|        break;
 1120|      0|    case EShSourceGlsl:
  ------------------
  |  Branch (1120:5): [True: 0, False: 15]
  ------------------
 1121|      0|    default:
  ------------------
  |  Branch (1121:5): [True: 0, False: 15]
  ------------------
 1122|      0|        return;
 1123|     15|    }
 1124|       |
 1125|       |    // some operations don't do this
 1126|       |    // 'break' will mean attempt bidirectional conversion
 1127|     15|    switch (op) {
 1128|      0|    case EOpMulAssign:
  ------------------
  |  Branch (1128:5): [True: 0, False: 15]
  ------------------
 1129|      0|    case EOpAssign:
  ------------------
  |  Branch (1129:5): [True: 0, False: 15]
  ------------------
 1130|      0|    case EOpAddAssign:
  ------------------
  |  Branch (1130:5): [True: 0, False: 15]
  ------------------
 1131|      0|    case EOpSubAssign:
  ------------------
  |  Branch (1131:5): [True: 0, False: 15]
  ------------------
 1132|      0|    case EOpDivAssign:
  ------------------
  |  Branch (1132:5): [True: 0, False: 15]
  ------------------
 1133|      0|    case EOpAndAssign:
  ------------------
  |  Branch (1133:5): [True: 0, False: 15]
  ------------------
 1134|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (1134:5): [True: 0, False: 15]
  ------------------
 1135|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (1135:5): [True: 0, False: 15]
  ------------------
 1136|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (1136:5): [True: 0, False: 15]
  ------------------
 1137|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (1137:5): [True: 0, False: 15]
  ------------------
 1138|       |        // switch to unidirectional conversion (the lhs can't change)
 1139|      0|        rhsNode = addUniShapeConversion(op, lhsNode->getType(), rhsNode);
 1140|      0|        return;
 1141|       |
 1142|      0|    case EOpMul:
  ------------------
  |  Branch (1142:5): [True: 0, False: 15]
  ------------------
 1143|       |        // matrix multiply does not change shapes
 1144|      0|        if (lhsNode->isMatrix() && rhsNode->isMatrix())
  ------------------
  |  Branch (1144:13): [True: 0, False: 0]
  |  Branch (1144:36): [True: 0, False: 0]
  ------------------
 1145|      0|            return;
 1146|      0|        [[fallthrough]];
 1147|      3|    case EOpAdd:
  ------------------
  |  Branch (1147:5): [True: 3, False: 12]
  ------------------
 1148|      6|    case EOpSub:
  ------------------
  |  Branch (1148:5): [True: 3, False: 12]
  ------------------
 1149|      6|    case EOpDiv:
  ------------------
  |  Branch (1149:5): [True: 0, False: 15]
  ------------------
 1150|       |        // want to support vector * scalar native ops in AST and lower, not smear, similarly for
 1151|       |        // matrix * vector, etc.
 1152|      6|        if (lhsNode->getVectorSize() == 1 || rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1152:13): [True: 6, False: 0]
  |  Branch (1152:46): [True: 0, False: 0]
  ------------------
 1153|      6|            return;
 1154|      0|        break;
 1155|       |
 1156|      0|    case EOpRightShift:
  ------------------
  |  Branch (1156:5): [True: 0, False: 15]
  ------------------
 1157|      0|    case EOpLeftShift:
  ------------------
  |  Branch (1157:5): [True: 0, False: 15]
  ------------------
 1158|       |        // can natively support the right operand being a scalar and the left a vector,
 1159|       |        // but not the reverse
 1160|      0|        if (rhsNode->getVectorSize() == 1)
  ------------------
  |  Branch (1160:13): [True: 0, False: 0]
  ------------------
 1161|      0|            return;
 1162|      0|        break;
 1163|       |
 1164|      0|    case EOpLessThan:
  ------------------
  |  Branch (1164:5): [True: 0, False: 15]
  ------------------
 1165|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (1165:5): [True: 0, False: 15]
  ------------------
 1166|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (1166:5): [True: 0, False: 15]
  ------------------
 1167|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (1167:5): [True: 0, False: 15]
  ------------------
 1168|       |
 1169|      0|    case EOpEqual:
  ------------------
  |  Branch (1169:5): [True: 0, False: 15]
  ------------------
 1170|      0|    case EOpNotEqual:
  ------------------
  |  Branch (1170:5): [True: 0, False: 15]
  ------------------
 1171|       |
 1172|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (1172:5): [True: 0, False: 15]
  ------------------
 1173|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (1173:5): [True: 0, False: 15]
  ------------------
 1174|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (1174:5): [True: 0, False: 15]
  ------------------
 1175|       |
 1176|      0|    case EOpAnd:
  ------------------
  |  Branch (1176:5): [True: 0, False: 15]
  ------------------
 1177|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (1177:5): [True: 0, False: 15]
  ------------------
 1178|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (1178:5): [True: 0, False: 15]
  ------------------
 1179|       |
 1180|      9|    case EOpMix:
  ------------------
  |  Branch (1180:5): [True: 9, False: 6]
  ------------------
 1181|      9|        break;
 1182|       |
 1183|      0|    default:
  ------------------
  |  Branch (1183:5): [True: 0, False: 15]
  ------------------
 1184|      0|        return;
 1185|     15|    }
 1186|       |
 1187|       |    // Do bidirectional conversions
 1188|      9|    if (lhsNode->getType().isScalarOrVec1() || rhsNode->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (1188:9): [True: 9, False: 0]
  |  Branch (1188:48): [True: 0, False: 0]
  ------------------
 1189|      9|        if (lhsNode->getType().isScalarOrVec1())
  ------------------
  |  Branch (1189:13): [True: 9, False: 0]
  ------------------
 1190|      9|            lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1191|      0|        else
 1192|      0|            rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1193|      9|    }
 1194|      9|    lhsNode = addShapeConversion(rhsNode->getType(), lhsNode);
 1195|      9|    rhsNode = addShapeConversion(lhsNode->getType(), rhsNode);
 1196|      9|}
_ZN7glslang13TIntermediate18addShapeConversionERKNS_5TTypeEPNS_12TIntermTypedE:
 1208|     33|{
 1209|       |    // no conversion needed
 1210|     33|    if (node->getType() == type)
  ------------------
  |  Branch (1210:9): [True: 21, False: 12]
  ------------------
 1211|     21|        return node;
 1212|       |
 1213|       |    // structures and arrays don't change shape, either to or from
 1214|     12|    if (node->getType().isStruct() || node->getType().isArray() ||
  ------------------
  |  Branch (1214:9): [True: 0, False: 12]
  |  Branch (1214:39): [True: 0, False: 12]
  ------------------
 1215|     12|        type.isStruct() || type.isArray())
  ------------------
  |  Branch (1215:9): [True: 0, False: 12]
  |  Branch (1215:28): [True: 0, False: 12]
  ------------------
 1216|      0|        return node;
 1217|       |
 1218|       |    // The new node that handles the conversion
 1219|     12|    TOperator constructorOp = mapTypeToConstructorOp(type);
 1220|       |
 1221|     12|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1221:9): [True: 12, False: 0]
  ------------------
 1222|       |        // HLSL rules for scalar, vector and matrix conversions:
 1223|       |        // 1) scalar can become anything, initializing every component with its value
 1224|       |        // 2) vector and matrix can become scalar, first element is used (warning: truncation)
 1225|       |        // 3) matrix can become matrix with less rows and/or columns (warning: truncation)
 1226|       |        // 4) vector can become vector with less rows size (warning: truncation)
 1227|       |        // 5a) vector 4 can become 2x2 matrix (special case) (same packing layout, its a reinterpret)
 1228|       |        // 5b) 2x2 matrix can become vector 4 (special case) (same packing layout, its a reinterpret)
 1229|       |
 1230|     12|        const TType &sourceType = node->getType();
 1231|       |
 1232|       |        // rule 1 for scalar to matrix is special
 1233|     12|        if (sourceType.isScalarOrVec1() && type.isMatrix()) {
  ------------------
  |  Branch (1233:13): [True: 12, False: 0]
  |  Branch (1233:44): [True: 0, False: 12]
  ------------------
 1234|       |
 1235|       |            // HLSL semantics: the scalar (or vec1) is replicated to every component of the matrix.  Left to its
 1236|       |            // own devices, the constructor from a scalar would populate the diagonal.  This forces replication
 1237|       |            // to every matrix element.
 1238|       |
 1239|       |            // Note that if the node is complex (e.g, a function call), we don't want to duplicate it here
 1240|       |            // repeatedly, so we copy it to a temp, then use the temp.
 1241|      0|            const int matSize = type.computeNumComponents();
 1242|      0|            TIntermAggregate* rhsAggregate = new TIntermAggregate();
 1243|       |
 1244|      0|            const bool isSimple = (node->getAsSymbolNode() != nullptr) || (node->getAsConstantUnion() != nullptr);
  ------------------
  |  Branch (1244:35): [True: 0, False: 0]
  |  Branch (1244:75): [True: 0, False: 0]
  ------------------
 1245|       |
 1246|      0|            if (!isSimple) {
  ------------------
  |  Branch (1246:17): [True: 0, False: 0]
  ------------------
 1247|      0|                assert(0); // TODO: use node replicator service when available.
 1248|      0|            }
 1249|       |
 1250|      0|            for (int x = 0; x < matSize; ++x)
  ------------------
  |  Branch (1250:29): [True: 0, False: 0]
  ------------------
 1251|      0|                rhsAggregate->getSequence().push_back(node);
 1252|       |
 1253|      0|            return setAggregateOperator(rhsAggregate, constructorOp, type, node->getLoc());
 1254|      0|        }
 1255|       |
 1256|       |        // rule 1 and 2
 1257|     12|        if ((sourceType.isScalar() && !type.isScalar()) || (!sourceType.isScalar() && type.isScalar()))
  ------------------
  |  Branch (1257:14): [True: 12, False: 0]
  |  Branch (1257:39): [True: 12, False: 0]
  |  Branch (1257:61): [True: 0, False: 0]
  |  Branch (1257:87): [True: 0, False: 0]
  ------------------
 1258|     12|            return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1259|       |
 1260|       |        // rule 3 and 5b
 1261|      0|        if (sourceType.isMatrix()) {
  ------------------
  |  Branch (1261:13): [True: 0, False: 0]
  ------------------
 1262|       |            // rule 3
 1263|      0|            if (type.isMatrix()) {
  ------------------
  |  Branch (1263:17): [True: 0, False: 0]
  ------------------
 1264|      0|                if ((sourceType.getMatrixCols() != type.getMatrixCols() || sourceType.getMatrixRows() != type.getMatrixRows()) &&
  ------------------
  |  Branch (1264:22): [True: 0, False: 0]
  |  Branch (1264:76): [True: 0, False: 0]
  ------------------
 1265|      0|                    sourceType.getMatrixCols() >= type.getMatrixCols() && sourceType.getMatrixRows() >= type.getMatrixRows())
  ------------------
  |  Branch (1265:21): [True: 0, False: 0]
  |  Branch (1265:75): [True: 0, False: 0]
  ------------------
 1266|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1267|       |            // rule 5b
 1268|      0|            } else if (type.isVector()) {
  ------------------
  |  Branch (1268:24): [True: 0, False: 0]
  ------------------
 1269|      0|                if (type.getVectorSize() == 4 && sourceType.getMatrixCols() == 2 && sourceType.getMatrixRows() == 2)
  ------------------
  |  Branch (1269:21): [True: 0, False: 0]
  |  Branch (1269:50): [True: 0, False: 0]
  |  Branch (1269:85): [True: 0, False: 0]
  ------------------
 1270|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1271|      0|            }
 1272|      0|        }
 1273|       |
 1274|       |        // rule 4 and 5a
 1275|      0|        if (sourceType.isVector()) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 0]
  ------------------
 1276|       |            // rule 4
 1277|      0|            if (type.isVector())
  ------------------
  |  Branch (1277:17): [True: 0, False: 0]
  ------------------
 1278|      0|            {
 1279|      0|                if (sourceType.getVectorSize() > type.getVectorSize())
  ------------------
  |  Branch (1279:21): [True: 0, False: 0]
  ------------------
 1280|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1281|       |            // rule 5a
 1282|      0|            } else if (type.isMatrix()) {
  ------------------
  |  Branch (1282:24): [True: 0, False: 0]
  ------------------
 1283|      0|                if (sourceType.getVectorSize() == 4 && type.getMatrixCols() == 2 && type.getMatrixRows() == 2)
  ------------------
  |  Branch (1283:21): [True: 0, False: 0]
  |  Branch (1283:56): [True: 0, False: 0]
  |  Branch (1283:85): [True: 0, False: 0]
  ------------------
 1284|      0|                    return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1285|      0|            }
 1286|      0|        }
 1287|      0|    }
 1288|       |
 1289|       |    // scalar -> vector or vec1 -> vector or
 1290|       |    // vector -> scalar or
 1291|       |    // bigger vector -> smaller vector
 1292|      0|    if ((node->getType().isScalarOrVec1() && type.isVector()) ||
  ------------------
  |  Branch (1292:10): [True: 0, False: 0]
  |  Branch (1292:46): [True: 0, False: 0]
  ------------------
 1293|      0|        (node->getType().isVector() && type.isScalar()) ||
  ------------------
  |  Branch (1293:10): [True: 0, False: 0]
  |  Branch (1293:40): [True: 0, False: 0]
  ------------------
 1294|      0|        (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize()))
  ------------------
  |  Branch (1294:10): [True: 0, False: 0]
  |  Branch (1294:30): [True: 0, False: 0]
  |  Branch (1294:49): [True: 0, False: 0]
  ------------------
 1295|      0|        return setAggregateOperator(makeAggregate(node), constructorOp, type, node->getLoc());
 1296|       |
 1297|      0|    return node;
 1298|      0|}
_ZNK7glslang13TIntermediate20canImplicitlyPromoteENS_10TBasicTypeES1_NS_9TOperatorE:
 1472|     49|{
 1473|     49|    if ((isEsProfile() && version < 310 ) || version == 110)
  ------------------
  |  Branch (1473:10): [True: 1, False: 48]
  |  Branch (1473:27): [True: 1, False: 0]
  |  Branch (1473:46): [True: 0, False: 48]
  ------------------
 1474|      1|        return false;
 1475|       |
 1476|     48|    if (from == to)
  ------------------
  |  Branch (1476:9): [True: 0, False: 48]
  ------------------
 1477|      0|        return true;
 1478|       |
 1479|       |    // TODO: Move more policies into language-specific handlers.
 1480|       |    // Some languages allow more general (or potentially, more specific) conversions under some conditions.
 1481|     48|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1481:9): [True: 48, False: 0]
  ------------------
 1482|     48|        const bool fromConvertable = (from == EbtFloat || from == EbtDouble || from == EbtInt || from == EbtUint || from == EbtBool);
  ------------------
  |  Branch (1482:39): [True: 0, False: 48]
  |  Branch (1482:59): [True: 0, False: 48]
  |  Branch (1482:80): [True: 27, False: 21]
  |  Branch (1482:98): [True: 15, False: 6]
  |  Branch (1482:117): [True: 6, False: 0]
  ------------------
 1483|     48|        const bool toConvertable = (to == EbtFloat || to == EbtDouble || to == EbtInt || to == EbtUint || to == EbtBool);
  ------------------
  |  Branch (1483:37): [True: 0, False: 48]
  |  Branch (1483:55): [True: 0, False: 48]
  |  Branch (1483:74): [True: 15, False: 33]
  |  Branch (1483:90): [True: 15, False: 18]
  |  Branch (1483:107): [True: 18, False: 0]
  ------------------
 1484|       |
 1485|     48|        if (fromConvertable && toConvertable) {
  ------------------
  |  Branch (1485:13): [True: 48, False: 0]
  |  Branch (1485:32): [True: 48, False: 0]
  ------------------
 1486|     48|            switch (op) {
 1487|      0|            case EOpAndAssign:               // assignments can perform arbitrary conversions
  ------------------
  |  Branch (1487:13): [True: 0, False: 48]
  ------------------
 1488|      0|            case EOpInclusiveOrAssign:       // ...
  ------------------
  |  Branch (1488:13): [True: 0, False: 48]
  ------------------
 1489|      0|            case EOpExclusiveOrAssign:       // ...
  ------------------
  |  Branch (1489:13): [True: 0, False: 48]
  ------------------
 1490|      0|            case EOpAssign:                  // ...
  ------------------
  |  Branch (1490:13): [True: 0, False: 48]
  ------------------
 1491|      0|            case EOpAddAssign:               // ...
  ------------------
  |  Branch (1491:13): [True: 0, False: 48]
  ------------------
 1492|      0|            case EOpSubAssign:               // ...
  ------------------
  |  Branch (1492:13): [True: 0, False: 48]
  ------------------
 1493|      0|            case EOpMulAssign:               // ...
  ------------------
  |  Branch (1493:13): [True: 0, False: 48]
  ------------------
 1494|      0|            case EOpVectorTimesScalarAssign: // ...
  ------------------
  |  Branch (1494:13): [True: 0, False: 48]
  ------------------
 1495|      0|            case EOpMatrixTimesScalarAssign: // ...
  ------------------
  |  Branch (1495:13): [True: 0, False: 48]
  ------------------
 1496|      0|            case EOpDivAssign:               // ...
  ------------------
  |  Branch (1496:13): [True: 0, False: 48]
  ------------------
 1497|      0|            case EOpModAssign:               // ...
  ------------------
  |  Branch (1497:13): [True: 0, False: 48]
  ------------------
 1498|      0|            case EOpReturn:                  // function returns can also perform arbitrary conversions
  ------------------
  |  Branch (1498:13): [True: 0, False: 48]
  ------------------
 1499|      0|            case EOpFunctionCall:            // conversion of a calling parameter
  ------------------
  |  Branch (1499:13): [True: 0, False: 48]
  ------------------
 1500|     12|            case EOpLogicalNot:
  ------------------
  |  Branch (1500:13): [True: 12, False: 36]
  ------------------
 1501|     12|            case EOpLogicalAnd:
  ------------------
  |  Branch (1501:13): [True: 0, False: 48]
  ------------------
 1502|     12|            case EOpLogicalOr:
  ------------------
  |  Branch (1502:13): [True: 0, False: 48]
  ------------------
 1503|     12|            case EOpLogicalXor:
  ------------------
  |  Branch (1503:13): [True: 0, False: 48]
  ------------------
 1504|     12|            case EOpConstructStruct:
  ------------------
  |  Branch (1504:13): [True: 0, False: 48]
  ------------------
 1505|     12|                return true;
 1506|     36|            default:
  ------------------
  |  Branch (1506:13): [True: 36, False: 12]
  ------------------
 1507|     36|                break;
 1508|     48|            }
 1509|     48|        }
 1510|     48|    }
 1511|       |
 1512|     36|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1512:9): [True: 36, False: 0]
  ------------------
 1513|       |        // HLSL
 1514|     36|        if (from == EbtBool && (to == EbtInt || to == EbtUint || to == EbtFloat))
  ------------------
  |  Branch (1514:13): [True: 6, False: 30]
  |  Branch (1514:33): [True: 3, False: 3]
  |  Branch (1514:49): [True: 3, False: 0]
  |  Branch (1514:66): [True: 0, False: 0]
  ------------------
 1515|      6|            return true;
 1516|     36|    } else {
 1517|       |        // GLSL
 1518|      0|        if (isIntegralPromotion(from, to) ||
  ------------------
  |  Branch (1518:13): [True: 0, False: 0]
  ------------------
 1519|      0|            isFPPromotion(from, to) ||
  ------------------
  |  Branch (1519:13): [True: 0, False: 0]
  ------------------
 1520|      0|            isIntegralConversion(from, to) ||
  ------------------
  |  Branch (1520:13): [True: 0, False: 0]
  ------------------
 1521|      0|            isFPConversion(from, to) ||
  ------------------
  |  Branch (1521:13): [True: 0, False: 0]
  ------------------
 1522|      0|            isFPIntegralConversion(from, to)) {
  ------------------
  |  Branch (1522:13): [True: 0, False: 0]
  ------------------
 1523|       |
 1524|      0|            if (numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types) ||
  ------------------
  |  Branch (1524:17): [True: 0, False: 0]
  ------------------
 1525|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int8) ||
  ------------------
  |  Branch (1525:17): [True: 0, False: 0]
  ------------------
 1526|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int16) ||
  ------------------
  |  Branch (1526:17): [True: 0, False: 0]
  ------------------
 1527|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int32) ||
  ------------------
  |  Branch (1527:17): [True: 0, False: 0]
  ------------------
 1528|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_int64) ||
  ------------------
  |  Branch (1528:17): [True: 0, False: 0]
  ------------------
 1529|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float16) ||
  ------------------
  |  Branch (1529:17): [True: 0, False: 0]
  ------------------
 1530|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float32) ||
  ------------------
  |  Branch (1530:17): [True: 0, False: 0]
  ------------------
 1531|      0|                numericFeatures.contains(TNumericFeatures::shader_explicit_arithmetic_types_float64)) {
  ------------------
  |  Branch (1531:17): [True: 0, False: 0]
  ------------------
 1532|      0|                return true;
 1533|      0|            }
 1534|      0|        }
 1535|      0|    }
 1536|       |
 1537|     30|    if (isEsProfile()) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 30]
  ------------------
 1538|      0|        switch (to) {
 1539|      0|            case EbtFloat:
  ------------------
  |  Branch (1539:13): [True: 0, False: 0]
  ------------------
 1540|      0|                switch (from) {
 1541|      0|                case EbtInt:
  ------------------
  |  Branch (1541:17): [True: 0, False: 0]
  ------------------
 1542|      0|                case EbtUint:
  ------------------
  |  Branch (1542:17): [True: 0, False: 0]
  ------------------
 1543|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1544|      0|                default:
  ------------------
  |  Branch (1544:17): [True: 0, False: 0]
  ------------------
 1545|      0|                    return false;
 1546|      0|                }
 1547|      0|            case EbtUint:
  ------------------
  |  Branch (1547:13): [True: 0, False: 0]
  ------------------
 1548|      0|                switch (from) {
 1549|      0|                case EbtInt:
  ------------------
  |  Branch (1549:17): [True: 0, False: 0]
  ------------------
 1550|      0|                    return numericFeatures.contains(TNumericFeatures::shader_implicit_conversions);
 1551|      0|                default:
  ------------------
  |  Branch (1551:17): [True: 0, False: 0]
  ------------------
 1552|      0|                    return false;
 1553|      0|                }
 1554|      0|            default:
  ------------------
  |  Branch (1554:13): [True: 0, False: 0]
  ------------------
 1555|      0|                return false;
 1556|      0|        }        
 1557|     30|    } else {
 1558|     30|        switch (to) {
 1559|      0|        case EbtDouble:
  ------------------
  |  Branch (1559:9): [True: 0, False: 30]
  ------------------
 1560|      0|            switch (from) {
 1561|      0|            case EbtInt:
  ------------------
  |  Branch (1561:13): [True: 0, False: 0]
  ------------------
 1562|      0|            case EbtUint:
  ------------------
  |  Branch (1562:13): [True: 0, False: 0]
  ------------------
 1563|      0|            case EbtInt64:
  ------------------
  |  Branch (1563:13): [True: 0, False: 0]
  ------------------
 1564|      0|            case EbtUint64:
  ------------------
  |  Branch (1564:13): [True: 0, False: 0]
  ------------------
 1565|      0|            case EbtFloat:
  ------------------
  |  Branch (1565:13): [True: 0, False: 0]
  ------------------
 1566|      0|                return version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64);
  ------------------
  |  Branch (1566:24): [True: 0, False: 0]
  |  Branch (1566:42): [True: 0, False: 0]
  ------------------
 1567|      0|            case EbtInt16:
  ------------------
  |  Branch (1567:13): [True: 0, False: 0]
  ------------------
 1568|      0|            case EbtUint16:
  ------------------
  |  Branch (1568:13): [True: 0, False: 0]
  ------------------
 1569|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1569:25): [True: 0, False: 0]
  |  Branch (1569:43): [True: 0, False: 0]
  ------------------
 1570|      0|                                         (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) || 
  ------------------
  |  Branch (1570:43): [True: 0, False: 0]
  ------------------
 1571|      0|                                          numericFeatures.contains(TNumericFeatures::gpu_shader_int16));
  ------------------
  |  Branch (1571:43): [True: 0, False: 0]
  ------------------
 1572|      0|            case EbtFloat16:
  ------------------
  |  Branch (1572:13): [True: 0, False: 0]
  ------------------
 1573|      0|                return (version >= 400 || numericFeatures.contains(TNumericFeatures::gpu_shader_fp64)) &&
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  |  Branch (1573:43): [True: 0, False: 0]
  ------------------
 1574|      0|                                        (numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) || 
  ------------------
  |  Branch (1574:42): [True: 0, False: 0]
  ------------------
 1575|      0|                                        numericFeatures.contains(TNumericFeatures::gpu_shader_half_float));
  ------------------
  |  Branch (1575:41): [True: 0, False: 0]
  ------------------
 1576|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1576:13): [True: 0, False: 0]
  ------------------
 1577|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1577:13): [True: 0, False: 0]
  ------------------
 1578|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1578:13): [True: 0, False: 0]
  ------------------
 1579|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1579:13): [True: 0, False: 0]
  ------------------
 1580|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1580:13): [True: 0, False: 0]
  ------------------
 1581|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1581:13): [True: 0, False: 0]
  ------------------
 1582|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1582:13): [True: 0, False: 0]
  ------------------
 1583|      0|                return true;
 1584|      0|            case EbtInt8:
  ------------------
  |  Branch (1584:13): [True: 0, False: 0]
  ------------------
 1585|      0|            case EbtUint8:
  ------------------
  |  Branch (1585:13): [True: 0, False: 0]
  ------------------
 1586|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1587|      0|            default:
  ------------------
  |  Branch (1587:13): [True: 0, False: 0]
  ------------------
 1588|      0|                return false;
 1589|      0|           }
 1590|      0|        case EbtFloat:
  ------------------
  |  Branch (1590:9): [True: 0, False: 30]
  ------------------
 1591|      0|            switch (from) {
 1592|      0|            case EbtInt:
  ------------------
  |  Branch (1592:13): [True: 0, False: 0]
  ------------------
 1593|      0|            case EbtUint:
  ------------------
  |  Branch (1593:13): [True: 0, False: 0]
  ------------------
 1594|      0|                 return true;
 1595|      0|            case EbtBool:
  ------------------
  |  Branch (1595:13): [True: 0, False: 0]
  ------------------
 1596|      0|                 return getSource() == EShSourceHlsl;
 1597|      0|            case EbtInt16:
  ------------------
  |  Branch (1597:13): [True: 0, False: 0]
  ------------------
 1598|      0|            case EbtUint16:
  ------------------
  |  Branch (1598:13): [True: 0, False: 0]
  ------------------
 1599|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1599:24): [True: 0, False: 0]
  ------------------
 1600|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1600:24): [True: 0, False: 0]
  ------------------
 1601|      0|            case EbtFloat16:
  ------------------
  |  Branch (1601:13): [True: 0, False: 0]
  ------------------
 1602|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_half_float) ||
  ------------------
  |  Branch (1602:24): [True: 0, False: 0]
  ------------------
 1603|      0|                    numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types) ||
  ------------------
  |  Branch (1603:21): [True: 0, False: 0]
  ------------------
 1604|      0|                    getSource() == EShSourceHlsl;
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|            case EbtBFloat16:
  ------------------
  |  Branch (1605:13): [True: 0, False: 0]
  ------------------
 1606|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1606:13): [True: 0, False: 0]
  ------------------
 1607|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1607:13): [True: 0, False: 0]
  ------------------
 1608|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1608:13): [True: 0, False: 0]
  ------------------
 1609|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1609:13): [True: 0, False: 0]
  ------------------
 1610|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1610:13): [True: 0, False: 0]
  ------------------
 1611|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1611:13): [True: 0, False: 0]
  ------------------
 1612|      0|                return true;
 1613|      0|            case EbtInt8:
  ------------------
  |  Branch (1613:13): [True: 0, False: 0]
  ------------------
 1614|      0|            case EbtUint8:
  ------------------
  |  Branch (1614:13): [True: 0, False: 0]
  ------------------
 1615|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1616|      0|            default:
  ------------------
  |  Branch (1616:13): [True: 0, False: 0]
  ------------------
 1617|      0|                 return false;
 1618|      0|            }
 1619|     12|        case EbtUint:
  ------------------
  |  Branch (1619:9): [True: 12, False: 18]
  ------------------
 1620|     12|            switch (from) {
 1621|     12|            case EbtInt:
  ------------------
  |  Branch (1621:13): [True: 12, False: 0]
  ------------------
 1622|     12|                return version >= 400 || getSource() == EShSourceHlsl || 
  ------------------
  |  Branch (1622:24): [True: 12, False: 0]
  |  Branch (1622:42): [True: 0, False: 0]
  ------------------
 1623|      0|						IsRequestedExtension(E_GL_ARB_gpu_shader5) ||
  ------------------
  |  Branch (1623:7): [True: 0, False: 0]
  ------------------
 1624|      0|						numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1624:7): [True: 0, False: 0]
  ------------------
 1625|      0|            case EbtBool:
  ------------------
  |  Branch (1625:13): [True: 0, False: 12]
  ------------------
 1626|      0|                return getSource() == EShSourceHlsl;
 1627|      0|            case EbtInt16:
  ------------------
  |  Branch (1627:13): [True: 0, False: 12]
  ------------------
 1628|      0|            case EbtUint16:
  ------------------
  |  Branch (1628:13): [True: 0, False: 12]
  ------------------
 1629|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1629:24): [True: 0, False: 0]
  ------------------
 1630|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1630:24): [True: 0, False: 0]
  ------------------
 1631|      0|            case EbtInt8:
  ------------------
  |  Branch (1631:13): [True: 0, False: 12]
  ------------------
 1632|      0|            case EbtUint8:
  ------------------
  |  Branch (1632:13): [True: 0, False: 12]
  ------------------
 1633|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1634|      0|            default:
  ------------------
  |  Branch (1634:13): [True: 0, False: 12]
  ------------------
 1635|      0|                return false;
 1636|     12|            }
 1637|     12|        case EbtInt:
  ------------------
  |  Branch (1637:9): [True: 12, False: 18]
  ------------------
 1638|     12|            switch (from) {
 1639|      0|            case EbtBool:
  ------------------
  |  Branch (1639:13): [True: 0, False: 12]
  ------------------
 1640|      0|                return getSource() == EShSourceHlsl;
 1641|      0|            case EbtInt16:
  ------------------
  |  Branch (1641:13): [True: 0, False: 12]
  ------------------
 1642|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1642:24): [True: 0, False: 0]
  ------------------
 1643|      0|                       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1643:24): [True: 0, False: 0]
  ------------------
 1644|      0|            case EbtInt8:
  ------------------
  |  Branch (1644:13): [True: 0, False: 12]
  ------------------
 1645|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1646|     12|            default:
  ------------------
  |  Branch (1646:13): [True: 12, False: 0]
  ------------------
 1647|     12|                return false;
 1648|     12|            }
 1649|      0|        case EbtUint64:
  ------------------
  |  Branch (1649:9): [True: 0, False: 30]
  ------------------
 1650|      0|            switch (from) {
 1651|      0|            case EbtInt:
  ------------------
  |  Branch (1651:13): [True: 0, False: 0]
  ------------------
 1652|      0|            case EbtUint:
  ------------------
  |  Branch (1652:13): [True: 0, False: 0]
  ------------------
 1653|      0|            case EbtInt64:
  ------------------
  |  Branch (1653:13): [True: 0, False: 0]
  ------------------
 1654|      0|                return true;
 1655|      0|            case EbtInt16:
  ------------------
  |  Branch (1655:13): [True: 0, False: 0]
  ------------------
 1656|      0|            case EbtUint16:
  ------------------
  |  Branch (1656:13): [True: 0, False: 0]
  ------------------
 1657|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1657:24): [True: 0, False: 0]
  ------------------
 1658|      0|                	numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1658:18): [True: 0, False: 0]
  ------------------
 1659|      0|            case EbtInt8:
  ------------------
  |  Branch (1659:13): [True: 0, False: 0]
  ------------------
 1660|      0|            case EbtUint8:
  ------------------
  |  Branch (1660:13): [True: 0, False: 0]
  ------------------
 1661|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1662|      0|            default:
  ------------------
  |  Branch (1662:13): [True: 0, False: 0]
  ------------------
 1663|      0|                return false;
 1664|      0|            }
 1665|      0|        case EbtInt64:
  ------------------
  |  Branch (1665:9): [True: 0, False: 30]
  ------------------
 1666|      0|            switch (from) {
 1667|      0|            case EbtInt:
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  ------------------
 1668|      0|                return true;
 1669|      0|            case EbtInt8:
  ------------------
  |  Branch (1669:13): [True: 0, False: 0]
  ------------------
 1670|      0|                return numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
 1671|      0|            case EbtInt16:
  ------------------
  |  Branch (1671:13): [True: 0, False: 0]
  ------------------
 1672|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16) ||
  ------------------
  |  Branch (1672:24): [True: 0, False: 0]
  ------------------
 1673|      0|				       numericFeatures.contains(TNumericFeatures::nv_gpu_shader5_types);
  ------------------
  |  Branch (1673:12): [True: 0, False: 0]
  ------------------
 1674|      0|            default:
  ------------------
  |  Branch (1674:13): [True: 0, False: 0]
  ------------------
 1675|      0|                return false;
 1676|      0|            }
 1677|      0|        case EbtFloat16:
  ------------------
  |  Branch (1677:9): [True: 0, False: 30]
  ------------------
 1678|      0|            switch (from) {
 1679|      0|            case EbtInt16:
  ------------------
  |  Branch (1679:13): [True: 0, False: 0]
  ------------------
 1680|      0|            case EbtUint16:
  ------------------
  |  Branch (1680:13): [True: 0, False: 0]
  ------------------
 1681|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1682|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1682:13): [True: 0, False: 0]
  ------------------
 1683|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1683:13): [True: 0, False: 0]
  ------------------
 1684|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1684:13): [True: 0, False: 0]
  ------------------
 1685|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1685:13): [True: 0, False: 0]
  ------------------
 1686|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1686:13): [True: 0, False: 0]
  ------------------
 1687|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1687:13): [True: 0, False: 0]
  ------------------
 1688|      0|                return true;
 1689|      0|            default:
  ------------------
  |  Branch (1689:13): [True: 0, False: 0]
  ------------------
 1690|      0|                break;
 1691|      0|            }
 1692|      0|            return false;
 1693|      0|        case EbtBFloat16:
  ------------------
  |  Branch (1693:9): [True: 0, False: 30]
  ------------------
 1694|      0|            switch (from) {
 1695|      0|            case EbtFloatE5M2:
  ------------------
  |  Branch (1695:13): [True: 0, False: 0]
  ------------------
 1696|      0|            case EbtFloatE4M3:
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  ------------------
 1697|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1697:13): [True: 0, False: 0]
  ------------------
 1698|      0|            case EbtFloatE3M2:
  ------------------
  |  Branch (1698:13): [True: 0, False: 0]
  ------------------
 1699|      0|            case EbtFloatE2M3:
  ------------------
  |  Branch (1699:13): [True: 0, False: 0]
  ------------------
 1700|      0|            case EbtFloatMXINT8:
  ------------------
  |  Branch (1700:13): [True: 0, False: 0]
  ------------------
 1701|      0|                return true;
 1702|      0|            default:
  ------------------
  |  Branch (1702:13): [True: 0, False: 0]
  ------------------
 1703|      0|                break;
 1704|      0|            }
 1705|      0|            return false;
 1706|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (1706:9): [True: 0, False: 30]
  ------------------
 1707|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (1707:9): [True: 0, False: 30]
  ------------------
 1708|      0|            switch (from) {
 1709|      0|            case EbtFloatE2M1:
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|                return true;
 1711|      0|            default:
  ------------------
  |  Branch (1711:13): [True: 0, False: 0]
  ------------------
 1712|      0|                break;
 1713|      0|            }
 1714|      0|            return false;
 1715|      0|        case EbtUint16:
  ------------------
  |  Branch (1715:9): [True: 0, False: 30]
  ------------------
 1716|      0|            switch (from) {
 1717|      0|            case EbtInt16:
  ------------------
  |  Branch (1717:13): [True: 0, False: 0]
  ------------------
 1718|      0|                return numericFeatures.contains(TNumericFeatures::gpu_shader_int16);
 1719|      0|            default:
  ------------------
  |  Branch (1719:13): [True: 0, False: 0]
  ------------------
 1720|      0|                break;
 1721|      0|            }
 1722|      0|            return false;
 1723|      6|        default:
  ------------------
  |  Branch (1723:9): [True: 6, False: 24]
  ------------------
 1724|      6|            return false;
 1725|     30|        }
 1726|     30|    }
 1727|       |
 1728|      0|    return false;
 1729|     30|}
_ZNK7glslang13TIntermediate28getConversionDestinationTypeENS_10TBasicTypeES1_NS_9TOperatorE:
 1837|     19|{
 1838|     19|    TBasicType res0 = EbtNumTypes;
 1839|     19|    TBasicType res1 = EbtNumTypes;
 1840|       |
 1841|     19|    if ((isEsProfile() && 
  ------------------
  |  Branch (1841:10): [True: 1, False: 18]
  ------------------
 1842|      1|        (version < 310 || !numericFeatures.contains(TNumericFeatures::shader_implicit_conversions))) || 
  ------------------
  |  Branch (1842:10): [True: 1, False: 0]
  |  Branch (1842:27): [True: 0, False: 0]
  ------------------
 1843|     18|        version == 110)
  ------------------
  |  Branch (1843:9): [True: 0, False: 18]
  ------------------
 1844|      1|        return std::make_tuple(res0, res1);
 1845|       |
 1846|     18|    if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (1846:9): [True: 18, False: 0]
  ------------------
 1847|     18|        if (canImplicitlyPromote(type1, type0, op)) {
  ------------------
  |  Branch (1847:13): [True: 0, False: 18]
  ------------------
 1848|      0|            res0 = type0;
 1849|      0|            res1 = type0;
 1850|     18|        } else if (canImplicitlyPromote(type0, type1, op)) {
  ------------------
  |  Branch (1850:20): [True: 18, False: 0]
  ------------------
 1851|     18|            res0 = type1;
 1852|     18|            res1 = type1;
 1853|     18|        }
 1854|     18|        return std::make_tuple(res0, res1);
 1855|     18|    }
 1856|       |
 1857|      0|    if ((type0 == EbtDouble && canImplicitlyPromote(type1, EbtDouble, op)) ||
  ------------------
  |  Branch (1857:10): [True: 0, False: 0]
  |  Branch (1857:32): [True: 0, False: 0]
  ------------------
 1858|      0|        (type1 == EbtDouble && canImplicitlyPromote(type0, EbtDouble, op)) ) {
  ------------------
  |  Branch (1858:10): [True: 0, False: 0]
  |  Branch (1858:32): [True: 0, False: 0]
  ------------------
 1859|      0|        res0 = EbtDouble;
 1860|      0|        res1 = EbtDouble;
 1861|      0|    } else if ((type0 == EbtFloat && canImplicitlyPromote(type1, EbtFloat, op)) ||
  ------------------
  |  Branch (1861:17): [True: 0, False: 0]
  |  Branch (1861:38): [True: 0, False: 0]
  ------------------
 1862|      0|               (type1 == EbtFloat && canImplicitlyPromote(type0, EbtFloat, op)) ) {
  ------------------
  |  Branch (1862:17): [True: 0, False: 0]
  |  Branch (1862:38): [True: 0, False: 0]
  ------------------
 1863|      0|        res0 = EbtFloat;
 1864|      0|        res1 = EbtFloat;
 1865|      0|    } else if ((type0 == EbtFloat16 && canImplicitlyPromote(type1, EbtFloat16, op)) ||
  ------------------
  |  Branch (1865:17): [True: 0, False: 0]
  |  Branch (1865:40): [True: 0, False: 0]
  ------------------
 1866|      0|               (type1 == EbtFloat16 && canImplicitlyPromote(type0, EbtFloat16, op)) ) {
  ------------------
  |  Branch (1866:17): [True: 0, False: 0]
  |  Branch (1866:40): [True: 0, False: 0]
  ------------------
 1867|      0|        res0 = EbtFloat16;
 1868|      0|        res1 = EbtFloat16;
 1869|      0|    } else if ((type0 == EbtBFloat16 && canImplicitlyPromote(type1, EbtBFloat16, op)) ||
  ------------------
  |  Branch (1869:17): [True: 0, False: 0]
  |  Branch (1869:41): [True: 0, False: 0]
  ------------------
 1870|      0|               (type1 == EbtBFloat16 && canImplicitlyPromote(type0, EbtBFloat16, op)) ) {
  ------------------
  |  Branch (1870:17): [True: 0, False: 0]
  |  Branch (1870:41): [True: 0, False: 0]
  ------------------
 1871|      0|        res0 = EbtBFloat16;
 1872|      0|        res1 = EbtBFloat16;
 1873|      0|    } else if (isTypeInt(type0) && isTypeInt(type1) &&
  ------------------
  |  Branch (1873:16): [True: 0, False: 0]
  |  Branch (1873:36): [True: 0, False: 0]
  ------------------
 1874|      0|               (canImplicitlyPromote(type0, type1, op) || canImplicitlyPromote(type1, type0, op))) {
  ------------------
  |  Branch (1874:17): [True: 0, False: 0]
  |  Branch (1874:59): [True: 0, False: 0]
  ------------------
 1875|      0|        if ((isTypeSignedInt(type0) && isTypeSignedInt(type1)) ||
  ------------------
  |  Branch (1875:14): [True: 0, False: 0]
  |  Branch (1875:40): [True: 0, False: 0]
  ------------------
 1876|      0|            (isTypeUnsignedInt(type0) && isTypeUnsignedInt(type1))) {
  ------------------
  |  Branch (1876:14): [True: 0, False: 0]
  |  Branch (1876:42): [True: 0, False: 0]
  ------------------
 1877|      0|            if (getTypeRank(type0) < getTypeRank(type1)) {
  ------------------
  |  Branch (1877:17): [True: 0, False: 0]
  ------------------
 1878|      0|                res0 = type1;
 1879|      0|                res1 = type1;
 1880|      0|            } else {
 1881|      0|                res0 = type0;
 1882|      0|                res1 = type0;
 1883|      0|            }
 1884|      0|        } else if (isTypeUnsignedInt(type0) && (getTypeRank(type0) > getTypeRank(type1))) {
  ------------------
  |  Branch (1884:20): [True: 0, False: 0]
  |  Branch (1884:48): [True: 0, False: 0]
  ------------------
 1885|      0|            res0 = type0;
 1886|      0|            res1 = type0;
 1887|      0|        } else if (isTypeUnsignedInt(type1) && (getTypeRank(type1) > getTypeRank(type0))) {
  ------------------
  |  Branch (1887:20): [True: 0, False: 0]
  |  Branch (1887:48): [True: 0, False: 0]
  ------------------
 1888|      0|            res0 = type1;
 1889|      0|            res1 = type1;
 1890|      0|        } else if (isTypeSignedInt(type0)) {
  ------------------
  |  Branch (1890:20): [True: 0, False: 0]
  ------------------
 1891|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type0, type1)) {
  ------------------
  |  Branch (1891:17): [True: 0, False: 0]
  ------------------
 1892|      0|                res0 = type0;
 1893|      0|                res1 = type0;
 1894|      0|            } else {
 1895|      0|                res0 = getCorrespondingUnsignedType(type0);
 1896|      0|                res1 = getCorrespondingUnsignedType(type0);
 1897|      0|            }
 1898|      0|        } else if (isTypeSignedInt(type1)) {
  ------------------
  |  Branch (1898:20): [True: 0, False: 0]
  ------------------
 1899|      0|            if (canSignedIntTypeRepresentAllUnsignedValues(type1, type0)) {
  ------------------
  |  Branch (1899:17): [True: 0, False: 0]
  ------------------
 1900|      0|                res0 = type1;
 1901|      0|                res1 = type1;
 1902|      0|            } else {
 1903|      0|                res0 = getCorrespondingUnsignedType(type1);
 1904|      0|                res1 = getCorrespondingUnsignedType(type1);
 1905|      0|            }
 1906|      0|        }
 1907|      0|    }
 1908|       |
 1909|      0|    return std::make_tuple(res0, res1);
 1910|     18|}
_ZNK7glslang13TIntermediate22mapTypeToConstructorOpERKNS_5TTypeE:
 1916|    753|{
 1917|    753|    TOperator op = EOpNull;
 1918|       |
 1919|    753|    if (type.getQualifier().isNonUniform())
  ------------------
  |  Branch (1919:9): [True: 0, False: 753]
  ------------------
 1920|      0|        return EOpConstructNonuniform;
 1921|       |
 1922|    753|    if (type.isCoopMatNV())
  ------------------
  |  Branch (1922:9): [True: 0, False: 753]
  ------------------
 1923|      0|        return EOpConstructCooperativeMatrixNV;
 1924|       |
 1925|    753|    if (type.isCoopMatKHR())
  ------------------
  |  Branch (1925:9): [True: 0, False: 753]
  ------------------
 1926|      0|        return EOpConstructCooperativeMatrixKHR;
 1927|       |
 1928|    753|    if (type.isCoopVecOrLongVector())
  ------------------
  |  Branch (1928:9): [True: 0, False: 753]
  ------------------
 1929|      0|        return EOpConstructCooperativeVectorNV;
 1930|       |
 1931|    753|    switch (type.getBasicType()) {
 1932|      0|    case EbtStruct:
  ------------------
  |  Branch (1932:5): [True: 0, False: 753]
  ------------------
 1933|      0|        op = EOpConstructStruct;
 1934|      0|        break;
 1935|      0|    case EbtSampler:
  ------------------
  |  Branch (1935:5): [True: 0, False: 753]
  ------------------
 1936|      0|        if (type.getSampler().isCombined())
  ------------------
  |  Branch (1936:13): [True: 0, False: 0]
  ------------------
 1937|      0|            op = EOpConstructTextureSampler;
 1938|      0|        break;
 1939|      0|    case EbtFloat:
  ------------------
  |  Branch (1939:5): [True: 0, False: 753]
  ------------------
 1940|      0|        if (type.isMatrix()) {
  ------------------
  |  Branch (1940:13): [True: 0, False: 0]
  ------------------
 1941|      0|            switch (type.getMatrixCols()) {
 1942|      0|            case 2:
  ------------------
  |  Branch (1942:13): [True: 0, False: 0]
  ------------------
 1943|      0|                switch (type.getMatrixRows()) {
 1944|      0|                case 2: op = EOpConstructMat2x2; break;
  ------------------
  |  Branch (1944:17): [True: 0, False: 0]
  ------------------
 1945|      0|                case 3: op = EOpConstructMat2x3; break;
  ------------------
  |  Branch (1945:17): [True: 0, False: 0]
  ------------------
 1946|      0|                case 4: op = EOpConstructMat2x4; break;
  ------------------
  |  Branch (1946:17): [True: 0, False: 0]
  ------------------
 1947|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1947:17): [True: 0, False: 0]
  ------------------
 1948|      0|                }
 1949|      0|                break;
 1950|      0|            case 3:
  ------------------
  |  Branch (1950:13): [True: 0, False: 0]
  ------------------
 1951|      0|                switch (type.getMatrixRows()) {
 1952|      0|                case 2: op = EOpConstructMat3x2; break;
  ------------------
  |  Branch (1952:17): [True: 0, False: 0]
  ------------------
 1953|      0|                case 3: op = EOpConstructMat3x3; break;
  ------------------
  |  Branch (1953:17): [True: 0, False: 0]
  ------------------
 1954|      0|                case 4: op = EOpConstructMat3x4; break;
  ------------------
  |  Branch (1954:17): [True: 0, False: 0]
  ------------------
 1955|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1955:17): [True: 0, False: 0]
  ------------------
 1956|      0|                }
 1957|      0|                break;
 1958|      0|            case 4:
  ------------------
  |  Branch (1958:13): [True: 0, False: 0]
  ------------------
 1959|      0|                switch (type.getMatrixRows()) {
 1960|      0|                case 2: op = EOpConstructMat4x2; break;
  ------------------
  |  Branch (1960:17): [True: 0, False: 0]
  ------------------
 1961|      0|                case 3: op = EOpConstructMat4x3; break;
  ------------------
  |  Branch (1961:17): [True: 0, False: 0]
  ------------------
 1962|      0|                case 4: op = EOpConstructMat4x4; break;
  ------------------
  |  Branch (1962:17): [True: 0, False: 0]
  ------------------
 1963|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1963:17): [True: 0, False: 0]
  ------------------
 1964|      0|                }
 1965|      0|                break;
 1966|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1966:13): [True: 0, False: 0]
  ------------------
 1967|      0|            }
 1968|      0|        } else {
 1969|      0|            switch(type.getVectorSize()) {
 1970|      0|            case 1: op = EOpConstructFloat; break;
  ------------------
  |  Branch (1970:13): [True: 0, False: 0]
  ------------------
 1971|      0|            case 2: op = EOpConstructVec2;  break;
  ------------------
  |  Branch (1971:13): [True: 0, False: 0]
  ------------------
 1972|      0|            case 3: op = EOpConstructVec3;  break;
  ------------------
  |  Branch (1972:13): [True: 0, False: 0]
  ------------------
 1973|      0|            case 4: op = EOpConstructVec4;  break;
  ------------------
  |  Branch (1973:13): [True: 0, False: 0]
  ------------------
 1974|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (1974:13): [True: 0, False: 0]
  ------------------
 1975|      0|            }
 1976|      0|        }
 1977|      0|        break;
 1978|    694|    case EbtInt:
  ------------------
  |  Branch (1978:5): [True: 694, False: 59]
  ------------------
 1979|    694|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (1979:13): [True: 0, False: 694]
  ------------------
 1980|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (1980:21): [True: 0, False: 0]
  ------------------
 1981|      0|            case 2:
  ------------------
  |  Branch (1981:13): [True: 0, False: 0]
  ------------------
 1982|      0|                switch (type.getMatrixRows()) {
 1983|      0|                case 2: op = EOpConstructIMat2x2; break;
  ------------------
  |  Branch (1983:17): [True: 0, False: 0]
  ------------------
 1984|      0|                case 3: op = EOpConstructIMat2x3; break;
  ------------------
  |  Branch (1984:17): [True: 0, False: 0]
  ------------------
 1985|      0|                case 4: op = EOpConstructIMat2x4; break;
  ------------------
  |  Branch (1985:17): [True: 0, False: 0]
  ------------------
 1986|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1986:17): [True: 0, False: 0]
  ------------------
 1987|      0|                }
 1988|      0|                break;
 1989|      0|            case 3:
  ------------------
  |  Branch (1989:13): [True: 0, False: 0]
  ------------------
 1990|      0|                switch (type.getMatrixRows()) {
 1991|      0|                case 2: op = EOpConstructIMat3x2; break;
  ------------------
  |  Branch (1991:17): [True: 0, False: 0]
  ------------------
 1992|      0|                case 3: op = EOpConstructIMat3x3; break;
  ------------------
  |  Branch (1992:17): [True: 0, False: 0]
  ------------------
 1993|      0|                case 4: op = EOpConstructIMat3x4; break;
  ------------------
  |  Branch (1993:17): [True: 0, False: 0]
  ------------------
 1994|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (1994:17): [True: 0, False: 0]
  ------------------
 1995|      0|                }
 1996|      0|                break;
 1997|      0|            case 4:
  ------------------
  |  Branch (1997:13): [True: 0, False: 0]
  ------------------
 1998|      0|                switch (type.getMatrixRows()) {
 1999|      0|                case 2: op = EOpConstructIMat4x2; break;
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                case 3: op = EOpConstructIMat4x3; break;
  ------------------
  |  Branch (2000:17): [True: 0, False: 0]
  ------------------
 2001|      0|                case 4: op = EOpConstructIMat4x4; break;
  ------------------
  |  Branch (2001:17): [True: 0, False: 0]
  ------------------
 2002|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2002:17): [True: 0, False: 0]
  ------------------
 2003|      0|                }
 2004|      0|                break;
 2005|      0|            }
 2006|    694|        } else {
 2007|    694|            switch(type.getVectorSize()) {
 2008|    690|            case 1: op = EOpConstructInt;   break;
  ------------------
  |  Branch (2008:13): [True: 690, False: 4]
  ------------------
 2009|      3|            case 2: op = EOpConstructIVec2; break;
  ------------------
  |  Branch (2009:13): [True: 3, False: 691]
  ------------------
 2010|      1|            case 3: op = EOpConstructIVec3; break;
  ------------------
  |  Branch (2010:13): [True: 1, False: 693]
  ------------------
 2011|      0|            case 4: op = EOpConstructIVec4; break;
  ------------------
  |  Branch (2011:13): [True: 0, False: 694]
  ------------------
 2012|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2012:13): [True: 0, False: 694]
  ------------------
 2013|    694|            }
 2014|    694|        }
 2015|    694|        break;
 2016|    694|    case EbtUint:
  ------------------
  |  Branch (2016:5): [True: 55, False: 698]
  ------------------
 2017|     55|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2017:13): [True: 0, False: 55]
  ------------------
 2018|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2018:21): [True: 0, False: 0]
  ------------------
 2019|      0|            case 2:
  ------------------
  |  Branch (2019:13): [True: 0, False: 0]
  ------------------
 2020|      0|                switch (type.getMatrixRows()) {
 2021|      0|                case 2: op = EOpConstructUMat2x2; break;
  ------------------
  |  Branch (2021:17): [True: 0, False: 0]
  ------------------
 2022|      0|                case 3: op = EOpConstructUMat2x3; break;
  ------------------
  |  Branch (2022:17): [True: 0, False: 0]
  ------------------
 2023|      0|                case 4: op = EOpConstructUMat2x4; break;
  ------------------
  |  Branch (2023:17): [True: 0, False: 0]
  ------------------
 2024|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2024:17): [True: 0, False: 0]
  ------------------
 2025|      0|                }
 2026|      0|                break;
 2027|      0|            case 3:
  ------------------
  |  Branch (2027:13): [True: 0, False: 0]
  ------------------
 2028|      0|                switch (type.getMatrixRows()) {
 2029|      0|                case 2: op = EOpConstructUMat3x2; break;
  ------------------
  |  Branch (2029:17): [True: 0, False: 0]
  ------------------
 2030|      0|                case 3: op = EOpConstructUMat3x3; break;
  ------------------
  |  Branch (2030:17): [True: 0, False: 0]
  ------------------
 2031|      0|                case 4: op = EOpConstructUMat3x4; break;
  ------------------
  |  Branch (2031:17): [True: 0, False: 0]
  ------------------
 2032|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2032:17): [True: 0, False: 0]
  ------------------
 2033|      0|                }
 2034|      0|                break;
 2035|      0|            case 4:
  ------------------
  |  Branch (2035:13): [True: 0, False: 0]
  ------------------
 2036|      0|                switch (type.getMatrixRows()) {
 2037|      0|                case 2: op = EOpConstructUMat4x2; break;
  ------------------
  |  Branch (2037:17): [True: 0, False: 0]
  ------------------
 2038|      0|                case 3: op = EOpConstructUMat4x3; break;
  ------------------
  |  Branch (2038:17): [True: 0, False: 0]
  ------------------
 2039|      0|                case 4: op = EOpConstructUMat4x4; break;
  ------------------
  |  Branch (2039:17): [True: 0, False: 0]
  ------------------
 2040|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2040:17): [True: 0, False: 0]
  ------------------
 2041|      0|                }
 2042|      0|                break;
 2043|      0|            }
 2044|     55|        } else {
 2045|     55|            switch(type.getVectorSize()) {
 2046|      1|            case 1: op = EOpConstructUint;  break;
  ------------------
  |  Branch (2046:13): [True: 1, False: 54]
  ------------------
 2047|     12|            case 2: op = EOpConstructUVec2; break;
  ------------------
  |  Branch (2047:13): [True: 12, False: 43]
  ------------------
 2048|     42|            case 3: op = EOpConstructUVec3; break;
  ------------------
  |  Branch (2048:13): [True: 42, False: 13]
  ------------------
 2049|      0|            case 4: op = EOpConstructUVec4; break;
  ------------------
  |  Branch (2049:13): [True: 0, False: 55]
  ------------------
 2050|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2050:13): [True: 0, False: 55]
  ------------------
 2051|     55|            }
 2052|     55|        }
 2053|     55|        break;
 2054|     55|    case EbtBool:
  ------------------
  |  Branch (2054:5): [True: 0, False: 753]
  ------------------
 2055|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2055:13): [True: 0, False: 0]
  ------------------
 2056|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2056:21): [True: 0, False: 0]
  ------------------
 2057|      0|            case 2:
  ------------------
  |  Branch (2057:13): [True: 0, False: 0]
  ------------------
 2058|      0|                switch (type.getMatrixRows()) {
 2059|      0|                case 2: op = EOpConstructBMat2x2; break;
  ------------------
  |  Branch (2059:17): [True: 0, False: 0]
  ------------------
 2060|      0|                case 3: op = EOpConstructBMat2x3; break;
  ------------------
  |  Branch (2060:17): [True: 0, False: 0]
  ------------------
 2061|      0|                case 4: op = EOpConstructBMat2x4; break;
  ------------------
  |  Branch (2061:17): [True: 0, False: 0]
  ------------------
 2062|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2062:17): [True: 0, False: 0]
  ------------------
 2063|      0|                }
 2064|      0|                break;
 2065|      0|            case 3:
  ------------------
  |  Branch (2065:13): [True: 0, False: 0]
  ------------------
 2066|      0|                switch (type.getMatrixRows()) {
 2067|      0|                case 2: op = EOpConstructBMat3x2; break;
  ------------------
  |  Branch (2067:17): [True: 0, False: 0]
  ------------------
 2068|      0|                case 3: op = EOpConstructBMat3x3; break;
  ------------------
  |  Branch (2068:17): [True: 0, False: 0]
  ------------------
 2069|      0|                case 4: op = EOpConstructBMat3x4; break;
  ------------------
  |  Branch (2069:17): [True: 0, False: 0]
  ------------------
 2070|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2070:17): [True: 0, False: 0]
  ------------------
 2071|      0|                }
 2072|      0|                break;
 2073|      0|            case 4:
  ------------------
  |  Branch (2073:13): [True: 0, False: 0]
  ------------------
 2074|      0|                switch (type.getMatrixRows()) {
 2075|      0|                case 2: op = EOpConstructBMat4x2; break;
  ------------------
  |  Branch (2075:17): [True: 0, False: 0]
  ------------------
 2076|      0|                case 3: op = EOpConstructBMat4x3; break;
  ------------------
  |  Branch (2076:17): [True: 0, False: 0]
  ------------------
 2077|      0|                case 4: op = EOpConstructBMat4x4; break;
  ------------------
  |  Branch (2077:17): [True: 0, False: 0]
  ------------------
 2078|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2078:17): [True: 0, False: 0]
  ------------------
 2079|      0|                }
 2080|      0|                break;
 2081|      0|            }
 2082|      0|        } else {
 2083|      0|            switch(type.getVectorSize()) {
 2084|      0|            case 1:  op = EOpConstructBool;  break;
  ------------------
  |  Branch (2084:13): [True: 0, False: 0]
  ------------------
 2085|      0|            case 2:  op = EOpConstructBVec2; break;
  ------------------
  |  Branch (2085:13): [True: 0, False: 0]
  ------------------
 2086|      0|            case 3:  op = EOpConstructBVec3; break;
  ------------------
  |  Branch (2086:13): [True: 0, False: 0]
  ------------------
 2087|      0|            case 4:  op = EOpConstructBVec4; break;
  ------------------
  |  Branch (2087:13): [True: 0, False: 0]
  ------------------
 2088|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2088:13): [True: 0, False: 0]
  ------------------
 2089|      0|            }
 2090|      0|        }
 2091|      0|        break;
 2092|      0|    case EbtDouble:
  ------------------
  |  Branch (2092:5): [True: 0, False: 753]
  ------------------
 2093|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2093:13): [True: 0, False: 0]
  ------------------
 2094|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2094:21): [True: 0, False: 0]
  ------------------
 2095|      0|            case 2:
  ------------------
  |  Branch (2095:13): [True: 0, False: 0]
  ------------------
 2096|      0|                switch (type.getMatrixRows()) {
 2097|      0|                case 2: op = EOpConstructDMat2x2; break;
  ------------------
  |  Branch (2097:17): [True: 0, False: 0]
  ------------------
 2098|      0|                case 3: op = EOpConstructDMat2x3; break;
  ------------------
  |  Branch (2098:17): [True: 0, False: 0]
  ------------------
 2099|      0|                case 4: op = EOpConstructDMat2x4; break;
  ------------------
  |  Branch (2099:17): [True: 0, False: 0]
  ------------------
 2100|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2100:17): [True: 0, False: 0]
  ------------------
 2101|      0|                }
 2102|      0|                break;
 2103|      0|            case 3:
  ------------------
  |  Branch (2103:13): [True: 0, False: 0]
  ------------------
 2104|      0|                switch (type.getMatrixRows()) {
 2105|      0|                case 2: op = EOpConstructDMat3x2; break;
  ------------------
  |  Branch (2105:17): [True: 0, False: 0]
  ------------------
 2106|      0|                case 3: op = EOpConstructDMat3x3; break;
  ------------------
  |  Branch (2106:17): [True: 0, False: 0]
  ------------------
 2107|      0|                case 4: op = EOpConstructDMat3x4; break;
  ------------------
  |  Branch (2107:17): [True: 0, False: 0]
  ------------------
 2108|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2108:17): [True: 0, False: 0]
  ------------------
 2109|      0|                }
 2110|      0|                break;
 2111|      0|            case 4:
  ------------------
  |  Branch (2111:13): [True: 0, False: 0]
  ------------------
 2112|      0|                switch (type.getMatrixRows()) {
 2113|      0|                case 2: op = EOpConstructDMat4x2; break;
  ------------------
  |  Branch (2113:17): [True: 0, False: 0]
  ------------------
 2114|      0|                case 3: op = EOpConstructDMat4x3; break;
  ------------------
  |  Branch (2114:17): [True: 0, False: 0]
  ------------------
 2115|      0|                case 4: op = EOpConstructDMat4x4; break;
  ------------------
  |  Branch (2115:17): [True: 0, False: 0]
  ------------------
 2116|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2116:17): [True: 0, False: 0]
  ------------------
 2117|      0|                }
 2118|      0|                break;
 2119|      0|            }
 2120|      0|        } else {
 2121|      0|            switch(type.getVectorSize()) {
 2122|      0|            case 1: op = EOpConstructDouble; break;
  ------------------
  |  Branch (2122:13): [True: 0, False: 0]
  ------------------
 2123|      0|            case 2: op = EOpConstructDVec2;  break;
  ------------------
  |  Branch (2123:13): [True: 0, False: 0]
  ------------------
 2124|      0|            case 3: op = EOpConstructDVec3;  break;
  ------------------
  |  Branch (2124:13): [True: 0, False: 0]
  ------------------
 2125|      0|            case 4: op = EOpConstructDVec4;  break;
  ------------------
  |  Branch (2125:13): [True: 0, False: 0]
  ------------------
 2126|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      0|            }
 2128|      0|        }
 2129|      0|        break;
 2130|      0|    case EbtFloat16:
  ------------------
  |  Branch (2130:5): [True: 0, False: 753]
  ------------------
 2131|      0|        if (type.getMatrixCols()) {
  ------------------
  |  Branch (2131:13): [True: 0, False: 0]
  ------------------
 2132|      0|            switch (type.getMatrixCols()) {
  ------------------
  |  Branch (2132:21): [True: 0, False: 0]
  ------------------
 2133|      0|            case 2:
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|                switch (type.getMatrixRows()) {
 2135|      0|                case 2: op = EOpConstructF16Mat2x2; break;
  ------------------
  |  Branch (2135:17): [True: 0, False: 0]
  ------------------
 2136|      0|                case 3: op = EOpConstructF16Mat2x3; break;
  ------------------
  |  Branch (2136:17): [True: 0, False: 0]
  ------------------
 2137|      0|                case 4: op = EOpConstructF16Mat2x4; break;
  ------------------
  |  Branch (2137:17): [True: 0, False: 0]
  ------------------
 2138|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2138:17): [True: 0, False: 0]
  ------------------
 2139|      0|                }
 2140|      0|                break;
 2141|      0|            case 3:
  ------------------
  |  Branch (2141:13): [True: 0, False: 0]
  ------------------
 2142|      0|                switch (type.getMatrixRows()) {
 2143|      0|                case 2: op = EOpConstructF16Mat3x2; break;
  ------------------
  |  Branch (2143:17): [True: 0, False: 0]
  ------------------
 2144|      0|                case 3: op = EOpConstructF16Mat3x3; break;
  ------------------
  |  Branch (2144:17): [True: 0, False: 0]
  ------------------
 2145|      0|                case 4: op = EOpConstructF16Mat3x4; break;
  ------------------
  |  Branch (2145:17): [True: 0, False: 0]
  ------------------
 2146|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2146:17): [True: 0, False: 0]
  ------------------
 2147|      0|                }
 2148|      0|                break;
 2149|      0|            case 4:
  ------------------
  |  Branch (2149:13): [True: 0, False: 0]
  ------------------
 2150|      0|                switch (type.getMatrixRows()) {
 2151|      0|                case 2: op = EOpConstructF16Mat4x2; break;
  ------------------
  |  Branch (2151:17): [True: 0, False: 0]
  ------------------
 2152|      0|                case 3: op = EOpConstructF16Mat4x3; break;
  ------------------
  |  Branch (2152:17): [True: 0, False: 0]
  ------------------
 2153|      0|                case 4: op = EOpConstructF16Mat4x4; break;
  ------------------
  |  Branch (2153:17): [True: 0, False: 0]
  ------------------
 2154|      0|                default: break; // some compilers want this
  ------------------
  |  Branch (2154:17): [True: 0, False: 0]
  ------------------
 2155|      0|                }
 2156|      0|                break;
 2157|      0|            }
 2158|      0|        }
 2159|      0|        else {
 2160|      0|            switch (type.getVectorSize()) {
 2161|      0|            case 1: op = EOpConstructFloat16;  break;
  ------------------
  |  Branch (2161:13): [True: 0, False: 0]
  ------------------
 2162|      0|            case 2: op = EOpConstructF16Vec2;  break;
  ------------------
  |  Branch (2162:13): [True: 0, False: 0]
  ------------------
 2163|      0|            case 3: op = EOpConstructF16Vec3;  break;
  ------------------
  |  Branch (2163:13): [True: 0, False: 0]
  ------------------
 2164|      0|            case 4: op = EOpConstructF16Vec4;  break;
  ------------------
  |  Branch (2164:13): [True: 0, False: 0]
  ------------------
 2165|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (2165:13): [True: 0, False: 0]
  ------------------
 2166|      0|            }
 2167|      0|        }
 2168|      0|        break;
 2169|      0|    case EbtBFloat16:
  ------------------
  |  Branch (2169:5): [True: 0, False: 753]
  ------------------
 2170|      0|        switch (type.getVectorSize()) {
 2171|      0|        case 1: op = EOpConstructBFloat16;  break;
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|        case 2: op = EOpConstructBF16Vec2;  break;
  ------------------
  |  Branch (2172:9): [True: 0, False: 0]
  ------------------
 2173|      0|        case 3: op = EOpConstructBF16Vec3;  break;
  ------------------
  |  Branch (2173:9): [True: 0, False: 0]
  ------------------
 2174|      0|        case 4: op = EOpConstructBF16Vec4;  break;
  ------------------
  |  Branch (2174:9): [True: 0, False: 0]
  ------------------
 2175|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2175:9): [True: 0, False: 0]
  ------------------
 2176|      0|        }
 2177|      0|        break;
 2178|      0|    case EbtFloatE5M2:
  ------------------
  |  Branch (2178:5): [True: 0, False: 753]
  ------------------
 2179|      0|        switch (type.getVectorSize()) {
 2180|      0|        case 1: op = EOpConstructFloatE5M2;  break;
  ------------------
  |  Branch (2180:9): [True: 0, False: 0]
  ------------------
 2181|      0|        case 2: op = EOpConstructFloatE5M2Vec2;  break;
  ------------------
  |  Branch (2181:9): [True: 0, False: 0]
  ------------------
 2182|      0|        case 3: op = EOpConstructFloatE5M2Vec3;  break;
  ------------------
  |  Branch (2182:9): [True: 0, False: 0]
  ------------------
 2183|      0|        case 4: op = EOpConstructFloatE5M2Vec4;  break;
  ------------------
  |  Branch (2183:9): [True: 0, False: 0]
  ------------------
 2184|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2184:9): [True: 0, False: 0]
  ------------------
 2185|      0|        }
 2186|      0|        break;
 2187|      0|    case EbtFloatE4M3:
  ------------------
  |  Branch (2187:5): [True: 0, False: 753]
  ------------------
 2188|      0|        switch (type.getVectorSize()) {
 2189|      0|        case 1: op = EOpConstructFloatE4M3;  break;
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|      0|        case 2: op = EOpConstructFloatE4M3Vec2;  break;
  ------------------
  |  Branch (2190:9): [True: 0, False: 0]
  ------------------
 2191|      0|        case 3: op = EOpConstructFloatE4M3Vec3;  break;
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|      0|        case 4: op = EOpConstructFloatE4M3Vec4;  break;
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2193:9): [True: 0, False: 0]
  ------------------
 2194|      0|        }
 2195|      0|        break;
 2196|      0|    case EbtFloatE2M1:
  ------------------
  |  Branch (2196:5): [True: 0, False: 753]
  ------------------
 2197|      0|        switch (type.getVectorSize()) {
 2198|      0|        case 1: op = EOpConstructFloatE2M1;  break;
  ------------------
  |  Branch (2198:9): [True: 0, False: 0]
  ------------------
 2199|      0|        case 2: op = EOpConstructFloatE2M1Vec2;  break;
  ------------------
  |  Branch (2199:9): [True: 0, False: 0]
  ------------------
 2200|      0|        case 3: op = EOpConstructFloatE2M1Vec3;  break;
  ------------------
  |  Branch (2200:9): [True: 0, False: 0]
  ------------------
 2201|      0|        case 4: op = EOpConstructFloatE2M1Vec4;  break;
  ------------------
  |  Branch (2201:9): [True: 0, False: 0]
  ------------------
 2202|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2202:9): [True: 0, False: 0]
  ------------------
 2203|      0|        }
 2204|      0|        break;
 2205|      0|    case EbtFloatE3M2:
  ------------------
  |  Branch (2205:5): [True: 0, False: 753]
  ------------------
 2206|      0|        switch (type.getVectorSize()) {
 2207|      0|        case 1: op = EOpConstructFloatE3M2;  break;
  ------------------
  |  Branch (2207:9): [True: 0, False: 0]
  ------------------
 2208|      0|        case 2: op = EOpConstructFloatE3M2Vec2;  break;
  ------------------
  |  Branch (2208:9): [True: 0, False: 0]
  ------------------
 2209|      0|        case 3: op = EOpConstructFloatE3M2Vec3;  break;
  ------------------
  |  Branch (2209:9): [True: 0, False: 0]
  ------------------
 2210|      0|        case 4: op = EOpConstructFloatE3M2Vec4;  break;
  ------------------
  |  Branch (2210:9): [True: 0, False: 0]
  ------------------
 2211|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        }
 2213|      0|        break;
 2214|      0|    case EbtFloatE2M3:
  ------------------
  |  Branch (2214:5): [True: 0, False: 753]
  ------------------
 2215|      0|        switch (type.getVectorSize()) {
 2216|      0|        case 1: op = EOpConstructFloatE2M3;  break;
  ------------------
  |  Branch (2216:9): [True: 0, False: 0]
  ------------------
 2217|      0|        case 2: op = EOpConstructFloatE2M3Vec2;  break;
  ------------------
  |  Branch (2217:9): [True: 0, False: 0]
  ------------------
 2218|      0|        case 3: op = EOpConstructFloatE2M3Vec3;  break;
  ------------------
  |  Branch (2218:9): [True: 0, False: 0]
  ------------------
 2219|      0|        case 4: op = EOpConstructFloatE2M3Vec4;  break;
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2220:9): [True: 0, False: 0]
  ------------------
 2221|      0|        }
 2222|      0|        break;
 2223|      0|    case EbtFloatUE8M0:
  ------------------
  |  Branch (2223:5): [True: 0, False: 753]
  ------------------
 2224|      0|        switch (type.getVectorSize()) {
 2225|      0|        case 1: op = EOpConstructFloatUE8M0;  break;
  ------------------
  |  Branch (2225:9): [True: 0, False: 0]
  ------------------
 2226|      0|        case 2: op = EOpConstructFloatUE8M0Vec2;  break;
  ------------------
  |  Branch (2226:9): [True: 0, False: 0]
  ------------------
 2227|      0|        case 3: op = EOpConstructFloatUE8M0Vec3;  break;
  ------------------
  |  Branch (2227:9): [True: 0, False: 0]
  ------------------
 2228|      0|        case 4: op = EOpConstructFloatUE8M0Vec4;  break;
  ------------------
  |  Branch (2228:9): [True: 0, False: 0]
  ------------------
 2229|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2229:9): [True: 0, False: 0]
  ------------------
 2230|      0|        }
 2231|      0|        break;
 2232|      0|    case EbtFloatMXINT8:
  ------------------
  |  Branch (2232:5): [True: 0, False: 753]
  ------------------
 2233|      0|        switch (type.getVectorSize()) {
 2234|      0|        case 1: op = EOpConstructFloatMXINT8;  break;
  ------------------
  |  Branch (2234:9): [True: 0, False: 0]
  ------------------
 2235|      0|        case 2: op = EOpConstructFloatMXINT8Vec2;  break;
  ------------------
  |  Branch (2235:9): [True: 0, False: 0]
  ------------------
 2236|      0|        case 3: op = EOpConstructFloatMXINT8Vec3;  break;
  ------------------
  |  Branch (2236:9): [True: 0, False: 0]
  ------------------
 2237|      0|        case 4: op = EOpConstructFloatMXINT8Vec4;  break;
  ------------------
  |  Branch (2237:9): [True: 0, False: 0]
  ------------------
 2238|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2238:9): [True: 0, False: 0]
  ------------------
 2239|      0|        }
 2240|      0|        break;
 2241|      0|    case EbtInt8:
  ------------------
  |  Branch (2241:5): [True: 0, False: 753]
  ------------------
 2242|      0|        switch(type.getVectorSize()) {
 2243|      0|        case 1: op = EOpConstructInt8;   break;
  ------------------
  |  Branch (2243:9): [True: 0, False: 0]
  ------------------
 2244|      0|        case 2: op = EOpConstructI8Vec2; break;
  ------------------
  |  Branch (2244:9): [True: 0, False: 0]
  ------------------
 2245|      0|        case 3: op = EOpConstructI8Vec3; break;
  ------------------
  |  Branch (2245:9): [True: 0, False: 0]
  ------------------
 2246|      0|        case 4: op = EOpConstructI8Vec4; break;
  ------------------
  |  Branch (2246:9): [True: 0, False: 0]
  ------------------
 2247|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2247:9): [True: 0, False: 0]
  ------------------
 2248|      0|        }
 2249|      0|        break;
 2250|      0|    case EbtUint8:
  ------------------
  |  Branch (2250:5): [True: 0, False: 753]
  ------------------
 2251|      0|        switch(type.getVectorSize()) {
 2252|      0|        case 1: op = EOpConstructUint8;  break;
  ------------------
  |  Branch (2252:9): [True: 0, False: 0]
  ------------------
 2253|      0|        case 2: op = EOpConstructU8Vec2; break;
  ------------------
  |  Branch (2253:9): [True: 0, False: 0]
  ------------------
 2254|      0|        case 3: op = EOpConstructU8Vec3; break;
  ------------------
  |  Branch (2254:9): [True: 0, False: 0]
  ------------------
 2255|      0|        case 4: op = EOpConstructU8Vec4; break;
  ------------------
  |  Branch (2255:9): [True: 0, False: 0]
  ------------------
 2256|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2256:9): [True: 0, False: 0]
  ------------------
 2257|      0|        }
 2258|      0|        break;
 2259|      0|    case EbtInt16:
  ------------------
  |  Branch (2259:5): [True: 0, False: 753]
  ------------------
 2260|      0|        switch(type.getVectorSize()) {
 2261|      0|        case 1: op = EOpConstructInt16;   break;
  ------------------
  |  Branch (2261:9): [True: 0, False: 0]
  ------------------
 2262|      0|        case 2: op = EOpConstructI16Vec2; break;
  ------------------
  |  Branch (2262:9): [True: 0, False: 0]
  ------------------
 2263|      0|        case 3: op = EOpConstructI16Vec3; break;
  ------------------
  |  Branch (2263:9): [True: 0, False: 0]
  ------------------
 2264|      0|        case 4: op = EOpConstructI16Vec4; break;
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2265:9): [True: 0, False: 0]
  ------------------
 2266|      0|        }
 2267|      0|        break;
 2268|      0|    case EbtUint16:
  ------------------
  |  Branch (2268:5): [True: 0, False: 753]
  ------------------
 2269|      0|        switch(type.getVectorSize()) {
 2270|      0|        case 1: op = EOpConstructUint16;  break;
  ------------------
  |  Branch (2270:9): [True: 0, False: 0]
  ------------------
 2271|      0|        case 2: op = EOpConstructU16Vec2; break;
  ------------------
  |  Branch (2271:9): [True: 0, False: 0]
  ------------------
 2272|      0|        case 3: op = EOpConstructU16Vec3; break;
  ------------------
  |  Branch (2272:9): [True: 0, False: 0]
  ------------------
 2273|      0|        case 4: op = EOpConstructU16Vec4; break;
  ------------------
  |  Branch (2273:9): [True: 0, False: 0]
  ------------------
 2274|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2274:9): [True: 0, False: 0]
  ------------------
 2275|      0|        }
 2276|      0|        break;
 2277|      0|    case EbtInt64:
  ------------------
  |  Branch (2277:5): [True: 0, False: 753]
  ------------------
 2278|      0|        switch(type.getVectorSize()) {
 2279|      0|        case 1: op = EOpConstructInt64;   break;
  ------------------
  |  Branch (2279:9): [True: 0, False: 0]
  ------------------
 2280|      0|        case 2: op = EOpConstructI64Vec2; break;
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|        case 3: op = EOpConstructI64Vec3; break;
  ------------------
  |  Branch (2281:9): [True: 0, False: 0]
  ------------------
 2282|      0|        case 4: op = EOpConstructI64Vec4; break;
  ------------------
  |  Branch (2282:9): [True: 0, False: 0]
  ------------------
 2283|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2283:9): [True: 0, False: 0]
  ------------------
 2284|      0|        }
 2285|      0|        break;
 2286|      4|    case EbtUint64:
  ------------------
  |  Branch (2286:5): [True: 4, False: 749]
  ------------------
 2287|      4|        switch(type.getVectorSize()) {
 2288|      4|        case 1: op = EOpConstructUint64;  break;
  ------------------
  |  Branch (2288:9): [True: 4, False: 0]
  ------------------
 2289|      0|        case 2: op = EOpConstructU64Vec2; break;
  ------------------
  |  Branch (2289:9): [True: 0, False: 4]
  ------------------
 2290|      0|        case 3: op = EOpConstructU64Vec3; break;
  ------------------
  |  Branch (2290:9): [True: 0, False: 4]
  ------------------
 2291|      0|        case 4: op = EOpConstructU64Vec4; break;
  ------------------
  |  Branch (2291:9): [True: 0, False: 4]
  ------------------
 2292|      0|        default: break; // some compilers want this
  ------------------
  |  Branch (2292:9): [True: 0, False: 4]
  ------------------
 2293|      4|        }
 2294|      4|        break;
 2295|      4|    case EbtReference:
  ------------------
  |  Branch (2295:5): [True: 0, False: 753]
  ------------------
 2296|      0|        op = EOpConstructReference;
 2297|      0|        break;
 2298|       |
 2299|      0|    case EbtAccStruct:
  ------------------
  |  Branch (2299:5): [True: 0, False: 753]
  ------------------
 2300|      0|        op = EOpConstructAccStruct;
 2301|      0|        break;
 2302|      0|    default:
  ------------------
  |  Branch (2302:5): [True: 0, False: 753]
  ------------------
 2303|      0|        break;
 2304|    753|    }
 2305|       |
 2306|    753|    return op;
 2307|    753|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_:
 2317|  3.90k|{
 2318|  3.90k|    if (left == nullptr && right == nullptr)
  ------------------
  |  Branch (2318:9): [True: 3.84k, False: 63]
  |  Branch (2318:28): [True: 3.76k, False: 83]
  ------------------
 2319|  3.76k|        return nullptr;
 2320|       |
 2321|    146|    TIntermAggregate* aggNode = nullptr;
 2322|    146|    if (left != nullptr)
  ------------------
  |  Branch (2322:9): [True: 63, False: 83]
  ------------------
 2323|     63|        aggNode = left->getAsAggregate();
 2324|    146|    if (aggNode == nullptr || aggNode->getOp() != EOpNull) {
  ------------------
  |  Branch (2324:9): [True: 104, False: 42]
  |  Branch (2324:31): [True: 0, False: 42]
  ------------------
 2325|    104|        aggNode = new TIntermAggregate;
 2326|    104|        if (left != nullptr)
  ------------------
  |  Branch (2326:13): [True: 21, False: 83]
  ------------------
 2327|     21|            aggNode->getSequence().push_back(left);
 2328|    104|    }
 2329|       |
 2330|    146|    if (right != nullptr)
  ------------------
  |  Branch (2330:9): [True: 146, False: 0]
  ------------------
 2331|    146|        aggNode->getSequence().push_back(right);
 2332|       |
 2333|    146|    return aggNode;
 2334|  3.90k|}
_ZN7glslang13TIntermediate13growAggregateEP11TIntermNodeS2_RKNS_10TSourceLocE:
 2337|  3.80k|{
 2338|  3.80k|    TIntermAggregate* aggNode = growAggregate(left, right);
 2339|  3.80k|    if (aggNode)
  ------------------
  |  Branch (2339:9): [True: 42, False: 3.76k]
  ------------------
 2340|     42|        aggNode->setLoc(loc);
 2341|       |
 2342|  3.80k|    return aggNode;
 2343|  3.80k|}
_ZN7glslang13TIntermediate13makeAggregateEP11TIntermNode:
 2385|     12|{
 2386|     12|    if (node == nullptr)
  ------------------
  |  Branch (2386:9): [True: 0, False: 12]
  ------------------
 2387|      0|        return nullptr;
 2388|       |
 2389|     12|    TIntermAggregate* aggNode = new TIntermAggregate;
 2390|     12|    aggNode->getSequence().push_back(node);
 2391|     12|    aggNode->setLoc(node->getLoc());
 2392|       |
 2393|     12|    return aggNode;
 2394|     12|}
_ZN7glslang13TIntermediate13makeAggregateERKNS_10TSourceLocE:
 2412|      3|{
 2413|      3|    TIntermAggregate* aggNode = new TIntermAggregate;
 2414|      3|    aggNode->setLoc(loc);
 2415|       |
 2416|      3|    return aggNode;
 2417|      3|}
_ZN7glslang13TIntermediate12addSelectionEPNS_12TIntermTypedES2_S2_RKNS_10TSourceLocE:
 2479|     12|{
 2480|       |    // If it's void, go to the if-then-else selection()
 2481|     12|    if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (2481:9): [True: 0, False: 12]
  |  Branch (2481:49): [True: 0, False: 0]
  ------------------
 2482|      0|        TIntermNodePair pair = { trueBlock, falseBlock };
 2483|      0|        TIntermSelection* selection = addSelection(cond, pair, loc);
 2484|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2484:13): [True: 0, False: 0]
  ------------------
 2485|      0|            selection->setNoShortCircuit();
 2486|       |
 2487|      0|        return selection;
 2488|      0|    }
 2489|       |
 2490|       |    //
 2491|       |    // Get compatible types.
 2492|       |    //
 2493|     12|    auto children = addPairConversion(EOpSequence, trueBlock, falseBlock);
 2494|     12|    trueBlock = std::get<0>(children);
 2495|     12|    falseBlock = std::get<1>(children);
 2496|       |
 2497|     12|    if (trueBlock == nullptr || falseBlock == nullptr ||
  ------------------
  |  Branch (2497:9): [True: 0, False: 12]
  |  Branch (2497:33): [True: 0, False: 12]
  ------------------
 2498|     12|        trueBlock->getBasicType() == EbtString || falseBlock->getBasicType() == EbtString)
  ------------------
  |  Branch (2498:9): [True: 0, False: 12]
  |  Branch (2498:51): [True: 0, False: 12]
  ------------------
 2499|      0|        return nullptr;
 2500|       |
 2501|       |    // Handle a vector condition as a mix
 2502|     12|    if (!cond->getType().isScalarOrVec1()) {
  ------------------
  |  Branch (2502:9): [True: 3, False: 9]
  ------------------
 2503|      3|        TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary,
 2504|      3|                               cond->getType().getVectorSize());
 2505|       |        // smear true/false operands as needed
 2506|      3|        trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock);
 2507|      3|        falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock);
 2508|       |
 2509|       |        // After conversion, types have to match.
 2510|      3|        if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2510:13): [True: 0, False: 3]
  ------------------
 2511|      0|            return nullptr;
 2512|       |
 2513|       |        // make the mix operation
 2514|      3|        TIntermAggregate* mix = makeAggregate(loc);
 2515|      3|        mix = growAggregate(mix, falseBlock);
 2516|      3|        mix = growAggregate(mix, trueBlock);
 2517|      3|        mix = growAggregate(mix, cond);
 2518|      3|        mix->setType(targetVectorType);
 2519|      3|        mix->setOp(EOpMix);
 2520|       |
 2521|      3|        return mix;
 2522|      3|    }
 2523|       |
 2524|       |    // Now have a scalar condition...
 2525|       |
 2526|       |    // Convert true and false expressions to matching types
 2527|      9|    addBiShapeConversion(EOpMix, trueBlock, falseBlock);
 2528|       |
 2529|       |    // After conversion, types have to match.
 2530|      9|    if (falseBlock->getType() != trueBlock->getType())
  ------------------
  |  Branch (2530:9): [True: 0, False: 9]
  ------------------
 2531|      0|        return nullptr;
 2532|       |
 2533|       |    // Eliminate the selection when the condition is a scalar and all operands are constant.
 2534|      9|    if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnion()) {
  ------------------
  |  Branch (2534:9): [True: 9, False: 0]
  |  Branch (2534:39): [True: 9, False: 0]
  |  Branch (2534:74): [True: 3, False: 6]
  ------------------
 2535|      3|        if (cond->getAsConstantUnion()->getConstArray()[0].getBConst())
  ------------------
  |  Branch (2535:13): [True: 3, False: 0]
  ------------------
 2536|      3|            return trueBlock;
 2537|      0|        else
 2538|      0|            return falseBlock;
 2539|      3|    }
 2540|       |
 2541|       |    //
 2542|       |    // Make a selection node.
 2543|       |    //
 2544|      6|    TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType());
 2545|      6|    node->setLoc(loc);
 2546|      6|    node->getQualifier().precision = std::max(trueBlock->getQualifier().precision, falseBlock->getQualifier().precision);
 2547|       |
 2548|      6|    if ((cond->getQualifier().isConstant() && specConstantPropagates(*trueBlock, *falseBlock)) ||
  ------------------
  |  Branch (2548:10): [True: 6, False: 0]
  |  Branch (2548:47): [True: 0, False: 6]
  ------------------
 2549|      6|        (cond->getQualifier().isSpecConstant() && trueBlock->getQualifier().isConstant() &&
  ------------------
  |  Branch (2549:10): [True: 0, False: 6]
  |  Branch (2549:51): [True: 0, False: 0]
  ------------------
 2550|      0|                                                 falseBlock->getQualifier().isConstant()))
  ------------------
  |  Branch (2550:50): [True: 0, False: 0]
  ------------------
 2551|      0|        node->getQualifier().makeSpecConstant();
 2552|      6|    else
 2553|      6|        node->getQualifier().makeTemporary();
 2554|       |
 2555|      6|    if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (2555:9): [True: 6, False: 0]
  ------------------
 2556|      6|        node->setNoShortCircuit();
 2557|       |
 2558|      6|    return node;
 2559|      9|}
_ZNK7glslang13TIntermediate16addConstantUnionERKNS_16TConstUnionArrayERKNS_5TTypeERKNS_10TSourceLocEb:
 2568|  2.85k|{
 2569|  2.85k|    TIntermConstantUnion* node = new TIntermConstantUnion(unionArray, t);
 2570|  2.85k|    node->getQualifier().storage = EvqConst;
 2571|  2.85k|    node->setLoc(loc);
 2572|  2.85k|    if (literal)
  ------------------
  |  Branch (2572:9): [True: 2.71k, False: 142]
  ------------------
 2573|  2.71k|        node->setLiteral();
 2574|       |
 2575|  2.85k|    return node;
 2576|  2.85k|}
_ZNK7glslang13TIntermediate16addConstantUnionEiRKNS_10TSourceLocEb:
 2610|  2.28k|{
 2611|  2.28k|    TConstUnionArray unionArray(1);
 2612|  2.28k|    unionArray[0].setIConst(i);
 2613|       |
 2614|  2.28k|    return addConstantUnion(unionArray, TType(EbtInt, EvqConst), loc, literal);
 2615|  2.28k|}
_ZNK7glslang13TIntermediate16addConstantUnionEjRKNS_10TSourceLocEb:
 2618|    423|{
 2619|    423|    TConstUnionArray unionArray(1);
 2620|    423|    unionArray[0].setUConst(u);
 2621|       |
 2622|    423|    return addConstantUnion(unionArray, TType(EbtUint, EvqConst), loc, literal);
 2623|    423|}
_ZNK7glslang13TIntermediate16addConstantUnionEbRKNS_10TSourceLocEb:
 2642|      1|{
 2643|      1|    TConstUnionArray unionArray(1);
 2644|      1|    unionArray[0].setBConst(b);
 2645|       |
 2646|      1|    return addConstantUnion(unionArray, TType(EbtBool, EvqConst), loc, literal);
 2647|      1|}
_ZNK7glslang13TIntermediate16addConstantUnionEdNS_10TBasicTypeERKNS_10TSourceLocEb:
 2650|      5|{
 2651|      5|    assert(isTypeFloat(baseType));
 2652|       |
 2653|      5|    if (isEsProfile() && (baseType == EbtFloat || baseType == EbtFloat16)) {
  ------------------
  |  Branch (2653:9): [True: 1, False: 4]
  |  Branch (2653:27): [True: 1, False: 0]
  |  Branch (2653:51): [True: 0, False: 0]
  ------------------
 2654|      1|        int exponent = 0;
 2655|      1|        frexp(d, &exponent);
 2656|      1|        int minExp = baseType == EbtFloat ? -126 : -14;
  ------------------
  |  Branch (2656:22): [True: 1, False: 0]
  ------------------
 2657|      1|        int maxExp = baseType == EbtFloat ? 127 : 15;
  ------------------
  |  Branch (2657:22): [True: 1, False: 0]
  ------------------
 2658|      1|        if (exponent > maxExp) { //overflow, d = inf
  ------------------
  |  Branch (2658:13): [True: 0, False: 1]
  ------------------
 2659|      0|            d = std::numeric_limits<double>::infinity();
 2660|      1|        } else if (exponent < minExp) { //underflow, d = 0.0;
  ------------------
  |  Branch (2660:20): [True: 0, False: 1]
  ------------------
 2661|      0|            d = 0.0;
 2662|      0|        }
 2663|      1|    }
 2664|       |
 2665|      5|    TConstUnionArray unionArray(1);
 2666|      5|    unionArray[0].setDConst(d);
 2667|       |
 2668|      5|    return addConstantUnion(unionArray, TType(baseType, EvqConst), loc, literal);
 2669|      5|}
_ZN7glslang13TIntermediate11postProcessEP11TIntermNode11EShLanguage:
 2915|      1|{
 2916|      1|    if (root == nullptr)
  ------------------
  |  Branch (2916:9): [True: 0, False: 1]
  ------------------
 2917|      0|        return true;
 2918|       |
 2919|       |    // Finish off the top-level sequence
 2920|      1|    TIntermAggregate* aggRoot = root->getAsAggregate();
 2921|      1|    if (aggRoot && aggRoot->getOp() == EOpNull)
  ------------------
  |  Branch (2921:9): [True: 1, False: 0]
  |  Branch (2921:20): [True: 1, False: 0]
  ------------------
 2922|      1|        aggRoot->setOperator(EOpSequence);
 2923|       |
 2924|       |    // Propagate 'noContraction' label in backward from 'precise' variables.
 2925|      1|    glslang::PropagateNoContraction(*this);
 2926|       |
 2927|      1|    if (invertY && getSource() == EShSourceGlsl &&
  ------------------
  |  Branch (2927:9): [True: 0, False: 1]
  |  Branch (2927:20): [True: 0, False: 0]
  ------------------
 2928|      0|        (language == EShLangVertex ||
  ------------------
  |  Branch (2928:10): [True: 0, False: 0]
  ------------------
 2929|      0|         language == EShLangGeometry ||
  ------------------
  |  Branch (2929:10): [True: 0, False: 0]
  ------------------
 2930|      0|         language == EShLangTessEvaluation)) {
  ------------------
  |  Branch (2930:10): [True: 0, False: 0]
  ------------------
 2931|      0|        invertPositions(root);
 2932|      0|    }
 2933|       |
 2934|      1|    switch (textureSamplerTransformMode) {
  ------------------
  |  Branch (2934:13): [True: 1, False: 0]
  ------------------
 2935|      1|    case EShTexSampTransKeep:
  ------------------
  |  Branch (2935:5): [True: 1, False: 0]
  ------------------
 2936|      1|        break;
 2937|      0|    case EShTexSampTransUpgradeTextureRemoveSampler:
  ------------------
  |  Branch (2937:5): [True: 0, False: 1]
  ------------------
 2938|      0|        performTextureUpgradeAndSamplerRemovalTransformation(root);
 2939|      0|        break;
 2940|      0|    case EShTexSampTransCount:
  ------------------
  |  Branch (2940:5): [True: 0, False: 1]
  ------------------
 2941|      0|        assert(0);
 2942|      0|        break;
 2943|      1|    }
 2944|       |
 2945|      1|    return true;
 2946|      1|}
_ZN7glslang13TIntermediate21addSymbolLinkageNodesERPNS_16TIntermAggregateE11EShLanguageRNS_12TSymbolTableE:
 2949|     83|{
 2950|       |    // Add top-level nodes for declarations that must be checked cross
 2951|       |    // compilation unit by a linker, yet might not have been referenced
 2952|       |    // by the AST.
 2953|       |    //
 2954|       |    // Almost entirely, translation of symbols is driven by what's present
 2955|       |    // in the AST traversal, not by translating the symbol table.
 2956|       |    //
 2957|       |    // However, there are some special cases:
 2958|       |    //  - From the specification: "Special built-in inputs gl_VertexID and
 2959|       |    //    gl_InstanceID are also considered active vertex attributes."
 2960|       |    //  - Linker-based type mismatch error reporting needs to see all
 2961|       |    //    uniforms/ins/outs variables and blocks.
 2962|       |    //  - ftransform() can make gl_Vertex and gl_ModelViewProjectionMatrix active.
 2963|       |    //
 2964|       |
 2965|       |    // if (ftransformUsed) {
 2966|       |        // TODO: 1.1 lowering functionality: track ftransform() usage
 2967|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_Vertex");
 2968|       |    //    addSymbolLinkageNode(root, symbolTable, "gl_ModelViewProjectionMatrix");
 2969|       |    //}
 2970|       |
 2971|     83|    if (language == EShLangVertex) {
  ------------------
  |  Branch (2971:9): [True: 83, False: 0]
  ------------------
 2972|     83|        addSymbolLinkageNode(linkage, symbolTable, "gl_VertexID");
 2973|     83|        if ((version < 140 && requestedExtensions.find(E_GL_EXT_draw_instanced) != requestedExtensions.end()) || version >= 140)
  ------------------
  |  Branch (2973:13): [True: 79, False: 4]
  |  Branch (2973:14): [True: 4, False: 79]
  |  Branch (2973:31): [True: 0, False: 4]
  |  Branch (2973:114): [True: 79, False: 4]
  ------------------
 2974|     79|            addSymbolLinkageNode(linkage, symbolTable, "gl_InstanceID");
 2975|     83|    }
 2976|       |
 2977|       |    // Add a child to the root node for the linker objects
 2978|     83|    linkage->setOperator(EOpLinkerObjects);
 2979|     83|    treeRoot = growAggregate(treeRoot, linkage);
 2980|     83|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERNS_12TSymbolTableERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 2988|    162|{
 2989|    162|    TSymbol* symbol = symbolTable.find(name);
 2990|    162|    if (symbol)
  ------------------
  |  Branch (2990:9): [True: 0, False: 162]
  ------------------
 2991|      0|        addSymbolLinkageNode(linkage, *symbol->getAsVariable());
 2992|    162|}
_ZN7glslang13TIntermediate20addSymbolLinkageNodeERPNS_16TIntermAggregateERKNS_7TSymbolE:
 2995|     12|{
 2996|     12|    const TVariable* variable = symbol.getAsVariable();
 2997|     12|    if (! variable) {
  ------------------
  |  Branch (2997:9): [True: 0, False: 12]
  ------------------
 2998|       |        // This must be a member of an anonymous block, and we need to add the whole block
 2999|      0|        const TAnonMember* anon = symbol.getAsAnonMember();
 3000|      0|        variable = &anon->getAnonContainer();
 3001|      0|    }
 3002|     12|    TIntermSymbol* node = addSymbol(*variable);
 3003|     12|    linkage = growAggregate(linkage, node);
 3004|     12|}
_ZNK7glslang15TIntermOperator13isConstructorEv:
 3252|     73|{
 3253|     73|    return op > EOpConstructGuardStart && op < EOpConstructGuardEnd;
  ------------------
  |  Branch (3253:12): [True: 72, False: 1]
  |  Branch (3253:43): [True: 72, False: 0]
  ------------------
 3254|     73|}
_ZN7glslang13TIntermediate7promoteEPNS_15TIntermOperatorE:
 3264|     25|{
 3265|     25|    if (node == nullptr)
  ------------------
  |  Branch (3265:9): [True: 0, False: 25]
  ------------------
 3266|      0|        return false;
 3267|       |
 3268|     25|    if (node->getAsUnaryNode())
  ------------------
  |  Branch (3268:9): [True: 19, False: 6]
  ------------------
 3269|     19|        return promoteUnary(*node->getAsUnaryNode());
 3270|       |
 3271|      6|    if (node->getAsBinaryNode())
  ------------------
  |  Branch (3271:9): [True: 6, False: 0]
  ------------------
 3272|      6|        return promoteBinary(*node->getAsBinaryNode());
 3273|       |
 3274|      0|    if (node->getAsAggregate())
  ------------------
  |  Branch (3274:9): [True: 0, False: 0]
  ------------------
 3275|      0|        return promoteAggregate(*node->getAsAggregate());
 3276|       |
 3277|      0|    return false;
 3278|      0|}
_ZN7glslang13TIntermediate12promoteUnaryERNS_12TIntermUnaryE:
 3284|     19|{
 3285|     19|    const TOperator op    = node.getOp();
 3286|     19|    TIntermTyped* operand = node.getOperand();
 3287|       |
 3288|     19|    switch (op) {
 3289|     16|    case EOpLogicalNot:
  ------------------
  |  Branch (3289:5): [True: 16, False: 3]
  ------------------
 3290|       |        // Convert operand to a boolean type
 3291|     16|        if (operand->getBasicType() != EbtBool) {
  ------------------
  |  Branch (3291:13): [True: 13, False: 3]
  ------------------
 3292|       |            // Add constructor to boolean type. If that fails, we can't do it, so return false.
 3293|     13|            TIntermTyped* converted = addConversion(op, TType(EbtBool), operand);
 3294|     13|            if (converted == nullptr)
  ------------------
  |  Branch (3294:17): [True: 1, False: 12]
  ------------------
 3295|      1|                return false;
 3296|       |
 3297|       |            // Use the result of converting the node to a bool.
 3298|     12|            node.setOperand(operand = converted); // also updates stack variable
 3299|     12|        }
 3300|     15|        break;
 3301|     15|    case EOpBitwiseNot:
  ------------------
  |  Branch (3301:5): [True: 0, False: 19]
  ------------------
 3302|      0|        if (!isTypeInt(operand->getBasicType()))
  ------------------
  |  Branch (3302:13): [True: 0, False: 0]
  ------------------
 3303|      0|            return false;
 3304|      0|        break;
 3305|      0|    case EOpNegative:
  ------------------
  |  Branch (3305:5): [True: 0, False: 19]
  ------------------
 3306|      2|    case EOpPostIncrement:
  ------------------
  |  Branch (3306:5): [True: 2, False: 17]
  ------------------
 3307|      3|    case EOpPostDecrement:
  ------------------
  |  Branch (3307:5): [True: 1, False: 18]
  ------------------
 3308|      3|    case EOpPreIncrement:
  ------------------
  |  Branch (3308:5): [True: 0, False: 19]
  ------------------
 3309|      3|    case EOpPreDecrement:
  ------------------
  |  Branch (3309:5): [True: 0, False: 19]
  ------------------
 3310|      3|        if (!isTypeInt(operand->getBasicType()) &&
  ------------------
  |  Branch (3310:13): [True: 1, False: 2]
  ------------------
 3311|      1|            operand->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (3311:13): [True: 1, False: 0]
  ------------------
 3312|      1|            operand->getBasicType() != EbtFloat16 &&
  ------------------
  |  Branch (3312:13): [True: 1, False: 0]
  ------------------
 3313|      1|            operand->getBasicType() != EbtDouble)
  ------------------
  |  Branch (3313:13): [True: 1, False: 0]
  ------------------
 3314|       |
 3315|      1|            return false;
 3316|      2|        break;
 3317|      2|    default:
  ------------------
  |  Branch (3317:5): [True: 0, False: 19]
  ------------------
 3318|       |        // HLSL uses this path for initial function signature finding for built-ins
 3319|       |        // taking a single argument, which generally don't participate in
 3320|       |        // operator-based type promotion (type conversion will occur later).
 3321|       |        // For now, scalar argument cases are relying on the setType() call below.
 3322|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3322:13): [True: 0, False: 0]
  ------------------
 3323|      0|            break;
 3324|       |
 3325|       |        // GLSL only allows integer arguments for the cases identified above in the
 3326|       |        // case statements.
 3327|      0|        if (operand->getBasicType() != EbtFloat)
  ------------------
  |  Branch (3327:13): [True: 0, False: 0]
  ------------------
 3328|      0|            return false;
 3329|     19|    }
 3330|       |
 3331|     17|    node.setType(operand->getType());
 3332|     17|    node.getWritableType().getQualifier().makeTemporary();
 3333|       |
 3334|     17|    return true;
 3335|     19|}
_ZN7glslang12TIntermUnary15updatePrecisionEv:
 3339|     21|{
 3340|     21|    if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3340:9): [True: 6, False: 15]
  |  Branch (3340:37): [True: 0, False: 15]
  ------------------
 3341|     15|        getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3341:9): [True: 0, False: 15]
  ------------------
 3342|      6|        if (operand->getQualifier().precision > getQualifier().precision)
  ------------------
  |  Branch (3342:13): [True: 1, False: 5]
  ------------------
 3343|      1|            getQualifier().precision = operand->getQualifier().precision;
 3344|      6|    }
 3345|     21|}
_ZN7glslang13TIntermediate13promoteBinaryERNS_13TIntermBinaryE:
 3351|      6|{
 3352|      6|    TOperator     op    = node.getOp();
 3353|      6|    TIntermTyped* left  = node.getLeft();
 3354|      6|    TIntermTyped* right = node.getRight();
 3355|       |
 3356|       |    // Arrays and structures have to be exact matches.
 3357|      6|    if ((left->isArray() || right->isArray() || left->getBasicType() == EbtStruct || right->getBasicType() == EbtStruct)
  ------------------
  |  Branch (3357:10): [True: 0, False: 6]
  |  Branch (3357:29): [True: 0, False: 6]
  |  Branch (3357:49): [True: 0, False: 6]
  |  Branch (3357:86): [True: 0, False: 6]
  ------------------
 3358|      0|        && left->getType() != right->getType())
  ------------------
  |  Branch (3358:12): [True: 0, False: 0]
  ------------------
 3359|      0|        return false;
 3360|       |
 3361|       |    // Base assumption:  just make the type the same as the left
 3362|       |    // operand.  Only deviations from this will be coded.
 3363|      6|    node.setType(left->getType());
 3364|      6|    node.getWritableType().getQualifier().clear();
 3365|       |
 3366|       |    // Composite and opaque types don't having pending operator changes, e.g.,
 3367|       |    // array, structure, and samplers.  Just establish final type and correctness.
 3368|      6|    if (left->isArray() || left->getBasicType() == EbtStruct || left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 6]
  |  Branch (3368:28): [True: 0, False: 6]
  |  Branch (3368:65): [True: 0, False: 6]
  ------------------
 3369|      0|        switch (op) {
 3370|      0|        case EOpEqual:
  ------------------
  |  Branch (3370:9): [True: 0, False: 0]
  ------------------
 3371|      0|        case EOpNotEqual:
  ------------------
  |  Branch (3371:9): [True: 0, False: 0]
  ------------------
 3372|      0|            if (left->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (3372:17): [True: 0, False: 0]
  ------------------
 3373|       |                // can't compare samplers
 3374|      0|                return false;
 3375|      0|            } else {
 3376|       |                // Promote to conditional
 3377|      0|                node.setType(TType(EbtBool));
 3378|      0|            }
 3379|       |
 3380|      0|            return true;
 3381|       |
 3382|      0|        case EOpAssign:
  ------------------
  |  Branch (3382:9): [True: 0, False: 0]
  ------------------
 3383|       |            // Keep type from above
 3384|       |
 3385|      0|            return true;
 3386|       |
 3387|      0|        default:
  ------------------
  |  Branch (3387:9): [True: 0, False: 0]
  ------------------
 3388|      0|            return false;
 3389|      0|        }
 3390|      0|    }
 3391|       |
 3392|       |    //
 3393|       |    // We now have only scalars, vectors, and matrices to worry about.
 3394|       |    //
 3395|       |
 3396|       |    // HLSL implicitly promotes bool -> int for numeric operations.
 3397|       |    // (Implicit conversions to make the operands match each other's types were already done.)
 3398|      6|    if (getSource() == EShSourceHlsl &&
  ------------------
  |  Branch (3398:9): [True: 6, False: 0]
  ------------------
 3399|      6|        (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (3399:10): [True: 0, False: 6]
  |  Branch (3399:45): [True: 0, False: 6]
  ------------------
 3400|      0|        switch (op) {
 3401|      0|        case EOpLessThan:
  ------------------
  |  Branch (3401:9): [True: 0, False: 0]
  ------------------
 3402|      0|        case EOpGreaterThan:
  ------------------
  |  Branch (3402:9): [True: 0, False: 0]
  ------------------
 3403|      0|        case EOpLessThanEqual:
  ------------------
  |  Branch (3403:9): [True: 0, False: 0]
  ------------------
 3404|      0|        case EOpGreaterThanEqual:
  ------------------
  |  Branch (3404:9): [True: 0, False: 0]
  ------------------
 3405|       |
 3406|      0|        case EOpRightShift:
  ------------------
  |  Branch (3406:9): [True: 0, False: 0]
  ------------------
 3407|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3407:9): [True: 0, False: 0]
  ------------------
 3408|       |
 3409|      0|        case EOpMod:
  ------------------
  |  Branch (3409:9): [True: 0, False: 0]
  ------------------
 3410|       |
 3411|      0|        case EOpAnd:
  ------------------
  |  Branch (3411:9): [True: 0, False: 0]
  ------------------
 3412|      0|        case EOpInclusiveOr:
  ------------------
  |  Branch (3412:9): [True: 0, False: 0]
  ------------------
 3413|      0|        case EOpExclusiveOr:
  ------------------
  |  Branch (3413:9): [True: 0, False: 0]
  ------------------
 3414|       |
 3415|      0|        case EOpAdd:
  ------------------
  |  Branch (3415:9): [True: 0, False: 0]
  ------------------
 3416|      0|        case EOpSub:
  ------------------
  |  Branch (3416:9): [True: 0, False: 0]
  ------------------
 3417|      0|        case EOpDiv:
  ------------------
  |  Branch (3417:9): [True: 0, False: 0]
  ------------------
 3418|      0|        case EOpMul:
  ------------------
  |  Branch (3418:9): [True: 0, False: 0]
  ------------------
 3419|      0|            if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3419:17): [True: 0, False: 0]
  ------------------
 3420|      0|                left  = createConversion(EbtInt, left);
 3421|      0|            if (right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3421:17): [True: 0, False: 0]
  ------------------
 3422|      0|                right = createConversion(EbtInt, right);
 3423|      0|            if (left == nullptr || right == nullptr)
  ------------------
  |  Branch (3423:17): [True: 0, False: 0]
  |  Branch (3423:36): [True: 0, False: 0]
  ------------------
 3424|      0|                return false;
 3425|      0|            node.setLeft(left);
 3426|      0|            node.setRight(right);
 3427|       |
 3428|       |            // Update the original base assumption on result type..
 3429|      0|            node.setType(left->getType());
 3430|      0|            node.getWritableType().getQualifier().clear();
 3431|       |
 3432|      0|            break;
 3433|       |
 3434|      0|        default:
  ------------------
  |  Branch (3434:9): [True: 0, False: 0]
  ------------------
 3435|      0|            break;
 3436|      0|        }
 3437|      0|    }
 3438|       |
 3439|      6|    const bool hasCoopMat = left->getType().isCoopMat() || right->getType().isCoopMat();
  ------------------
  |  Branch (3439:29): [True: 0, False: 6]
  |  Branch (3439:60): [True: 0, False: 6]
  ------------------
 3440|      6|    const bool hasLimitedFloatCoopMat =
 3441|      6|        (left->getType().isCoopMat() &&
  ------------------
  |  Branch (3441:10): [True: 0, False: 6]
  ------------------
 3442|      0|         (left->getType().containsBFloat16() || left->getType().contains8BitFloat())) ||
  ------------------
  |  Branch (3442:11): [True: 0, False: 0]
  |  Branch (3442:49): [True: 0, False: 0]
  ------------------
 3443|      6|        (right->getType().isCoopMat() &&
  ------------------
  |  Branch (3443:10): [True: 0, False: 6]
  ------------------
 3444|      0|         (right->getType().containsBFloat16() || right->getType().contains8BitFloat()));
  ------------------
  |  Branch (3444:11): [True: 0, False: 0]
  |  Branch (3444:50): [True: 0, False: 0]
  ------------------
 3445|       |
 3446|      6|    if (hasLimitedFloatCoopMat && op != EOpAssign)
  ------------------
  |  Branch (3446:9): [True: 0, False: 6]
  |  Branch (3446:35): [True: 0, False: 0]
  ------------------
 3447|      0|        return false;
 3448|       |
 3449|       |    // Do general type checks against individual operands (comparing left and right is coming up, checking mixed shapes after that)
 3450|      6|    switch (op) {
 3451|      0|    case EOpLessThan:
  ------------------
  |  Branch (3451:5): [True: 0, False: 6]
  ------------------
 3452|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3452:5): [True: 0, False: 6]
  ------------------
 3453|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3453:5): [True: 0, False: 6]
  ------------------
 3454|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3454:5): [True: 0, False: 6]
  ------------------
 3455|       |        // Relational comparisons need numeric types and will promote to scalar Boolean.
 3456|      0|        if (left->getBasicType() == EbtBool)
  ------------------
  |  Branch (3456:13): [True: 0, False: 0]
  ------------------
 3457|      0|            return false;
 3458|       |
 3459|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3460|      0|        break;
 3461|       |
 3462|      0|    case EOpEqual:
  ------------------
  |  Branch (3462:5): [True: 0, False: 6]
  ------------------
 3463|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3463:5): [True: 0, False: 6]
  ------------------
 3464|      0|        if (getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (3464:13): [True: 0, False: 0]
  ------------------
 3465|      0|            const int resultWidth = std::max(left->getVectorSize(), right->getVectorSize());
 3466|       |
 3467|       |            // In HLSL, == or != on vectors means component-wise comparison.
 3468|      0|            if (resultWidth > 1) {
  ------------------
  |  Branch (3468:17): [True: 0, False: 0]
  ------------------
 3469|      0|                op = (op == EOpEqual) ? EOpVectorEqual : EOpVectorNotEqual;
  ------------------
  |  Branch (3469:22): [True: 0, False: 0]
  ------------------
 3470|      0|                node.setOp(op);
 3471|      0|            }
 3472|       |
 3473|      0|            node.setType(TType(EbtBool, EvqTemporary, resultWidth));
 3474|      0|        } else {
 3475|       |            // All the above comparisons result in a bool (but not the vector compares)
 3476|      0|            node.setType(TType(EbtBool));
 3477|      0|        }
 3478|      0|        break;
 3479|       |
 3480|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3480:5): [True: 0, False: 6]
  ------------------
 3481|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3481:5): [True: 0, False: 6]
  ------------------
 3482|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3482:5): [True: 0, False: 6]
  ------------------
 3483|       |        // logical ops operate only on Booleans or vectors of Booleans.
 3484|      0|        if (left->getBasicType() != EbtBool || left->isMatrix())
  ------------------
  |  Branch (3484:13): [True: 0, False: 0]
  |  Branch (3484:48): [True: 0, False: 0]
  ------------------
 3485|      0|                return false;
 3486|       |
 3487|      0|        if (getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (3487:13): [True: 0, False: 0]
  ------------------
 3488|       |            // logical ops operate only on scalar Booleans and will promote to scalar Boolean.
 3489|      0|            if (left->isVector())
  ------------------
  |  Branch (3489:17): [True: 0, False: 0]
  ------------------
 3490|      0|                return false;
 3491|      0|        }
 3492|       |
 3493|      0|        node.setType(TType(EbtBool, EvqTemporary, left->getVectorSize()));
 3494|      0|        break;
 3495|       |
 3496|      0|    case EOpRightShift:
  ------------------
  |  Branch (3496:5): [True: 0, False: 6]
  ------------------
 3497|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3497:5): [True: 0, False: 6]
  ------------------
 3498|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3498:5): [True: 0, False: 6]
  ------------------
 3499|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3499:5): [True: 0, False: 6]
  ------------------
 3500|       |
 3501|      0|    case EOpMod:
  ------------------
  |  Branch (3501:5): [True: 0, False: 6]
  ------------------
 3502|      0|    case EOpModAssign:
  ------------------
  |  Branch (3502:5): [True: 0, False: 6]
  ------------------
 3503|       |
 3504|      0|    case EOpAnd:
  ------------------
  |  Branch (3504:5): [True: 0, False: 6]
  ------------------
 3505|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3505:5): [True: 0, False: 6]
  ------------------
 3506|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3506:5): [True: 0, False: 6]
  ------------------
 3507|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3507:5): [True: 0, False: 6]
  ------------------
 3508|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3508:5): [True: 0, False: 6]
  ------------------
 3509|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3509:5): [True: 0, False: 6]
  ------------------
 3510|      0|        if (getSource() == EShSourceHlsl)
  ------------------
  |  Branch (3510:13): [True: 0, False: 0]
  ------------------
 3511|      0|            break;
 3512|       |
 3513|       |        // Check for integer-only operands.
 3514|      0|        if (!isTypeInt(left->getBasicType()) && !isTypeInt(right->getBasicType()))
  ------------------
  |  Branch (3514:13): [True: 0, False: 0]
  |  Branch (3514:49): [True: 0, False: 0]
  ------------------
 3515|      0|            return false;
 3516|      0|        if (left->isMatrix() || right->isMatrix())
  ------------------
  |  Branch (3516:13): [True: 0, False: 0]
  |  Branch (3516:33): [True: 0, False: 0]
  ------------------
 3517|      0|            return false;
 3518|       |
 3519|      0|        break;
 3520|       |
 3521|      3|    case EOpAdd:
  ------------------
  |  Branch (3521:5): [True: 3, False: 3]
  ------------------
 3522|      6|    case EOpSub:
  ------------------
  |  Branch (3522:5): [True: 3, False: 3]
  ------------------
 3523|      6|    case EOpDiv:
  ------------------
  |  Branch (3523:5): [True: 0, False: 6]
  ------------------
 3524|      6|    case EOpMul:
  ------------------
  |  Branch (3524:5): [True: 0, False: 6]
  ------------------
 3525|      6|    case EOpAddAssign:
  ------------------
  |  Branch (3525:5): [True: 0, False: 6]
  ------------------
 3526|      6|    case EOpSubAssign:
  ------------------
  |  Branch (3526:5): [True: 0, False: 6]
  ------------------
 3527|      6|    case EOpMulAssign:
  ------------------
  |  Branch (3527:5): [True: 0, False: 6]
  ------------------
 3528|      6|    case EOpDivAssign:
  ------------------
  |  Branch (3528:5): [True: 0, False: 6]
  ------------------
 3529|       |        // check for non-Boolean operands
 3530|      6|        if (left->getBasicType() == EbtBool || right->getBasicType() == EbtBool)
  ------------------
  |  Branch (3530:13): [True: 0, False: 6]
  |  Branch (3530:48): [True: 0, False: 6]
  ------------------
 3531|      0|            return false;
 3532|      6|        break;
 3533|       |
 3534|      6|    default:
  ------------------
  |  Branch (3534:5): [True: 0, False: 6]
  ------------------
 3535|      0|        break;
 3536|      6|    }
 3537|       |
 3538|       |    // Compare left and right, and finish with the cases where the operand types must match
 3539|      6|    switch (op) {
 3540|      0|    case EOpLessThan:
  ------------------
  |  Branch (3540:5): [True: 0, False: 6]
  ------------------
 3541|      0|    case EOpGreaterThan:
  ------------------
  |  Branch (3541:5): [True: 0, False: 6]
  ------------------
 3542|      0|    case EOpLessThanEqual:
  ------------------
  |  Branch (3542:5): [True: 0, False: 6]
  ------------------
 3543|      0|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (3543:5): [True: 0, False: 6]
  ------------------
 3544|       |
 3545|      0|    case EOpEqual:
  ------------------
  |  Branch (3545:5): [True: 0, False: 6]
  ------------------
 3546|      0|    case EOpNotEqual:
  ------------------
  |  Branch (3546:5): [True: 0, False: 6]
  ------------------
 3547|      0|    case EOpVectorEqual:
  ------------------
  |  Branch (3547:5): [True: 0, False: 6]
  ------------------
 3548|      0|    case EOpVectorNotEqual:
  ------------------
  |  Branch (3548:5): [True: 0, False: 6]
  ------------------
 3549|       |
 3550|      0|    case EOpLogicalAnd:
  ------------------
  |  Branch (3550:5): [True: 0, False: 6]
  ------------------
 3551|      0|    case EOpLogicalOr:
  ------------------
  |  Branch (3551:5): [True: 0, False: 6]
  ------------------
 3552|      0|    case EOpLogicalXor:
  ------------------
  |  Branch (3552:5): [True: 0, False: 6]
  ------------------
 3553|      0|        return left->getType() == right->getType();
 3554|       |
 3555|      0|    case EOpMod:
  ------------------
  |  Branch (3555:5): [True: 0, False: 6]
  ------------------
 3556|      0|    case EOpModAssign:
  ------------------
  |  Branch (3556:5): [True: 0, False: 6]
  ------------------
 3557|       |
 3558|      0|    case EOpAnd:
  ------------------
  |  Branch (3558:5): [True: 0, False: 6]
  ------------------
 3559|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3559:5): [True: 0, False: 6]
  ------------------
 3560|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3560:5): [True: 0, False: 6]
  ------------------
 3561|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3561:5): [True: 0, False: 6]
  ------------------
 3562|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3562:5): [True: 0, False: 6]
  ------------------
 3563|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3563:5): [True: 0, False: 6]
  ------------------
 3564|       |
 3565|      3|    case EOpAdd:
  ------------------
  |  Branch (3565:5): [True: 3, False: 3]
  ------------------
 3566|      6|    case EOpSub:
  ------------------
  |  Branch (3566:5): [True: 3, False: 3]
  ------------------
 3567|      6|    case EOpDiv:
  ------------------
  |  Branch (3567:5): [True: 0, False: 6]
  ------------------
 3568|       |
 3569|      6|    case EOpAddAssign:
  ------------------
  |  Branch (3569:5): [True: 0, False: 6]
  ------------------
 3570|      6|    case EOpSubAssign:
  ------------------
  |  Branch (3570:5): [True: 0, False: 6]
  ------------------
 3571|      6|    case EOpDivAssign:
  ------------------
  |  Branch (3571:5): [True: 0, False: 6]
  ------------------
 3572|       |        // Quick out in case the types do match
 3573|      6|        if (left->getType() == right->getType())
  ------------------
  |  Branch (3573:13): [True: 6, False: 0]
  ------------------
 3574|      6|            return true;
 3575|       |
 3576|      0|        [[fallthrough]];
 3577|       |
 3578|      0|    case EOpMul:
  ------------------
  |  Branch (3578:5): [True: 0, False: 6]
  ------------------
 3579|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3579:5): [True: 0, False: 6]
  ------------------
 3580|       |        // At least the basic type has to match
 3581|      0|        if (left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3581:13): [True: 0, False: 0]
  ------------------
 3582|      0|            return false;
 3583|      0|        break;
 3584|       |
 3585|      0|    default:
  ------------------
  |  Branch (3585:5): [True: 0, False: 6]
  ------------------
 3586|      0|        break;
 3587|      6|    }
 3588|       |
 3589|      0|    if (hasCoopMat) {
  ------------------
  |  Branch (3589:9): [True: 0, False: 0]
  ------------------
 3590|       |        // Operations on two cooperative matrices must have identical types
 3591|      0|        if (left->getType().isCoopMat() && right->getType().isCoopMat() &&
  ------------------
  |  Branch (3591:13): [True: 0, False: 0]
  |  Branch (3591:44): [True: 0, False: 0]
  ------------------
 3592|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3592:13): [True: 0, False: 0]
  ------------------
 3593|      0|            return false;
 3594|      0|        }
 3595|      0|        switch (op) {
 3596|      0|        case EOpMul:
  ------------------
  |  Branch (3596:9): [True: 0, False: 0]
  ------------------
 3597|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3597:9): [True: 0, False: 0]
  ------------------
 3598|       |            // Mul not supported in NV_cooperative_matrix
 3599|      0|            if (left->getType().isCoopMatNV() && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3599:17): [True: 0, False: 0]
  |  Branch (3599:50): [True: 0, False: 0]
  ------------------
 3600|      0|                return false;
 3601|      0|            }
 3602|       |            // NV_cooperative_matrix supports MulAssign is for mat*=scalar only.
 3603|       |            // KHR_cooperative_matrix supports it for mat*=mat as well.
 3604|      0|            if (op == EOpMulAssign && right->getType().isCoopMatNV()) {
  ------------------
  |  Branch (3604:17): [True: 0, False: 0]
  |  Branch (3604:39): [True: 0, False: 0]
  ------------------
 3605|      0|                return false;
 3606|      0|            }
 3607|       |            // Use MatrixTimesScalar if either operand is not a matrix. Otherwise use Mul.
 3608|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3608:17): [True: 0, False: 0]
  |  Branch (3608:49): [True: 0, False: 0]
  ------------------
 3609|      0|                node.setOp(op == EOpMulAssign ? EOpMatrixTimesScalarAssign : EOpMatrixTimesScalar);
  ------------------
  |  Branch (3609:28): [True: 0, False: 0]
  ------------------
 3610|      0|            }
 3611|       |            // In case of scalar*matrix, take the result type from the matrix.
 3612|      0|            if (right->getType().isCoopMat()) {
  ------------------
  |  Branch (3612:17): [True: 0, False: 0]
  ------------------
 3613|      0|                node.setType(right->getType());
 3614|      0|            }
 3615|      0|            return true;
 3616|      0|        case EOpAdd:
  ------------------
  |  Branch (3616:9): [True: 0, False: 0]
  ------------------
 3617|      0|        case EOpSub:
  ------------------
  |  Branch (3617:9): [True: 0, False: 0]
  ------------------
 3618|      0|        case EOpDiv:
  ------------------
  |  Branch (3618:9): [True: 0, False: 0]
  ------------------
 3619|      0|        case EOpAssign:
  ------------------
  |  Branch (3619:9): [True: 0, False: 0]
  ------------------
 3620|       |            // These require both to be cooperative matrices
 3621|      0|            if (!left->getType().isCoopMat() || !right->getType().isCoopMat()) {
  ------------------
  |  Branch (3621:17): [True: 0, False: 0]
  |  Branch (3621:49): [True: 0, False: 0]
  ------------------
 3622|      0|                return false;
 3623|      0|            }
 3624|      0|            return true;
 3625|      0|        default:
  ------------------
  |  Branch (3625:9): [True: 0, False: 0]
  ------------------
 3626|      0|            break;
 3627|      0|        }
 3628|      0|        return false;
 3629|      0|    }
 3630|       |
 3631|      0|    if (left->getType().isCoopVecNV() || right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 0]
  |  Branch (3631:42): [True: 0, False: 0]
  ------------------
 3632|       |        // Operations on two cooperative vectors must have identical types
 3633|      0|        if (left->getType().isCoopVecNV() && right->getType().isCoopVecNV() &&
  ------------------
  |  Branch (3633:13): [True: 0, False: 0]
  |  Branch (3633:46): [True: 0, False: 0]
  ------------------
 3634|      0|            left->getType() != right->getType()) {
  ------------------
  |  Branch (3634:13): [True: 0, False: 0]
  ------------------
 3635|      0|            return false;
 3636|      0|        }
 3637|      0|        switch (op) {
 3638|      0|        case EOpMul:
  ------------------
  |  Branch (3638:9): [True: 0, False: 0]
  ------------------
 3639|      0|        case EOpMulAssign:
  ------------------
  |  Branch (3639:9): [True: 0, False: 0]
  ------------------
 3640|       |            // Use VectorTimesScalar if either operand is not a vector. Otherwise use Mul.
 3641|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3641:17): [True: 0, False: 0]
  |  Branch (3641:51): [True: 0, False: 0]
  ------------------
 3642|      0|                node.setOp(op == EOpMulAssign ? EOpVectorTimesScalarAssign : EOpVectorTimesScalar);
  ------------------
  |  Branch (3642:28): [True: 0, False: 0]
  ------------------
 3643|      0|            }
 3644|       |            // In case of scalar*vector, take the result type from the vector.
 3645|      0|            if (right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3645:17): [True: 0, False: 0]
  ------------------
 3646|      0|                node.setType(right->getType());
 3647|      0|            }
 3648|      0|            return true;
 3649|      0|        case EOpLeftShift:
  ------------------
  |  Branch (3649:9): [True: 0, False: 0]
  ------------------
 3650|      0|        case EOpLeftShiftAssign:
  ------------------
  |  Branch (3650:9): [True: 0, False: 0]
  ------------------
 3651|      0|        case EOpRightShift:
  ------------------
  |  Branch (3651:9): [True: 0, False: 0]
  ------------------
 3652|      0|        case EOpRightShiftAssign:
  ------------------
  |  Branch (3652:9): [True: 0, False: 0]
  ------------------
 3653|      0|        case EOpAdd:
  ------------------
  |  Branch (3653:9): [True: 0, False: 0]
  ------------------
 3654|      0|        case EOpSub:
  ------------------
  |  Branch (3654:9): [True: 0, False: 0]
  ------------------
 3655|      0|        case EOpDiv:
  ------------------
  |  Branch (3655:9): [True: 0, False: 0]
  ------------------
 3656|      0|        case EOpAssign:
  ------------------
  |  Branch (3656:9): [True: 0, False: 0]
  ------------------
 3657|       |            // These require both to be cooperative vectors
 3658|      0|            if (!left->getType().isCoopVecNV() || !right->getType().isCoopVecNV()) {
  ------------------
  |  Branch (3658:17): [True: 0, False: 0]
  |  Branch (3658:51): [True: 0, False: 0]
  ------------------
 3659|      0|                return false;
 3660|      0|            }
 3661|      0|            return true;
 3662|      0|        default:
  ------------------
  |  Branch (3662:9): [True: 0, False: 0]
  ------------------
 3663|      0|            break;
 3664|      0|        }
 3665|      0|        return false;
 3666|      0|    }
 3667|       |
 3668|      0|    bool vectorAndLongVectorMatch = TType::vectorAndLongVectorMatch(left->getType(), right->getType());
 3669|       |
 3670|       |    // Finish handling the case, for all ops, where both operands are scalars.
 3671|      0|    if (left->isScalar() && right->isScalar())
  ------------------
  |  Branch (3671:9): [True: 0, False: 0]
  |  Branch (3671:29): [True: 0, False: 0]
  ------------------
 3672|      0|        return true;
 3673|       |
 3674|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3675|      0|    if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize() && right->getVectorSize() > 1)
  ------------------
  |  Branch (3675:9): [True: 0, False: 0]
  |  Branch (3675:29): [True: 0, False: 0]
  |  Branch (3675:50): [True: 0, False: 0]
  |  Branch (3675:101): [True: 0, False: 0]
  ------------------
 3676|      0|        return false;
 3677|       |
 3678|       |    // Finish handling the case, for all ops, where there are two vectors of different sizes
 3679|      0|    if (left->getType().isLongVector() && right->getType().isLongVector() && !left->getType().sameLongVectorShape(right->getType()))
  ------------------
  |  Branch (3679:9): [True: 0, False: 0]
  |  Branch (3679:43): [True: 0, False: 0]
  |  Branch (3679:78): [True: 0, False: 0]
  ------------------
 3680|      0|        return false;
 3681|       |
 3682|       |    //
 3683|       |    // We now have a mix of scalars, vectors, or matrices, for non-relational operations.
 3684|       |    //
 3685|       |
 3686|       |    // Can these two operands be combined, what is the resulting type?
 3687|      0|    TBasicType basicType = left->getBasicType();
 3688|      0|    switch (op) {
 3689|      0|    case EOpMul:
  ------------------
  |  Branch (3689:5): [True: 0, False: 0]
  ------------------
 3690|      0|        if (!left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3690:13): [True: 0, False: 0]
  |  Branch (3690:34): [True: 0, False: 0]
  ------------------
 3691|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3691:17): [True: 0, False: 0]
  ------------------
 3692|      0|                if (left->getVectorSize() != right->getMatrixRows())
  ------------------
  |  Branch (3692:21): [True: 0, False: 0]
  ------------------
 3693|      0|                    return false;
 3694|      0|                node.setOp(op = EOpVectorTimesMatrix);
 3695|      0|                node.setType(TType(basicType, EvqTemporary, right->getMatrixCols()));
 3696|      0|            } else {
 3697|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3698|      0|                node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), right->getMatrixRows()));
 3699|      0|            }
 3700|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3700:20): [True: 0, False: 0]
  |  Branch (3700:40): [True: 0, False: 0]
  ------------------
 3701|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3701:17): [True: 0, False: 0]
  ------------------
 3702|      0|                if (left->getMatrixCols() != right->getVectorSize())
  ------------------
  |  Branch (3702:21): [True: 0, False: 0]
  ------------------
 3703|      0|                    return false;
 3704|      0|                node.setOp(op = EOpMatrixTimesVector);
 3705|      0|                node.setType(TType(basicType, EvqTemporary, left->getMatrixRows()));
 3706|      0|            } else {
 3707|      0|                node.setOp(op = EOpMatrixTimesScalar);
 3708|      0|            }
 3709|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3709:20): [True: 0, False: 0]
  |  Branch (3709:40): [True: 0, False: 0]
  ------------------
 3710|      0|            if (left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3710:17): [True: 0, False: 0]
  ------------------
 3711|      0|                return false;
 3712|      0|            node.setOp(op = EOpMatrixTimesMatrix);
 3713|      0|            node.setType(TType(basicType, EvqTemporary, 0, right->getMatrixCols(), left->getMatrixRows()));
 3714|      0|        } else if (! left->isMatrix() && ! right->isMatrix()) {
  ------------------
  |  Branch (3714:20): [True: 0, False: 0]
  |  Branch (3714:42): [True: 0, False: 0]
  ------------------
 3715|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3715:17): [True: 0, False: 0]
  |  Branch (3715:37): [True: 0, False: 0]
  ------------------
 3716|      0|                ; // leave as component product
 3717|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3717:24): [True: 0, False: 0]
  |  Branch (3717:44): [True: 0, False: 0]
  ------------------
 3718|      0|                node.setOp(op = EOpVectorTimesScalar);
 3719|      0|                if (right->isVector())
  ------------------
  |  Branch (3719:21): [True: 0, False: 0]
  ------------------
 3720|      0|                    node.setType(TType(basicType, EvqTemporary, right->getVectorSize()));
 3721|      0|            }
 3722|      0|        } else {
 3723|      0|            return false;
 3724|      0|        }
 3725|      0|        break;
 3726|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3726:5): [True: 0, False: 0]
  ------------------
 3727|      0|        if (! left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3727:13): [True: 0, False: 0]
  |  Branch (3727:35): [True: 0, False: 0]
  ------------------
 3728|      0|            if (left->isVector()) {
  ------------------
  |  Branch (3728:17): [True: 0, False: 0]
  ------------------
 3729|      0|                if (left->getVectorSize() != right->getMatrixRows() || left->getVectorSize() != right->getMatrixCols())
  ------------------
  |  Branch (3729:21): [True: 0, False: 0]
  |  Branch (3729:72): [True: 0, False: 0]
  ------------------
 3730|      0|                    return false;
 3731|      0|                node.setOp(op = EOpVectorTimesMatrixAssign);
 3732|      0|            } else {
 3733|      0|                return false;
 3734|      0|            }
 3735|      0|        } else if (left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3735:20): [True: 0, False: 0]
  |  Branch (3735:40): [True: 0, False: 0]
  ------------------
 3736|      0|            if (right->isVector()) {
  ------------------
  |  Branch (3736:17): [True: 0, False: 0]
  ------------------
 3737|      0|                return false;
 3738|      0|            } else {
 3739|      0|                node.setOp(op = EOpMatrixTimesScalarAssign);
 3740|      0|            }
 3741|      0|        } else if (left->isMatrix() && right->isMatrix()) {
  ------------------
  |  Branch (3741:20): [True: 0, False: 0]
  |  Branch (3741:40): [True: 0, False: 0]
  ------------------
 3742|      0|            if (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixCols() != right->getMatrixRows())
  ------------------
  |  Branch (3742:17): [True: 0, False: 0]
  |  Branch (3742:68): [True: 0, False: 0]
  ------------------
 3743|      0|                return false;
 3744|      0|            node.setOp(op = EOpMatrixTimesMatrixAssign);
 3745|      0|        } else if (!left->isMatrix() && !right->isMatrix()) {
  ------------------
  |  Branch (3745:20): [True: 0, False: 0]
  |  Branch (3745:41): [True: 0, False: 0]
  ------------------
 3746|      0|            if (left->isVector() && right->isVector()) {
  ------------------
  |  Branch (3746:17): [True: 0, False: 0]
  |  Branch (3746:37): [True: 0, False: 0]
  ------------------
 3747|       |                // leave as component product
 3748|      0|            } else if (left->isVector() || right->isVector()) {
  ------------------
  |  Branch (3748:24): [True: 0, False: 0]
  |  Branch (3748:44): [True: 0, False: 0]
  ------------------
 3749|      0|                if (! left->isVector())
  ------------------
  |  Branch (3749:21): [True: 0, False: 0]
  ------------------
 3750|      0|                    return false;
 3751|      0|                node.setOp(op = EOpVectorTimesScalarAssign);
 3752|      0|            }
 3753|      0|        } else {
 3754|      0|            return false;
 3755|      0|        }
 3756|      0|        break;
 3757|       |
 3758|      0|    case EOpRightShift:
  ------------------
  |  Branch (3758:5): [True: 0, False: 0]
  ------------------
 3759|      0|    case EOpLeftShift:
  ------------------
  |  Branch (3759:5): [True: 0, False: 0]
  ------------------
 3760|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3760:5): [True: 0, False: 0]
  ------------------
 3761|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3761:5): [True: 0, False: 0]
  ------------------
 3762|      0|        if (right->isVector() && (! left->isVector() || right->getVectorSize() != left->getVectorSize()))
  ------------------
  |  Branch (3762:13): [True: 0, False: 0]
  |  Branch (3762:35): [True: 0, False: 0]
  |  Branch (3762:57): [True: 0, False: 0]
  ------------------
 3763|      0|            return false;
 3764|      0|        break;
 3765|       |
 3766|      0|    case EOpAssign:
  ------------------
  |  Branch (3766:5): [True: 0, False: 0]
  ------------------
 3767|      0|        if ((left->getVectorSize() != right->getVectorSize() || left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()) &&
  ------------------
  |  Branch (3767:14): [True: 0, False: 0]
  |  Branch (3767:65): [True: 0, False: 0]
  |  Branch (3767:116): [True: 0, False: 0]
  ------------------
 3768|      0|            !vectorAndLongVectorMatch)
  ------------------
  |  Branch (3768:13): [True: 0, False: 0]
  ------------------
 3769|      0|            return false;
 3770|      0|        [[fallthrough]];
 3771|       |
 3772|      0|    case EOpAdd:
  ------------------
  |  Branch (3772:5): [True: 0, False: 0]
  ------------------
 3773|      0|    case EOpSub:
  ------------------
  |  Branch (3773:5): [True: 0, False: 0]
  ------------------
 3774|      0|    case EOpDiv:
  ------------------
  |  Branch (3774:5): [True: 0, False: 0]
  ------------------
 3775|      0|    case EOpMod:
  ------------------
  |  Branch (3775:5): [True: 0, False: 0]
  ------------------
 3776|      0|    case EOpAnd:
  ------------------
  |  Branch (3776:5): [True: 0, False: 0]
  ------------------
 3777|      0|    case EOpInclusiveOr:
  ------------------
  |  Branch (3777:5): [True: 0, False: 0]
  ------------------
 3778|      0|    case EOpExclusiveOr:
  ------------------
  |  Branch (3778:5): [True: 0, False: 0]
  ------------------
 3779|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3779:5): [True: 0, False: 0]
  ------------------
 3780|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3780:5): [True: 0, False: 0]
  ------------------
 3781|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3781:5): [True: 0, False: 0]
  ------------------
 3782|      0|    case EOpModAssign:
  ------------------
  |  Branch (3782:5): [True: 0, False: 0]
  ------------------
 3783|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3783:5): [True: 0, False: 0]
  ------------------
 3784|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3784:5): [True: 0, False: 0]
  ------------------
 3785|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3785:5): [True: 0, False: 0]
  ------------------
 3786|       |
 3787|      0|        if ((left->isMatrix() && right->isVector()) ||
  ------------------
  |  Branch (3787:14): [True: 0, False: 0]
  |  Branch (3787:34): [True: 0, False: 0]
  ------------------
 3788|      0|            (left->isVector() && right->isMatrix()) ||
  ------------------
  |  Branch (3788:14): [True: 0, False: 0]
  |  Branch (3788:34): [True: 0, False: 0]
  ------------------
 3789|      0|            left->getBasicType() != right->getBasicType())
  ------------------
  |  Branch (3789:13): [True: 0, False: 0]
  ------------------
 3790|      0|            return false;
 3791|      0|        if (left->isMatrix() && right->isMatrix() && (left->getMatrixCols() != right->getMatrixCols() || left->getMatrixRows() != right->getMatrixRows()))
  ------------------
  |  Branch (3791:13): [True: 0, False: 0]
  |  Branch (3791:33): [True: 0, False: 0]
  |  Branch (3791:55): [True: 0, False: 0]
  |  Branch (3791:106): [True: 0, False: 0]
  ------------------
 3792|      0|            return false;
 3793|      0|        if (left->isVector() && right->isVector() && left->getVectorSize() != right->getVectorSize())
  ------------------
  |  Branch (3793:13): [True: 0, False: 0]
  |  Branch (3793:33): [True: 0, False: 0]
  |  Branch (3793:54): [True: 0, False: 0]
  ------------------
 3794|      0|            return false;
 3795|      0|        if ((right->isVector() || right->isMatrix()) && !vectorAndLongVectorMatch) {
  ------------------
  |  Branch (3795:14): [True: 0, False: 0]
  |  Branch (3795:35): [True: 0, False: 0]
  |  Branch (3795:57): [True: 0, False: 0]
  ------------------
 3796|      0|            node.getWritableType().shallowCopy(right->getType());
 3797|      0|            node.getWritableType().getQualifier().makeTemporary();
 3798|      0|        }
 3799|      0|        break;
 3800|       |
 3801|      0|    default:
  ------------------
  |  Branch (3801:5): [True: 0, False: 0]
  ------------------
 3802|      0|        return false;
 3803|      0|    }
 3804|       |
 3805|       |    //
 3806|       |    // One more check for assignment.
 3807|       |    //
 3808|      0|    switch (op) {
 3809|       |    // The resulting type has to match the left operand.
 3810|      0|    case EOpAssign:
  ------------------
  |  Branch (3810:5): [True: 0, False: 0]
  ------------------
 3811|      0|    case EOpAddAssign:
  ------------------
  |  Branch (3811:5): [True: 0, False: 0]
  ------------------
 3812|      0|    case EOpSubAssign:
  ------------------
  |  Branch (3812:5): [True: 0, False: 0]
  ------------------
 3813|      0|    case EOpMulAssign:
  ------------------
  |  Branch (3813:5): [True: 0, False: 0]
  ------------------
 3814|      0|    case EOpDivAssign:
  ------------------
  |  Branch (3814:5): [True: 0, False: 0]
  ------------------
 3815|      0|    case EOpModAssign:
  ------------------
  |  Branch (3815:5): [True: 0, False: 0]
  ------------------
 3816|      0|    case EOpAndAssign:
  ------------------
  |  Branch (3816:5): [True: 0, False: 0]
  ------------------
 3817|      0|    case EOpInclusiveOrAssign:
  ------------------
  |  Branch (3817:5): [True: 0, False: 0]
  ------------------
 3818|      0|    case EOpExclusiveOrAssign:
  ------------------
  |  Branch (3818:5): [True: 0, False: 0]
  ------------------
 3819|      0|    case EOpLeftShiftAssign:
  ------------------
  |  Branch (3819:5): [True: 0, False: 0]
  ------------------
 3820|      0|    case EOpRightShiftAssign:
  ------------------
  |  Branch (3820:5): [True: 0, False: 0]
  ------------------
 3821|      0|        if (node.getType() != left->getType())
  ------------------
  |  Branch (3821:13): [True: 0, False: 0]
  ------------------
 3822|      0|            return false;
 3823|      0|        break;
 3824|      0|    default:
  ------------------
  |  Branch (3824:5): [True: 0, False: 0]
  ------------------
 3825|      0|        break;
 3826|      0|    }
 3827|       |
 3828|      0|    return true;
 3829|      0|}
_ZN7glslang13TIntermBinary15updatePrecisionEv:
 3926|      6|{
 3927|      6|     if (getBasicType() == EbtInt || getBasicType() == EbtUint ||
  ------------------
  |  Branch (3927:10): [True: 3, False: 3]
  |  Branch (3927:38): [True: 3, False: 0]
  ------------------
 3928|      6|         getBasicType() == EbtFloat) {
  ------------------
  |  Branch (3928:10): [True: 0, False: 0]
  ------------------
 3929|      6|       if (op == EOpRightShift || op == EOpLeftShift) {
  ------------------
  |  Branch (3929:12): [True: 0, False: 6]
  |  Branch (3929:35): [True: 0, False: 6]
  ------------------
 3930|       |         // For shifts get precision from left side only and thus no need to propagate
 3931|      0|         getQualifier().precision = left->getQualifier().precision;
 3932|      6|       } else {
 3933|      6|         getQualifier().precision = std::max(right->getQualifier().precision, left->getQualifier().precision);
 3934|      6|         if (getQualifier().precision != EpqNone) {
  ------------------
  |  Branch (3934:14): [True: 0, False: 6]
  ------------------
 3935|      0|           left->propagatePrecision(getQualifier().precision);
 3936|      0|           right->propagatePrecision(getQualifier().precision);
 3937|      0|         }
 3938|      6|       }
 3939|      6|    }
 3940|      6|}
_ZNK7glslang13TIntermediate20promoteConstantUnionENS_10TBasicTypeEPNS_20TIntermConstantUnionE:
 3997|    100|{
 3998|    100|    const TConstUnionArray& rightUnionArray = node->getConstArray();
 3999|    100|    int size = node->getType().computeNumComponents();
 4000|       |
 4001|    100|    TConstUnionArray leftUnionArray(size);
 4002|       |
 4003|    203|    for (int i=0; i < size; i++) {
  ------------------
  |  Branch (4003:19): [True: 103, False: 100]
  ------------------
 4004|       |
 4005|    103|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
 4006|    103|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
 4007|       |
 4008|    103|#define TO_ALL(Get)   \
 4009|    103|        switch (promoteTo) { \
 4010|    103|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
 4011|    103|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
 4012|    103|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
 4013|    103|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
 4014|    103|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
 4015|    103|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
 4016|    103|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
 4017|    103|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
 4018|    103|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
 4019|    103|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
 4020|    103|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
 4021|    103|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
 4022|    103|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
 4023|    103|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
 4024|    103|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
 4025|    103|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
 4026|    103|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
 4027|    103|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
 4028|    103|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
 4029|    103|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
 4030|    103|        default: return node; \
 4031|    103|        }
 4032|       |
 4033|    103|        switch (node->getType().getBasicType()) {
 4034|      0|        case EbtFloat: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4034:9): [True: 0, False: 103]
  ------------------
 4035|     97|        case EbtInt: TO_ALL(getIConst); break;
  ------------------
  |  | 4009|     97|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4027|     75|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|     75|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 75, False: 22]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4029|     22|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|     22|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 22, False: 75]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 97]
  |  |  ------------------
  |  | 4031|     97|        }
  ------------------
  |  Branch (4035:9): [True: 97, False: 6]
  ------------------
 4036|      0|        case EbtUint: TO_ALL(getUConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4036:9): [True: 0, False: 103]
  ------------------
 4037|      6|        case EbtBool: TO_ALL(getBConst); break;
  ------------------
  |  | 4009|      6|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4023|      3|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      3|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 3, False: 3]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4027|      3|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      3|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 3, False: 3]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 4031|      6|        }
  ------------------
  |  Branch (4037:9): [True: 6, False: 97]
  ------------------
 4038|      0|        case EbtFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4038:9): [True: 0, False: 103]
  ------------------
 4039|      0|        case EbtBFloat16: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4039:9): [True: 0, False: 103]
  ------------------
 4040|      0|        case EbtFloatE5M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4040:9): [True: 0, False: 103]
  ------------------
 4041|      0|        case EbtFloatE4M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4041:9): [True: 0, False: 103]
  ------------------
 4042|      0|        case EbtFloatE2M1: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4042:9): [True: 0, False: 103]
  ------------------
 4043|      0|        case EbtFloatE3M2: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4043:9): [True: 0, False: 103]
  ------------------
 4044|      0|        case EbtFloatE2M3: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4044:9): [True: 0, False: 103]
  ------------------
 4045|      0|        case EbtFloatUE8M0: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4045:9): [True: 0, False: 103]
  ------------------
 4046|      0|        case EbtFloatMXINT8: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4046:9): [True: 0, False: 103]
  ------------------
 4047|      0|        case EbtDouble: TO_ALL(getDConst); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4047:9): [True: 0, False: 103]
  ------------------
 4048|      0|        case EbtInt8: TO_ALL(getI8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4048:9): [True: 0, False: 103]
  ------------------
 4049|      0|        case EbtInt16: TO_ALL(getI16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4049:9): [True: 0, False: 103]
  ------------------
 4050|      0|        case EbtInt64: TO_ALL(getI64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4050:9): [True: 0, False: 103]
  ------------------
 4051|      0|        case EbtUint8: TO_ALL(getU8Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4051:9): [True: 0, False: 103]
  ------------------
 4052|      0|        case EbtUint16: TO_ALL(getU16Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4052:9): [True: 0, False: 103]
  ------------------
 4053|      0|        case EbtUint64: TO_ALL(getU64Const); break;
  ------------------
  |  | 4009|      0|        switch (promoteTo) { \
  |  | 4010|      0|        case EbtBFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4010:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4011|      0|        case EbtFloatE5M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4011:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4012|      0|        case EbtFloatE4M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4012:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4013|      0|        case EbtFloatE2M1: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4013:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4014|      0|        case EbtFloatE3M2: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4014:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4015|      0|        case EbtFloatE2M3: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4015:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4016|      0|        case EbtFloatUE8M0: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4016:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4017|      0|        case EbtFloatMXINT8: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4017:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4018|      0|        case EbtFloat16: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4018:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4019|      0|        case EbtFloat: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4019:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4020|      0|        case EbtDouble: PROMOTE(setDConst, double, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4020:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4021|      0|        case EbtInt8: PROMOTE(setI8Const, signed char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4021:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4022|      0|        case EbtInt16: PROMOTE(setI16Const, short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4022:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4023|      0|        case EbtInt: PROMOTE(setIConst, int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4023:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4024|      0|        case EbtInt64: PROMOTE(setI64Const, long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4024:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4025|      0|        case EbtUint8: PROMOTE(setU8Const, unsigned char, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4025:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4026|      0|        case EbtUint16: PROMOTE(setU16Const, unsigned short, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4026:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4027|      0|        case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4027:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4028|      0|        case EbtUint64: PROMOTE(setU64Const, unsigned long long, Get); break; \
  |  |  ------------------
  |  |  |  | 4005|      0|#define PROMOTE(Set, CType, Get) leftUnionArray[i].Set(static_cast<CType>(rightUnionArray[i].Get()))
  |  |  ------------------
  |  |  |  Branch (4028:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4029|      0|        case EbtBool: PROMOTE_TO_BOOL(Get); break; \
  |  |  ------------------
  |  |  |  | 4006|      0|#define PROMOTE_TO_BOOL(Get) leftUnionArray[i].setBConst(rightUnionArray[i].Get() != 0)
  |  |  ------------------
  |  |  |  Branch (4029:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4030|      0|        default: return node; \
  |  |  ------------------
  |  |  |  Branch (4030:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 4031|      0|        }
  ------------------
  |  Branch (4053:9): [True: 0, False: 103]
  ------------------
 4054|      0|        default: return node;
  ------------------
  |  Branch (4054:9): [True: 0, False: 103]
  ------------------
 4055|    103|        }
 4056|    103|    }
 4057|       |
 4058|    100|    const TType& t = node->getType();
 4059|       |
 4060|    100|    return addConstantUnion(leftUnionArray, TType(promoteTo, t.getQualifier().storage, t.getVectorSize(), t.getMatrixCols(), t.getMatrixRows()),
 4061|    100|                            node->getLoc());
 4062|    100|}
_ZN7glslang13TIntermediate22specConstantPropagatesERKNS_12TIntermTypedES3_:
 4075|      6|{
 4076|      6|    return (node1.getType().getQualifier().isSpecConstant() && node2.getType().getQualifier().isConstant()) ||
  ------------------
  |  Branch (4076:13): [True: 0, False: 6]
  |  Branch (4076:64): [True: 0, False: 0]
  ------------------
 4077|      6|           (node2.getType().getQualifier().isSpecConstant() && node1.getType().getQualifier().isConstant());
  ------------------
  |  Branch (4077:13): [True: 0, False: 6]
  |  Branch (4077:64): [True: 0, False: 0]
  ------------------
 4078|      6|}

_ZN7glslang17TParseContextBase13outputMessageERKNS_10TSourceLocEPKcS5_S5_NS_11TPrefixTypeEP13__va_list_tag:
   55|    711|{
   56|    711|    const int maxSize = MaxTokenLength + 200;
   57|    711|    char szExtraInfo[maxSize];
   58|       |
   59|    711|    safe_vsprintf(szExtraInfo, maxSize, szExtraInfoFormat, args);
   60|       |
   61|    711|    infoSink.info.prefix(prefix);
   62|    711|    infoSink.info.location(loc, messages & EShMsgAbsolutePath, messages & EShMsgDisplayErrorColumn);
   63|    711|    infoSink.info << "'" << szToken <<  "' : " << szReason << " " << szExtraInfo << "\n";
   64|       |
   65|    711|    if (prefix == EPrefixError) {
  ------------------
  |  Branch (65:9): [True: 696, False: 15]
  ------------------
   66|    696|        ++numErrors;
   67|    696|    }
   68|    711|}
_ZN7glslang17TParseContextBase5errorERKNS_10TSourceLocEPKcS5_S5_z:
   72|  93.3k|{
   73|  93.3k|    if (messages & EShMsgOnlyPreprocessor)
  ------------------
  |  Branch (73:9): [True: 93.0k, False: 320]
  ------------------
   74|  93.0k|        return;
   75|       |    // If enhanced msg readability, only print one error
   76|    320|    if (messages & EShMsgEnhanced && numErrors > 0)
  ------------------
  |  Branch (76:9): [True: 109, False: 211]
  |  Branch (76:38): [True: 105, False: 4]
  ------------------
   77|    105|        return;
   78|    215|    va_list args;
   79|    215|    va_start(args, szExtraInfoFormat);
   80|    215|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
   81|    215|    va_end(args);
   82|       |
   83|    215|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (83:9): [True: 209, False: 6]
  ------------------
   84|    209|        currentScanner->setEndOfInput();
   85|    215|}
_ZN7glslang17TParseContextBase4warnERKNS_10TSourceLocEPKcS5_S5_z:
   89|     15|{
   90|     15|    if (suppressWarnings())
  ------------------
  |  Branch (90:9): [True: 0, False: 15]
  ------------------
   91|      0|        return;
   92|     15|    va_list args;
   93|     15|    va_start(args, szExtraInfoFormat);
   94|     15|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixWarning, args);
   95|       |    va_end(args);
   96|     15|}
_ZN7glslang17TParseContextBase7ppErrorERKNS_10TSourceLocEPKcS5_S5_z:
  100|    481|{
  101|    481|    va_list args;
  102|    481|    va_start(args, szExtraInfoFormat);
  103|    481|    outputMessage(loc, szReason, szToken, szExtraInfoFormat, EPrefixError, args);
  104|    481|    va_end(args);
  105|       |
  106|    481|    if ((messages & EShMsgCascadingErrors) == 0)
  ------------------
  |  Branch (106:9): [True: 5, False: 476]
  ------------------
  107|      5|        currentScanner->setEndOfInput();
  108|    481|}
_ZN7glslang17TParseContextBase16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  126|      2|{
  127|      2|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  128|       |
  129|      2|    const char* symbol = nullptr;
  130|      2|    TIntermSymbol* symNode = node->getAsSymbolNode();
  131|      2|    if (symNode != nullptr)
  ------------------
  |  Branch (131:9): [True: 0, False: 2]
  ------------------
  132|      0|        symbol = symNode->getName().c_str();
  133|       |
  134|      2|    const char* message = nullptr;
  135|      2|    switch (node->getQualifier().storage) {
  136|      0|    case EvqConst:          message = "can't modify a const";        break;
  ------------------
  |  Branch (136:5): [True: 0, False: 2]
  ------------------
  137|      0|    case EvqConstReadOnly:  message = "can't modify a const";        break;
  ------------------
  |  Branch (137:5): [True: 0, False: 2]
  ------------------
  138|      0|    case EvqUniform:        message = "can't modify a uniform";      break;
  ------------------
  |  Branch (138:5): [True: 0, False: 2]
  ------------------
  139|      0|    case EvqBuffer:
  ------------------
  |  Branch (139:5): [True: 0, False: 2]
  ------------------
  140|      0|        if (node->getQualifier().isReadOnly())
  ------------------
  |  Branch (140:13): [True: 0, False: 0]
  ------------------
  141|      0|            message = "can't modify a readonly buffer";
  142|      0|        if (node->getQualifier().isShaderRecord())
  ------------------
  |  Branch (142:13): [True: 0, False: 0]
  ------------------
  143|      0|            message = "can't modify a shaderrecordnv qualified buffer";
  144|      0|        break;
  145|      0|    case EvqHitAttr:
  ------------------
  |  Branch (145:5): [True: 0, False: 2]
  ------------------
  146|      0|        if (language != EShLangIntersect)
  ------------------
  |  Branch (146:13): [True: 0, False: 0]
  ------------------
  147|      0|            message = "cannot modify hitAttributeNV in this stage";
  148|      0|        break;
  149|       |
  150|      2|    default:
  ------------------
  |  Branch (150:5): [True: 2, False: 0]
  ------------------
  151|       |        //
  152|       |        // Type that can't be written to?
  153|       |        //
  154|      2|        switch (node->getBasicType()) {
  155|      0|        case EbtSampler:
  ------------------
  |  Branch (155:9): [True: 0, False: 2]
  ------------------
  156|      0|            if (extensionTurnedOn(E_GL_ARB_bindless_texture) == false)
  ------------------
  |  Branch (156:17): [True: 0, False: 0]
  ------------------
  157|      0|                message = "can't modify a sampler";
  158|      0|            break;
  159|      0|        case EbtVoid:
  ------------------
  |  Branch (159:9): [True: 0, False: 2]
  ------------------
  160|      0|            message = "can't modify void";
  161|      0|            break;
  162|      0|        case EbtAtomicUint:
  ------------------
  |  Branch (162:9): [True: 0, False: 2]
  ------------------
  163|      0|            message = "can't modify an atomic_uint";
  164|      0|            break;
  165|      0|        case EbtAccStruct:
  ------------------
  |  Branch (165:9): [True: 0, False: 2]
  ------------------
  166|      0|            message = "can't modify accelerationStructureNV";
  167|      0|            break;
  168|      0|        case EbtRayQuery:
  ------------------
  |  Branch (168:9): [True: 0, False: 2]
  ------------------
  169|      0|            message = "can't modify rayQueryEXT";
  170|      0|            break;
  171|      0|        case EbtHitObjectNV:
  ------------------
  |  Branch (171:9): [True: 0, False: 2]
  ------------------
  172|      0|            message = "can't modify hitObjectNV";
  173|      0|            break;
  174|      0|        case EbtHitObjectEXT:
  ------------------
  |  Branch (174:9): [True: 0, False: 2]
  ------------------
  175|      0|            message = "can't modify hitObjectEXT";
  176|      0|            break;
  177|      2|        default:
  ------------------
  |  Branch (177:9): [True: 2, False: 0]
  ------------------
  178|      2|            break;
  179|      2|        }
  180|      2|    }
  181|       |
  182|      2|    if (message == nullptr && binaryNode == nullptr && symNode == nullptr) {
  ------------------
  |  Branch (182:9): [True: 2, False: 0]
  |  Branch (182:31): [True: 2, False: 0]
  |  Branch (182:56): [True: 2, False: 0]
  ------------------
  183|      2|        error(loc, " l-value required", op, "", "");
  184|       |
  185|      2|        return true;
  186|      2|    }
  187|       |
  188|       |    //
  189|       |    // Everything else is okay, no error.
  190|       |    //
  191|      0|    if (message == nullptr)
  ------------------
  |  Branch (191:9): [True: 0, False: 0]
  ------------------
  192|      0|    {
  193|      0|        if (binaryNode) {
  ------------------
  |  Branch (193:13): [True: 0, False: 0]
  ------------------
  194|      0|            switch (binaryNode->getOp()) {
  195|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (195:13): [True: 0, False: 0]
  ------------------
  196|      0|            case EOpIndexIndirect:     // fall through
  ------------------
  |  Branch (196:13): [True: 0, False: 0]
  ------------------
  197|      0|            case EOpIndexDirectStruct: // fall through
  ------------------
  |  Branch (197:13): [True: 0, False: 0]
  ------------------
  198|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (198:13): [True: 0, False: 0]
  ------------------
  199|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (199:13): [True: 0, False: 0]
  ------------------
  200|      0|                return lValueErrorCheck(loc, op, binaryNode->getLeft());
  201|      0|            default:
  ------------------
  |  Branch (201:13): [True: 0, False: 0]
  ------------------
  202|      0|                break;
  203|      0|            }
  204|      0|            error(loc, " l-value required", op, "", "");
  205|       |
  206|      0|            return true;
  207|      0|        }
  208|      0|        return false;
  209|      0|    }
  210|       |
  211|       |    //
  212|       |    // If we get here, we have an error and a message.
  213|       |    //
  214|      0|    const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  215|       |
  216|      0|    if (symNode)
  ------------------
  |  Branch (216:9): [True: 0, False: 0]
  ------------------
  217|      0|        error(loc, " l-value required", op, "\"%s\" (%s)", symbol, message);
  218|      0|    else
  219|      0|        if (binaryNode && binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct)
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  |  Branch (219:27): [True: 0, False: 0]
  ------------------
  220|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (220:16): [True: 0, False: 0]
  ------------------
  221|      0|                error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str(), message);
  222|      0|            else
  223|      0|                error(loc, " l-value required", op, "\"%s\" (%s)", leftMostTypeNode->getAsSymbolNode()->getName().c_str(), message);
  224|      0|        else
  225|      0|            error(loc, " l-value required", op, "(%s)", message);
  226|       |
  227|      0|    return true;
  228|      0|}
_ZN7glslang17TParseContextBase16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
  232|    857|{
  233|    857|    if (! node)
  ------------------
  |  Branch (233:9): [True: 0, False: 857]
  ------------------
  234|      0|        return;
  235|       |
  236|    857|    TIntermBinary* binaryNode = node->getAsBinaryNode();
  237|    857|    const TIntermSymbol* symNode = node->getAsSymbolNode();
  238|       |
  239|    857|    if (node->getQualifier().isWriteOnly()) {
  ------------------
  |  Branch (239:9): [True: 0, False: 857]
  ------------------
  240|      0|        const TIntermTyped* leftMostTypeNode = TIntermediate::traverseLValueBase(node, true);
  241|       |
  242|      0|        if (symNode != nullptr)
  ------------------
  |  Branch (242:13): [True: 0, False: 0]
  ------------------
  243|      0|            error(loc, "can't read from writeonly object: ", op, symNode->getName().c_str());
  244|      0|        else if (binaryNode &&
  ------------------
  |  Branch (244:18): [True: 0, False: 0]
  ------------------
  245|      0|                (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct ||
  ------------------
  |  Branch (245:18): [True: 0, False: 0]
  ------------------
  246|      0|                 binaryNode->getAsOperator()->getOp() == EOpIndexDirect))
  ------------------
  |  Branch (246:18): [True: 0, False: 0]
  ------------------
  247|      0|            if(IsAnonymous(leftMostTypeNode->getAsSymbolNode()->getName()))
  ------------------
  |  Branch (247:16): [True: 0, False: 0]
  ------------------
  248|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getAccessName().c_str());
  249|      0|            else
  250|      0|                error(loc, "can't read from writeonly object: ", op, leftMostTypeNode->getAsSymbolNode()->getName().c_str());
  251|      0|        else
  252|      0|            error(loc, "can't read from writeonly object: ", op, "");
  253|       |
  254|    857|    } else {
  255|    857|        if (binaryNode) {
  ------------------
  |  Branch (255:13): [True: 0, False: 857]
  ------------------
  256|      0|            switch (binaryNode->getOp()) {
  257|      0|            case EOpIndexDirect:
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  ------------------
  258|      0|            case EOpIndexIndirect:
  ------------------
  |  Branch (258:13): [True: 0, False: 0]
  ------------------
  259|      0|            case EOpIndexDirectStruct:
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|            case EOpVectorSwizzle:
  ------------------
  |  Branch (260:13): [True: 0, False: 0]
  ------------------
  261|      0|            case EOpMatrixSwizzle:
  ------------------
  |  Branch (261:13): [True: 0, False: 0]
  ------------------
  262|      0|                rValueErrorCheck(loc, op, binaryNode->getLeft());
  263|      0|                break;
  264|      0|            default:
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  ------------------
  265|      0|                break;
  266|      0|            }
  267|      0|        }
  268|    857|    }
  269|    857|}
_ZN7glslang17TParseContextBase12trackLinkageERNS_7TSymbolE:
  278|  3.81k|{
  279|  3.81k|    if (!parsingBuiltins)
  ------------------
  |  Branch (279:9): [True: 22, False: 3.79k]
  ------------------
  280|     22|        linkageSymbols.push_back(&symbol);
  281|  3.81k|}
_ZN7glslang17TParseContextBase20parseSwizzleSelectorERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEiRNS_17TSwizzleSelectorsIiEE:
  535|      5|{
  536|       |    // Too long?
  537|      5|    if (compString.size() > MaxSwizzleSelectors)
  ------------------
  |  Branch (537:9): [True: 1, False: 4]
  ------------------
  538|      1|        error(loc, "vector swizzle too long", compString.c_str(), "");
  539|       |
  540|       |    // Use this to test that all swizzle characters are from the same swizzle-namespace-set
  541|      5|    enum {
  542|      5|        exyzw,
  543|      5|        ergba,
  544|      5|        estpq,
  545|      5|        ebadswizzle,
  546|      5|    } fieldSet[MaxSwizzleSelectors];
  547|       |
  548|       |    // Decode the swizzle string.
  549|      5|    int size = std::min(MaxSwizzleSelectors, (int)compString.size());
  550|     18|    for (int i = 0; i < size; ++i) {
  ------------------
  |  Branch (550:21): [True: 13, False: 5]
  ------------------
  551|     13|        switch (compString[i])  {
  552|      0|        case 'x':
  ------------------
  |  Branch (552:9): [True: 0, False: 13]
  ------------------
  553|      0|            selector.push_back(0);
  554|      0|            fieldSet[i] = exyzw;
  555|      0|            break;
  556|      4|        case 'r':
  ------------------
  |  Branch (556:9): [True: 4, False: 9]
  ------------------
  557|      4|            selector.push_back(0);
  558|      4|            fieldSet[i] = ergba;
  559|      4|            break;
  560|      6|        case 's':
  ------------------
  |  Branch (560:9): [True: 6, False: 7]
  ------------------
  561|      6|            selector.push_back(0);
  562|      6|            fieldSet[i] = estpq;
  563|      6|            break;
  564|       |
  565|      0|        case 'y':
  ------------------
  |  Branch (565:9): [True: 0, False: 13]
  ------------------
  566|      0|            selector.push_back(1);
  567|      0|            fieldSet[i] = exyzw;
  568|      0|            break;
  569|      0|        case 'g':
  ------------------
  |  Branch (569:9): [True: 0, False: 13]
  ------------------
  570|      0|            selector.push_back(1);
  571|      0|            fieldSet[i] = ergba;
  572|      0|            break;
  573|      0|        case 't':
  ------------------
  |  Branch (573:9): [True: 0, False: 13]
  ------------------
  574|      0|            selector.push_back(1);
  575|      0|            fieldSet[i] = estpq;
  576|      0|            break;
  577|       |
  578|      0|        case 'z':
  ------------------
  |  Branch (578:9): [True: 0, False: 13]
  ------------------
  579|      0|            selector.push_back(2);
  580|      0|            fieldSet[i] = exyzw;
  581|      0|            break;
  582|      0|        case 'b':
  ------------------
  |  Branch (582:9): [True: 0, False: 13]
  ------------------
  583|      0|            selector.push_back(2);
  584|      0|            fieldSet[i] = ergba;
  585|      0|            break;
  586|      0|        case 'p':
  ------------------
  |  Branch (586:9): [True: 0, False: 13]
  ------------------
  587|      0|            selector.push_back(2);
  588|      0|            fieldSet[i] = estpq;
  589|      0|            break;
  590|       |
  591|      0|        case 'w':
  ------------------
  |  Branch (591:9): [True: 0, False: 13]
  ------------------
  592|      0|            selector.push_back(3);
  593|      0|            fieldSet[i] = exyzw;
  594|      0|            break;
  595|      0|        case 'a':
  ------------------
  |  Branch (595:9): [True: 0, False: 13]
  ------------------
  596|      0|            selector.push_back(3);
  597|      0|            fieldSet[i] = ergba;
  598|      0|            break;
  599|      0|        case 'q':
  ------------------
  |  Branch (599:9): [True: 0, False: 13]
  ------------------
  600|      0|            selector.push_back(3);
  601|      0|            fieldSet[i] = estpq;
  602|      0|            break;
  603|       |
  604|      3|        default:
  ------------------
  |  Branch (604:9): [True: 3, False: 10]
  ------------------
  605|      3|            fieldSet[i] = ebadswizzle;
  606|      3|            break;
  607|     13|        }
  608|     13|    }
  609|       |
  610|       |    // Additional error checking.
  611|     15|    for (int i = 0; i < selector.size(); ++i) {
  ------------------
  |  Branch (611:21): [True: 10, False: 5]
  ------------------
  612|     10|        if (fieldSet[i] == ebadswizzle) {
  ------------------
  |  Branch (612:13): [True: 0, False: 10]
  ------------------
  613|      0|            error(loc, "unknown swizzle selection", compString.c_str(), "");
  614|      0|            selector.resize(i);
  615|      0|            break;
  616|      0|        }
  617|       |
  618|     10|        if (selector[i] >= vecSize) {
  ------------------
  |  Branch (618:13): [True: 0, False: 10]
  ------------------
  619|      0|            error(loc, "vector swizzle selection out of range",  compString.c_str(), "");
  620|      0|            selector.resize(i);
  621|      0|            break;
  622|      0|        }
  623|       |
  624|     10|        if (i > 0 && fieldSet[i] != fieldSet[i-1]) {
  ------------------
  |  Branch (624:13): [True: 5, False: 5]
  |  Branch (624:22): [True: 0, False: 5]
  ------------------
  625|      0|            error(loc, "vector swizzle selectors not from the same set", compString.c_str(), "");
  626|      0|            selector.resize(i);
  627|      0|            break;
  628|      0|        }
  629|     10|    }
  630|       |
  631|       |    // Ensure it is valid.
  632|      5|    if (selector.size() == 0)
  ------------------
  |  Branch (632:9): [True: 0, False: 5]
  ------------------
  633|      0|        selector.push_back(0);
  634|      5|}
_ZN7glslang17TParseContextBase6finishEv:
  754|    456|{
  755|    456|    if (parsingBuiltins)
  ------------------
  |  Branch (755:9): [True: 373, False: 83]
  ------------------
  756|    373|        return;
  757|       |
  758|     83|    for (const TString& relaxedSymbol : relaxedSymbols)
  ------------------
  |  Branch (758:39): [True: 0, False: 83]
  ------------------
  759|      0|    {
  760|      0|        TSymbol* symbol = symbolTable.find(relaxedSymbol);
  761|      0|        TType& type = symbol->getWritableType();
  762|      0|        for (const TTypeLoc& typeLoc : *type.getStruct())
  ------------------
  |  Branch (762:38): [True: 0, False: 0]
  ------------------
  763|      0|        {
  764|      0|            if (typeLoc.type->isOpaque())
  ------------------
  |  Branch (764:17): [True: 0, False: 0]
  ------------------
  765|      0|            {
  766|      0|                typeLoc.type->getSampler() = TSampler{};
  767|      0|                typeLoc.type->setBasicType(EbtInt);
  768|      0|                TString fieldName("/*");
  769|      0|                fieldName.append(typeLoc.type->getFieldName());
  770|      0|                fieldName.append("*/");
  771|      0|                typeLoc.type->setFieldName(fieldName);
  772|      0|            }
  773|      0|        }
  774|      0|    }
  775|       |
  776|       |    // Transfer the linkage symbols to AST nodes, preserving order.
  777|     83|    TIntermAggregate* linkage = new TIntermAggregate;
  778|     95|    for (auto i = linkageSymbols.begin(); i != linkageSymbols.end(); ++i)
  ------------------
  |  Branch (778:43): [True: 12, False: 83]
  ------------------
  779|     12|        intermediate.addSymbolLinkageNode(linkage, **i);
  780|     83|    intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable);
  781|     83|}

_ZN7glslang13TParseContextC2ERNS_12TSymbolTableERNS_13TIntermediateEbi8EProfileRKNS_10SpvVersionE11EShLanguageR9TInfoSinkb11EShMessagesPKNSt3__112basic_stringIcNSD_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   60|    265|            TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language,
   61|    265|                              infoSink, forwardCompatible, messages, entryPoint),
   62|    265|            inMain(false),
   63|    265|            blockName(nullptr),
   64|    265|            limits(resources.limits),
   65|    265|            atomicUintOffsets(nullptr), anyIndexLimits(false),
   66|    265|            khrDerivativeLayoutQualifierSpecified(false)
   67|    265|{
   68|       |    // decide whether precision qualifiers should be ignored or respected
   69|    265|    if (isEsProfile() || spvVersion.vulkan > 0) {
  ------------------
  |  Branch (69:9): [True: 160, False: 105]
  |  Branch (69:26): [True: 105, False: 0]
  ------------------
   70|    265|        precisionManager.respectPrecisionQualifiers();
   71|    265|        if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0)
  ------------------
  |  Branch (71:13): [True: 4, False: 261]
  |  Branch (71:34): [True: 0, False: 4]
  |  Branch (71:65): [True: 0, False: 0]
  |  Branch (71:83): [True: 0, False: 0]
  ------------------
   72|      0|            precisionManager.warnAboutDefaults();
   73|    265|    }
   74|       |
   75|    265|    setPrecisionDefaults();
   76|       |
   77|    265|    globalUniformDefaults.clear();
   78|    265|    globalUniformDefaults.layoutMatrix = ElmColumnMajor;
   79|    265|    globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared;
  ------------------
  |  Branch (79:43): [True: 0, False: 265]
  ------------------
   80|       |
   81|    265|    globalBufferDefaults.clear();
   82|    265|    globalBufferDefaults.layoutMatrix = ElmColumnMajor;
   83|    265|    globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared;
  ------------------
  |  Branch (83:42): [True: 0, False: 265]
  ------------------
   84|       |
   85|    265|    globalInputDefaults.clear();
   86|    265|    globalOutputDefaults.clear();
   87|       |
   88|    265|    globalSharedDefaults.clear();
   89|    265|    globalSharedDefaults.layoutMatrix = ElmColumnMajor;
   90|    265|    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|    265|    if (language == EShLangVertex ||
  ------------------
  |  Branch (95:9): [True: 98, False: 167]
  ------------------
   96|    167|        language == EShLangTessControl ||
  ------------------
  |  Branch (96:9): [True: 7, False: 160]
  ------------------
   97|    160|        language == EShLangTessEvaluation ||
  ------------------
  |  Branch (97:9): [True: 7, False: 153]
  ------------------
   98|    153|        language == EShLangGeometry)
  ------------------
  |  Branch (98:9): [True: 7, False: 146]
  ------------------
   99|    119|        globalOutputDefaults.layoutXfbBuffer = 0;
  100|       |
  101|    265|    if (language == EShLangGeometry)
  ------------------
  |  Branch (101:9): [True: 7, False: 258]
  ------------------
  102|      7|        globalOutputDefaults.layoutStream = 0;
  103|       |
  104|    265|    if (entryPoint != nullptr && entryPoint->size() > 0 && *entryPoint != "main")
  ------------------
  |  Branch (104:9): [True: 265, False: 0]
  |  Branch (104:34): [True: 0, False: 265]
  |  Branch (104:60): [True: 0, False: 0]
  ------------------
  105|      0|        infoSink.info.message(EPrefixError, "Source entry point must be \"main\"");
  106|    265|}
_ZN7glslang13TParseContextD2Ev:
  109|    265|{
  110|    265|    delete [] atomicUintOffsets;
  111|    265|}
_ZN7glslang13TParseContext20setPrecisionDefaultsEv:
  116|    265|{
  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: 265]
  ------------------
  123|  10.3k|        defaultPrecision[type] = EpqNone;
  124|       |
  125|  2.97M|    for (int type = 0; type < maxSamplerIndex; ++type)
  ------------------
  |  Branch (125:24): [True: 2.97M, False: 265]
  ------------------
  126|  2.97M|        defaultSamplerPrecision[type] = EpqNone;
  127|       |
  128|       |    // replace with real precision defaults for those that have them
  129|    265|    if (obeyPrecisionQualifiers()) {
  ------------------
  |  Branch (129:9): [True: 265, False: 0]
  ------------------
  130|    265|        if (isEsProfile()) {
  ------------------
  |  Branch (130:13): [True: 160, False: 105]
  ------------------
  131|       |            // Most don't have defaults, a few default to lowp.
  132|    160|            TSampler sampler;
  133|    160|            sampler.set(EbtFloat, Esd2D);
  134|    160|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  135|    160|            sampler.set(EbtFloat, EsdCube);
  136|    160|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  137|    160|            sampler.set(EbtFloat, Esd2D);
  138|    160|            sampler.setExternal(true);
  139|    160|            defaultSamplerPrecision[computeSamplerTypeIndex(sampler)] = EpqLow;
  140|    160|        }
  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|    265|        if (! parsingBuiltins) {
  ------------------
  |  Branch (146:13): [True: 4, False: 261]
  ------------------
  147|      4|            if (isEsProfile() && language == EShLangFragment) {
  ------------------
  |  Branch (147:17): [True: 4, False: 0]
  |  Branch (147:34): [True: 0, False: 4]
  ------------------
  148|      0|                defaultPrecision[EbtInt] = EpqMedium;
  149|      0|                defaultPrecision[EbtUint] = EpqMedium;
  150|      4|            } else {
  151|      4|                defaultPrecision[EbtInt] = EpqHigh;
  152|      4|                defaultPrecision[EbtUint] = EpqHigh;
  153|      4|                defaultPrecision[EbtFloat] = EpqHigh;
  154|      4|            }
  155|       |
  156|      4|            if (!isEsProfile()) {
  ------------------
  |  Branch (156:17): [True: 0, False: 4]
  ------------------
  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|      4|        }
  163|       |
  164|    265|        defaultPrecision[EbtSampler] = EpqLow;
  165|    265|        defaultPrecision[EbtAtomicUint] = EpqHigh;
  166|    265|    }
  167|    265|}
_ZN7glslang13TParseContext9setLimitsERK16TBuiltInResource:
  170|      4|{
  171|      4|    resources = r;
  172|      4|    intermediate.setLimits(r);
  173|       |
  174|      4|    anyIndexLimits = ! limits.generalAttributeMatrixVectorIndexing ||
  ------------------
  |  Branch (174:22): [True: 0, False: 4]
  ------------------
  175|      4|                     ! limits.generalConstantMatrixVectorIndexing ||
  ------------------
  |  Branch (175:22): [True: 0, False: 4]
  ------------------
  176|      4|                     ! limits.generalSamplerIndexing ||
  ------------------
  |  Branch (176:22): [True: 0, False: 4]
  ------------------
  177|      4|                     ! limits.generalUniformIndexing ||
  ------------------
  |  Branch (177:22): [True: 0, False: 4]
  ------------------
  178|      4|                     ! limits.generalVariableIndexing ||
  ------------------
  |  Branch (178:22): [True: 0, False: 4]
  ------------------
  179|      4|                     ! limits.generalVaryingIndexing;
  ------------------
  |  Branch (179:22): [True: 0, False: 4]
  ------------------
  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|      4|    atomicUintOffsets = new int[resources.maxAtomicCounterBindings];
  186|      8|    for (int b = 0; b < resources.maxAtomicCounterBindings; ++b)
  ------------------
  |  Branch (186:21): [True: 4, False: 4]
  ------------------
  187|      4|        atomicUintOffsets[b] = 0;
  188|      4|}
_ZN7glslang13TParseContext18parseShaderStringsERNS_10TPpContextERNS_13TInputScannerEb:
  198|    265|{
  199|    265|    currentScanner = &input;
  200|    265|    ppContext.setInput(input, versionWillBeError);
  201|    265|    yyparse(this);
  202|       |
  203|    265|    finish();
  204|       |
  205|    265|    return numErrors == 0;
  206|    265|}
_ZN7glslang13TParseContext11parserErrorEPKc:
  213|    112|{
  214|    112|    if (! getScanner()->atEndOfInput() || numErrors == 0)
  ------------------
  |  Branch (214:9): [True: 110, False: 2]
  |  Branch (214:43): [True: 0, False: 2]
  ------------------
  215|    110|        error(getCurrentLoc(), "", "", s, "");
  216|      2|    else
  217|      2|        error(getCurrentLoc(), "compilation terminated", "", "");
  218|    112|}
_ZN7glslang13TParseContext14handleVariableERKNS_10TSourceLocEPNS_7TSymbolEPKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  470|      3|{
  471|      3|    TIntermTyped* node = nullptr;
  472|       |
  473|       |    // Error check for requiring specific extensions present.
  474|      3|    if (symbol && symbol->getNumExtensions())
  ------------------
  |  Branch (474:9): [True: 2, False: 1]
  |  Branch (474:19): [True: 0, False: 2]
  ------------------
  475|      0|        requireExtensions(loc, symbol->getNumExtensions(), symbol->getExtensions(), symbol->getName().c_str());
  476|       |
  477|      3|    if (symbol && symbol->isReadOnly()) {
  ------------------
  |  Branch (477:9): [True: 2, False: 1]
  |  Branch (477:19): [True: 0, False: 2]
  ------------------
  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|      3|    const TVariable* variable;
  498|      3|    const TAnonMember* anon = symbol ? symbol->getAsAnonMember() : nullptr;
  ------------------
  |  Branch (498:31): [True: 2, False: 1]
  ------------------
  499|      3|    if (anon) {
  ------------------
  |  Branch (499:9): [True: 0, False: 3]
  ------------------
  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|      3|    } 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|      3|        variable = symbol ? symbol->getAsVariable() : nullptr;
  ------------------
  |  Branch (516:20): [True: 2, False: 1]
  ------------------
  517|      3|        if (variable) {
  ------------------
  |  Branch (517:13): [True: 2, False: 1]
  ------------------
  518|      2|            if (variable->getType().isUnusableName()) {
  ------------------
  |  Branch (518:17): [True: 0, False: 2]
  ------------------
  519|      0|                error(loc, "cannot be used (maybe an instance name is needed)", string->c_str(), "");
  520|      0|                variable = nullptr;
  521|      0|            }
  522|       |
  523|      2|            if (language == EShLangMesh && variable) {
  ------------------
  |  Branch (523:17): [True: 0, False: 2]
  |  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|      2|        } else {
  533|      1|            if (symbol)
  ------------------
  |  Branch (533:17): [True: 0, False: 1]
  ------------------
  534|      0|                error(loc, "variable name expected", string->c_str(), "");
  535|      1|        }
  536|       |
  537|       |        // Recovery, if it wasn't found or was not a variable.
  538|      3|        if (! variable) {
  ------------------
  |  Branch (538:13): [True: 1, False: 2]
  ------------------
  539|      1|            bool builtIn = false;
  540|      1|            TVector<const TFunction*> candidateList;
  541|      1|            symbolTable.findFunctionNameList(*string + "(", candidateList, builtIn);
  542|       |
  543|       |            // If it's a function, pass the name/mangledName
  544|      1|            if (!candidateList.empty() && !builtIn) {
  ------------------
  |  Branch (544:17): [True: 0, False: 1]
  |  Branch (544:43): [True: 0, False: 0]
  ------------------
  545|      0|                variable = new TVariable(&candidateList[0]->getName(), &candidateList[0]->getMangledName(), TType(EbtFunction));
  546|      1|            } else {
  547|      1|                variable = new TVariable(string, TType(EbtVoid));
  548|      1|            }
  549|      1|        }
  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|      3|        if (variable->getName() == "gl_RayFlagsForceOpacityMicromap2StateEXT")
  ------------------
  |  Branch (556:13): [True: 0, False: 3]
  ------------------
  557|      0|            intermediate.setUsesOpacityMicromap2StateFlag();
  558|       |
  559|      3|        if (variable->getType().getQualifier().isFrontEndConstant())
  ------------------
  |  Branch (559:13): [True: 0, False: 3]
  ------------------
  560|      0|            node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc);
  561|      3|        else
  562|      3|            node = intermediate.addSymbol(*variable, loc);
  563|      3|    }
  564|       |
  565|      3|    if (variable->getType().getQualifier().isIo())
  ------------------
  |  Branch (565:9): [True: 0, False: 3]
  ------------------
  566|      0|        intermediate.addIoAccessed(*string);
  567|       |
  568|      3|    if (variable->getType().isReference() &&
  ------------------
  |  Branch (568:9): [True: 0, False: 3]
  ------------------
  569|      0|        variable->getType().getQualifier().bufferReferenceNeedsVulkanMemoryModel()) {
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        intermediate.setUseVulkanMemoryModel();
  571|      0|    }
  572|       |
  573|      3|    return node;
  574|      3|}
_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 '%d'", 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 '%d'", 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 '%d'", 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|     63|{
  774|     63|    return type.isArray() &&
  ------------------
  |  Branch (774:12): [True: 42, False: 21]
  ------------------
  775|     42|           ((language == EShLangGeometry    && type.getQualifier().storage == EvqVaryingIn) ||
  ------------------
  |  Branch (775:14): [True: 7, False: 35]
  |  Branch (775:48): [True: 7, False: 0]
  ------------------
  776|     35|            (language == EShLangTessControl && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (776:14): [True: 7, False: 28]
  |  Branch (776:48): [True: 7, False: 0]
  ------------------
  777|      7|                ! type.getQualifier().patch) ||
  ------------------
  |  Branch (777:17): [True: 7, False: 0]
  ------------------
  778|     28|            (language == EShLangFragment && type.getQualifier().storage == EvqVaryingIn &&
  ------------------
  |  Branch (778:14): [True: 0, False: 28]
  |  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|     28|            (language == EShLangMesh && type.getQualifier().storage == EvqVaryingOut &&
  ------------------
  |  Branch (780:14): [True: 28, False: 0]
  |  Branch (780:41): [True: 28, False: 0]
  ------------------
  781|     28|                !type.getQualifier().perTaskNV));
  ------------------
  |  Branch (781:17): [True: 28, False: 0]
  ------------------
  782|     63|}
_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.61k|{
  809|  3.61k|    if (! type.isArray() && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (809:9): [True: 3.61k, False: 0]
  |  Branch (809:29): [True: 16, False: 3.60k]
  ------------------
  810|     16|        if (type.getQualifier().isArrayedIo(language) && !type.getQualifier().layoutPassthrough)
  ------------------
  |  Branch (810:13): [True: 0, False: 16]
  |  Branch (810:58): [True: 0, False: 0]
  ------------------
  811|      0|            error(loc, "type must be an array:", type.getStorageQualifierString(), identifier.c_str());
  812|     16|    }
  813|  3.61k|}
_ZN7glslang13TParseContext24checkIoArraysConsistencyERKNS_10TSourceLocEb:
  842|     42|{
  843|     42|    int requiredSize = 0;
  844|     42|    TString featureString;
  845|     42|    size_t listSize = ioArraySymbolResizeList.size();
  846|     42|    size_t i = 0;
  847|       |
  848|       |    // If tailOnly = true, only check the last array symbol in the list.
  849|     42|    if (tailOnly) {
  ------------------
  |  Branch (849:9): [True: 42, False: 0]
  ------------------
  850|     42|        i = listSize - 1;
  851|     42|    }
  852|     42|    for (bool firstIteration = true; i < listSize; ++i) {
  ------------------
  |  Branch (852:38): [True: 42, False: 0]
  ------------------
  853|     42|        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|     42|        if (firstIteration || (language == EShLangMesh)) {
  ------------------
  |  Branch (857:13): [True: 42, False: 0]
  |  Branch (857:31): [True: 0, False: 0]
  ------------------
  858|     42|            requiredSize = getIoArrayImplicitSize(type.getQualifier(), &featureString);
  859|     42|            if (requiredSize == 0)
  ------------------
  |  Branch (859:17): [True: 42, False: 0]
  ------------------
  860|     42|                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|     42|}
_ZNK7glslang13TParseContext22getIoArrayImplicitSizeERKNS_10TQualifierEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
  870|     42|{
  871|     42|    int expectedSize = 0;
  872|     42|    TString str = "unknown";
  873|     42|    unsigned int maxVertices = intermediate.getVertices() != TQualifier::layoutNotSet ? intermediate.getVertices() : 0;
  ------------------
  |  Branch (873:32): [True: 0, False: 42]
  ------------------
  874|       |
  875|     42|    if (language == EShLangGeometry) {
  ------------------
  |  Branch (875:9): [True: 7, False: 35]
  ------------------
  876|      7|        expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive());
  877|      7|        str = TQualifier::getGeometryString(intermediate.getInputPrimitive());
  878|      7|    }
  879|     35|    else if (language == EShLangTessControl) {
  ------------------
  |  Branch (879:14): [True: 7, False: 28]
  ------------------
  880|      7|        expectedSize = maxVertices;
  881|      7|        str = "vertices";
  882|     28|    } else if (language == EShLangFragment) {
  ------------------
  |  Branch (882:16): [True: 0, False: 28]
  ------------------
  883|       |        // Number of vertices for Fragment shader is always three.
  884|      0|        expectedSize = 3;
  885|      0|        str = "vertices";
  886|     28|    } else if (language == EShLangMesh) {
  ------------------
  |  Branch (886:16): [True: 28, False: 0]
  ------------------
  887|     28|        unsigned int maxPrimitives =
  888|     28|            intermediate.getPrimitives() != TQualifier::layoutNotSet ? intermediate.getPrimitives() : 0;
  ------------------
  |  Branch (888:13): [True: 0, False: 28]
  ------------------
  889|     28|        if (qualifier.builtIn == EbvPrimitiveIndicesNV) {
  ------------------
  |  Branch (889:13): [True: 0, False: 28]
  ------------------
  890|      0|            expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive());
  891|      0|            str = "max_primitives*";
  892|      0|            str += TQualifier::getGeometryString(intermediate.getOutputPrimitive());
  893|      0|        }
  894|     28|        else if (qualifier.builtIn == EbvPrimitiveTriangleIndicesEXT || qualifier.builtIn == EbvPrimitiveLineIndicesEXT ||
  ------------------
  |  Branch (894:18): [True: 0, False: 28]
  |  Branch (894:73): [True: 0, False: 28]
  ------------------
  895|     28|                 qualifier.builtIn == EbvPrimitivePointIndicesEXT) {
  ------------------
  |  Branch (895:18): [True: 0, False: 28]
  ------------------
  896|      0|            expectedSize = maxPrimitives;
  897|      0|            str = "max_primitives";
  898|      0|        }
  899|     28|        else if (qualifier.isPerPrimitive()) {
  ------------------
  |  Branch (899:18): [True: 14, False: 14]
  ------------------
  900|     14|            expectedSize = maxPrimitives;
  901|     14|            str = "max_primitives";
  902|     14|        }
  903|     14|        else {
  904|     14|            expectedSize = maxVertices;
  905|     14|            str = "max_vertices";
  906|     14|        }
  907|     28|    }
  908|     42|    if (featureString)
  ------------------
  |  Branch (908:9): [True: 42, False: 0]
  ------------------
  909|     42|        *featureString = str;
  910|     42|    return expectedSize;
  911|     42|}
_ZN7glslang13TParseContext16handleBinaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedES8_:
  936|      2|{
  937|      2|    rValueErrorCheck(loc, str, left->getAsTyped());
  938|      2|    rValueErrorCheck(loc, str, right->getAsTyped());
  939|       |
  940|      2|    bool allowed = true;
  941|      2|    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: 2]
  ------------------
  945|      1|    case EOpGreaterThan:
  ------------------
  |  Branch (945:5): [True: 1, False: 1]
  ------------------
  946|      1|    case EOpLessThanEqual:
  ------------------
  |  Branch (946:5): [True: 0, False: 2]
  ------------------
  947|      1|    case EOpGreaterThanEqual:
  ------------------
  |  Branch (947:5): [True: 0, False: 2]
  ------------------
  948|      1|        if (! left->isScalar() || ! right->isScalar())
  ------------------
  |  Branch (948:13): [True: 1, False: 0]
  |  Branch (948:35): [True: 0, False: 0]
  ------------------
  949|      1|            allowed = false;
  950|      1|        break;
  951|      1|    default:
  ------------------
  |  Branch (951:5): [True: 1, False: 1]
  ------------------
  952|      1|        break;
  953|      2|    }
  954|       |
  955|      2|    if (((left->getType().contains16BitFloat() || right->getType().contains16BitFloat()) && !float16Arithmetic()) ||
  ------------------
  |  Branch (955:11): [True: 0, False: 2]
  |  Branch (955:51): [True: 0, False: 2]
  |  Branch (955:93): [True: 0, False: 0]
  ------------------
  956|      2|        ((left->getType().contains16BitInt() || right->getType().contains16BitInt()) && !int16Arithmetic()) ||
  ------------------
  |  Branch (956:11): [True: 0, False: 2]
  |  Branch (956:49): [True: 0, False: 2]
  |  Branch (956:89): [True: 0, False: 0]
  ------------------
  957|      2|        ((left->getType().contains8BitInt() || right->getType().contains8BitInt()) && !int8Arithmetic()) ||
  ------------------
  |  Branch (957:11): [True: 0, False: 2]
  |  Branch (957:48): [True: 0, False: 2]
  |  Branch (957:87): [True: 0, False: 0]
  ------------------
  958|      2|        (left->getType().containsBFloat16() || right->getType().containsBFloat16()) ||
  ------------------
  |  Branch (958:10): [True: 0, False: 2]
  |  Branch (958:48): [True: 0, False: 2]
  ------------------
  959|      2|        (left->getType().contains8BitFloat() || right->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (959:10): [True: 0, False: 2]
  |  Branch (959:49): [True: 0, False: 2]
  ------------------
  960|      2|        (left->getType().containsOcpMicroscalingFloat() || right->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (960:10): [True: 0, False: 2]
  |  Branch (960:60): [True: 0, False: 2]
  ------------------
  961|      0|        allowed = false;
  962|      0|    }
  963|       |
  964|      2|    TIntermTyped* result = nullptr;
  965|      2|    if (allowed) {
  ------------------
  |  Branch (965:9): [True: 1, False: 1]
  ------------------
  966|      1|        if ((left->isReference() || right->isReference()))
  ------------------
  |  Branch (966:14): [True: 0, False: 1]
  |  Branch (966:37): [True: 0, False: 1]
  ------------------
  967|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference2, "buffer reference math");
  968|      1|        result = intermediate.addBinaryMath(op, left, right, loc);
  969|      1|    }
  970|       |
  971|      2|    if (result == nullptr) {
  ------------------
  |  Branch (971:9): [True: 2, False: 0]
  ------------------
  972|      2|        bool enhanced = intermediate.getEnhancedMsgs();
  973|      2|        binaryOpError(loc, str, left->getCompleteString(enhanced), right->getCompleteString(enhanced));
  974|      2|    }
  975|       |
  976|      2|    return result;
  977|      2|}
_ZN7glslang13TParseContext15handleUnaryMathERKNS_10TSourceLocEPKcNS_9TOperatorEPNS_12TIntermTypedE:
  981|      2|{
  982|      2|    rValueErrorCheck(loc, str, childNode);
  983|       |
  984|      2|    bool allowed = true;
  985|      2|    if ((childNode->getType().contains16BitFloat() && !float16Arithmetic()) ||
  ------------------
  |  Branch (985:10): [True: 0, False: 2]
  |  Branch (985:55): [True: 0, False: 0]
  ------------------
  986|      2|        (childNode->getType().contains16BitInt() && !int16Arithmetic()) ||
  ------------------
  |  Branch (986:10): [True: 0, False: 2]
  |  Branch (986:53): [True: 0, False: 0]
  ------------------
  987|      2|        (childNode->getType().contains8BitInt() && !int8Arithmetic()) ||
  ------------------
  |  Branch (987:10): [True: 0, False: 2]
  |  Branch (987:52): [True: 0, False: 0]
  ------------------
  988|      2|        (childNode->getType().containsBFloat16()) ||
  ------------------
  |  Branch (988:9): [True: 0, False: 2]
  ------------------
  989|      2|        (childNode->getType().contains8BitFloat()) ||
  ------------------
  |  Branch (989:9): [True: 0, False: 2]
  ------------------
  990|      2|        (childNode->getType().containsOcpMicroscalingFloat())) {
  ------------------
  |  Branch (990:9): [True: 0, False: 2]
  ------------------
  991|      0|        allowed = false;
  992|      0|    }
  993|       |
  994|      2|    TIntermTyped* result = nullptr;
  995|      2|    if (allowed)
  ------------------
  |  Branch (995:9): [True: 2, False: 0]
  ------------------
  996|      2|        result = intermediate.addUnaryMath(op, childNode, loc);
  997|       |
  998|      2|    if (result)
  ------------------
  |  Branch (998:9): [True: 2, False: 0]
  ------------------
  999|      2|        return result;
 1000|      0|    else {
 1001|      0|        bool enhanced = intermediate.getEnhancedMsgs();
 1002|      0|        unaryOpError(loc, str, childNode->getCompleteString(enhanced));
 1003|      0|    }
 1004|       |
 1005|      0|    return childNode;
 1006|      2|}
_ZN7glslang13TParseContext20handleDotDereferenceERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1012|      2|{
 1013|      2|    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|      2|    if (field == "length" || field == "length64") {
  ------------------
  |  Branch (1020:9): [True: 0, False: 2]
  |  Branch (1020:30): [True: 0, False: 2]
  ------------------
 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(), 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|      2|    if (base->isArray()) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 2]
  ------------------
 1045|      0|        error(loc, "cannot apply to an array:", ".", field.c_str());
 1046|       |
 1047|      0|        return base;
 1048|      0|    }
 1049|       |
 1050|      2|    if (base->getType().isCoopMat()) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 2]
  ------------------
 1051|      0|        error(loc, "cannot apply to a cooperative matrix type:", ".", 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|      2|    TIntermTyped* result = base;
 1059|      2|    if ((base->isVector() || base->isScalar()) &&
  ------------------
  |  Branch (1059:10): [True: 0, False: 2]
  |  Branch (1059:30): [True: 2, False: 0]
  ------------------
 1060|      2|        (base->isFloatingDomain() || base->isIntegerDomain() || base->getBasicType() == EbtBool)) {
  ------------------
  |  Branch (1060:10): [True: 1, False: 1]
  |  Branch (1060:38): [True: 1, False: 0]
  |  Branch (1060:65): [True: 0, False: 0]
  ------------------
 1061|      2|        result = handleDotSwizzle(loc, base, field);
 1062|      2|    } 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(), 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|          base->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
 1112|       |
 1113|       |    // Propagate noContraction up the dereference chain
 1114|      2|    if (base->getQualifier().isNoContraction())
  ------------------
  |  Branch (1114:9): [True: 0, False: 2]
  ------------------
 1115|      0|        result->getWritableType().getQualifier().setNoContraction();
 1116|       |
 1117|       |    // Propagate nonuniform
 1118|      2|    if (base->getQualifier().isNonUniform())
  ------------------
  |  Branch (1118:9): [True: 0, False: 2]
  ------------------
 1119|      0|        result->getWritableType().getQualifier().nonUniform = true;
 1120|       |
 1121|      2|    return result;
 1122|      2|}
_ZN7glslang13TParseContext16handleDotSwizzleERKNS_10TSourceLocEPNS_12TIntermTypedERKNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 1128|      2|{
 1129|      2|    TIntermTyped* result = base;
 1130|      2|    if (base->isScalar()) {
  ------------------
  |  Branch (1130:9): [True: 2, False: 0]
  ------------------
 1131|      2|        const char* dotFeature = "scalar swizzle";
 1132|      2|        requireProfile(loc, ~EEsProfile, dotFeature);
 1133|      2|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature);
 1134|      2|    }
 1135|       |
 1136|      2|    TSwizzleSelectors<TVectorSelector> selectors;
 1137|      2|    parseSwizzleSelector(loc, field, base->getVectorSize(), selectors);
 1138|       |
 1139|      2|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitFloat())
  ------------------
  |  Branch (1139:9): [True: 0, False: 2]
  |  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|      2|    if (base->isVector() && selectors.size() != 1 && base->getType().contains16BitInt())
  ------------------
  |  Branch (1141:9): [True: 0, False: 2]
  |  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|      2|    if (base->isVector() && selectors.size() != 1 && base->getType().contains8BitInt())
  ------------------
  |  Branch (1143:9): [True: 0, False: 2]
  |  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|      2|    if (base->isScalar()) {
  ------------------
  |  Branch (1146:9): [True: 2, False: 0]
  ------------------
 1147|      2|        if (selectors.size() == 1)
  ------------------
  |  Branch (1147:13): [True: 1, False: 1]
  ------------------
 1148|      1|            return result;
 1149|      1|        else {
 1150|      1|            TType type(base->getBasicType(), EvqTemporary, selectors.size());
 1151|       |            // Swizzle operations propagate specialization-constantness
 1152|      1|            if (base->getQualifier().isSpecConstant())
  ------------------
  |  Branch (1152:17): [True: 0, False: 1]
  ------------------
 1153|      0|                type.getQualifier().makeSpecConstant();
 1154|      1|            return addConstructor(loc, base, type);
 1155|      1|        }
 1156|      2|    }
 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|      2|}
_ZN7glslang13TParseContext24handleFunctionDeclaratorERKNS_10TSourceLocERNS_9TFunctionEb:
 1226|  99.5k|{
 1227|       |    // ES can't declare prototypes inside functions
 1228|  99.5k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (1228:9): [True: 0, False: 99.5k]
  ------------------
 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|  99.5k|    bool builtIn;
 1244|  99.5k|    TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn);
 1245|  99.5k|    if (symbol && symbol->getAsFunction() && builtIn)
  ------------------
  |  Branch (1245:9): [True: 952, False: 98.5k]
  |  Branch (1245:19): [True: 952, False: 0]
  |  Branch (1245:46): [True: 952, False: 0]
  ------------------
 1246|    952|        requireProfile(loc, ~EEsProfile, "redefinition of built-in function");
 1247|       |    // Check the validity of using spirv_literal qualifier
 1248|   371k|    for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (1248:21): [True: 271k, False: 99.5k]
  ------------------
 1249|   271k|        if (function[i].type->getQualifier().isSpirvLiteral() && function.getBuiltInOp() != EOpSpirvInst)
  ------------------
  |  Branch (1249:13): [True: 0, False: 271k]
  |  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|   271k|    }
 1253|       |
 1254|       |    // For function declaration with SPIR-V instruction qualifier, always ignore the built-in function and
 1255|       |    // respect this redeclared one.
 1256|  99.5k|    if (symbol && builtIn && function.getBuiltInOp() == EOpSpirvInst)
  ------------------
  |  Branch (1256:9): [True: 952, False: 98.5k]
  |  Branch (1256:19): [True: 952, False: 0]
  |  Branch (1256:30): [True: 0, False: 952]
  ------------------
 1257|      0|        symbol = nullptr;
 1258|  99.5k|    const TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr;
  ------------------
  |  Branch (1258:32): [True: 952, False: 98.5k]
  ------------------
 1259|  99.5k|    if (prevDec) {
  ------------------
  |  Branch (1259:9): [True: 952, False: 98.5k]
  ------------------
 1260|    952|        if (prevDec->isPrototyped() && prototype)
  ------------------
  |  Branch (1260:13): [True: 0, False: 952]
  |  Branch (1260:40): [True: 0, False: 0]
  ------------------
 1261|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "multiple prototypes for same function");
 1262|    952|        if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 952]
  ------------------
 1263|      0|            error(loc, "overloaded functions must have the same qualifiers", function.getName().c_str(),
 1264|      0|                  "spirv_instruction");
 1265|      0|        }
 1266|    952|        bool parameterTypesDiffer = false;
 1267|  3.45k|        for (int i = 0; i < prevDec->getParamCount(); ++i) {
  ------------------
  |  Branch (1267:25): [True: 2.49k, False: 952]
  ------------------
 1268|  2.49k|            if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage)
  ------------------
  |  Branch (1268:17): [True: 0, False: 2.49k]
  ------------------
 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.49k|            if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision)
  ------------------
  |  Branch (1271:17): [True: 0, False: 2.49k]
  ------------------
 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.49k|            if (*(*prevDec)[i].type != *function[i].type)
  ------------------
  |  Branch (1274:17): [True: 0, False: 2.49k]
  ------------------
 1275|      0|                parameterTypesDiffer = true;
 1276|  2.49k|        }
 1277|    952|        if (!parameterTypesDiffer && prevDec->getType() != function.getType())
  ------------------
  |  Branch (1277:13): [True: 952, False: 0]
  |  Branch (1277:38): [True: 0, False: 952]
  ------------------
 1278|      0|            error(loc, "overloaded functions must have the same return type", function.getName().c_str(), "");
 1279|       |
 1280|    952|        function.addFunctionControl(prevDec->getFunctionControl());
 1281|    952|        unsigned functionControl = function.getFunctionControl();
 1282|    952|        if (function.hasIncompatibleFunctionControl())
  ------------------
  |  Branch (1282:13): [True: 0, False: 952]
  ------------------
 1283|      0|            error(loc, "function attributes are incompatible", function.getName().c_str(), "");
 1284|    952|        if (!builtIn)
  ------------------
  |  Branch (1284:13): [True: 0, False: 952]
  ------------------
 1285|      0|            symbol->getAsFunction()->setFunctionControl(functionControl);
 1286|    952|    }
 1287|       |
 1288|  99.5k|    arrayObjectCheck(loc, function.getType(), "array in function return type");
 1289|       |
 1290|  99.5k|    if (prototype) {
  ------------------
  |  Branch (1290:9): [True: 99.5k, 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|  99.5k|        if (symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (1293:13): [True: 99.5k, False: 0]
  ------------------
 1294|  99.5k|            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|  99.5k|    }
 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|  99.5k|    if (! symbolTable.insert(function))
  ------------------
  |  Branch (1304:9): [True: 0, False: 99.5k]
  ------------------
 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|  99.5k|    return &function;
 1313|  99.5k|}
_ZN7glslang13TParseContext18handleFunctionCallERKNS_10TSourceLocEPNS_9TFunctionEP11TIntermNode:
 1418|     21|{
 1419|     21|    TIntermTyped* result = nullptr;
 1420|       |
 1421|     21|    if (spvVersion.vulkan != 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (1421:9): [True: 21, False: 0]
  |  Branch (1421:35): [True: 0, False: 21]
  ------------------
 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|     21|    if (function->getBuiltInOp() == EOpArrayLength)
  ------------------
  |  Branch (1429:9): [True: 0, False: 21]
  ------------------
 1430|      0|        result = handleLengthMethod(loc, function, arguments);
 1431|     21|    else if (function->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1431:14): [True: 21, False: 0]
  ------------------
 1432|       |        //
 1433|       |        // Then this should be a constructor.
 1434|       |        // Don't go through the symbol table for constructors.
 1435|       |        // Their parameters will be verified algorithmically.
 1436|       |        //
 1437|     21|        TType type(EbtVoid);  // use this to get the type back
 1438|     21|        if (! constructorError(loc, arguments, *function, function->getBuiltInOp(), type)) {
  ------------------
  |  Branch (1438:13): [True: 21, False: 0]
  ------------------
 1439|       |            //
 1440|       |            // It's a constructor, of type 'type'.
 1441|       |            //
 1442|     21|            result = addConstructor(loc, arguments, type);
 1443|     21|            if (result == nullptr)
  ------------------
  |  Branch (1443:17): [True: 0, False: 21]
  ------------------
 1444|      0|                error(loc, "cannot construct with these arguments", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str(), "");
 1445|     21|        }
 1446|     21|    } else {
 1447|       |        //
 1448|       |        // Find it in the symbol table.
 1449|       |        //
 1450|      0|        const TFunction* fnCandidate;
 1451|      0|        bool builtIn {false};
 1452|      0|        fnCandidate = findFunction(loc, *function, builtIn);
 1453|      0|        if (fnCandidate) {
  ------------------
  |  Branch (1453:13): [True: 0, False: 0]
  ------------------
 1454|       |            // This is a declared function that might map to
 1455|       |            //  - a built-in operator,
 1456|       |            //  - a built-in function not mapped to an operator, or
 1457|       |            //  - a user function.
 1458|       |
 1459|       |            // Error check for a function requiring specific extensions present.
 1460|      0|            if (builtIn &&
  ------------------
  |  Branch (1460:17): [True: 0, False: 0]
  ------------------
 1461|      0|                (fnCandidate->getBuiltInOp() == EOpSubgroupQuadAll || fnCandidate->getBuiltInOp() == EOpSubgroupQuadAny))
  ------------------
  |  Branch (1461:18): [True: 0, False: 0]
  |  Branch (1461:71): [True: 0, False: 0]
  ------------------
 1462|      0|                requireExtensions(loc, 1, &E_GL_EXT_shader_quad_control, fnCandidate->getName().c_str());
 1463|       |
 1464|      0|            if (builtIn && fnCandidate->getNumExtensions())
  ------------------
  |  Branch (1464:17): [True: 0, False: 0]
  |  Branch (1464:28): [True: 0, False: 0]
  ------------------
 1465|      0|                requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), fnCandidate->getName().c_str());
 1466|       |
 1467|      0|            if (builtIn && fnCandidate->getType().contains16BitFloat())
  ------------------
  |  Branch (1467:17): [True: 0, False: 0]
  |  Branch (1467:28): [True: 0, False: 0]
  ------------------
 1468|      0|                requireFloat16Arithmetic(loc, "built-in function", "float16 types can only be in uniform block or buffer storage");
 1469|      0|            if (builtIn && fnCandidate->getType().contains16BitInt())
  ------------------
  |  Branch (1469:17): [True: 0, False: 0]
  |  Branch (1469:28): [True: 0, False: 0]
  ------------------
 1470|      0|                requireInt16Arithmetic(loc, "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1471|      0|            if (builtIn && fnCandidate->getType().contains8BitInt())
  ------------------
  |  Branch (1471:17): [True: 0, False: 0]
  |  Branch (1471:28): [True: 0, False: 0]
  ------------------
 1472|      0|                requireInt8Arithmetic(loc, "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1473|      0|            if (builtIn && (fnCandidate->getBuiltInOp() == EOpTextureFetch || fnCandidate->getBuiltInOp() == EOpTextureQuerySize)) {
  ------------------
  |  Branch (1473:17): [True: 0, False: 0]
  |  Branch (1473:29): [True: 0, False: 0]
  |  Branch (1473:79): [True: 0, False: 0]
  ------------------
 1474|      0|                if ((*fnCandidate)[0].type->getSampler().isMultiSample() && version <= 140)
  ------------------
  |  Branch (1474:21): [True: 0, False: 0]
  |  Branch (1474:77): [True: 0, False: 0]
  ------------------
 1475|      0|                    requireExtensions(loc, 1, &E_GL_ARB_texture_multisample, fnCandidate->getName().c_str());
 1476|      0|            }
 1477|      0|            bool hasLongVectorArg = false;
 1478|      0|            if (arguments != nullptr) {
  ------------------
  |  Branch (1478:17): [True: 0, False: 0]
  ------------------
 1479|       |                // Make sure qualifications work for these arguments.
 1480|      0|                TIntermAggregate* aggregate = arguments->getAsAggregate();
 1481|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1481:33): [True: 0, False: 0]
  ------------------
 1482|       |                    // At this early point there is a slight ambiguity between whether an aggregate 'arguments'
 1483|       |                    // is the single argument itself or its children are the arguments.  Only one argument
 1484|       |                    // means take 'arguments' itself as the one argument.
 1485|      0|                    if ((*fnCandidate)[i].defaultValue) {
  ------------------
  |  Branch (1485:25): [True: 0, False: 0]
  ------------------
 1486|      0|                        if (!aggregate) {
  ------------------
  |  Branch (1486:29): [True: 0, False: 0]
  ------------------
 1487|       |                            // Only one argument was passed (rest are default arguments) so arguments isn't a TIntermAggregate.
 1488|       |                            // But the function takes at least one more argument, so a TIntermAggregate is needed.
 1489|      0|                            aggregate = new TIntermAggregate;
 1490|      0|                            aggregate->getSequence().push_back(arguments);
 1491|      0|                            arguments = aggregate;
 1492|      0|                        }
 1493|      0|                        if (i >= static_cast<int>(aggregate->getSequence().size())) {
  ------------------
  |  Branch (1493:29): [True: 0, False: 0]
  ------------------
 1494|       |                            // Append the default value if there are no more arguments left in the aggregate.
 1495|      0|                            TIntermConstantUnion *defaultValue = nullptr;
 1496|      0|                            if (const auto *constUnion = (*fnCandidate)[i].defaultValue->getAsConstantUnion()) {
  ------------------
  |  Branch (1496:45): [True: 0, False: 0]
  ------------------
 1497|      0|                                defaultValue = new TIntermConstantUnion(constUnion->getConstArray(), constUnion->getType());
 1498|      0|                            }
 1499|      0|                            assert(defaultValue && "unsupported default value construct");
 1500|      0|                            aggregate->getSequence().push_back(defaultValue);
 1501|      0|                        }
 1502|      0|                    }
 1503|      0|                    TIntermNode* arg = fnCandidate->getParamCount() == 1 ? arguments : (aggregate ? aggregate->getSequence()[i] : arguments);
  ------------------
  |  Branch (1503:40): [True: 0, False: 0]
  |  Branch (1503:89): [True: 0, False: 0]
  ------------------
 1504|      0|                    TQualifier& formalQualifier = (*fnCandidate)[i].type->getQualifier();
 1505|      0|                    if (formalQualifier.isParamOutput()) {
  ------------------
  |  Branch (1505:25): [True: 0, False: 0]
  ------------------
 1506|      0|                        if (lValueErrorCheck(arguments->getLoc(), "assign", arg->getAsTyped()))
  ------------------
  |  Branch (1506:29): [True: 0, False: 0]
  ------------------
 1507|      0|                            error(arguments->getLoc(), "Non-L-value cannot be passed for 'out' or 'inout' parameters.", "out", "");
 1508|      0|                    }
 1509|      0|                    if (formalQualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (1509:25): [True: 0, False: 0]
  ------------------
 1510|      0|                        if (!arg->getAsTyped()->getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (1510:29): [True: 0, False: 0]
  ------------------
 1511|      0|                            error(arguments->getLoc(),
 1512|      0|                                  "Non front-end constant expressions cannot be passed for 'spirv_literal' parameters.",
 1513|      0|                                  "spirv_literal", "");
 1514|      0|                        }
 1515|      0|                    }
 1516|      0|                    const TType& argType = arg->getAsTyped()->getType();
 1517|      0|                    const TQualifier& argQualifier = argType.getQualifier();
 1518|      0|                    bool containsBindlessSampler = intermediate.getBindlessMode() && argType.containsSampler();
  ------------------
  |  Branch (1518:52): [True: 0, False: 0]
  |  Branch (1518:86): [True: 0, False: 0]
  ------------------
 1519|      0|                    if (argQualifier.isMemory() && !containsBindlessSampler && (argType.containsOpaque() || argType.isReference())) {
  ------------------
  |  Branch (1519:25): [True: 0, False: 0]
  |  Branch (1519:52): [True: 0, False: 0]
  |  Branch (1519:81): [True: 0, False: 0]
  |  Branch (1519:109): [True: 0, False: 0]
  ------------------
 1520|      0|                        const char* message = "argument cannot drop memory qualifier when passed to formal parameter";
 1521|      0|                        if (argQualifier.volatil && ! formalQualifier.volatil)
  ------------------
  |  Branch (1521:29): [True: 0, False: 0]
  |  Branch (1521:53): [True: 0, False: 0]
  ------------------
 1522|      0|                            error(arguments->getLoc(), message, "volatile", "");
 1523|      0|                        if (argQualifier.coherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1523:29): [True: 0, False: 0]
  |  Branch (1523:57): [True: 0, False: 0]
  |  Branch (1523:91): [True: 0, False: 0]
  ------------------
 1524|      0|                            error(arguments->getLoc(), message, "coherent", "");
 1525|      0|                        if (argQualifier.devicecoherent && ! (formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1525:29): [True: 0, False: 0]
  |  Branch (1525:63): [True: 0, False: 0]
  |  Branch (1525:97): [True: 0, False: 0]
  ------------------
 1526|      0|                            error(arguments->getLoc(), message, "devicecoherent", "");
 1527|      0|                        if (argQualifier.queuefamilycoherent && ! (formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1527:29): [True: 0, False: 0]
  |  Branch (1527:68): [True: 0, False: 0]
  |  Branch (1527:107): [True: 0, False: 0]
  |  Branch (1527:141): [True: 0, False: 0]
  ------------------
 1528|      0|                            error(arguments->getLoc(), message, "queuefamilycoherent", "");
 1529|      0|                        if (argQualifier.workgroupcoherent && ! (formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1529:29): [True: 0, False: 0]
  |  Branch (1529:66): [True: 0, False: 0]
  |  Branch (1529:103): [True: 0, False: 0]
  |  Branch (1529:142): [True: 0, False: 0]
  |  Branch (1529:176): [True: 0, False: 0]
  ------------------
 1530|      0|                            error(arguments->getLoc(), message, "workgroupcoherent", "");
 1531|      0|                        if (argQualifier.subgroupcoherent && ! (formalQualifier.subgroupcoherent || formalQualifier.workgroupcoherent || formalQualifier.queuefamilycoherent || formalQualifier.devicecoherent || formalQualifier.coherent))
  ------------------
  |  Branch (1531:29): [True: 0, False: 0]
  |  Branch (1531:65): [True: 0, False: 0]
  |  Branch (1531:101): [True: 0, False: 0]
  |  Branch (1531:138): [True: 0, False: 0]
  |  Branch (1531:177): [True: 0, False: 0]
  |  Branch (1531:211): [True: 0, False: 0]
  ------------------
 1532|      0|                            error(arguments->getLoc(), message, "subgroupcoherent", "");
 1533|      0|                        if (argQualifier.readonly && ! formalQualifier.readonly)
  ------------------
  |  Branch (1533:29): [True: 0, False: 0]
  |  Branch (1533:54): [True: 0, False: 0]
  ------------------
 1534|      0|                            error(arguments->getLoc(), message, "readonly", "");
 1535|      0|                        if (argQualifier.writeonly && ! formalQualifier.writeonly)
  ------------------
  |  Branch (1535:29): [True: 0, False: 0]
  |  Branch (1535:55): [True: 0, False: 0]
  ------------------
 1536|      0|                            error(arguments->getLoc(), message, "writeonly", "");
 1537|      0|                        if (argQualifier.nontemporal && ! formalQualifier.nontemporal)
  ------------------
  |  Branch (1537:29): [True: 0, False: 0]
  |  Branch (1537:57): [True: 0, False: 0]
  ------------------
 1538|      0|                            error(arguments->getLoc(), message, "nontemporal", "");
 1539|       |                        // Don't check 'restrict', it is different than the rest:
 1540|       |                        // "...but only restrict can be taken away from a calling argument, by a formal parameter that
 1541|       |                        // lacks the restrict qualifier..."
 1542|      0|                    }
 1543|      0|                    if (!builtIn && argQualifier.getFormat() != formalQualifier.getFormat()) {
  ------------------
  |  Branch (1543:25): [True: 0, False: 0]
  |  Branch (1543:37): [True: 0, False: 0]
  ------------------
 1544|       |                        // we have mismatched formats, which should only be allowed if writeonly
 1545|       |                        // and at least one format is unknown
 1546|      0|                        if (!formalQualifier.isWriteOnly() || (formalQualifier.getFormat() != ElfNone &&
  ------------------
  |  Branch (1546:29): [True: 0, False: 0]
  |  Branch (1546:64): [True: 0, False: 0]
  ------------------
 1547|      0|                                                                  argQualifier.getFormat() != ElfNone))
  ------------------
  |  Branch (1547:67): [True: 0, False: 0]
  ------------------
 1548|      0|                            error(arguments->getLoc(), "image formats must match", "format", "");
 1549|      0|                    }
 1550|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitFloat())
  ------------------
  |  Branch (1550:25): [True: 0, False: 0]
  |  Branch (1550:36): [True: 0, False: 0]
  ------------------
 1551|      0|                        requireFloat16Arithmetic(arguments->getLoc(), "built-in function", "float16 types can only be in uniform block or buffer storage");
 1552|      0|                    if (builtIn && arg->getAsTyped()->getType().contains16BitInt())
  ------------------
  |  Branch (1552:25): [True: 0, False: 0]
  |  Branch (1552:36): [True: 0, False: 0]
  ------------------
 1553|      0|                        requireInt16Arithmetic(arguments->getLoc(), "built-in function", "(u)int16 types can only be in uniform block or buffer storage");
 1554|      0|                    if (builtIn && arg->getAsTyped()->getType().contains8BitInt())
  ------------------
  |  Branch (1554:25): [True: 0, False: 0]
  |  Branch (1554:36): [True: 0, False: 0]
  ------------------
 1555|      0|                        requireInt8Arithmetic(arguments->getLoc(), "built-in function", "(u)int8 types can only be in uniform block or buffer storage");
 1556|       |
 1557|       |                    // Check that coopVecOuterProductAccumulateNV vector component types match
 1558|      0|                    if (builtIn && fnCandidate->getBuiltInOp() == EOpCooperativeVectorOuterProductAccumulateNV &&
  ------------------
  |  Branch (1558:25): [True: 0, False: 0]
  |  Branch (1558:36): [True: 0, False: 0]
  ------------------
 1559|      0|                        i == 1 && arg->getAsTyped()->getType().getBasicType() != aggregate->getSequence()[0]->getAsTyped()->getType().getBasicType())
  ------------------
  |  Branch (1559:25): [True: 0, False: 0]
  |  Branch (1559:35): [True: 0, False: 0]
  ------------------
 1560|      0|                        error(arguments->getLoc(), "cooperative vector basic types must match", fnCandidate->getName().c_str(), "");
 1561|       |
 1562|       |                    // Check that coopVecLoadNV and coopVecStoreNV buffer parameter is in buffer or shared storage
 1563|      0|                    if (builtIn && (fnCandidate->getBuiltInOp() == EOpCooperativeVectorLoadNV ||
  ------------------
  |  Branch (1563:25): [True: 0, False: 0]
  |  Branch (1563:37): [True: 0, False: 0]
  ------------------
 1564|      0|                                    fnCandidate->getBuiltInOp() == EOpCooperativeVectorStoreNV) &&
  ------------------
  |  Branch (1564:37): [True: 0, False: 0]
  ------------------
 1565|      0|                        i == 1) {
  ------------------
  |  Branch (1565:25): [True: 0, False: 0]
  ------------------
 1566|      0|                        TStorageQualifier storage = arg->getAsTyped()->getType().getQualifier().storage;
 1567|      0|                        if (storage != EvqBuffer && storage != EvqShared) {
  ------------------
  |  Branch (1567:29): [True: 0, False: 0]
  |  Branch (1567:53): [True: 0, False: 0]
  ------------------
 1568|      0|                            error(arguments->getLoc(), "buffer argument must be in buffer or shared storage", 
 1569|      0|                                  fnCandidate->getName().c_str(), "");
 1570|      0|                        }
 1571|      0|                    }
 1572|       |
 1573|      0|                    if (argType.isLongVector()) {
  ------------------
  |  Branch (1573:25): [True: 0, False: 0]
  ------------------
 1574|      0|                        hasLongVectorArg = true;
 1575|      0|                    }
 1576|       |
 1577|       |                    // TODO 4.5 functionality:  A shader will fail to compile
 1578|       |                    // if the value passed to the memargument of an atomic memory function does not correspond to a buffer or
 1579|       |                    // shared variable. It is acceptable to pass an element of an array or a single component of a vector to the
 1580|       |                    // memargument of an atomic memory function, as long as the underlying array or vector is a buffer or
 1581|       |                    // shared variable.
 1582|      0|                }
 1583|       |
 1584|       |                // Convert 'in' arguments
 1585|      0|                addInputArgumentConversions(*fnCandidate, arguments);  // arguments may be modified if it's just a single argument node
 1586|      0|            }
 1587|       |
 1588|      0|            if (builtIn && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1588:17): [True: 0, False: 0]
  |  Branch (1588:28): [True: 0, False: 0]
  ------------------
 1589|       |                // A function call mapped to a built-in operation.
 1590|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1591|      0|            } else if (fnCandidate->getBuiltInOp() == EOpSpirvInst) {
  ------------------
  |  Branch (1591:24): [True: 0, False: 0]
  ------------------
 1592|       |                // When SPIR-V instruction qualifier is specified, the function call is still mapped to a built-in operation.
 1593|      0|                result = handleBuiltInFunctionCall(loc, arguments, *fnCandidate);
 1594|      0|            } else {
 1595|       |                // This is a function call not mapped to built-in operator.
 1596|       |                // It could still be a built-in function, but only if PureOperatorBuiltins == false.
 1597|      0|                result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc);
 1598|      0|                TIntermAggregate* call = result->getAsAggregate();
 1599|      0|                call->setName(fnCandidate->getMangledName());
 1600|       |
 1601|       |                // this is how we know whether the given function is a built-in function or a user-defined function
 1602|       |                // if builtIn == false, it's a userDefined -> could be an overloaded built-in function also
 1603|       |                // if builtIn == true, it's definitely a built-in function with EOpNull
 1604|      0|                if (! builtIn) {
  ------------------
  |  Branch (1604:21): [True: 0, False: 0]
  ------------------
 1605|      0|                    call->setUserDefined();
 1606|      0|                    if (symbolTable.atGlobalLevel()) {
  ------------------
  |  Branch (1606:25): [True: 0, False: 0]
  ------------------
 1607|      0|                        requireProfile(loc, ~EEsProfile, "calling user function from global scope");
 1608|      0|                        intermediate.addToCallGraph(infoSink, "main(", fnCandidate->getMangledName());
 1609|      0|                    } else
 1610|      0|                        intermediate.addToCallGraph(infoSink, currentCaller, fnCandidate->getMangledName());
 1611|      0|                }
 1612|       |
 1613|      0|                if (builtIn)
  ------------------
  |  Branch (1613:21): [True: 0, False: 0]
  ------------------
 1614|      0|                    nonOpBuiltInCheck(loc, *fnCandidate, *call);
 1615|      0|                else
 1616|      0|                    userFunctionCallCheck(loc, *call);
 1617|      0|            }
 1618|       |
 1619|      0|            if (hasLongVectorArg && fnCandidate->getBuiltInOp() != EOpNull) {
  ------------------
  |  Branch (1619:17): [True: 0, False: 0]
  |  Branch (1619:37): [True: 0, False: 0]
  ------------------
 1620|      0|                TType longVectorResultType(EbtVoid);
 1621|      0|                handleLongVectorBuiltin(loc, fnCandidate, &longVectorResultType, arguments);
 1622|      0|                result->setType(longVectorResultType);
 1623|      0|            }
 1624|       |
 1625|       |            // Convert 'out' arguments.  If it was a constant folded built-in, it won't be an aggregate anymore.
 1626|       |            // Built-ins with a single argument aren't called with an aggregate, but they also don't have an output.
 1627|       |            // Also, build the qualifier list for user function calls, which are always called with an aggregate.
 1628|      0|            if (result->getAsAggregate()) {
  ------------------
  |  Branch (1628:17): [True: 0, False: 0]
  ------------------
 1629|      0|                TQualifierList& qualifierList = result->getAsAggregate()->getQualifierList();
 1630|      0|                for (int i = 0; i < fnCandidate->getParamCount(); ++i) {
  ------------------
  |  Branch (1630:33): [True: 0, False: 0]
  ------------------
 1631|      0|                    TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage;
 1632|      0|                    qualifierList.push_back(qual);
 1633|      0|                }
 1634|      0|                result = addOutputArgumentConversions(*fnCandidate, *result->getAsAggregate());
 1635|      0|            }
 1636|       |
 1637|      0|            handleCoopMat2FunctionCall(loc, fnCandidate, result, arguments);
 1638|       |
 1639|      0|            handleVector2CoopMatConversionCall(loc, fnCandidate, result, arguments);
 1640|       |
 1641|      0|            if (result->getAsTyped()->getType().isCoopVecOrLongVector() &&
  ------------------
  |  Branch (1641:17): [True: 0, False: 0]
  ------------------
 1642|      0|               !result->getAsTyped()->getType().isParameterized()) {
  ------------------
  |  Branch (1642:16): [True: 0, False: 0]
  ------------------
 1643|      0|                if (auto unaryNode = result->getAsUnaryNode())
  ------------------
  |  Branch (1643:26): [True: 0, False: 0]
  ------------------
 1644|      0|                    result->setType(unaryNode->getOperand()->getAsTyped()->getType());
 1645|      0|                else
 1646|      0|                    result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1647|      0|            }
 1648|       |
 1649|      0|            if (fnCandidate->getBuiltInOp() == EOpConstructSaturated) {
  ------------------
  |  Branch (1649:17): [True: 0, False: 0]
  ------------------
 1650|       |                // result type is taken from the first parameter
 1651|      0|                result->setType(result->getAsAggregate()->getSequence()[0]->getAsTyped()->getType());
 1652|      0|            }
 1653|      0|        }
 1654|      0|    }
 1655|       |
 1656|       |    // generic error recovery
 1657|       |    // TODO: simplification: localize all the error recoveries that look like this, and taking type into account to reduce cascades
 1658|     21|    if (result == nullptr)
  ------------------
  |  Branch (1658:9): [True: 0, False: 21]
  ------------------
 1659|      0|        result = intermediate.addConstantUnion(0.0, EbtFloat, loc);
 1660|       |
 1661|     21|    return result;
 1662|     21|}
_ZN7glslang13TParseContext21handleConstructorCallERKNS_10TSourceLocERKNS_11TPublicTypeE:
 4304|     21|{
 4305|     21|    TType type(publicType);
 4306|     21|    type.getQualifier().precision = EpqNone;
 4307|       |
 4308|     21|    if (type.isArray()) {
  ------------------
  |  Branch (4308:9): [True: 0, False: 21]
  ------------------
 4309|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed constructor");
 4310|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "arrayed constructor");
 4311|      0|    }
 4312|       |
 4313|       |    // Reuse EOpConstructTextureSampler for bindless image constructor
 4314|       |    // uvec2 imgHandle;
 4315|       |    // imageLoad(image1D(imgHandle), 0);
 4316|     21|    if (type.isImage() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (4316:9): [True: 0, False: 21]
  |  Branch (4316:27): [True: 0, False: 0]
  ------------------
 4317|      0|    {
 4318|      0|        intermediate.setBindlessImageMode(currentCaller, AstRefTypeFunc);
 4319|      0|    }
 4320|       |
 4321|     21|    TOperator op = intermediate.mapTypeToConstructorOp(type);
 4322|       |
 4323|     21|    if (op == EOpNull) {
  ------------------
  |  Branch (4323:9): [True: 0, False: 21]
  ------------------
 4324|      0|      if (intermediate.getEnhancedMsgs() && type.getBasicType() == EbtSampler)
  ------------------
  |  Branch (4324:11): [True: 0, False: 0]
  |  Branch (4324:45): [True: 0, False: 0]
  ------------------
 4325|      0|            error(loc, "function not supported in this version; use texture() instead", "texture*D*", "");
 4326|      0|        else
 4327|      0|            error(loc, "cannot construct this type", type.getBasicString(), "");
 4328|      0|        op = EOpConstructFloat;
 4329|      0|        TType errorType(EbtFloat);
 4330|      0|        type.shallowCopy(errorType);
 4331|      0|    }
 4332|       |
 4333|     21|    TString empty("");
 4334|       |
 4335|     21|    return new TFunction(&empty, type, op);
 4336|     21|}
_ZN7glslang13TParseContext24handlePrecisionQualifierERKNS_10TSourceLocERNS_10TQualifierENS_19TPrecisionQualifierE:
 4340|  14.4k|{
 4341|  14.4k|    if (obeyPrecisionQualifiers())
  ------------------
  |  Branch (4341:9): [True: 14.4k, False: 0]
  ------------------
 4342|  14.4k|        qualifier.precision = precision;
 4343|  14.4k|}
_ZN7glslang13TParseContext23checkPrecisionQualifierERKNS_10TSourceLocENS_19TPrecisionQualifierE:
 4348|  14.4k|{
 4349|  14.4k|    if (precisionManager.shouldWarnAboutDefaults()) {
  ------------------
  |  Branch (4349:9): [True: 0, False: 14.4k]
  ------------------
 4350|      0|        warn(loc, "all default precisions are highp; use precision statements to quiet warning, e.g.:\n"
 4351|      0|                  "         \"precision mediump int; precision highp float;\"", "", "");
 4352|      0|        precisionManager.defaultWarningGiven();
 4353|      0|    }
 4354|  14.4k|}
_ZN7glslang13TParseContext11assignErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEESC_:
 4360|      1|{
 4361|      1|    error(loc, "", op, "cannot convert from '%s' to '%s'",
 4362|      1|          right.c_str(), left.c_str());
 4363|      1|}
_ZN7glslang13TParseContext13binaryOpErrorERKNS_10TSourceLocEPKcNSt3__112basic_stringIcNS6_11char_traitsIcEENS_14pool_allocatorIcEEEESC_:
 4379|      2|{
 4380|      2|    error(loc, " wrong operand types:", op,
 4381|      2|            "no operation '%s' exists that takes a left-hand operand of type '%s' and "
 4382|      2|            "a right operand of type '%s' (or there is no acceptable conversion)",
 4383|      2|            op, left.c_str(), right.c_str());
 4384|      2|}
_ZN7glslang13TParseContext13variableCheckERPNS_12TIntermTypedE:
 4392|  2.69k|{
 4393|  2.69k|    TIntermSymbol* symbol = nodePtr->getAsSymbolNode();
 4394|  2.69k|    if (! symbol)
  ------------------
  |  Branch (4394:9): [True: 2.68k, False: 4]
  ------------------
 4395|  2.68k|        return;
 4396|       |
 4397|      4|    if (symbol->getType().getBasicType() == EbtVoid) {
  ------------------
  |  Branch (4397:9): [True: 1, False: 3]
  ------------------
 4398|      1|        const char *extraInfoFormat = "";
 4399|      1|        if (spvVersion.vulkan != 0 && symbol->getName() == "gl_VertexID") {
  ------------------
  |  Branch (4399:13): [True: 0, False: 1]
  |  Branch (4399:39): [True: 0, False: 0]
  ------------------
 4400|      0|          extraInfoFormat = "(Did you mean gl_VertexIndex?)";
 4401|      1|        } else if (spvVersion.vulkan != 0 && symbol->getName() == "gl_InstanceID") {
  ------------------
  |  Branch (4401:20): [True: 0, False: 1]
  |  Branch (4401:46): [True: 0, False: 0]
  ------------------
 4402|      0|          extraInfoFormat = "(Did you mean gl_InstanceIndex?)";
 4403|      0|        }
 4404|      1|        error(symbol->getLoc(), "undeclared identifier", symbol->getName().c_str(), extraInfoFormat);
 4405|       |
 4406|       |        // Add to symbol table to prevent future error messages on the same name
 4407|      1|        if (symbol->getName().size() > 0) {
  ------------------
  |  Branch (4407:13): [True: 1, False: 0]
  ------------------
 4408|      1|            TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat));
 4409|      1|            symbolTable.insert(*fakeVariable);
 4410|       |
 4411|       |            // substitute a symbol node for this new variable
 4412|      1|            nodePtr = intermediate.addSymbol(*fakeVariable, symbol->getLoc());
 4413|      1|        }
 4414|      3|    } else {
 4415|      3|        switch (symbol->getQualifier().storage) {
 4416|      0|        case EvqPointCoord:
  ------------------
  |  Branch (4416:9): [True: 0, False: 3]
  ------------------
 4417|      0|            profileRequires(symbol->getLoc(), ENoProfile, 120, nullptr, "gl_PointCoord");
 4418|      0|            break;
 4419|      3|        default: break; // some compilers want this
  ------------------
  |  Branch (4419:9): [True: 3, False: 0]
  ------------------
 4420|      3|        }
 4421|      3|    }
 4422|      4|}
_ZN7glslang13TParseContext16lValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4431|      2|{
 4432|      2|    TIntermBinary* binaryNode = node->getAsBinaryNode();
 4433|       |
 4434|      2|    if (binaryNode) {
  ------------------
  |  Branch (4434:9): [True: 0, False: 2]
  ------------------
 4435|      0|        bool errorReturn = false;
 4436|       |
 4437|      0|        switch(binaryNode->getOp()) {
 4438|      0|        case EOpIndexDirect:
  ------------------
  |  Branch (4438:9): [True: 0, False: 0]
  ------------------
 4439|      0|        case EOpIndexIndirect:
  ------------------
  |  Branch (4439:9): [True: 0, False: 0]
  ------------------
 4440|       |            // ...  tessellation control shader ...
 4441|       |            // If a per-vertex output variable is used as an l-value, it is a
 4442|       |            // compile-time or link-time error if the expression indicating the
 4443|       |            // vertex index is not the identifier gl_InvocationID.
 4444|      0|            if (language == EShLangTessControl) {
  ------------------
  |  Branch (4444:17): [True: 0, False: 0]
  ------------------
 4445|      0|                const TType& leftType = binaryNode->getLeft()->getType();
 4446|      0|                if (leftType.getQualifier().storage == EvqVaryingOut && ! leftType.getQualifier().patch && binaryNode->getLeft()->getAsSymbolNode()) {
  ------------------
  |  Branch (4446:21): [True: 0, False: 0]
  |  Branch (4446:73): [True: 0, False: 0]
  |  Branch (4446:108): [True: 0, False: 0]
  ------------------
 4447|       |                    // we have a per-vertex output
 4448|      0|                    const TIntermSymbol* rightSymbol = binaryNode->getRight()->getAsSymbolNode();
 4449|      0|                    if (! rightSymbol || rightSymbol->getQualifier().builtIn != EbvInvocationId)
  ------------------
  |  Branch (4449:25): [True: 0, False: 0]
  |  Branch (4449:42): [True: 0, False: 0]
  ------------------
 4450|      0|                        error(loc, "tessellation-control per-vertex output l-value must be indexed with gl_InvocationID", "[]", "");
 4451|      0|                }
 4452|      0|            }
 4453|      0|            break; // left node is checked by base class
 4454|      0|        case EOpVectorSwizzle:
  ------------------
  |  Branch (4454:9): [True: 0, False: 0]
  ------------------
 4455|      0|            errorReturn = lValueErrorCheck(loc, op, binaryNode->getLeft());
 4456|      0|            if (!errorReturn) {
  ------------------
  |  Branch (4456:17): [True: 0, False: 0]
  ------------------
 4457|      0|                int offset[4] = {0,0,0,0};
 4458|       |
 4459|      0|                TIntermTyped* rightNode = binaryNode->getRight();
 4460|      0|                TIntermAggregate *aggrNode = rightNode->getAsAggregate();
 4461|       |
 4462|      0|                for (TIntermSequence::iterator p = aggrNode->getSequence().begin();
 4463|      0|                                               p != aggrNode->getSequence().end(); p++) {
  ------------------
  |  Branch (4463:48): [True: 0, False: 0]
  ------------------
 4464|      0|                    int value = (*p)->getAsTyped()->getAsConstantUnion()->getConstArray()[0].getIConst();
 4465|      0|                    offset[value]++;
 4466|      0|                    if (offset[value] > 1) {
  ------------------
  |  Branch (4466:25): [True: 0, False: 0]
  ------------------
 4467|      0|                        error(loc, " l-value of swizzle cannot have duplicate components", op, "", "");
 4468|       |
 4469|      0|                        return true;
 4470|      0|                    }
 4471|      0|                }
 4472|      0|            }
 4473|       |
 4474|      0|            return errorReturn;
 4475|      0|        default:
  ------------------
  |  Branch (4475:9): [True: 0, False: 0]
  ------------------
 4476|      0|            break;
 4477|      0|        }
 4478|       |
 4479|      0|        if (errorReturn) {
  ------------------
  |  Branch (4479:13): [True: 0, False: 0]
  ------------------
 4480|      0|            error(loc, " l-value required", op, "", "");
 4481|      0|            return true;
 4482|      0|        }
 4483|      0|    }
 4484|       |
 4485|      2|    if (binaryNode && binaryNode->getOp() == EOpIndexDirectStruct && binaryNode->getLeft()->isReference())
  ------------------
  |  Branch (4485:9): [True: 0, False: 2]
  |  Branch (4485:23): [True: 0, False: 0]
  |  Branch (4485:70): [True: 0, False: 0]
  ------------------
 4486|      0|        return false;
 4487|       |
 4488|       |    // Let the base class check errors
 4489|      2|    if (TParseContextBase::lValueErrorCheck(loc, op, node))
  ------------------
  |  Branch (4489:9): [True: 2, False: 0]
  ------------------
 4490|      2|        return true;
 4491|       |
 4492|      0|    const char* symbol = nullptr;
 4493|      0|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4494|      0|    if (symNode != nullptr)
  ------------------
  |  Branch (4494:9): [True: 0, False: 0]
  ------------------
 4495|      0|        symbol = symNode->getName().c_str();
 4496|       |
 4497|      0|    const char* message = nullptr;
 4498|      0|    switch (node->getQualifier().storage) {
 4499|      0|    case EvqVaryingIn:      message = "can't modify shader input";   break;
  ------------------
  |  Branch (4499:5): [True: 0, False: 0]
  ------------------
 4500|      0|    case EvqInstanceId:     message = "can't modify gl_InstanceID";  break;
  ------------------
  |  Branch (4500:5): [True: 0, False: 0]
  ------------------
 4501|      0|    case EvqVertexId:       message = "can't modify gl_VertexID";    break;
  ------------------
  |  Branch (4501:5): [True: 0, False: 0]
  ------------------
 4502|      0|    case EvqFace:           message = "can't modify gl_FrontFace";   break;
  ------------------
  |  Branch (4502:5): [True: 0, False: 0]
  ------------------
 4503|      0|    case EvqFragCoord:      message = "can't modify gl_FragCoord";   break;
  ------------------
  |  Branch (4503:5): [True: 0, False: 0]
  ------------------
 4504|      0|    case EvqPointCoord:     message = "can't modify gl_PointCoord";  break;
  ------------------
  |  Branch (4504:5): [True: 0, False: 0]
  ------------------
 4505|      0|    case EvqFragDepth:
  ------------------
  |  Branch (4505:5): [True: 0, False: 0]
  ------------------
 4506|      0|        intermediate.setDepthReplacing();
 4507|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4508|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4508:13): [True: 0, False: 0]
  |  Branch (4508:30): [True: 0, False: 0]
  ------------------
 4509|      0|            message = "can't modify gl_FragDepth if using early_fragment_tests";
 4510|      0|        break;
 4511|      0|    case EvqFragStencil:
  ------------------
  |  Branch (4511:5): [True: 0, False: 0]
  ------------------
 4512|      0|        intermediate.setStencilReplacing();
 4513|       |        // "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
 4514|      0|        if (isEsProfile() && intermediate.getEarlyFragmentTests())
  ------------------
  |  Branch (4514:13): [True: 0, False: 0]
  |  Branch (4514:30): [True: 0, False: 0]
  ------------------
 4515|      0|            message = "can't modify EvqFragStencil if using early_fragment_tests";
 4516|      0|        break;
 4517|       |
 4518|      0|    case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (4518:5): [True: 0, False: 0]
  ------------------
 4519|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (4519:13): [True: 0, False: 0]
  ------------------
 4520|      0|            message = "can't modify variable with storage qualifier taskPayloadSharedEXT in mesh shaders";
 4521|      0|        break;
 4522|      0|    default:
  ------------------
  |  Branch (4522:5): [True: 0, False: 0]
  ------------------
 4523|      0|        break;
 4524|      0|    }
 4525|       |
 4526|      0|    if (message == nullptr && binaryNode == nullptr && symNode == nullptr) {
  ------------------
  |  Branch (4526:9): [True: 0, False: 0]
  |  Branch (4526:31): [True: 0, False: 0]
  |  Branch (4526:56): [True: 0, False: 0]
  ------------------
 4527|      0|        error(loc, " l-value required", op, "", "");
 4528|       |
 4529|      0|        return true;
 4530|      0|    }
 4531|       |
 4532|       |    //
 4533|       |    // Everything else is okay, no error.
 4534|       |    //
 4535|      0|    if (message == nullptr)
  ------------------
  |  Branch (4535:9): [True: 0, False: 0]
  ------------------
 4536|      0|        return false;
 4537|       |
 4538|       |    //
 4539|       |    // If we get here, we have an error and a message.
 4540|       |    //
 4541|      0|    if (symNode)
  ------------------
  |  Branch (4541:9): [True: 0, False: 0]
  ------------------
 4542|      0|        error(loc, " l-value required", op, "\"%s\" (%s)", symbol, message);
 4543|      0|    else
 4544|      0|        error(loc, " l-value required", op, "(%s)", message);
 4545|       |
 4546|      0|    return true;
 4547|      0|}
_ZN7glslang13TParseContext16rValueErrorCheckERKNS_10TSourceLocEPKcPNS_12TIntermTypedE:
 4551|    857|{
 4552|       |    // Let the base class check errors
 4553|    857|    TParseContextBase::rValueErrorCheck(loc, op, node);
 4554|       |
 4555|    857|    TIntermSymbol* symNode = node->getAsSymbolNode();
 4556|    857|    if (!(symNode && symNode->getQualifier().isWriteOnly())) // base class checks
  ------------------
  |  Branch (4556:11): [True: 2, False: 855]
  |  Branch (4556:22): [True: 0, False: 2]
  ------------------
 4557|    857|        if (symNode && symNode->getQualifier().isExplicitInterpolation())
  ------------------
  |  Branch (4557:13): [True: 2, False: 855]
  |  Branch (4557:24): [True: 0, False: 2]
  ------------------
 4558|      0|            error(loc, "can't read from explicitly-interpolated object: ", op, symNode->getName().c_str());
 4559|       |
 4560|       |    // local_size_{xyz} must be assigned or specialized before gl_WorkGroupSize can be assigned.
 4561|    857|    if(node->getQualifier().builtIn == EbvWorkGroupSize &&
  ------------------
  |  Branch (4561:8): [True: 0, False: 857]
  ------------------
 4562|      0|       !(intermediate.isLocalSizeSet() || intermediate.isLocalSizeSpecialized()))
  ------------------
  |  Branch (4562:10): [True: 0, False: 0]
  |  Branch (4562:43): [True: 0, False: 0]
  ------------------
 4563|      0|        error(loc, "can't read from gl_WorkGroupSize before a fixed workgroup size has been declared", op, "");
 4564|    857|}
_ZN7glslang13TParseContext12integerCheckEPKNS_12TIntermTypedEPKc:
 4581|      1|{
 4582|      1|    auto from_type = node->getBasicType();
 4583|      1|    if ((from_type == EbtInt || from_type == EbtUint ||
  ------------------
  |  Branch (4583:10): [True: 1, False: 0]
  |  Branch (4583:33): [True: 0, False: 0]
  ------------------
 4584|      0|         intermediate.canImplicitlyPromote(from_type, EbtInt, EOpNull) ||
  ------------------
  |  Branch (4584:10): [True: 0, False: 0]
  ------------------
 4585|      1|         intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar())
  ------------------
  |  Branch (4585:10): [True: 0, False: 0]
  |  Branch (4585:77): [True: 1, False: 0]
  ------------------
 4586|      1|        return;
 4587|       |
 4588|      0|    error(node->getLoc(), "scalar integer expression required", token, "");
 4589|      0|}
_ZN7glslang13TParseContext15arrayIndexCheckEPKNS_12TIntermTypedEPKc:
 4596|      1|{
 4597|      1|    auto from_type = node->getBasicType();
 4598|       |
 4599|      1|    if ((from_type == EbtInt64 || from_type == EbtUint64) &&
  ------------------
  |  Branch (4599:10): [True: 0, False: 1]
  |  Branch (4599:35): [True: 0, False: 1]
  ------------------
 4600|      0|        extensionTurnedOn(E_GL_EXT_shader_64bit_indexing))
  ------------------
  |  Branch (4600:9): [True: 0, False: 0]
  ------------------
 4601|      0|        return;
 4602|       |
 4603|      1|    integerCheck(node, token);
 4604|      1|}
_ZN7glslang13TParseContext11globalCheckERKNS_10TSourceLocEPKc:
 4611|  14.7k|{
 4612|  14.7k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (4612:9): [True: 0, False: 14.7k]
  ------------------
 4613|      0|        error(loc, "not allowed in nested scope", token, "");
 4614|  14.7k|}
_ZN7glslang13TParseContext18reservedErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4620|  60.4k|{
 4621|       |    // "Identifiers starting with "gl_" are reserved for use by OpenGL, and may not be
 4622|       |    // declared in a shader; this results in a compile-time error."
 4623|  60.4k|    if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (4623:9): [True: 17, False: 60.4k]
  ------------------
 4624|       |        // The extension GL_EXT_conservative_depth allows us to declare "gl_FragDepth".
 4625|     17|        if (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))
  ------------------
  |  Branch (4625:13): [True: 0, False: 17]
  |  Branch (4625:45): [True: 0, False: 0]
  ------------------
 4626|      0|            return;
 4627|       |
 4628|     17|        if (builtInName(identifier) && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics))
  ------------------
  |  Branch (4628:13): [True: 0, False: 17]
  |  Branch (4628:40): [True: 0, False: 0]
  ------------------
 4629|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "gl_".
 4630|      0|            error(loc, "identifiers starting with \"gl_\" are reserved", identifier.c_str(), "");
 4631|       |
 4632|       |        // "__" are not supposed to be an error.  ES 300 (and desktop) added the clarification:
 4633|       |        // "In addition, all identifiers containing two consecutive underscores (__) are
 4634|       |        // reserved; using such a name does not itself result in an error, but may result
 4635|       |        // in undefined behavior."
 4636|       |        // however, before that, ES tests required an error.
 4637|     17|        if (identifier.find("__") != TString::npos && !extensionTurnedOn(E_GL_EXT_spirv_intrinsics)) {
  ------------------
  |  Branch (4637:13): [True: 0, False: 17]
  |  Branch (4637:55): [True: 0, False: 0]
  ------------------
 4638|       |            // The extension GL_EXT_spirv_intrinsics allows us to declare identifiers starting with "__".
 4639|      0|            if (isEsProfile() && version < 300)
  ------------------
  |  Branch (4639:17): [True: 0, False: 0]
  |  Branch (4639:34): [True: 0, False: 0]
  ------------------
 4640|      0|                error(loc, "identifiers containing consecutive underscores (\"__\") are reserved, and an error if version < 300", identifier.c_str(), "");
 4641|      0|            else
 4642|      0|                warn(loc, "identifiers containing consecutive underscores (\"__\") are reserved", identifier.c_str(), "");
 4643|      0|        }
 4644|     17|    }
 4645|  60.4k|}
_ZN7glslang13TParseContext21lineContinuationCheckERKNS_10TSourceLocEb:
 4689|     15|{
 4690|     15|    const char* message = "line continuation";
 4691|       |
 4692|     15|    bool lineContinuationAllowed = (isEsProfile() && version >= 300) ||
  ------------------
  |  Branch (4692:37): [True: 15, False: 0]
  |  Branch (4692:54): [True: 0, False: 15]
  ------------------
 4693|     15|                                   (!isEsProfile() && (version >= 420 || extensionTurnedOn(E_GL_ARB_shading_language_420pack)));
  ------------------
  |  Branch (4693:37): [True: 0, False: 15]
  |  Branch (4693:56): [True: 0, False: 0]
  |  Branch (4693:74): [True: 0, False: 0]
  ------------------
 4694|       |
 4695|     15|    if (endOfComment) {
  ------------------
  |  Branch (4695:9): [True: 14, False: 1]
  ------------------
 4696|     14|        if (lineContinuationAllowed)
  ------------------
  |  Branch (4696:13): [True: 0, False: 14]
  ------------------
 4697|      0|            warn(loc, "used at end of comment; the following line is still part of the comment", message, "");
 4698|     14|        else
 4699|     14|            warn(loc, "used at end of comment, but this version does not provide line continuation", message, "");
 4700|       |
 4701|     14|        return lineContinuationAllowed;
 4702|     14|    }
 4703|       |
 4704|      1|    if (relaxedErrors()) {
  ------------------
  |  Branch (4704:9): [True: 0, False: 1]
  ------------------
 4705|      0|        if (! lineContinuationAllowed)
  ------------------
  |  Branch (4705:13): [True: 0, False: 0]
  ------------------
 4706|      0|            warn(loc, "not allowed in this version", message, "");
 4707|      0|        return true;
 4708|      1|    } else {
 4709|      1|        profileRequires(loc, EEsProfile, 300, nullptr, message);
 4710|      1|        profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, message);
 4711|      1|    }
 4712|       |
 4713|      1|    return lineContinuationAllowed;
 4714|      1|}
_ZN7glslang13TParseContext11builtInNameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 4717|  3.76k|{
 4718|  3.76k|    return identifier.compare(0, 3, "gl_") == 0;
 4719|  3.76k|}
_ZN7glslang13TParseContext16constructorErrorERKNS_10TSourceLocEP11TIntermNodeRNS_9TFunctionENS_9TOperatorERNS_5TTypeE:
 4741|     21|{
 4742|       |    // See if the constructor does not establish the main type, only requalifies
 4743|       |    // it, in which case the type comes from the argument instead of from the
 4744|       |    // constructor function.
 4745|     21|    switch (op) {
 4746|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (4746:5): [True: 0, False: 21]
  ------------------
 4747|      0|        if (node != nullptr && node->getAsTyped() != nullptr) {
  ------------------
  |  Branch (4747:13): [True: 0, False: 0]
  |  Branch (4747:32): [True: 0, False: 0]
  ------------------
 4748|      0|            type.shallowCopy(node->getAsTyped()->getType());
 4749|      0|            type.getQualifier().makeTemporary();
 4750|      0|            type.getQualifier().nonUniform = true;
 4751|      0|        }
 4752|      0|        break;
 4753|     21|    default:
  ------------------
  |  Branch (4753:5): [True: 21, False: 0]
  ------------------
 4754|     21|        type.shallowCopy(function.getType());
 4755|     21|        break;
 4756|     21|    }
 4757|       |
 4758|     21|    TString constructorString;
 4759|     21|    if (intermediate.getEnhancedMsgs())
  ------------------
  |  Branch (4759:9): [True: 0, False: 21]
  ------------------
 4760|      0|        constructorString.append(type.getCompleteString(true, false, false, true)).append(" constructor");
 4761|     21|    else
 4762|     21|        constructorString.append("constructor");
 4763|       |
 4764|       |    // See if it's a matrix
 4765|     21|    bool constructingMatrix = false;
 4766|     21|    switch (op) {
 4767|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (4767:5): [True: 0, False: 21]
  ------------------
 4768|      0|        return constructorTextureSamplerError(loc, function);
 4769|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (4769:5): [True: 0, False: 21]
  ------------------
 4770|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (4770:5): [True: 0, False: 21]
  ------------------
 4771|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (4771:5): [True: 0, False: 21]
  ------------------
 4772|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (4772:5): [True: 0, False: 21]
  ------------------
 4773|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (4773:5): [True: 0, False: 21]
  ------------------
 4774|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (4774:5): [True: 0, False: 21]
  ------------------
 4775|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (4775:5): [True: 0, False: 21]
  ------------------
 4776|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (4776:5): [True: 0, False: 21]
  ------------------
 4777|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (4777:5): [True: 0, False: 21]
  ------------------
 4778|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (4778:5): [True: 0, False: 21]
  ------------------
 4779|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (4779:5): [True: 0, False: 21]
  ------------------
 4780|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (4780:5): [True: 0, False: 21]
  ------------------
 4781|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (4781:5): [True: 0, False: 21]
  ------------------
 4782|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (4782:5): [True: 0, False: 21]
  ------------------
 4783|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (4783:5): [True: 0, False: 21]
  ------------------
 4784|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (4784:5): [True: 0, False: 21]
  ------------------
 4785|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (4785:5): [True: 0, False: 21]
  ------------------
 4786|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (4786:5): [True: 0, False: 21]
  ------------------
 4787|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (4787:5): [True: 0, False: 21]
  ------------------
 4788|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (4788:5): [True: 0, False: 21]
  ------------------
 4789|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (4789:5): [True: 0, False: 21]
  ------------------
 4790|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (4790:5): [True: 0, False: 21]
  ------------------
 4791|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (4791:5): [True: 0, False: 21]
  ------------------
 4792|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (4792:5): [True: 0, False: 21]
  ------------------
 4793|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (4793:5): [True: 0, False: 21]
  ------------------
 4794|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (4794:5): [True: 0, False: 21]
  ------------------
 4795|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (4795:5): [True: 0, False: 21]
  ------------------
 4796|      0|        constructingMatrix = true;
 4797|      0|        break;
 4798|     21|    default:
  ------------------
  |  Branch (4798:5): [True: 21, False: 0]
  ------------------
 4799|     21|        break;
 4800|     21|    }
 4801|       |
 4802|       |    //
 4803|       |    // Walk the arguments for first-pass checks and collection of information.
 4804|       |    //
 4805|       |
 4806|     21|    int size = 0;
 4807|     21|    bool constType = true;
 4808|     21|    bool specConstType = false;   // value is only valid if constType is true
 4809|     21|    bool full = false;
 4810|     21|    bool overFull = false;
 4811|     21|    bool matrixInMatrix = false;
 4812|     21|    bool arrayArg = false;
 4813|     21|    bool floatArgument = false;
 4814|     21|    bool intArgument = false;
 4815|     84|    for (int arg = 0; arg < function.getParamCount(); ++arg) {
  ------------------
  |  Branch (4815:23): [True: 63, False: 21]
  ------------------
 4816|     63|        if (function[arg].type->isArray()) {
  ------------------
  |  Branch (4816:13): [True: 0, False: 63]
  ------------------
 4817|      0|            if (function[arg].type->isUnsizedArray()) {
  ------------------
  |  Branch (4817:17): [True: 0, False: 0]
  ------------------
 4818|       |                // Can't construct from an unsized array.
 4819|      0|                error(loc, "array argument must be sized", constructorString.c_str(), "");
 4820|      0|                return true;
 4821|      0|            }
 4822|      0|            arrayArg = true;
 4823|      0|        }
 4824|     63|        if (function[arg].type->getBasicType() == EbtString) {
  ------------------
  |  Branch (4824:13): [True: 0, False: 63]
  ------------------
 4825|      0|            error(loc, "cannot convert a string", constructorString.c_str(), "");
 4826|      0|            return true;
 4827|      0|        }
 4828|     63|        if (constructingMatrix && function[arg].type->isMatrix())
  ------------------
  |  Branch (4828:13): [True: 0, False: 63]
  |  Branch (4828:35): [True: 0, False: 0]
  ------------------
 4829|      0|            matrixInMatrix = true;
 4830|       |
 4831|       |        // 'full' will go to true when enough args have been seen.  If we loop
 4832|       |        // again, there is an extra argument.
 4833|     63|        if (full) {
  ------------------
  |  Branch (4833:13): [True: 0, False: 63]
  ------------------
 4834|       |            // For vectors and matrices, it's okay to have too many components
 4835|       |            // available, but not okay to have unused arguments.
 4836|      0|            overFull = true;
 4837|      0|        }
 4838|       |
 4839|     63|        size += function[arg].type->computeNumComponents();
 4840|     63|        if (op != EOpConstructStruct && ! type.isArray() && size >= type.computeNumComponents())
  ------------------
  |  Branch (4840:13): [True: 63, False: 0]
  |  Branch (4840:41): [True: 63, False: 0]
  |  Branch (4840:61): [True: 21, False: 42]
  ------------------
 4841|     21|            full = true;
 4842|       |
 4843|     63|        if (! function[arg].type->getQualifier().isConstant())
  ------------------
  |  Branch (4843:13): [True: 0, False: 63]
  ------------------
 4844|      0|            constType = false;
 4845|     63|        if (function[arg].type->getQualifier().isSpecConstant())
  ------------------
  |  Branch (4845:13): [True: 0, False: 63]
  ------------------
 4846|      0|            specConstType = true;
 4847|     63|        if (function[arg].type->isFloatingDomain())
  ------------------
  |  Branch (4847:13): [True: 0, False: 63]
  ------------------
 4848|      0|            floatArgument = true;
 4849|     63|        if (function[arg].type->isIntegerDomain())
  ------------------
  |  Branch (4849:13): [True: 63, False: 0]
  ------------------
 4850|     63|            intArgument = true;
 4851|     63|        if (type.isStruct()) {
  ------------------
  |  Branch (4851:13): [True: 0, False: 63]
  ------------------
 4852|      0|            if (function[arg].type->contains16BitFloat()) {
  ------------------
  |  Branch (4852:17): [True: 0, False: 0]
  ------------------
 4853|      0|                requireFloat16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4854|      0|            }
 4855|      0|            if (function[arg].type->contains16BitInt()) {
  ------------------
  |  Branch (4855:17): [True: 0, False: 0]
  ------------------
 4856|      0|                requireInt16Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 16-bit type");
 4857|      0|            }
 4858|      0|            if (function[arg].type->contains8BitInt()) {
  ------------------
  |  Branch (4858:17): [True: 0, False: 0]
  ------------------
 4859|      0|                requireInt8Arithmetic(loc, constructorString.c_str(), "can't construct structure containing 8-bit type");
 4860|      0|            }
 4861|      0|        }
 4862|     63|    }
 4863|     21|    if (op == EOpConstructNonuniform)
  ------------------
  |  Branch (4863:9): [True: 0, False: 21]
  ------------------
 4864|      0|        constType = false;
 4865|       |
 4866|     21|    switch (op) {
 4867|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (4867:5): [True: 0, False: 21]
  ------------------
 4868|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (4868:5): [True: 0, False: 21]
  ------------------
 4869|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (4869:5): [True: 0, False: 21]
  ------------------
 4870|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (4870:5): [True: 0, False: 21]
  ------------------
 4871|      0|        if (type.isArray())
  ------------------
  |  Branch (4871:13): [True: 0, False: 0]
  ------------------
 4872|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4873|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4873:13): [True: 0, False: 0]
  |  Branch (4873:32): [True: 0, False: 0]
  ------------------
 4874|      0|            requireFloat16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4875|      0|        break;
 4876|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (4876:5): [True: 0, False: 21]
  ------------------
 4877|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (4877:5): [True: 0, False: 21]
  ------------------
 4878|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (4878:5): [True: 0, False: 21]
  ------------------
 4879|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (4879:5): [True: 0, False: 21]
  ------------------
 4880|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (4880:5): [True: 0, False: 21]
  ------------------
 4881|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (4881:5): [True: 0, False: 21]
  ------------------
 4882|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (4882:5): [True: 0, False: 21]
  ------------------
 4883|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (4883:5): [True: 0, False: 21]
  ------------------
 4884|      0|        if (type.isArray())
  ------------------
  |  Branch (4884:13): [True: 0, False: 0]
  ------------------
 4885|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit arrays not supported");
 4886|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4886:13): [True: 0, False: 0]
  |  Branch (4886:32): [True: 0, False: 0]
  ------------------
 4887|      0|            requireInt16Arithmetic(loc, constructorString.c_str(), "16-bit vectors only take vector types");
 4888|      0|        break;
 4889|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (4889:5): [True: 0, False: 21]
  ------------------
 4890|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (4890:5): [True: 0, False: 21]
  ------------------
 4891|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (4891:5): [True: 0, False: 21]
  ------------------
 4892|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (4892:5): [True: 0, False: 21]
  ------------------
 4893|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (4893:5): [True: 0, False: 21]
  ------------------
 4894|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (4894:5): [True: 0, False: 21]
  ------------------
 4895|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (4895:5): [True: 0, False: 21]
  ------------------
 4896|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (4896:5): [True: 0, False: 21]
  ------------------
 4897|      0|        if (type.isArray())
  ------------------
  |  Branch (4897:13): [True: 0, False: 0]
  ------------------
 4898|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit arrays not supported");
 4899|      0|        if (type.isVector() && function.getParamCount() != 1)
  ------------------
  |  Branch (4899:13): [True: 0, False: 0]
  |  Branch (4899:32): [True: 0, False: 0]
  ------------------
 4900|      0|            requireInt8Arithmetic(loc, constructorString.c_str(), "8-bit vectors only take vector types");
 4901|      0|        break;
 4902|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (4902:5): [True: 0, False: 21]
  ------------------
 4903|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (4903:5): [True: 0, False: 21]
  ------------------
 4904|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (4904:5): [True: 0, False: 21]
  ------------------
 4905|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (4905:5): [True: 0, False: 21]
  ------------------
 4906|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (4906:5): [True: 0, False: 21]
  ------------------
 4907|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (4907:5): [True: 0, False: 21]
  ------------------
 4908|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (4908:5): [True: 0, False: 21]
  ------------------
 4909|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (4909:5): [True: 0, False: 21]
  ------------------
 4910|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (4910:5): [True: 0, False: 21]
  ------------------
 4911|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (4911:5): [True: 0, False: 21]
  ------------------
 4912|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (4912:5): [True: 0, False: 21]
  ------------------
 4913|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (4913:5): [True: 0, False: 21]
  ------------------
 4914|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (4914:5): [True: 0, False: 21]
  ------------------
 4915|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (4915:5): [True: 0, False: 21]
  ------------------
 4916|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (4916:5): [True: 0, False: 21]
  ------------------
 4917|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (4917:5): [True: 0, False: 21]
  ------------------
 4918|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (4918:5): [True: 0, False: 21]
  ------------------
 4919|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (4919:5): [True: 0, False: 21]
  ------------------
 4920|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (4920:5): [True: 0, False: 21]
  ------------------
 4921|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (4921:5): [True: 0, False: 21]
  ------------------
 4922|      0|        if (!constType || specConstType) {
  ------------------
  |  Branch (4922:13): [True: 0, False: 0]
  |  Branch (4922:27): [True: 0, False: 0]
  ------------------
 4923|      0|            for (int i = 0; i < function.getParamCount(); ++i) {
  ------------------
  |  Branch (4923:29): [True: 0, False: 0]
  ------------------
 4924|      0|                TIntermNode* arg = function.getParamCount() == 1 ? node : node->getAsAggregate()->getSequence()[i];
  ------------------
  |  Branch (4924:36): [True: 0, False: 0]
  ------------------
 4925|      0|                if (arg->getAsTyped()->getBasicType() != type.getBasicType()) {
  ------------------
  |  Branch (4925:21): [True: 0, False: 0]
  ------------------
 4926|      0|                    error(loc, "constructor argument must be a non-spec constant", constructorString.c_str(), "");
 4927|      0|                    return true;
 4928|      0|                }
 4929|      0|            }
 4930|      0|        }
 4931|      0|        break;
 4932|     21|    default:
  ------------------
  |  Branch (4932:5): [True: 21, False: 0]
  ------------------
 4933|     21|        break;
 4934|     21|    }
 4935|       |
 4936|       |    // inherit constness from children
 4937|     21|    if (constType) {
  ------------------
  |  Branch (4937:9): [True: 21, False: 0]
  ------------------
 4938|     21|        bool makeSpecConst;
 4939|       |        // Finish pinning down spec-const semantics
 4940|     21|        if (specConstType) {
  ------------------
  |  Branch (4940:13): [True: 0, False: 21]
  ------------------
 4941|      0|            switch (op) {
 4942|      0|            case EOpConstructInt8:
  ------------------
  |  Branch (4942:13): [True: 0, False: 0]
  ------------------
 4943|      0|            case EOpConstructInt:
  ------------------
  |  Branch (4943:13): [True: 0, False: 0]
  ------------------
 4944|      0|            case EOpConstructUint:
  ------------------
  |  Branch (4944:13): [True: 0, False: 0]
  ------------------
 4945|      0|            case EOpConstructBool:
  ------------------
  |  Branch (4945:13): [True: 0, False: 0]
  ------------------
 4946|      0|            case EOpConstructBVec2:
  ------------------
  |  Branch (4946:13): [True: 0, False: 0]
  ------------------
 4947|      0|            case EOpConstructBVec3:
  ------------------
  |  Branch (4947:13): [True: 0, False: 0]
  ------------------
 4948|      0|            case EOpConstructBVec4:
  ------------------
  |  Branch (4948:13): [True: 0, False: 0]
  ------------------
 4949|      0|            case EOpConstructIVec2:
  ------------------
  |  Branch (4949:13): [True: 0, False: 0]
  ------------------
 4950|      0|            case EOpConstructIVec3:
  ------------------
  |  Branch (4950:13): [True: 0, False: 0]
  ------------------
 4951|      0|            case EOpConstructIVec4:
  ------------------
  |  Branch (4951:13): [True: 0, False: 0]
  ------------------
 4952|      0|            case EOpConstructUVec2:
  ------------------
  |  Branch (4952:13): [True: 0, False: 0]
  ------------------
 4953|      0|            case EOpConstructUVec3:
  ------------------
  |  Branch (4953:13): [True: 0, False: 0]
  ------------------
 4954|      0|            case EOpConstructUVec4:
  ------------------
  |  Branch (4954:13): [True: 0, False: 0]
  ------------------
 4955|      0|            case EOpConstructUint8:
  ------------------
  |  Branch (4955:13): [True: 0, False: 0]
  ------------------
 4956|      0|            case EOpConstructInt16:
  ------------------
  |  Branch (4956:13): [True: 0, False: 0]
  ------------------
 4957|      0|            case EOpConstructUint16:
  ------------------
  |  Branch (4957:13): [True: 0, False: 0]
  ------------------
 4958|      0|            case EOpConstructInt64:
  ------------------
  |  Branch (4958:13): [True: 0, False: 0]
  ------------------
 4959|      0|            case EOpConstructUint64:
  ------------------
  |  Branch (4959:13): [True: 0, False: 0]
  ------------------
 4960|      0|            case EOpConstructI8Vec2:
  ------------------
  |  Branch (4960:13): [True: 0, False: 0]
  ------------------
 4961|      0|            case EOpConstructI8Vec3:
  ------------------
  |  Branch (4961:13): [True: 0, False: 0]
  ------------------
 4962|      0|            case EOpConstructI8Vec4:
  ------------------
  |  Branch (4962:13): [True: 0, False: 0]
  ------------------
 4963|      0|            case EOpConstructU8Vec2:
  ------------------
  |  Branch (4963:13): [True: 0, False: 0]
  ------------------
 4964|      0|            case EOpConstructU8Vec3:
  ------------------
  |  Branch (4964:13): [True: 0, False: 0]
  ------------------
 4965|      0|            case EOpConstructU8Vec4:
  ------------------
  |  Branch (4965:13): [True: 0, False: 0]
  ------------------
 4966|      0|            case EOpConstructI16Vec2:
  ------------------
  |  Branch (4966:13): [True: 0, False: 0]
  ------------------
 4967|      0|            case EOpConstructI16Vec3:
  ------------------
  |  Branch (4967:13): [True: 0, False: 0]
  ------------------
 4968|      0|            case EOpConstructI16Vec4:
  ------------------
  |  Branch (4968:13): [True: 0, False: 0]
  ------------------
 4969|      0|            case EOpConstructU16Vec2:
  ------------------
  |  Branch (4969:13): [True: 0, False: 0]
  ------------------
 4970|      0|            case EOpConstructU16Vec3:
  ------------------
  |  Branch (4970:13): [True: 0, False: 0]
  ------------------
 4971|      0|            case EOpConstructU16Vec4:
  ------------------
  |  Branch (4971:13): [True: 0, False: 0]
  ------------------
 4972|      0|            case EOpConstructI64Vec2:
  ------------------
  |  Branch (4972:13): [True: 0, False: 0]
  ------------------
 4973|      0|            case EOpConstructI64Vec3:
  ------------------
  |  Branch (4973:13): [True: 0, False: 0]
  ------------------
 4974|      0|            case EOpConstructI64Vec4:
  ------------------
  |  Branch (4974:13): [True: 0, False: 0]
  ------------------
 4975|      0|            case EOpConstructU64Vec2:
  ------------------
  |  Branch (4975:13): [True: 0, False: 0]
  ------------------
 4976|      0|            case EOpConstructU64Vec3:
  ------------------
  |  Branch (4976:13): [True: 0, False: 0]
  ------------------
 4977|      0|            case EOpConstructU64Vec4:
  ------------------
  |  Branch (4977:13): [True: 0, False: 0]
  ------------------
 4978|       |                // This was the list of valid ones, if they aren't converting from float
 4979|       |                // and aren't making an array.
 4980|      0|                makeSpecConst = ! floatArgument && ! type.isArray();
  ------------------
  |  Branch (4980:33): [True: 0, False: 0]
  |  Branch (4980:52): [True: 0, False: 0]
  ------------------
 4981|      0|                break;
 4982|       |
 4983|      0|            case EOpConstructVec2:
  ------------------
  |  Branch (4983:13): [True: 0, False: 0]
  ------------------
 4984|      0|            case EOpConstructVec3:
  ------------------
  |  Branch (4984:13): [True: 0, False: 0]
  ------------------
 4985|      0|            case EOpConstructVec4:
  ------------------
  |  Branch (4985:13): [True: 0, False: 0]
  ------------------
 4986|       |                // This was the list of valid ones, if they aren't converting from int
 4987|       |                // and aren't making an array.
 4988|      0|                makeSpecConst = ! intArgument && !type.isArray();
  ------------------
  |  Branch (4988:33): [True: 0, False: 0]
  |  Branch (4988:50): [True: 0, False: 0]
  ------------------
 4989|      0|                break;
 4990|       |
 4991|      0|            case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (4991:13): [True: 0, False: 0]
  ------------------
 4992|      0|            case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (4992:13): [True: 0, False: 0]
  ------------------
 4993|      0|            case EOpConstructStruct:
  ------------------
  |  Branch (4993:13): [True: 0, False: 0]
  ------------------
 4994|      0|                {
 4995|      0|                    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
 4996|      0|                    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (4996:25): [True: 0, False: 0]
  ------------------
 4997|      0|                        makeSpecConst = true;
 4998|      0|                    } else {
 4999|      0|                        makeSpecConst = false;
 5000|      0|                    }
 5001|      0|                }
 5002|      0|                break;
 5003|       |
 5004|      0|            default:
  ------------------
  |  Branch (5004:13): [True: 0, False: 0]
  ------------------
 5005|       |                // anything else wasn't white-listed in the spec as a conversion
 5006|      0|                makeSpecConst = false;
 5007|      0|                break;
 5008|      0|            }
 5009|      0|        } else
 5010|     21|            makeSpecConst = false;
 5011|       |
 5012|     21|        if (makeSpecConst)
  ------------------
  |  Branch (5012:13): [True: 0, False: 21]
  ------------------
 5013|      0|            type.getQualifier().makeSpecConstant();
 5014|     21|        else if (specConstType)
  ------------------
  |  Branch (5014:18): [True: 0, False: 21]
  ------------------
 5015|      0|            type.getQualifier().makeTemporary();
 5016|     21|        else
 5017|     21|            type.getQualifier().storage = EvqConst;
 5018|     21|    }
 5019|       |
 5020|     21|    if (type.isArray()) {
  ------------------
  |  Branch (5020:9): [True: 0, False: 21]
  ------------------
 5021|      0|        if (function.getParamCount() == 0) {
  ------------------
  |  Branch (5021:13): [True: 0, False: 0]
  ------------------
 5022|      0|            error(loc, "array constructor must have at least one argument", constructorString.c_str(), "");
 5023|      0|            return true;
 5024|      0|        }
 5025|       |
 5026|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (5026:13): [True: 0, False: 0]
  ------------------
 5027|       |            // auto adapt the constructor type to the number of arguments
 5028|      0|            type.changeOuterArraySize(function.getParamCount());
 5029|      0|        } else if (type.getOuterArraySize() != function.getParamCount()) {
  ------------------
  |  Branch (5029:20): [True: 0, False: 0]
  ------------------
 5030|      0|            error(loc, "array constructor needs one argument per array element", constructorString.c_str(), "");
 5031|      0|            return true;
 5032|      0|        }
 5033|       |
 5034|      0|        if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (5034:13): [True: 0, False: 0]
  ------------------
 5035|       |            // Types have to match, but we're still making the type.
 5036|       |            // Finish making the type, and the comparison is done later
 5037|       |            // when checking for conversion.
 5038|      0|            TArraySizes& arraySizes = *type.getArraySizes();
 5039|       |
 5040|       |            // At least the dimensionalities have to match.
 5041|      0|            if (! function[0].type->isArray() ||
  ------------------
  |  Branch (5041:17): [True: 0, False: 0]
  ------------------
 5042|      0|                    arraySizes.getNumDims() != function[0].type->getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (5042:21): [True: 0, False: 0]
  ------------------
 5043|      0|                error(loc, "array constructor argument not correct type to construct array element", constructorString.c_str(), "");
 5044|      0|                return true;
 5045|      0|            }
 5046|       |
 5047|      0|            if (arraySizes.isInnerUnsized()) {
  ------------------
  |  Branch (5047:17): [True: 0, False: 0]
  ------------------
 5048|       |                // "Arrays of arrays ..., and the size for any dimension is optional"
 5049|       |                // That means we need to adopt (from the first argument) the other array sizes into the type.
 5050|      0|                for (int d = 1; d < arraySizes.getNumDims(); ++d) {
  ------------------
  |  Branch (5050:33): [True: 0, False: 0]
  ------------------
 5051|      0|                    if (arraySizes.getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (5051:25): [True: 0, False: 0]
  ------------------
 5052|      0|                        arraySizes.setDimSize(d, function[0].type->getArraySizes()->getDimSize(d - 1));
 5053|      0|                    }
 5054|      0|                }
 5055|      0|            }
 5056|      0|        }
 5057|      0|    }
 5058|       |
 5059|     21|    if (arrayArg && op != EOpConstructStruct && ! type.isArrayOfArrays()) {
  ------------------
  |  Branch (5059:9): [True: 0, False: 21]
  |  Branch (5059:21): [True: 0, False: 0]
  |  Branch (5059:49): [True: 0, False: 0]
  ------------------
 5060|      0|        error(loc, "constructing non-array constituent from array argument", constructorString.c_str(), "");
 5061|      0|        return true;
 5062|      0|    }
 5063|       |
 5064|     21|    if (matrixInMatrix && ! type.isArray()) {
  ------------------
  |  Branch (5064:9): [True: 0, False: 21]
  |  Branch (5064:27): [True: 0, False: 0]
  ------------------
 5065|      0|        profileRequires(loc, ENoProfile, 120, nullptr, "constructing matrix from matrix");
 5066|       |
 5067|       |        // "If a matrix argument is given to a matrix constructor,
 5068|       |        // it is a compile-time error to have any other arguments."
 5069|      0|        if (function.getParamCount() != 1)
  ------------------
  |  Branch (5069:13): [True: 0, False: 0]
  ------------------
 5070|      0|            error(loc, "matrix constructed from matrix can only have one argument", constructorString.c_str(), "");
 5071|      0|        return false;
 5072|      0|    }
 5073|       |
 5074|     21|    if (overFull) {
  ------------------
  |  Branch (5074:9): [True: 0, False: 21]
  ------------------
 5075|      0|        error(loc, "too many arguments", constructorString.c_str(), "");
 5076|      0|        return true;
 5077|      0|    }
 5078|       |
 5079|     21|    if (op == EOpConstructStruct && ! type.isArray() && (int)type.getStruct()->size() != function.getParamCount()) {
  ------------------
  |  Branch (5079:9): [True: 0, False: 21]
  |  Branch (5079:37): [True: 0, False: 0]
  |  Branch (5079:57): [True: 0, False: 0]
  ------------------
 5080|      0|        error(loc, "Number of constructor parameters does not match the number of structure fields", constructorString.c_str(), "");
 5081|      0|        return true;
 5082|      0|    }
 5083|       |
 5084|     21|    if (type.isLongVector() && !isValidLongVectorElseError(loc, type)) {
  ------------------
  |  Branch (5084:9): [True: 0, False: 21]
  |  Branch (5084:32): [True: 0, False: 0]
  ------------------
 5085|      0|        return true;
 5086|      0|    }
 5087|       |
 5088|     21|    if ((op != EOpConstructStruct && size != 1 && size < type.computeNumComponents()) ||
  ------------------
  |  Branch (5088:10): [True: 21, False: 0]
  |  Branch (5088:38): [True: 21, False: 0]
  |  Branch (5088:51): [True: 0, False: 21]
  ------------------
 5089|     21|        (op == EOpConstructStruct && size < type.computeNumComponents())) {
  ------------------
  |  Branch (5089:10): [True: 0, False: 21]
  |  Branch (5089:38): [True: 0, False: 0]
  ------------------
 5090|      0|        error(loc, "not enough data provided for construction", constructorString.c_str(), "");
 5091|      0|        return true;
 5092|      0|    }
 5093|       |
 5094|     21|    if (type.isCoopMat() && function.getParamCount() != 1) {
  ------------------
  |  Branch (5094:9): [True: 0, False: 21]
  |  Branch (5094:29): [True: 0, False: 0]
  ------------------
 5095|      0|        error(loc, "wrong number of arguments", constructorString.c_str(), "");
 5096|      0|        return true;
 5097|      0|    }
 5098|     21|    if (type.isCoopMat() &&
  ------------------
  |  Branch (5098:9): [True: 0, False: 21]
  ------------------
 5099|      0|        !(function[0].type->isScalar() || function[0].type->isCoopMat())) {
  ------------------
  |  Branch (5099:11): [True: 0, False: 0]
  |  Branch (5099:43): [True: 0, False: 0]
  ------------------
 5100|      0|        error(loc, "Cooperative matrix constructor argument must be scalar or cooperative matrix", constructorString.c_str(), "");
 5101|      0|        return true;
 5102|      0|    }
 5103|       |
 5104|     21|    TIntermTyped* typed = node->getAsTyped();
 5105|     21|    if (typed == nullptr) {
  ------------------
  |  Branch (5105:9): [True: 0, False: 21]
  ------------------
 5106|      0|        error(loc, "constructor argument does not have a type", constructorString.c_str(), "");
 5107|      0|        return true;
 5108|      0|    }
 5109|       |
 5110|     21|    if (type.isCoopMat() && typed->getType().isCoopMat()) {
  ------------------
  |  Branch (5110:9): [True: 0, False: 21]
  |  Branch (5110:29): [True: 0, False: 0]
  ------------------
 5111|      0|        static constexpr int CM_UseA = 0;   // == gl_MatrixUseA
 5112|      0|        static constexpr int CM_UseB = 1;   // == gl_MatrixUseB
 5113|      0|        static constexpr int CM_UseAcc = 2; // == gl_MatrixUseAccumulator
 5114|       |
 5115|      0|        int dstUse = type.getCoopMatKHRuse();
 5116|      0|        int srcUse = typed->getType().getCoopMatKHRuse();
 5117|       |
 5118|      0|        if (extensionTurnedOn(E_GL_EXT_cooperative_matrix_maintenance1)) {
  ------------------
  |  Branch (5118:13): [True: 0, False: 0]
  ------------------
 5119|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5119:38): [True: 0, False: 0]
  ------------------
 5120|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB)) ||
  ------------------
  |  Branch (5120:38): [True: 0, False: 0]
  |  Branch (5120:62): [True: 0, False: 0]
  |  Branch (5120:83): [True: 0, False: 0]
  ------------------
 5121|      0|                                    (dstUse == CM_UseAcc && (srcUse == CM_UseA || srcUse == CM_UseB));
  ------------------
  |  Branch (5121:38): [True: 0, False: 0]
  |  Branch (5121:62): [True: 0, False: 0]
  |  Branch (5121:83): [True: 0, False: 0]
  ------------------
 5122|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5122:17): [True: 0, False: 0]
  |  Branch (5122:61): [True: 0, False: 0]
  ------------------
 5123|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5124|      0|                return true;
 5125|      0|            }
 5126|      0|        } else if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5126:20): [True: 0, False: 0]
  ------------------
 5127|      0|            bool allowedConversion = srcUse == dstUse ||
  ------------------
  |  Branch (5127:38): [True: 0, False: 0]
  ------------------
 5128|      0|                                    (srcUse == CM_UseAcc && (dstUse == CM_UseA || dstUse == CM_UseB));
  ------------------
  |  Branch (5128:38): [True: 0, False: 0]
  |  Branch (5128:62): [True: 0, False: 0]
  |  Branch (5128:83): [True: 0, False: 0]
  ------------------
 5129|      0|            if (!type.sameCoopMatShape(typed->getType()) || !allowedConversion) {
  ------------------
  |  Branch (5129:17): [True: 0, False: 0]
  |  Branch (5129:61): [True: 0, False: 0]
  ------------------
 5130|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5131|      0|                return true;
 5132|      0|            }
 5133|      0|        } else {
 5134|      0|            if (!type.sameCoopMatShapeAndUse(typed->getType())) {
  ------------------
  |  Branch (5134:17): [True: 0, False: 0]
  ------------------
 5135|      0|                error(loc, "Cooperative matrix type parameters mismatch", constructorString.c_str(), "");
 5136|      0|                return true;
 5137|      0|            }
 5138|      0|        }
 5139|      0|    }
 5140|       |
 5141|     21|    if (op != EOpConstructStruct && op != EOpConstructNonuniform && typed->getBasicType() == EbtSampler) {
  ------------------
  |  Branch (5141:9): [True: 21, False: 0]
  |  Branch (5141:37): [True: 21, False: 0]
  |  Branch (5141:69): [True: 0, False: 21]
  ------------------
 5142|      0|        if (op == EOpConstructUVec2 && extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5142:13): [True: 0, False: 0]
  |  Branch (5142:40): [True: 0, False: 0]
  ------------------
 5143|      0|            intermediate.setBindlessTextureMode(currentCaller, AstRefTypeFunc);
 5144|      0|        }
 5145|      0|        else {
 5146|      0|            error(loc, "cannot convert a sampler", constructorString.c_str(), "");
 5147|      0|            return true;
 5148|      0|        }
 5149|      0|    }
 5150|     21|    if (op != EOpConstructStruct && typed->isAtomic()) {
  ------------------
  |  Branch (5150:9): [True: 21, False: 0]
  |  Branch (5150:37): [True: 0, False: 21]
  ------------------
 5151|      0|        error(loc, "cannot convert an atomic_uint", constructorString.c_str(), "");
 5152|      0|        return true;
 5153|      0|    }
 5154|     21|    if (typed->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (5154:9): [True: 0, False: 21]
  ------------------
 5155|      0|        error(loc, "cannot convert a void", constructorString.c_str(), "");
 5156|      0|        return true;
 5157|      0|    }
 5158|       |
 5159|     21|    return false;
 5160|     21|}
_ZN7glslang13TParseContext14voidErrorCheckERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEENS_10TBasicTypeE:
 5248|  4.20k|{
 5249|  4.20k|    if (basicType == EbtVoid) {
  ------------------
  |  Branch (5249:9): [True: 0, False: 4.20k]
  ------------------
 5250|      0|        error(loc, "illegal use of type 'void'", identifier.c_str(), "");
 5251|      0|        return true;
 5252|      0|    }
 5253|       |
 5254|  4.20k|    return false;
 5255|  4.20k|}
_ZN7glslang13TParseContext12samplerCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedE:
 5272|  3.75k|{
 5273|       |    // Check that the appropriate extension is enabled if external sampler is used.
 5274|       |    // There are two extensions. The correct one must be used based on GLSL version.
 5275|  3.75k|    if (type.getBasicType() == EbtSampler && type.getSampler().isExternal()) {
  ------------------
  |  Branch (5275:9): [True: 0, False: 3.75k]
  |  Branch (5275:46): [True: 0, False: 0]
  ------------------
 5276|      0|        if (version < 300) {
  ------------------
  |  Branch (5276:13): [True: 0, False: 0]
  ------------------
 5277|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external, "samplerExternalOES");
 5278|      0|        } else {
 5279|      0|            requireExtensions(loc, 1, &E_GL_OES_EGL_image_external_essl3, "samplerExternalOES");
 5280|      0|        }
 5281|      0|    }
 5282|  3.75k|    if (type.getSampler().isYuv()) {
  ------------------
  |  Branch (5282:9): [True: 0, False: 3.75k]
  ------------------
 5283|      0|        requireExtensions(loc, 1, &E_GL_EXT_YUV_target, "__samplerExternal2DY2YEXT");
 5284|      0|    }
 5285|       |
 5286|  3.75k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5286:9): [True: 106, False: 3.64k]
  ------------------
 5287|    106|        return;
 5288|       |
 5289|  3.64k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtSampler)) {
  ------------------
  |  Branch (5289:9): [True: 0, False: 3.64k]
  |  Branch (5289:45): [True: 0, False: 0]
  ------------------
 5290|       |        // For bindless texture, sampler can be declared as an struct member
 5291|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5291:13): [True: 0, False: 0]
  ------------------
 5292|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5292:17): [True: 0, False: 0]
  ------------------
 5293|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5294|      0|            else
 5295|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5296|      0|        }
 5297|      0|        else {
 5298|      0|            error(loc, "non-uniform struct contains a sampler or image:", type.getBasicTypeString().c_str(), identifier.c_str());
 5299|      0|        }
 5300|      0|    }
 5301|  3.64k|    else if (type.getBasicType() == EbtSampler && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5301:14): [True: 0, False: 3.64k]
  |  Branch (5301:51): [True: 0, False: 0]
  ------------------
 5302|       |        // For bindless texture, sampler can be declared as an input/output/block member
 5303|      0|        if (extensionTurnedOn(E_GL_ARB_bindless_texture)) {
  ------------------
  |  Branch (5303:13): [True: 0, False: 0]
  ------------------
 5304|      0|            if (type.getSampler().isImage())
  ------------------
  |  Branch (5304:17): [True: 0, False: 0]
  ------------------
 5305|      0|                intermediate.setBindlessImageMode(currentCaller, AstRefTypeVar);
 5306|      0|            else
 5307|      0|                intermediate.setBindlessTextureMode(currentCaller, AstRefTypeVar);
 5308|      0|        }
 5309|      0|        else {
 5310|       |            // non-uniform sampler
 5311|       |            // not yet:  okay if it has an initializer
 5312|       |            // if (! initializer)
 5313|      0|            if (type.getSampler().isAttachmentEXT() && type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5313:17): [True: 0, False: 0]
  |  Branch (5313:56): [True: 0, False: 0]
  ------------------
 5314|      0|                 error(loc, "can only be used in tileImageEXT variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5315|      0|            else if (type.getQualifier().storage != EvqTileImageEXT)
  ------------------
  |  Branch (5315:22): [True: 0, False: 0]
  ------------------
 5316|      0|                 error(loc, "sampler/image types can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5317|      0|        }
 5318|      0|    }
 5319|  3.64k|    else if (type.isTensorARM() && type.getQualifier().storage != EvqUniform) {
  ------------------
  |  Branch (5319:14): [True: 0, False: 3.64k]
  |  Branch (5319:36): [True: 0, False: 0]
  ------------------
 5320|      0|        error(loc, "tensorARM types can only be used in uniform variables or function parameters:", "tensorARM", identifier.c_str());
 5321|      0|    }
 5322|  3.64k|}
_ZN7glslang13TParseContext15atomicUintCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5325|  3.75k|{
 5326|  3.75k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5326:9): [True: 106, False: 3.64k]
  ------------------
 5327|    106|        return;
 5328|       |
 5329|  3.64k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAtomicUint))
  ------------------
  |  Branch (5329:9): [True: 0, False: 3.64k]
  |  Branch (5329:45): [True: 0, False: 0]
  ------------------
 5330|      0|        error(loc, "non-uniform struct contains an atomic_uint:", type.getBasicTypeString().c_str(), identifier.c_str());
 5331|  3.64k|    else if (type.getBasicType() == EbtAtomicUint && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5331:14): [True: 0, False: 3.64k]
  |  Branch (5331:54): [True: 0, False: 0]
  ------------------
 5332|      0|        error(loc, "atomic_uints can only be used in uniform variables or function parameters:", type.getBasicTypeString().c_str(), identifier.c_str());
 5333|  3.64k|}
_ZN7glslang13TParseContext14accStructCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5336|  3.75k|{
 5337|  3.75k|    if (type.getQualifier().storage == EvqUniform)
  ------------------
  |  Branch (5337:9): [True: 106, False: 3.64k]
  ------------------
 5338|    106|        return;
 5339|       |
 5340|  3.64k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtAccStruct))
  ------------------
  |  Branch (5340:9): [True: 0, False: 3.64k]
  |  Branch (5340:45): [True: 0, False: 0]
  ------------------
 5341|      0|        error(loc, "non-uniform struct contains an accelerationStructureNV:", type.getBasicTypeString().c_str(), identifier.c_str());
 5342|  3.64k|    else if (type.getBasicType() == EbtAccStruct && type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5342:14): [True: 0, False: 3.64k]
  |  Branch (5342:53): [True: 0, False: 0]
  ------------------
 5343|      0|        error(loc, "accelerationStructureNV can only be used in uniform variables or function parameters:",
 5344|      0|            type.getBasicTypeString().c_str(), identifier.c_str());
 5345|       |
 5346|  3.64k|}
_ZN7glslang13TParseContext17hitObjectEXTCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5349|  3.75k|{
 5350|  3.75k|    if (type.getBasicType() == EbtStruct && containsFieldWithBasicType(type, EbtHitObjectEXT)) {
  ------------------
  |  Branch (5350:9): [True: 15, False: 3.73k]
  |  Branch (5350:45): [True: 0, False: 15]
  ------------------
 5351|      0|        error(loc, "struct is not allowed to contain hitObjectEXT:", type.getTypeName().c_str(), identifier.c_str());
 5352|  3.75k|    } else if (type.getBasicType() == EbtHitObjectEXT) {
  ------------------
  |  Branch (5352:16): [True: 0, False: 3.75k]
  ------------------
 5353|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5354|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5354:13): [True: 0, False: 0]
  |  Branch (5354:39): [True: 0, False: 0]
  ------------------
 5355|      0|            error(loc, "hitObjectEXT can only be declared in global or function scope with no storage qualifier:", "hitObjectEXT", identifier.c_str());
 5356|      0|        }
 5357|      0|    }
 5358|  3.75k|}
_ZN7glslang13TParseContext16hitObjectNVCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5360|  3.75k|{
 5361|  3.75k|    if (type.getBasicType() == EbtStruct && ( containsFieldWithBasicType(type, EbtHitObjectNV))) {
  ------------------
  |  Branch (5361:9): [True: 15, False: 3.73k]
  |  Branch (5361:45): [True: 0, False: 15]
  ------------------
 5362|      0|        error(loc, "struct is not allowed to contain hitObjectNV:", type.getTypeName().c_str(), identifier.c_str());
 5363|  3.75k|    } else if ((type.getBasicType() == EbtHitObjectNV)) {
  ------------------
  |  Branch (5363:16): [True: 0, False: 3.75k]
  ------------------
 5364|      0|        TStorageQualifier qualifier = type.getQualifier().storage;
 5365|      0|        if (qualifier != EvqGlobal && qualifier != EvqTemporary) {
  ------------------
  |  Branch (5365:13): [True: 0, False: 0]
  |  Branch (5365:39): [True: 0, False: 0]
  ------------------
 5366|      0|            error(loc, "hitObjectNV can only be declared in global or function scope with no storage qualifier:", "hitObjectNV", identifier.c_str());
 5367|      0|        }
 5368|      0|    }
 5369|  3.75k|}
_ZN7glslang13TParseContext22transparentOpaqueCheckERKNS_10TSourceLocERKNS_5TTypeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS_14pool_allocatorIcEEEE:
 5372|  3.75k|{
 5373|  3.75k|    if (parsingBuiltins)
  ------------------
  |  Branch (5373:9): [True: 3.73k, False: 17]
  ------------------
 5374|  3.73k|        return;
 5375|       |
 5376|     17|    if (type.getQualifier().storage != EvqUniform)
  ------------------
  |  Branch (5376:9): [True: 17, False: 0]
  ------------------
 5377|     17|        return;
 5378|       |
 5379|      0|    if (type.containsNonOpaque()) {
  ------------------
  |  Branch (5379:9): [True: 0, False: 0]
  ------------------
 5380|       |        // Vulkan doesn't allow transparent uniforms outside of blocks
 5381|      0|        if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (5381:13): [True: 0, False: 0]
  |  Branch (5381:38): [True: 0, False: 0]
  ------------------
 5382|      0|            vulkanRemoved(loc, "non-opaque uniforms outside a block");
 5383|       |        // OpenGL wants locations on these (unless they are getting automapped)
 5384|      0|        if (spvVersion.openGl > 0 && !type.getQualifier().hasLocation() && !intermediate.getAutoMapLocations())
  ------------------
  |  Branch (5384:13): [True: 0, False: 0]
  |  Branch (5384:38): [True: 0, False: 0]
  |  Branch (5384:76): [True: 0, False: 0]
  ------------------
 5385|      0|            error(loc, "non-opaque uniform variables need a layout(location=L)", identifier.c_str(), "");
 5386|      0|    }
 5387|      0|}
_ZN7glslang13TParseContext20memberQualifierCheckERNS_11TPublicTypeE:
 5393|     59|{
 5394|     59|    globalQualifierFixCheck(publicType.loc, publicType.qualifier, true);
 5395|     59|    checkNoShaderLayouts(publicType.loc, publicType.shaderQualifiers);
 5396|     59|    if (publicType.qualifier.isNonUniform()) {
  ------------------
  |  Branch (5396:9): [True: 0, False: 59]
  ------------------
 5397|      0|        error(publicType.loc, "not allowed on block or structure members", "nonuniformEXT", "");
 5398|      0|        publicType.qualifier.nonUniform = false;
 5399|      0|    }
 5400|     59|    if (publicType.qualifier.isPatch()) {
  ------------------
  |  Branch (5400:9): [True: 0, False: 59]
  ------------------
 5401|      0|        error(publicType.loc, "not allowed on block or structure members",
 5402|      0|              "patch", "");
 5403|      0|    }
 5404|     59|}
_ZN7glslang13TParseContext23globalQualifierFixCheckERKNS_10TSourceLocERNS_10TQualifierEbPKNS_11TPublicTypeE:
 5410|  9.47k|{
 5411|  9.47k|    bool nonuniformOkay = false;
 5412|       |
 5413|       |    // move from parameter/unknown qualifiers to pipeline in/out qualifiers
 5414|  9.47k|    switch (qualifier.storage) {
 5415|  2.43k|    case EvqIn:
  ------------------
  |  Branch (5415:5): [True: 2.43k, False: 7.03k]
  ------------------
 5416|  2.43k|        profileRequires(loc, ENoProfile, 130, nullptr, "in for stage inputs");
 5417|  2.43k|        profileRequires(loc, EEsProfile, 300, nullptr, "in for stage inputs");
 5418|  2.43k|        qualifier.storage = EvqVaryingIn;
 5419|  2.43k|        nonuniformOkay = true;
 5420|  2.43k|        break;
 5421|    294|    case EvqOut:
  ------------------
  |  Branch (5421:5): [True: 294, False: 9.18k]
  ------------------
 5422|    294|        profileRequires(loc, ENoProfile, 130, nullptr, "out for stage outputs");
 5423|    294|        profileRequires(loc, EEsProfile, 300, nullptr, "out for stage outputs");
 5424|    294|        qualifier.storage = EvqVaryingOut;
 5425|    294|        if (intermediate.isInvariantAll())
  ------------------
  |  Branch (5425:13): [True: 0, False: 294]
  ------------------
 5426|      0|            qualifier.invariant = true;
 5427|    294|        break;
 5428|      0|    case EvqInOut:
  ------------------
  |  Branch (5428:5): [True: 0, False: 9.47k]
  ------------------
 5429|      0|        qualifier.storage = EvqVaryingIn;
 5430|      0|        error(loc, "cannot use 'inout' at global scope", "", "");
 5431|      0|        break;
 5432|  5.43k|    case EvqGlobal:
  ------------------
  |  Branch (5432:5): [True: 5.43k, False: 4.04k]
  ------------------
 5433|  5.46k|    case EvqTemporary:
  ------------------
  |  Branch (5433:5): [True: 35, False: 9.43k]
  ------------------
 5434|  5.46k|        nonuniformOkay = true;
 5435|  5.46k|        break;
 5436|    106|    case EvqUniform:
  ------------------
  |  Branch (5436:5): [True: 106, False: 9.36k]
  ------------------
 5437|       |        // According to GLSL spec: The std430 qualifier is supported only for shader storage blocks; a shader using
 5438|       |        // the std430 qualifier on a uniform block will fail to compile.
 5439|       |        // Only check the global declaration: layout(std430) uniform;
 5440|    106|        if (blockName == nullptr &&
  ------------------
  |  Branch (5440:13): [True: 71, False: 35]
  ------------------
 5441|     71|            qualifier.layoutPacking == ElpStd430)
  ------------------
  |  Branch (5441:13): [True: 0, False: 71]
  ------------------
 5442|      0|        {
 5443|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "default std430 layout for uniform");
 5444|      0|        }
 5445|       |
 5446|    106|        if (publicType != nullptr && publicType->isImage() &&
  ------------------
  |  Branch (5446:13): [True: 106, False: 0]
  |  Branch (5446:38): [True: 0, False: 106]
  ------------------
 5447|      0|            (qualifier.layoutFormat > ElfExtSizeGuard && qualifier.layoutFormat < ElfCount))
  ------------------
  |  Branch (5447:14): [True: 0, False: 0]
  |  Branch (5447:58): [True: 0, False: 0]
  ------------------
 5448|      0|            qualifier.layoutFormat = mapLegacyLayoutFormat(qualifier.layoutFormat, publicType->sampler.getBasicType());
 5449|       |
 5450|    106|        break;
 5451|  1.17k|    default:
  ------------------
  |  Branch (5451:5): [True: 1.17k, False: 8.30k]
  ------------------
 5452|  1.17k|        break;
 5453|  9.47k|    }
 5454|       |
 5455|  9.47k|    if (!nonuniformOkay && qualifier.isNonUniform())
  ------------------
  |  Branch (5455:9): [True: 1.57k, False: 7.90k]
  |  Branch (5455:28): [True: 0, False: 1.57k]
  ------------------
 5456|      0|        error(loc, "for non-parameter, can only apply to 'in' or no storage qualifier", "nonuniformEXT", "");
 5457|       |
 5458|  9.47k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (5458:9): [True: 0, False: 9.47k]
  ------------------
 5459|      0|        error(loc, "can only apply to parameter", "spirv_by_reference", "");
 5460|       |
 5461|  9.47k|    if (qualifier.isSpirvLiteral())
  ------------------
  |  Branch (5461:9): [True: 0, False: 9.47k]
  ------------------
 5462|      0|        error(loc, "can only apply to parameter", "spirv_literal", "");
 5463|       |
 5464|       |    // Storage qualifier isn't ready for memberQualifierCheck, we should skip invariantCheck for it.
 5465|  9.47k|    if (!isMemberCheck || structNestingLevel > 0)
  ------------------
  |  Branch (5465:9): [True: 9.41k, False: 59]
  |  Branch (5465:27): [True: 24, False: 35]
  ------------------
 5466|  9.43k|        invariantCheck(loc, qualifier);
 5467|       |
 5468|  9.47k|    if (qualifier.isFullQuads()) {
  ------------------
  |  Branch (5468:9): [True: 0, False: 9.47k]
  ------------------
 5469|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5469:13): [True: 0, False: 0]
  ------------------
 5470|      0|            error(loc, "can only apply to input layout", "full_quads ", "");
 5471|      0|        intermediate.setReqFullQuadsMode();
 5472|      0|    }
 5473|       |
 5474|  9.47k|    if (qualifier.isQuadDeriv()) {
  ------------------
  |  Branch (5474:9): [True: 0, False: 9.47k]
  ------------------
 5475|      0|        if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (5475:13): [True: 0, False: 0]
  ------------------
 5476|      0|            error(loc, "can only apply to input layout", "quad_derivatives", "");
 5477|      0|        intermediate.setQuadDerivMode();
 5478|      0|    }
 5479|  9.47k|}
_ZN7glslang13TParseContext24globalQualifierTypeCheckERKNS_10TSourceLocERKNS_10TQualifierERKNS_11TPublicTypeE:
 5485|   103k|{
 5486|   103k|    if (! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (5486:9): [True: 0, False: 103k]
  ------------------
 5487|      0|        return;
 5488|       |
 5489|   103k|    if (!(publicType.userDef && publicType.userDef->isReference()) && !publicType.isTensorARM() && !parsingBuiltins) {
  ------------------
  |  Branch (5489:11): [True: 44, False: 103k]
  |  Branch (5489:33): [True: 0, False: 44]
  |  Branch (5489:71): [True: 103k, False: 0]
  |  Branch (5489:100): [True: 1, False: 103k]
  ------------------
 5490|      1|        if (qualifier.isMemoryQualifierImageAndSSBOOnly() && ! publicType.isImage() && publicType.qualifier.storage != EvqBuffer) {
  ------------------
  |  Branch (5490:13): [True: 0, False: 1]
  |  Branch (5490:62): [True: 0, False: 0]
  |  Branch (5490:88): [True: 0, False: 0]
  ------------------
 5491|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5492|      1|        } else if (qualifier.isMemory() && (publicType.basicType != EbtSampler) && !publicType.qualifier.isUniformOrBuffer()) {
  ------------------
  |  Branch (5492:20): [True: 0, False: 1]
  |  Branch (5492:44): [True: 0, False: 0]
  |  Branch (5492:84): [True: 0, False: 0]
  ------------------
 5493|      0|            error(loc, "memory qualifiers cannot be used on this type", "", "");
 5494|      0|        }
 5495|      1|    }
 5496|       |
 5497|   103k|    if (qualifier.storage == EvqBuffer &&
  ------------------
  |  Branch (5497:9): [True: 0, False: 103k]
  ------------------
 5498|      0|        publicType.basicType != EbtBlock &&
  ------------------
  |  Branch (5498:9): [True: 0, False: 0]
  ------------------
 5499|      0|        !qualifier.hasBufferReference() &&
  ------------------
  |  Branch (5499:9): [True: 0, False: 0]
  ------------------
 5500|      0|        !qualifier.isBufferType())
  ------------------
  |  Branch (5500:9): [True: 0, False: 0]
  ------------------
 5501|      0|        error(loc, "buffers can be declared only as blocks", "buffer", "");
 5502|       |
 5503|   103k|    if (qualifier.storage != EvqVaryingIn && publicType.basicType == EbtDouble &&
  ------------------
  |  Branch (5503:9): [True: 100k, False: 2.42k]
  |  Branch (5503:46): [True: 4.03k, False: 96.9k]
  ------------------
 5504|  4.03k|        extensionTurnedOn(E_GL_ARB_vertex_attrib_64bit) && language == EShLangVertex &&
  ------------------
  |  Branch (5504:9): [True: 0, False: 4.03k]
  |  Branch (5504:60): [True: 0, False: 0]
  ------------------
 5505|      0|        version < 400) {
  ------------------
  |  Branch (5505:9): [True: 0, False: 0]
  ------------------
 5506|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 410, E_GL_ARB_gpu_shader_fp64, "vertex-shader `double` type");
 5507|      0|    }
 5508|   103k|    if (qualifier.storage != EvqVaryingIn && qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (5508:9): [True: 100k, False: 2.42k]
  |  Branch (5508:46): [True: 100k, False: 238]
  ------------------
 5509|   100k|        return;
 5510|       |
 5511|  2.66k|    if (publicType.shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (5511:9): [True: 0, False: 2.66k]
  ------------------
 5512|      0|        error(loc, "can only be applied to a standalone 'out'", "blend equation", "");
 5513|       |
 5514|       |    // now, knowing it is a shader in/out, do all the in/out semantic checks
 5515|       |
 5516|  2.66k|    if (isTypeInt(publicType.basicType) || publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5516:9): [True: 2.59k, False: 77]
  |  Branch (5516:44): [True: 0, False: 77]
  ------------------
 5517|  2.59k|        profileRequires(loc, EEsProfile, 300, nullptr, "non-float shader input/output");
 5518|  2.59k|        profileRequires(loc, ~EEsProfile, 130, nullptr, "non-float shader input/output");
 5519|  2.59k|    }
 5520|       |
 5521|  2.66k|    if (!qualifier.flat && !qualifier.isExplicitInterpolation() && !qualifier.isPervertexNV() && !qualifier.isPervertexEXT()) {
  ------------------
  |  Branch (5521:9): [True: 2.66k, False: 0]
  |  Branch (5521:28): [True: 2.66k, False: 0]
  |  Branch (5521:68): [True: 2.66k, False: 0]
  |  Branch (5521:98): [True: 2.66k, False: 0]
  ------------------
 5522|  2.66k|        if (isTypeInt(publicType.basicType) ||
  ------------------
  |  Branch (5522:13): [True: 2.59k, False: 77]
  ------------------
 5523|     77|            publicType.basicType == EbtDouble ||
  ------------------
  |  Branch (5523:13): [True: 0, False: 77]
  ------------------
 5524|     77|            (publicType.userDef && (   publicType.userDef->containsBasicType(EbtInt)
  ------------------
  |  Branch (5524:14): [True: 0, False: 77]
  |  Branch (5524:40): [True: 0, False: 0]
  ------------------
 5525|      0|                                    || publicType.userDef->containsBasicType(EbtUint)
  ------------------
  |  Branch (5525:40): [True: 0, False: 0]
  ------------------
 5526|      0|                                    || publicType.userDef->contains16BitInt()
  ------------------
  |  Branch (5526:40): [True: 0, False: 0]
  ------------------
 5527|      0|                                    || publicType.userDef->contains8BitInt()
  ------------------
  |  Branch (5527:40): [True: 0, False: 0]
  ------------------
 5528|      0|                                    || publicType.userDef->contains64BitInt()
  ------------------
  |  Branch (5528:40): [True: 0, False: 0]
  ------------------
 5529|  2.59k|                                    || publicType.userDef->containsDouble()))) {
  ------------------
  |  Branch (5529:40): [True: 0, False: 0]
  ------------------
 5530|  2.59k|            if (qualifier.storage == EvqVaryingIn && language == EShLangFragment)
  ------------------
  |  Branch (5530:17): [True: 2.40k, False: 182]
  |  Branch (5530:54): [True: 0, False: 2.40k]
  ------------------
 5531|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5532|  2.59k|            else if (qualifier.storage == EvqVaryingOut && language == EShLangVertex && version == 300)
  ------------------
  |  Branch (5532:22): [True: 182, False: 2.40k]
  |  Branch (5532:60): [True: 42, False: 140]
  |  Branch (5532:89): [True: 0, False: 42]
  ------------------
 5533|      0|                error(loc, "must be qualified as flat", TType::getBasicString(publicType.basicType), GetStorageQualifierString(qualifier.storage));
 5534|  2.59k|        }
 5535|  2.66k|    }
 5536|       |
 5537|  2.66k|    if (qualifier.isPatch() && qualifier.isInterpolation())
  ------------------
  |  Branch (5537:9): [True: 28, False: 2.63k]
  |  Branch (5537:32): [True: 0, False: 28]
  ------------------
 5538|      0|        error(loc, "cannot use interpolation qualifiers with patch", "patch", "");
 5539|       |
 5540|       |    // Only "patch in" is supported via GL_NV_gpu_shader5
 5541|  2.66k|    if (! symbolTable.atBuiltInLevel() && qualifier.isPatch() && 
  ------------------
  |  Branch (5541:9): [True: 0, False: 2.66k]
  |  Branch (5541:43): [True: 0, False: 0]
  ------------------
 5542|      0|        (language == EShLangGeometry) && qualifier.storage != EvqVaryingIn &&
  ------------------
  |  Branch (5542:9): [True: 0, False: 0]
  |  Branch (5542:42): [True: 0, False: 0]
  ------------------
 5543|      0|        extensionTurnedOn(E_GL_NV_gpu_shader5))
  ------------------
  |  Branch (5543:9): [True: 0, False: 0]
  ------------------
 5544|      0|            error(loc, "only 'patch in' is supported in this stage:", "patch", "geometry");
 5545|       |
 5546|  2.66k|    if (qualifier.isTaskPayload() && publicType.basicType == EbtBlock)
  ------------------
  |  Branch (5546:9): [True: 0, False: 2.66k]
  |  Branch (5546:38): [True: 0, False: 0]
  ------------------
 5547|      0|        error(loc, "taskPayloadSharedEXT variables should not be declared as interface blocks", "taskPayloadSharedEXT", "");
 5548|       |
 5549|  2.66k|    if (qualifier.isTaskMemory() && publicType.basicType != EbtBlock)
  ------------------
  |  Branch (5549:9): [True: 0, False: 2.66k]
  |  Branch (5549:37): [True: 0, False: 0]
  ------------------
 5550|      0|        error(loc, "taskNV variables can be declared only as blocks", "taskNV", "");
 5551|       |
 5552|  2.66k|    if (qualifier.storage == EvqVaryingIn) {
  ------------------
  |  Branch (5552:9): [True: 2.42k, False: 238]
  ------------------
 5553|  2.42k|        switch (language) {
 5554|    217|        case EShLangVertex:
  ------------------
  |  Branch (5554:9): [True: 217, False: 2.21k]
  ------------------
 5555|    217|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5555:17): [True: 0, False: 217]
  ------------------
 5556|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5557|      0|                return;
 5558|      0|            }
 5559|    217|            if (publicType.arraySizes) {
  ------------------
  |  Branch (5559:17): [True: 0, False: 217]
  ------------------
 5560|      0|                requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5561|      0|                profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5562|      0|            }
 5563|    217|            if (publicType.basicType == EbtDouble) {
  ------------------
  |  Branch (5563:17): [True: 0, False: 217]
  ------------------
 5564|      0|            	const char* const float64_attrib[] = {E_GL_NV_gpu_shader5, E_GL_ARB_vertex_attrib_64bit};
 5565|      0|                const int Num_float64_attrib = sizeof(float64_attrib) / sizeof(float64_attrib[0]);        
 5566|      0|                profileRequires(loc, ~EEsProfile, 410, Num_float64_attrib, float64_attrib, "vertex-shader `double` type input");
 5567|      0|			}
 5568|    217|            if (qualifier.isAuxiliary() || qualifier.isInterpolation() || qualifier.isMemory() || qualifier.invariant)
  ------------------
  |  Branch (5568:17): [True: 0, False: 217]
  |  Branch (5568:44): [True: 0, False: 217]
  |  Branch (5568:75): [True: 0, False: 217]
  |  Branch (5568:99): [True: 0, False: 217]
  ------------------
 5569|      0|                error(loc, "vertex input cannot be further qualified", "", "");
 5570|    217|            break;
 5571|      0|        case EShLangFragment:
  ------------------
  |  Branch (5571:9): [True: 0, False: 2.42k]
  ------------------
 5572|      0|            if (publicType.userDef) {
  ------------------
  |  Branch (5572:17): [True: 0, False: 0]
  ------------------
 5573|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "fragment-shader struct input");
 5574|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "fragment-shader struct input");
 5575|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5575:21): [True: 0, False: 0]
  ------------------
 5576|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing structure");
 5577|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5577:21): [True: 0, False: 0]
  ------------------
 5578|      0|                    requireProfile(loc, ~EEsProfile, "fragment-shader struct input containing an array");
 5579|      0|            }
 5580|      0|            break;
 5581|    210|       case EShLangCompute:
  ------------------
  |  Branch (5581:8): [True: 210, False: 2.21k]
  ------------------
 5582|    210|            if (! symbolTable.atBuiltInLevel())
  ------------------
  |  Branch (5582:17): [True: 0, False: 210]
  ------------------
 5583|      0|                error(loc, "global storage input qualifier cannot be used in a compute shader", "in", "");
 5584|    210|            break;
 5585|    189|       case EShLangTessControl:
  ------------------
  |  Branch (5585:8): [True: 189, False: 2.24k]
  ------------------
 5586|    189|            if (qualifier.patch)
  ------------------
  |  Branch (5586:17): [True: 0, False: 189]
  ------------------
 5587|      0|                error(loc, "can only use on output in tessellation-control shader", "patch", "");
 5588|    189|            break;
 5589|  1.81k|        default:
  ------------------
  |  Branch (5589:9): [True: 1.81k, False: 616]
  ------------------
 5590|  1.81k|            break;
 5591|  2.42k|        }
 5592|  2.42k|    } else {
 5593|       |        // qualifier.storage == EvqVaryingOut
 5594|    238|        switch (language) {
 5595|     56|        case EShLangVertex:
  ------------------
  |  Branch (5595:9): [True: 56, False: 182]
  ------------------
 5596|     56|            if (publicType.userDef) {
  ------------------
  |  Branch (5596:17): [True: 0, False: 56]
  ------------------
 5597|      0|                profileRequires(loc, EEsProfile, 300, nullptr, "vertex-shader struct output");
 5598|      0|                profileRequires(loc, ~EEsProfile, 150, nullptr, "vertex-shader struct output");
 5599|      0|                if (publicType.userDef->containsStructure())
  ------------------
  |  Branch (5599:21): [True: 0, False: 0]
  ------------------
 5600|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing structure");
 5601|      0|                if (publicType.userDef->containsArray())
  ------------------
  |  Branch (5601:21): [True: 0, False: 0]
  ------------------
 5602|      0|                    requireProfile(loc, ~EEsProfile, "vertex-shader struct output containing an array");
 5603|      0|            }
 5604|       |
 5605|     56|            break;
 5606|      0|        case EShLangFragment:
  ------------------
  |  Branch (5606:9): [True: 0, False: 238]
  ------------------
 5607|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "fragment shader output");
 5608|      0|            if (publicType.basicType == EbtStruct) {
  ------------------
  |  Branch (5608:17): [True: 0, False: 0]
  ------------------
 5609|      0|                error(loc, "cannot be a structure", GetStorageQualifierString(qualifier.storage), "");
 5610|      0|                return;
 5611|      0|            }
 5612|      0|            if (publicType.matrixRows > 0) {
  ------------------
  |  Branch (5612:17): [True: 0, False: 0]
  ------------------
 5613|      0|                error(loc, "cannot be a matrix", GetStorageQualifierString(qualifier.storage), "");
 5614|      0|                return;
 5615|      0|            }
 5616|      0|            if (qualifier.isAuxiliary())
  ------------------
  |  Branch (5616:17): [True: 0, False: 0]
  ------------------
 5617|      0|                error(loc, "can't use auxiliary qualifier on a fragment output", "centroid/sample/patch", "");
 5618|      0|            if (qualifier.isInterpolation())
  ------------------
  |  Branch (5618:17): [True: 0, False: 0]
  ------------------
 5619|      0|                error(loc, "can't use interpolation qualifier on a fragment output", "flat/smooth/noperspective", "");
 5620|      0|            if (publicType.basicType == EbtDouble || publicType.basicType == EbtInt64 || publicType.basicType == EbtUint64)
  ------------------
  |  Branch (5620:17): [True: 0, False: 0]
  |  Branch (5620:54): [True: 0, False: 0]
  |  Branch (5620:90): [True: 0, False: 0]
  ------------------
 5621|      0|                error(loc, "cannot contain a double, int64, or uint64", GetStorageQualifierString(qualifier.storage), "");
 5622|      0|        break;
 5623|       |
 5624|      0|        case EShLangCompute:
  ------------------
  |  Branch (5624:9): [True: 0, False: 238]
  ------------------
 5625|      0|            error(loc, "global storage output qualifier cannot be used in a compute shader", "out", "");
 5626|      0|            break;
 5627|     49|        case EShLangTessEvaluation:
  ------------------
  |  Branch (5627:9): [True: 49, False: 189]
  ------------------
 5628|     49|            if (qualifier.patch)
  ------------------
  |  Branch (5628:17): [True: 0, False: 49]
  ------------------
 5629|      0|                error(loc, "can only use on input in tessellation-evaluation shader", "patch", "");
 5630|     49|            break;
 5631|    133|        default:
  ------------------
  |  Branch (5631:9): [True: 133, False: 105]
  ------------------
 5632|    133|            break;
 5633|    238|        }
 5634|    238|    }
 5635|  2.66k|}
_ZN7glslang13TParseContext15mergeQualifiersERKNS_10TSourceLocERNS_10TQualifierERKS4_b:
 5647|  44.7k|{
 5648|       |    // Multiple auxiliary qualifiers (mostly done later by 'individual qualifiers')
 5649|  44.7k|    if (src.isAuxiliary() && dst.isAuxiliary())
  ------------------
  |  Branch (5649:9): [True: 28, False: 44.7k]
  |  Branch (5649:30): [True: 0, False: 28]
  ------------------
 5650|      0|        error(loc, "can only have one auxiliary qualifier (centroid, patch, and sample)", "", "");
 5651|       |
 5652|       |    // Multiple interpolation qualifiers (mostly done later by 'individual qualifiers')
 5653|  44.7k|    if (src.isInterpolation() && dst.isInterpolation())
  ------------------
  |  Branch (5653:9): [True: 0, False: 44.7k]
  |  Branch (5653:34): [True: 0, False: 0]
  ------------------
 5654|      0|        error(loc, "can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)", "", "");
 5655|       |
 5656|       |    // Ordering
 5657|  44.7k|    if (! force && ((!isEsProfile() && version < 420) ||
  ------------------
  |  Branch (5657:9): [True: 35.6k, False: 9.06k]
  |  Branch (5657:22): [True: 35.6k, False: 36]
  |  Branch (5657:40): [True: 0, False: 35.6k]
  ------------------
 5658|  35.6k|                    (isEsProfile() && version < 310))
  ------------------
  |  Branch (5658:22): [True: 36, False: 35.6k]
  |  Branch (5658:39): [True: 36, False: 0]
  ------------------
 5659|     36|                && ! extensionTurnedOn(E_GL_ARB_shading_language_420pack)) {
  ------------------
  |  Branch (5659:20): [True: 36, False: 0]
  ------------------
 5660|       |        // non-function parameters
 5661|     36|        if (src.isNoContraction() && (dst.invariant || dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5661:13): [True: 0, False: 36]
  |  Branch (5661:39): [True: 0, False: 0]
  |  Branch (5661:56): [True: 0, False: 0]
  |  Branch (5661:81): [True: 0, False: 0]
  |  Branch (5661:102): [True: 0, False: 0]
  |  Branch (5661:133): [True: 0, False: 0]
  ------------------
 5662|      0|            error(loc, "precise qualifier must appear first", "", "");
 5663|     36|        if (src.invariant && (dst.isInterpolation() || dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5663:13): [True: 0, False: 36]
  |  Branch (5663:31): [True: 0, False: 0]
  |  Branch (5663:56): [True: 0, False: 0]
  |  Branch (5663:77): [True: 0, False: 0]
  |  Branch (5663:108): [True: 0, False: 0]
  ------------------
 5664|      0|            error(loc, "invariant qualifier must appear before interpolation, storage, and precision qualifiers ", "", "");
 5665|     36|        else if (src.isInterpolation() && (dst.isAuxiliary() || dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5665:18): [True: 0, False: 36]
  |  Branch (5665:44): [True: 0, False: 0]
  |  Branch (5665:65): [True: 0, False: 0]
  |  Branch (5665:96): [True: 0, False: 0]
  ------------------
 5666|      0|            error(loc, "interpolation qualifiers must appear before storage and precision qualifiers", "", "");
 5667|     36|        else if (src.isAuxiliary() && (dst.storage != EvqTemporary || dst.precision != EpqNone))
  ------------------
  |  Branch (5667:18): [True: 0, False: 36]
  |  Branch (5667:40): [True: 0, False: 0]
  |  Branch (5667:71): [True: 0, False: 0]
  ------------------
 5668|      0|            error(loc, "Auxiliary qualifiers (centroid, patch, and sample) must appear before storage and precision qualifiers", "", "");
 5669|     36|        else if (src.storage != EvqTemporary && (dst.precision != EpqNone))
  ------------------
  |  Branch (5669:18): [True: 36, False: 0]
  |  Branch (5669:49): [True: 0, False: 36]
  ------------------
 5670|      0|            error(loc, "precision qualifier must appear as last qualifier", "", "");
 5671|       |
 5672|       |        // function parameters
 5673|     36|        if (src.isNoContraction() && (dst.storage == EvqConst || dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5673:13): [True: 0, False: 36]
  |  Branch (5673:39): [True: 0, False: 0]
  |  Branch (5673:66): [True: 0, False: 0]
  |  Branch (5673:90): [True: 0, False: 0]
  ------------------
 5674|      0|            error(loc, "precise qualifier must appear first", "", "");
 5675|     36|        if (src.storage == EvqConst && (dst.storage == EvqIn || dst.storage == EvqOut))
  ------------------
  |  Branch (5675:13): [True: 0, False: 36]
  |  Branch (5675:41): [True: 0, False: 0]
  |  Branch (5675:65): [True: 0, False: 0]
  ------------------
 5676|      0|            error(loc, "in/out must appear before const", "", "");
 5677|     36|    }
 5678|       |
 5679|       |    // Storage qualification
 5680|  44.7k|    if (dst.storage == EvqTemporary || dst.storage == EvqGlobal)
  ------------------
  |  Branch (5680:9): [True: 32.7k, False: 12.0k]
  |  Branch (5680:40): [True: 9.06k, False: 2.95k]
  ------------------
 5681|  41.7k|        dst.storage = src.storage;
 5682|  2.95k|    else if ((dst.storage == EvqIn  && src.storage == EvqOut) ||
  ------------------
  |  Branch (5682:15): [True: 2.24k, False: 708]
  |  Branch (5682:40): [True: 0, False: 2.24k]
  ------------------
 5683|  2.95k|             (dst.storage == EvqOut && src.storage == EvqIn))
  ------------------
  |  Branch (5683:15): [True: 252, False: 2.70k]
  |  Branch (5683:40): [True: 0, False: 252]
  ------------------
 5684|      0|        dst.storage = EvqInOut;
 5685|  2.95k|    else if ((dst.storage == EvqIn    && src.storage == EvqConst) ||
  ------------------
  |  Branch (5685:15): [True: 2.24k, False: 708]
  |  Branch (5685:42): [True: 0, False: 2.24k]
  ------------------
 5686|  2.95k|             (dst.storage == EvqConst && src.storage == EvqIn))
  ------------------
  |  Branch (5686:15): [True: 421, False: 2.53k]
  |  Branch (5686:42): [True: 0, False: 421]
  ------------------
 5687|      0|        dst.storage = EvqConstReadOnly;
 5688|  2.95k|    else if (src.storage != EvqTemporary &&
  ------------------
  |  Branch (5688:14): [True: 2.39k, False: 560]
  ------------------
 5689|  2.39k|             src.storage != EvqGlobal)
  ------------------
  |  Branch (5689:14): [True: 0, False: 2.39k]
  ------------------
 5690|      0|        error(loc, "too many storage qualifiers", GetStorageQualifierString(src.storage), "");
 5691|       |
 5692|       |    // Precision qualifiers
 5693|  44.7k|    if (! force && src.precision != EpqNone && dst.precision != EpqNone)
  ------------------
  |  Branch (5693:9): [True: 35.6k, False: 9.06k]
  |  Branch (5693:20): [True: 2.39k, False: 33.2k]
  |  Branch (5693:48): [True: 0, False: 2.39k]
  ------------------
 5694|      0|        error(loc, "only one precision qualifier allowed", GetPrecisionQualifierString(src.precision), "");
 5695|  44.7k|    if (dst.precision == EpqNone || (force && src.precision != EpqNone))
  ------------------
  |  Branch (5695:9): [True: 44.4k, False: 315]
  |  Branch (5695:38): [True: 0, False: 315]
  |  Branch (5695:47): [True: 0, False: 0]
  ------------------
 5696|  44.4k|        dst.precision = src.precision;
 5697|       |
 5698|  44.7k|    if (!force && ((src.coherent && (dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5698:9): [True: 35.6k, False: 9.06k]
  |  Branch (5698:21): [True: 13.8k, False: 21.7k]
  |  Branch (5698:38): [True: 0, False: 13.8k]
  |  Branch (5698:60): [True: 0, False: 13.8k]
  |  Branch (5698:87): [True: 0, False: 13.8k]
  |  Branch (5698:112): [True: 0, False: 13.8k]
  |  Branch (5698:136): [True: 0, False: 13.8k]
  ------------------
 5699|  35.6k|                   (src.devicecoherent && (dst.coherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5699:21): [True: 0, False: 35.6k]
  |  Branch (5699:44): [True: 0, False: 0]
  |  Branch (5699:60): [True: 0, False: 0]
  |  Branch (5699:87): [True: 0, False: 0]
  |  Branch (5699:112): [True: 0, False: 0]
  |  Branch (5699:136): [True: 0, False: 0]
  ------------------
 5700|  35.6k|                   (src.queuefamilycoherent && (dst.coherent || dst.devicecoherent || dst.workgroupcoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5700:21): [True: 0, False: 35.6k]
  |  Branch (5700:49): [True: 0, False: 0]
  |  Branch (5700:65): [True: 0, False: 0]
  |  Branch (5700:87): [True: 0, False: 0]
  |  Branch (5700:112): [True: 0, False: 0]
  |  Branch (5700:136): [True: 0, False: 0]
  ------------------
 5701|  35.6k|                   (src.workgroupcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.subgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5701:21): [True: 0, False: 35.6k]
  |  Branch (5701:47): [True: 0, False: 0]
  |  Branch (5701:63): [True: 0, False: 0]
  |  Branch (5701:85): [True: 0, False: 0]
  |  Branch (5701:112): [True: 0, False: 0]
  |  Branch (5701:136): [True: 0, False: 0]
  ------------------
 5702|  35.6k|                   (src.subgroupcoherent  && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.shadercallcoherent)) ||
  ------------------
  |  Branch (5702:21): [True: 0, False: 35.6k]
  |  Branch (5702:47): [True: 0, False: 0]
  |  Branch (5702:63): [True: 0, False: 0]
  |  Branch (5702:85): [True: 0, False: 0]
  |  Branch (5702:112): [True: 0, False: 0]
  |  Branch (5702:137): [True: 0, False: 0]
  ------------------
 5703|  35.6k|                   (src.shadercallcoherent && (dst.coherent || dst.devicecoherent || dst.queuefamilycoherent || dst.workgroupcoherent || dst.subgroupcoherent)))) {
  ------------------
  |  Branch (5703:21): [True: 0, False: 35.6k]
  |  Branch (5703:48): [True: 0, False: 0]
  |  Branch (5703:64): [True: 0, False: 0]
  |  Branch (5703:86): [True: 0, False: 0]
  |  Branch (5703:113): [True: 0, False: 0]
  |  Branch (5703:138): [True: 0, False: 0]
  ------------------
 5704|      0|        error(loc, "only one coherent/devicecoherent/queuefamilycoherent/workgroupcoherent/subgroupcoherent/shadercallcoherent qualifier allowed",
 5705|      0|            GetPrecisionQualifierString(src.precision), "");
 5706|      0|    }
 5707|       |
 5708|       |    // Layout qualifiers
 5709|  44.7k|    mergeObjectLayoutQualifiers(dst, src, false);
 5710|       |
 5711|       |    // individual qualifiers
 5712|  44.7k|    bool repeated = false;
 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
 5714|  44.7k|    MERGE_SINGLETON(invariant);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5715|  44.7k|    MERGE_SINGLETON(centroid);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5716|  44.7k|    MERGE_SINGLETON(smooth);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5717|  44.7k|    MERGE_SINGLETON(flat);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5718|  44.7k|    MERGE_SINGLETON(specConstant);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5719|  44.7k|    MERGE_SINGLETON(noContraction);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5720|  44.7k|    MERGE_SINGLETON(nopersp);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5721|  44.7k|    MERGE_SINGLETON(explicitInterp);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5722|  44.7k|    MERGE_SINGLETON(perPrimitiveNV);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 14, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 14]
  |  |  ------------------
  ------------------
 5723|  44.7k|    MERGE_SINGLETON(perViewNV);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5724|  44.7k|    MERGE_SINGLETON(perTaskNV);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5725|  44.7k|    MERGE_SINGLETON(patch);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 28, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 5726|  44.7k|    MERGE_SINGLETON(sample);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5727|  44.7k|    MERGE_SINGLETON(coherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 14.9k, False: 29.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 14.9k]
  |  |  ------------------
  ------------------
 5728|  44.7k|    MERGE_SINGLETON(devicecoherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5729|  44.7k|    MERGE_SINGLETON(queuefamilycoherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5730|  44.7k|    MERGE_SINGLETON(workgroupcoherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5731|  44.7k|    MERGE_SINGLETON(subgroupcoherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5732|  44.7k|    MERGE_SINGLETON(shadercallcoherent);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5733|  44.7k|    MERGE_SINGLETON(nonprivate);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5734|  44.7k|    MERGE_SINGLETON(volatil);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 28.0k, False: 16.6k]
  |  |  |  Branch (5713:61): [True: 0, False: 28.0k]
  |  |  ------------------
  ------------------
 5735|  44.7k|    MERGE_SINGLETON(nontemporal);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 770, False: 43.9k]
  |  |  |  Branch (5713:61): [True: 0, False: 770]
  |  |  ------------------
  ------------------
 5736|  44.7k|    MERGE_SINGLETON(restrict);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5737|  44.7k|    MERGE_SINGLETON(readonly);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 6.55k, False: 38.1k]
  |  |  |  Branch (5713:61): [True: 0, False: 6.55k]
  |  |  ------------------
  ------------------
 5738|  44.7k|    MERGE_SINGLETON(writeonly);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 4.36k, False: 40.3k]
  |  |  |  Branch (5713:61): [True: 0, False: 4.36k]
  |  |  ------------------
  ------------------
 5739|  44.7k|    MERGE_SINGLETON(nonUniform);
  ------------------
  |  | 5713|  44.7k|    #define MERGE_SINGLETON(field) repeated |= dst.field && src.field; dst.field |= src.field;
  |  |  ------------------
  |  |  |  Branch (5713:48): [True: 0, False: 44.7k]
  |  |  |  Branch (5713:61): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5740|       |
 5741|       |    // SPIR-V storage class qualifier (GL_EXT_spirv_intrinsics)
 5742|  44.7k|    dst.spirvStorageClass = src.spirvStorageClass;
 5743|       |
 5744|       |    // SPIR-V decorate qualifiers (GL_EXT_spirv_intrinsics)
 5745|  44.7k|    if (src.hasSpirvDecorate()) {
  ------------------
  |  Branch (5745:9): [True: 0, False: 44.7k]
  ------------------
 5746|      0|        if (dst.hasSpirvDecorate()) {
  ------------------
  |  Branch (5746:13): [True: 0, False: 0]
  ------------------
 5747|      0|            const TSpirvDecorate& srcSpirvDecorate = src.getSpirvDecorate();
 5748|      0|            TSpirvDecorate& dstSpirvDecorate = dst.getSpirvDecorate();
 5749|      0|            for (auto& decorate : srcSpirvDecorate.decorates) {
  ------------------
  |  Branch (5749:33): [True: 0, False: 0]
  ------------------
 5750|      0|                if (dstSpirvDecorate.decorates.find(decorate.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5750:21): [True: 0, False: 0]
  ------------------
 5751|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate", "(decoration=%u)", decorate.first);
 5752|      0|                else
 5753|      0|                    dstSpirvDecorate.decorates.insert(decorate);
 5754|      0|            }
 5755|       |
 5756|      0|            for (auto& decorateId : srcSpirvDecorate.decorateIds) {
  ------------------
  |  Branch (5756:35): [True: 0, False: 0]
  ------------------
 5757|      0|                if (dstSpirvDecorate.decorateIds.find(decorateId.first) != dstSpirvDecorate.decorateIds.end())
  ------------------
  |  Branch (5757:21): [True: 0, False: 0]
  ------------------
 5758|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_id", "(decoration=%u)", decorateId.first);
 5759|      0|                else
 5760|      0|                    dstSpirvDecorate.decorateIds.insert(decorateId);
 5761|      0|            }
 5762|       |
 5763|      0|            for (auto& decorateString : srcSpirvDecorate.decorateStrings) {
  ------------------
  |  Branch (5763:39): [True: 0, False: 0]
  ------------------
 5764|      0|                if (dstSpirvDecorate.decorates.find(decorateString.first) != dstSpirvDecorate.decorates.end())
  ------------------
  |  Branch (5764:21): [True: 0, False: 0]
  ------------------
 5765|      0|                    error(loc, "too many SPIR-V decorate qualifiers", "spirv_decorate_string", "(decoration=%u)", decorateString.first);
 5766|      0|                else
 5767|      0|                    dstSpirvDecorate.decorateStrings.insert(decorateString);
 5768|      0|            }
 5769|      0|        } else {
 5770|      0|            dst.spirvDecorate = src.spirvDecorate;
 5771|      0|        }
 5772|      0|    }
 5773|       |
 5774|  44.7k|    if (repeated)
  ------------------
  |  Branch (5774:9): [True: 0, False: 44.7k]
  ------------------
 5775|      0|        error(loc, "replicated qualifiers", "", "");
 5776|  44.7k|}
_ZN7glslang13TParseContext23computeSamplerTypeIndexERNS_8TSamplerE:
 5814|  33.6k|{
 5815|  33.6k|    int arrayIndex    = sampler.arrayed         ? 1 : 0;
  ------------------
  |  Branch (5815:25): [True: 11.4k, False: 22.2k]
  ------------------
 5816|  33.6k|    int shadowIndex   = sampler.shadow          ? 1 : 0;
  ------------------
  |  Branch (5816:25): [True: 3.90k, False: 29.7k]
  ------------------
 5817|  33.6k|    int externalIndex = sampler.isExternal()    ? 1 : 0;
  ------------------
  |  Branch (5817:25): [True: 184, False: 33.4k]
  ------------------
 5818|  33.6k|    int imageIndex    = sampler.isImageClass()  ? 1 : 0;
  ------------------
  |  Branch (5818:25): [True: 10.9k, False: 22.7k]
  ------------------
 5819|  33.6k|    int msIndex       = sampler.isMultiSample() ? 1 : 0;
  ------------------
  |  Branch (5819:25): [True: 2.52k, False: 31.1k]
  ------------------
 5820|       |
 5821|  33.6k|    int flattened = EsdNumDims * (EbtNumTypes * (2 * (2 * (2 * (2 * arrayIndex + msIndex) + imageIndex) + shadowIndex) +
 5822|  33.6k|                                                 externalIndex) + sampler.type) + sampler.dim;
 5823|  33.6k|    assert(flattened < maxSamplerIndex);
 5824|       |
 5825|  33.6k|    return flattened;
 5826|  33.6k|}
_ZN7glslang13TParseContext19getDefaultPrecisionERNS_11TPublicTypeE:
 5829|   375k|{
 5830|   375k|    if (publicType.basicType == EbtSampler)
  ------------------
  |  Branch (5830:9): [True: 33.1k, False: 342k]
  ------------------
 5831|  33.1k|        return defaultSamplerPrecision[computeSamplerTypeIndex(publicType.sampler)];
 5832|   342k|    else
 5833|   342k|        return defaultPrecision[publicType.basicType];
 5834|   375k|}
_ZN7glslang13TParseContext23precisionQualifierCheckERKNS_10TSourceLocENS_10TBasicTypeERNS_10TQualifierEb:
 5837|   375k|{
 5838|       |    // Built-in symbols are allowed some ambiguous precisions, to be pinned down
 5839|       |    // later by context.
 5840|   375k|    if (! obeyPrecisionQualifiers() || parsingBuiltins)
  ------------------
  |  Branch (5840:9): [True: 0, False: 375k]
  |  Branch (5840:40): [True: 375k, False: 1]
  ------------------
 5841|   375k|        return;
 5842|       |
 5843|      1|    if (baseType == EbtAtomicUint && qualifier.precision != EpqNone && qualifier.precision != EpqHigh)
  ------------------
  |  Branch (5843:9): [True: 0, False: 1]
  |  Branch (5843:38): [True: 0, False: 0]
  |  Branch (5843:72): [True: 0, False: 0]
  ------------------
 5844|      0|        error(loc, "atomic counters can only be highp", "atomic_uint", "");
 5845|       |
 5846|      1|    if (hasTypeParameter)
  ------------------
  |  Branch (5846:9): [True: 0, False: 1]
  ------------------
 5847|      0|        return;
 5848|       |
 5849|      1|    if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler || baseType == EbtAtomicUint) {
  ------------------
  |  Branch (5849:9): [True: 0, False: 1]
  |  Branch (5849:33): [True: 0, False: 1]
  |  Branch (5849:56): [True: 1, False: 0]
  |  Branch (5849:78): [True: 0, False: 0]
  |  Branch (5849:104): [True: 0, False: 0]
  ------------------
 5850|      1|        if (qualifier.precision == EpqNone) {
  ------------------
  |  Branch (5850:13): [True: 0, False: 1]
  ------------------
 5851|      0|            if (relaxedErrors())
  ------------------
  |  Branch (5851:17): [True: 0, False: 0]
  ------------------
 5852|      0|                warn(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "substituting 'mediump'");
 5853|      0|            else
 5854|      0|                error(loc, "type requires declaration of default precision qualifier", TType::getBasicString(baseType), "");
 5855|      0|            qualifier.precision = EpqMedium;
 5856|      0|            defaultPrecision[baseType] = EpqMedium;
 5857|      0|        }
 5858|      1|    } else if (qualifier.precision != EpqNone)
  ------------------
  |  Branch (5858:16): [True: 0, False: 0]
  ------------------
 5859|      0|        error(loc, "type cannot have precision qualifier", TType::getBasicString(baseType), "");
 5860|      1|}
_ZN7glslang13TParseContext18parameterTypeCheckERKNS_10TSourceLocENS_17TStorageQualifierERKNS_5TTypeE:
 5863|   271k|{
 5864|   271k|    if ((qualifier == EvqOut || qualifier == EvqInOut) && type.isOpaque() && !intermediate.getBindlessMode())
  ------------------
  |  Branch (5864:10): [True: 10.9k, False: 261k]
  |  Branch (5864:33): [True: 756, False: 260k]
  |  Branch (5864:59): [True: 0, False: 11.7k]
  |  Branch (5864:78): [True: 0, False: 0]
  ------------------
 5865|      0|        error(loc, "samplers and atomic_uints cannot be output parameters", type.getBasicTypeString().c_str(), "");
 5866|   271k|    if (!parsingBuiltins && type.contains16BitFloat())
  ------------------
  |  Branch (5866:9): [True: 0, False: 271k]
  |  Branch (5866:29): [True: 0, False: 0]
  ------------------
 5867|      0|        requireFloat16Arithmetic(loc, type.getBasicTypeString().c_str(), "float16 types can only be in uniform block or buffer storage");
 5868|   271k|    if (!parsingBuiltins && type.contains16BitInt())
  ------------------
  |  Branch (5868:9): [True: 0, False: 271k]
  |  Branch (5868:29): [True: 0, False: 0]
  ------------------
 5869|      0|        requireInt16Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int16 types can only be in uniform block or buffer storage");
 5870|   271k|    if (!parsingBuiltins && type.contains8BitInt())
  ------------------
  |  Branch (5870:9): [True: 0, False: 271k]
  |  Branch (5870:29): [True: 0, False: 0]
  ------------------
 5871|      0|        requireInt8Arithmetic(loc, type.getBasicTypeString().c_str(), "(u)int8 types can only be in uniform block or buffer storage");
 5872|   271k|}
_ZN7glslang13TParseContext26containsFieldWithBasicTypeERKNS_5TTypeENS_10TBasicTypeE:
 5875|    120|{
 5876|    120|    if (type.getBasicType() == basicType)
  ------------------
  |  Branch (5876:9): [True: 0, False: 120]
  ------------------
 5877|      0|        return true;
 5878|       |
 5879|    120|    if (type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (5879:9): [True: 30, False: 90]
  ------------------
 5880|     30|        const TTypeList& structure = *type.getStruct();
 5881|    120|        for (unsigned int i = 0; i < structure.size(); ++i) {
  ------------------
  |  Branch (5881:34): [True: 90, False: 30]
  ------------------
 5882|     90|            if (containsFieldWithBasicType(*structure[i].type, basicType))
  ------------------
  |  Branch (5882:17): [True: 0, False: 90]
  ------------------
 5883|      0|                return true;
 5884|     90|        }
 5885|     30|    }
 5886|       |
 5887|    120|    return false;
 5888|    120|}
_ZN7glslang13TParseContext14arraySizeCheckERKNS_10TSourceLocEPNS_12TIntermTypedERNS_10TArraySizeEPKcb:
 5895|  1.37k|{
 5896|  1.37k|    bool isConst = false;
 5897|  1.37k|    sizePair.node = nullptr;
 5898|       |
 5899|  1.37k|    int size = 1;
 5900|       |
 5901|  1.37k|    TIntermConstantUnion* constant = expr->getAsConstantUnion();
 5902|  1.37k|    if (constant) {
  ------------------
  |  Branch (5902:9): [True: 1.37k, False: 0]
  ------------------
 5903|       |        // handle true (non-specialization) constant
 5904|  1.37k|        size = constant->getConstArray()[0].getIConst();
 5905|  1.37k|        isConst = true;
 5906|  1.37k|    } else {
 5907|       |        // see if it's a specialization constant instead
 5908|      0|        if (expr->getQualifier().isSpecConstant()) {
  ------------------
  |  Branch (5908:13): [True: 0, False: 0]
  ------------------
 5909|      0|            isConst = true;
 5910|      0|            sizePair.node = expr;
 5911|      0|            TIntermSymbol* symbol = expr->getAsSymbolNode();
 5912|      0|            if (symbol && symbol->getConstArray().size() > 0)
  ------------------
  |  Branch (5912:17): [True: 0, False: 0]
  |  Branch (5912:27): [True: 0, False: 0]
  ------------------
 5913|      0|                size = symbol->getConstArray()[0].getIConst();
 5914|      0|        } else if (expr->getAsUnaryNode() && expr->getAsUnaryNode()->getOp() == glslang::EOpArrayLength &&
  ------------------
  |  Branch (5914:20): [True: 0, False: 0]
  |  Branch (5914:46): [True: 0, False: 0]
  ------------------
 5915|      0|                   expr->getAsUnaryNode()->getOperand()->getType().isCoopMatNV()) {
  ------------------
  |  Branch (5915:20): [True: 0, False: 0]
  ------------------
 5916|      0|            isConst = true;
 5917|      0|            size = 1;
 5918|      0|            sizePair.node = expr->getAsUnaryNode();
 5919|      0|        }
 5920|      0|    }
 5921|       |
 5922|  1.37k|    sizePair.size = size;
 5923|       |
 5924|  1.37k|    if (isTypeParameter) {
  ------------------
  |  Branch (5924:9): [True: 84, False: 1.28k]
  ------------------
 5925|     84|        if (extensionTurnedOn(E_GL_NV_cooperative_matrix2)) {
  ------------------
  |  Branch (5925:13): [True: 0, False: 84]
  ------------------
 5926|      0|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint && expr->getBasicType() != EbtBool)) {
  ------------------
  |  Branch (5926:17): [True: 0, False: 0]
  |  Branch (5926:31): [True: 0, False: 0]
  |  Branch (5926:65): [True: 0, False: 0]
  |  Branch (5926:100): [True: 0, False: 0]
  ------------------
 5927|      0|                error(loc, sizeType, "", "must be a constant integer or boolean expression");
 5928|      0|                return;
 5929|      0|            }
 5930|     84|        } else {
 5931|     84|            if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5931:17): [True: 0, False: 84]
  |  Branch (5931:31): [True: 0, False: 84]
  |  Branch (5931:65): [True: 0, False: 0]
  ------------------
 5932|      0|                error(loc, sizeType, "", "must be a constant integer expression");
 5933|      0|                return;
 5934|      0|            }
 5935|     84|        }
 5936|     84|        if (size < 0) {
  ------------------
  |  Branch (5936:13): [True: 0, False: 84]
  ------------------
 5937|      0|            error(loc, sizeType, "", "must be a non-negative integer");
 5938|      0|            return;
 5939|      0|        }
 5940|  1.28k|    } else {
 5941|  1.28k|        if (! isConst || (expr->getBasicType() != EbtInt && expr->getBasicType() != EbtUint)) {
  ------------------
  |  Branch (5941:13): [True: 0, False: 1.28k]
  |  Branch (5941:27): [True: 0, False: 1.28k]
  |  Branch (5941:61): [True: 0, False: 0]
  ------------------
 5942|      0|            error(loc, sizeType, "", "must be a constant integer expression");
 5943|      0|            return;
 5944|      0|        }
 5945|  1.28k|        if (size <= 0) {
  ------------------
  |  Branch (5945:13): [True: 0, False: 1.28k]
  ------------------
 5946|      0|            error(loc, sizeType, "", "must be a positive integer");
 5947|      0|            return;
 5948|      0|        }
 5949|  1.28k|    }
 5950|  1.37k|}
_ZN7glslang13TParseContext19arrayQualifierErrorERKNS_10TSourceLocERKNS_10TQualifierE:
 5958|    155|{
 5959|    155|    if (qualifier.storage == EvqConst) {
  ------------------
  |  Branch (5959:9): [True: 0, False: 155]
  ------------------
 5960|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "const array");
 5961|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "const array");
 5962|      0|    }
 5963|       |
 5964|    155|    if (qualifier.storage == EvqVaryingIn && language == EShLangVertex) {
  ------------------
  |  Branch (5964:9): [True: 28, False: 127]
  |  Branch (5964:46): [True: 0, False: 28]
  ------------------
 5965|      0|        requireProfile(loc, ~EEsProfile, "vertex input arrays");
 5966|      0|        profileRequires(loc, ENoProfile, 150, nullptr, "vertex input arrays");
 5967|      0|    }
 5968|       |
 5969|    155|    return false;
 5970|    155|}
_ZN7glslang13TParseContext10arrayErrorERKNS_10TSourceLocERKNS_5TTypeE:
 5979|    155|{
 5980|    155|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangVertex) {
  ------------------
  |  Branch (5980:9): [True: 126, False: 29]
  |  Branch (5980:57): [True: 28, False: 98]
  ------------------
 5981|     28|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5981:13): [True: 0, False: 28]
  ------------------
 5982|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-array output");
 5983|     28|        else if (type.isStruct())
  ------------------
  |  Branch (5983:18): [True: 0, False: 28]
  ------------------
 5984|      0|            requireProfile(loc, ~EEsProfile, "vertex-shader array-of-struct output");
 5985|     28|    }
 5986|    155|    if (type.getQualifier().storage == EvqVaryingIn && language == EShLangFragment) {
  ------------------
  |  Branch (5986:9): [True: 28, False: 127]
  |  Branch (5986:56): [True: 0, False: 28]
  ------------------
 5987|      0|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5987:13): [True: 0, False: 0]
  ------------------
 5988|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array input");
 5989|      0|        else if (type.isStruct())
  ------------------
  |  Branch (5989:18): [True: 0, False: 0]
  ------------------
 5990|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-struct input");
 5991|      0|    }
 5992|    155|    if (type.getQualifier().storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (5992:9): [True: 126, False: 29]
  |  Branch (5992:57): [True: 0, False: 126]
  ------------------
 5993|      0|        if (type.isArrayOfArrays())
  ------------------
  |  Branch (5993:13): [True: 0, False: 0]
  ------------------
 5994|      0|            requireProfile(loc, ~EEsProfile, "fragment-shader array-of-array output");
 5995|      0|    }
 5996|       |
 5997|    155|    return false;
 5998|    155|}
_ZN7glslang13TParseContext22arraySizeRequiredCheckERKNS_10TSourceLocERKNS_11TArraySizesE:
 6004|  9.59k|{
 6005|  9.59k|    if (!parsingBuiltins && arraySizes.hasUnsized())
  ------------------
  |  Branch (6005:9): [True: 1, False: 9.59k]
  |  Branch (6005:29): [True: 0, False: 1]
  ------------------
 6006|      0|        error(loc, "array size required", "", "");
 6007|  9.59k|}
_ZN7glslang13TParseContext16structArrayCheckERKNS_10TSourceLocERKNS_5TTypeE:
 6010|     29|{
 6011|     29|    const TTypeList& structure = *type.getStruct();
 6012|    144|    for (int m = 0; m < (int)structure.size(); ++m) {
  ------------------
  |  Branch (6012:21): [True: 115, False: 29]
  ------------------
 6013|    115|        const TType& member = *structure[m].type;
 6014|    115|        if (member.isArray())
  ------------------
  |  Branch (6014:13): [True: 0, False: 115]
  ------------------
 6015|      0|            arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes());
 6016|    115|    }
 6017|     29|}
_ZN7glslang13TParseContext15arraySizesCheckERKNS_10TSourceLocERKNS_10TQualifierEPNS_11TArraySizesEPKNS_12TIntermTypedEb:
 6021|    372|{
 6022|    372|    assert(arraySizes);
 6023|       |
 6024|       |    // always allow special built-in ins/outs sized to topologies
 6025|    372|    if (parsingBuiltins)
  ------------------
  |  Branch (6025:9): [True: 371, False: 1]
  ------------------
 6026|    371|        return;
 6027|       |
 6028|       |    // initializer must be a sized array, in which case
 6029|       |    // allow the initializer to set any unknown array sizes
 6030|      1|    if (initializer != nullptr) {
  ------------------
  |  Branch (6030:9): [True: 0, False: 1]
  ------------------
 6031|      0|        if (initializer->getType().isUnsizedArray())
  ------------------
  |  Branch (6031:13): [True: 0, False: 0]
  ------------------
 6032|      0|            error(loc, "array initializer must be sized", "[]", "");
 6033|      0|        return;
 6034|      0|    }
 6035|       |
 6036|       |    // No environment allows any non-outer-dimension to be implicitly sized
 6037|      1|    if (arraySizes->isInnerUnsized()) {
  ------------------
  |  Branch (6037:9): [True: 0, False: 1]
  ------------------
 6038|      0|        error(loc, "only outermost dimension of an array of arrays can be implicitly sized", "[]", "");
 6039|      0|        arraySizes->clearInnerUnsized();
 6040|      0|    }
 6041|       |
 6042|      1|    if (arraySizes->isInnerSpecialization() &&
  ------------------
  |  Branch (6042:9): [True: 0, False: 1]
  ------------------
 6043|      0|        (qualifier.storage != EvqTemporary && qualifier.storage != EvqGlobal && qualifier.storage != EvqShared && qualifier.storage != EvqConst))
  ------------------
  |  Branch (6043:10): [True: 0, False: 0]
  |  Branch (6043:47): [True: 0, False: 0]
  |  Branch (6043:81): [True: 0, False: 0]
  |  Branch (6043:115): [True: 0, False: 0]
  ------------------
 6044|      0|        error(loc, "only outermost dimension of an array of arrays can be a specialization constant", "[]", "");
 6045|       |
 6046|       |    // desktop always allows outer-dimension-unsized variable arrays,
 6047|      1|    if (!isEsProfile())
  ------------------
  |  Branch (6047:9): [True: 0, False: 1]
  ------------------
 6048|      0|        return;
 6049|       |
 6050|       |    // for ES, if size isn't coming from an initializer, it has to be explicitly declared now,
 6051|       |    // with very few exceptions
 6052|       |
 6053|       |    // implicitly-sized io exceptions:
 6054|      1|    switch (language) {
 6055|      0|    case EShLangGeometry:
  ------------------
  |  Branch (6055:5): [True: 0, False: 1]
  ------------------
 6056|      0|        if (qualifier.storage == EvqVaryingIn)
  ------------------
  |  Branch (6056:13): [True: 0, False: 0]
  ------------------
 6057|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6057:18): [True: 0, False: 0]
  |  Branch (6057:35): [True: 0, False: 0]
  ------------------
 6058|      0|                extensionsTurnedOn(Num_AEP_geometry_shader, AEP_geometry_shader))
  ------------------
  |  Branch (6058:17): [True: 0, False: 0]
  ------------------
 6059|      0|                return;
 6060|      0|        break;
 6061|      0|    case EShLangTessControl:
  ------------------
  |  Branch (6061:5): [True: 0, False: 1]
  ------------------
 6062|      0|        if ( qualifier.storage == EvqVaryingIn ||
  ------------------
  |  Branch (6062:14): [True: 0, False: 0]
  ------------------
 6063|      0|            (qualifier.storage == EvqVaryingOut && ! qualifier.isPatch()))
  ------------------
  |  Branch (6063:14): [True: 0, False: 0]
  |  Branch (6063:52): [True: 0, False: 0]
  ------------------
 6064|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6064:18): [True: 0, False: 0]
  |  Branch (6064:35): [True: 0, False: 0]
  ------------------
 6065|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6065:17): [True: 0, False: 0]
  ------------------
 6066|      0|                return;
 6067|      0|        break;
 6068|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (6068:5): [True: 0, False: 1]
  ------------------
 6069|      0|        if ((qualifier.storage == EvqVaryingIn && ! qualifier.isPatch()) ||
  ------------------
  |  Branch (6069:14): [True: 0, False: 0]
  |  Branch (6069:51): [True: 0, False: 0]
  ------------------
 6070|      0|             qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6070:14): [True: 0, False: 0]
  ------------------
 6071|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6071:18): [True: 0, False: 0]
  |  Branch (6071:35): [True: 0, False: 0]
  ------------------
 6072|      0|                extensionsTurnedOn(Num_AEP_tessellation_shader, AEP_tessellation_shader))
  ------------------
  |  Branch (6072:17): [True: 0, False: 0]
  ------------------
 6073|      0|                return;
 6074|      0|        break;
 6075|      0|    case EShLangMesh:
  ------------------
  |  Branch (6075:5): [True: 0, False: 1]
  ------------------
 6076|      0|        if (qualifier.storage == EvqVaryingOut)
  ------------------
  |  Branch (6076:13): [True: 0, False: 0]
  ------------------
 6077|      0|            if ((isEsProfile() && version >= 320) ||
  ------------------
  |  Branch (6077:18): [True: 0, False: 0]
  |  Branch (6077:35): [True: 0, False: 0]
  ------------------
 6078|      0|                extensionsTurnedOn(Num_AEP_mesh_shader, AEP_mesh_shader))
  ------------------
  |  Branch (6078:17): [True: 0, False: 0]
  ------------------
 6079|      0|                return;
 6080|      0|        break;
 6081|      1|    default:
  ------------------
  |  Branch (6081:5): [True: 1, False: 0]
  ------------------
 6082|      1|        break;
 6083|      1|    }
 6084|       |
 6085|       |    // last member of ssbo block exception:
 6086|      1|    if (qualifier.storage == EvqBuffer && lastMember)
  ------------------
  |  Branch (6086:9): [True: 0, False: 1]
  |  Branch (6086:43): [True: 0, False: 0]
  ------------------
 6087|      0|        return;
 6088|       |
 6089|      1|    if (qualifier.storage == EvqUniform && lastMember && extensionTurnedOn(E_GL_EXT_uniform_buffer_unsized_array))
  ------------------
  |  Branch (6089:9): [True: 0, False: 1]
  |  Branch (6089:44): [True: 0, False: 0]
  |  Branch (6089:58): [True: 0, False: 0]
  ------------------
 6090|      0|        return;
 6091|       |
 6092|      1|    arraySizeRequiredCheck(loc, *arraySizes);
 6093|      1|}
_ZN7glslang13TParseContext24arrayOfArrayVersionCheckERKNS_10TSourceLocEPKNS_11TArraySizesE:
 6096|  14.0k|{
 6097|  14.0k|    if (sizes == nullptr || sizes->getNumDims() == 1)
  ------------------
  |  Branch (6097:9): [True: 3.87k, False: 10.1k]
  |  Branch (6097:29): [True: 10.1k, False: 42]
  ------------------
 6098|  13.9k|        return;
 6099|       |
 6100|     42|    const char* feature = "arrays of arrays";
 6101|       |
 6102|     42|    requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, feature);
 6103|     42|    profileRequires(loc, EEsProfile, 310, nullptr, feature);
 6104|     42|    profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, nullptr, feature);
 6105|     42|}
_ZN7glslang13TParseContext12declareArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeERPNS_7TSymbolE:
 6112|    155|{
 6113|    155|    if (symbol == nullptr) {
  ------------------
  |  Branch (6113:9): [True: 155, False: 0]
  ------------------
 6114|    155|        bool currentScope;
 6115|    155|        symbol = symbolTable.find(identifier, nullptr, &currentScope);
 6116|       |
 6117|    155|        if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6117:13): [True: 1, False: 154]
  |  Branch (6117:23): [True: 0, False: 1]
  |  Branch (6117:50): [True: 0, False: 0]
  ------------------
 6118|       |            // bad shader (errors already reported) trying to redeclare a built-in name as an array
 6119|      0|            symbol = nullptr;
 6120|      0|            return;
 6121|      0|        }
 6122|    155|        if (symbol == nullptr || ! currentScope) {
  ------------------
  |  Branch (6122:13): [True: 154, False: 1]
  |  Branch (6122:34): [True: 0, False: 1]
  ------------------
 6123|       |            //
 6124|       |            // Successfully process a new definition.
 6125|       |            // (Redeclarations have to take place at the same scope; otherwise they are hiding declarations)
 6126|       |            //
 6127|    154|            symbol = new TVariable(&identifier, type);
 6128|    154|            symbolTable.insert(*symbol);
 6129|    154|            if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6129:17): [True: 154, False: 0]
  ------------------
 6130|    154|                trackLinkage(*symbol);
 6131|       |
 6132|    154|            if (! symbolTable.atBuiltInLevel()) {
  ------------------
  |  Branch (6132:17): [True: 0, False: 154]
  ------------------
 6133|      0|                if (isIoResizeArray(type)) {
  ------------------
  |  Branch (6133:21): [True: 0, False: 0]
  ------------------
 6134|      0|                    ioArraySymbolResizeList.push_back(symbol);
 6135|      0|                    checkIoArraysConsistency(loc, true);
 6136|      0|                } else
 6137|      0|                    fixIoArraySize(loc, symbol->getWritableType());
 6138|      0|            }
 6139|       |
 6140|    154|            return;
 6141|    154|        }
 6142|      1|        if (symbol->getAsAnonMember()) {
  ------------------
  |  Branch (6142:13): [True: 0, False: 1]
  ------------------
 6143|      0|            error(loc, "cannot redeclare a user-block member array", identifier.c_str(), "");
 6144|      0|            symbol = nullptr;
 6145|      0|            return;
 6146|      0|        }
 6147|      1|    }
 6148|       |
 6149|       |    //
 6150|       |    // Process a redeclaration.
 6151|       |    //
 6152|       |
 6153|      1|    if (symbol == nullptr) {
  ------------------
  |  Branch (6153:9): [True: 0, False: 1]
  ------------------
 6154|      0|        error(loc, "array variable name expected", identifier.c_str(), "");
 6155|      0|        return;
 6156|      0|    }
 6157|       |
 6158|       |    // redeclareBuiltinVariable() should have already done the copyUp()
 6159|      1|    TType& existingType = symbol->getWritableType();
 6160|       |
 6161|      1|    if (! existingType.isArray()) {
  ------------------
  |  Branch (6161:9): [True: 1, False: 0]
  ------------------
 6162|      1|        error(loc, "redeclaring non-array as array", identifier.c_str(), "");
 6163|      1|        return;
 6164|      1|    }
 6165|       |
 6166|      0|    if (! existingType.sameElementType(type)) {
  ------------------
  |  Branch (6166:9): [True: 0, False: 0]
  ------------------
 6167|      0|        error(loc, "redeclaration of array with a different element type", identifier.c_str(), "");
 6168|      0|        return;
 6169|      0|    }
 6170|       |
 6171|      0|    if (! existingType.sameInnerArrayness(type)) {
  ------------------
  |  Branch (6171:9): [True: 0, False: 0]
  ------------------
 6172|      0|        error(loc, "redeclaration of array with a different array dimensions or sizes", identifier.c_str(), "");
 6173|      0|        return;
 6174|      0|    }
 6175|       |
 6176|      0|    if (existingType.isSizedArray()) {
  ------------------
  |  Branch (6176:9): [True: 0, False: 0]
  ------------------
 6177|       |        // be more leniant for input arrays to geometry shaders and tessellation control outputs, where the redeclaration is the same size
 6178|      0|        if (! (isIoResizeArray(type) && existingType.getOuterArraySize() == type.getOuterArraySize()))
  ------------------
  |  Branch (6178:16): [True: 0, False: 0]
  |  Branch (6178:41): [True: 0, False: 0]
  ------------------
 6179|      0|            error(loc, "redeclaration of array with size", identifier.c_str(), "");
 6180|      0|        return;
 6181|      0|    }
 6182|       |
 6183|      0|    arrayLimitCheck(loc, identifier, type.getOuterArraySize());
 6184|       |
 6185|      0|    existingType.updateArraySizes(type);
 6186|       |
 6187|      0|    if (isIoResizeArray(type))
  ------------------
  |  Branch (6187:9): [True: 0, False: 0]
  ------------------
 6188|      0|        checkIoArraysConsistency(loc);
 6189|      0|}
_ZN7glslang13TParseContext25checkAndResizeMeshViewDimERKNS_10TSourceLocERNS_5TTypeEb:
 6263|  3.84k|{
 6264|       |    // see if member is a per-view attribute
 6265|  3.84k|    if (!type.getQualifier().isPerView())
  ------------------
  |  Branch (6265:9): [True: 3.80k, False: 35]
  ------------------
 6266|  3.80k|        return;
 6267|       |
 6268|     35|    if ((isBlockMember && type.isArray()) || (!isBlockMember && type.isArrayOfArrays())) {
  ------------------
  |  Branch (6268:10): [True: 35, False: 0]
  |  Branch (6268:27): [True: 35, False: 0]
  |  Branch (6268:47): [True: 0, False: 0]
  |  Branch (6268:65): [True: 0, False: 0]
  ------------------
 6269|       |        // since we don't have the maxMeshViewCountNV set during parsing builtins, we hardcode the value.
 6270|     35|        int maxViewCount = parsingBuiltins ? 4 : resources.maxMeshViewCountNV;
  ------------------
  |  Branch (6270:28): [True: 35, False: 0]
  ------------------
 6271|       |        // For block members, outermost array dimension is the view dimension.
 6272|       |        // For non-block members, outermost array dimension is the vertex/primitive dimension
 6273|       |        // and 2nd outermost is the view dimension.
 6274|     35|        int viewDim = isBlockMember ? 0 : 1;
  ------------------
  |  Branch (6274:23): [True: 35, False: 0]
  ------------------
 6275|     35|        int viewDimSize = type.getArraySizes()->getDimSize(viewDim);
 6276|       |
 6277|     35|        if (viewDimSize != UnsizedArraySize && viewDimSize != maxViewCount)
  ------------------
  |  Branch (6277:13): [True: 0, False: 35]
  |  Branch (6277:48): [True: 0, False: 0]
  ------------------
 6278|      0|            error(loc, "mesh view output array size must be gl_MaxMeshViewCountNV or implicitly sized", "[]", "");
 6279|     35|        else if (viewDimSize == UnsizedArraySize)
  ------------------
  |  Branch (6279:18): [True: 35, False: 0]
  ------------------
 6280|     35|            type.getArraySizes()->setDimSize(viewDim, maxViewCount);
 6281|     35|    }
 6282|      0|    else {
 6283|      0|        error(loc, "requires a view array dimension", "perviewNV", "");
 6284|      0|    }
 6285|     35|}
_ZN7glslang13TParseContext17nonInitConstCheckERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERNS_5TTypeE:
 6305|  2.92k|{
 6306|       |    //
 6307|       |    // Make the qualifier make sense, given that there is not an initializer.
 6308|       |    //
 6309|  2.92k|    if (type.getQualifier().storage == EvqConst ||
  ------------------
  |  Branch (6309:9): [True: 0, False: 2.92k]
  ------------------
 6310|  2.92k|        type.getQualifier().storage == EvqConstReadOnly) {
  ------------------
  |  Branch (6310:9): [True: 0, False: 2.92k]
  ------------------
 6311|      0|        type.getQualifier().makeTemporary();
 6312|      0|        error(loc, "variables with qualifier 'const' must be initialized", identifier.c_str(), "");
 6313|      0|    }
 6314|  2.92k|}
_ZN7glslang13TParseContext24redeclareBuiltinVariableERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_10TQualifierERKNS_17TShaderQualifiersE:
 6328|  3.75k|{
 6329|  3.75k|    if (! builtInName(identifier) || symbolTable.atBuiltInLevel() || ! symbolTable.atGlobalLevel())
  ------------------
  |  Branch (6329:9): [True: 17, False: 3.73k]
  |  Branch (6329:38): [True: 3.73k, False: 0]
  |  Branch (6329:70): [True: 0, False: 0]
  ------------------
 6330|  3.75k|        return nullptr;
 6331|       |
 6332|      0|    bool nonEsRedecls = (!isEsProfile() && (version >= 130 || identifier == "gl_TexCoord"));
  ------------------
  |  Branch (6332:26): [True: 0, False: 0]
  |  Branch (6332:45): [True: 0, False: 0]
  |  Branch (6332:63): [True: 0, False: 0]
  ------------------
 6333|      0|    bool    esRedecls = (isEsProfile() &&
  ------------------
  |  Branch (6333:26): [True: 0, False: 0]
  ------------------
 6334|      0|                         (version >= 320 || extensionsTurnedOn(Num_AEP_shader_io_blocks, AEP_shader_io_blocks) ||
  ------------------
  |  Branch (6334:27): [True: 0, False: 0]
  |  Branch (6334:45): [True: 0, False: 0]
  ------------------
 6335|      0|                          (identifier == "gl_FragDepth" && extensionTurnedOn(E_GL_EXT_conservative_depth))));
  ------------------
  |  Branch (6335:28): [True: 0, False: 0]
  |  Branch (6335:60): [True: 0, False: 0]
  ------------------
 6336|      0|    if (! esRedecls && ! nonEsRedecls)
  ------------------
  |  Branch (6336:9): [True: 0, False: 0]
  |  Branch (6336:24): [True: 0, False: 0]
  ------------------
 6337|      0|        return nullptr;
 6338|       |
 6339|       |    // Special case when using GL_ARB_separate_shader_objects
 6340|      0|    bool ssoPre150 = false;  // means the only reason this variable is redeclared is due to this combination
 6341|      0|    if (!isEsProfile() && version <= 140 && extensionTurnedOn(E_GL_ARB_separate_shader_objects)) {
  ------------------
  |  Branch (6341:9): [True: 0, False: 0]
  |  Branch (6341:27): [True: 0, False: 0]
  |  Branch (6341:45): [True: 0, False: 0]
  ------------------
 6342|      0|        if (identifier == "gl_Position"     ||
  ------------------
  |  Branch (6342:13): [True: 0, False: 0]
  ------------------
 6343|      0|            identifier == "gl_PointSize"    ||
  ------------------
  |  Branch (6343:13): [True: 0, False: 0]
  ------------------
 6344|      0|            identifier == "gl_ClipVertex"   ||
  ------------------
  |  Branch (6344:13): [True: 0, False: 0]
  ------------------
 6345|      0|            identifier == "gl_FogFragCoord")
  ------------------
  |  Branch (6345:13): [True: 0, False: 0]
  ------------------
 6346|      0|            ssoPre150 = true;
 6347|      0|    }
 6348|       |
 6349|       |    // Potentially redeclaring a built-in variable...
 6350|       |
 6351|      0|    if (ssoPre150 ||
  ------------------
  |  Branch (6351:9): [True: 0, False: 0]
  ------------------
 6352|      0|        (identifier == "gl_FragDepth"           && ((nonEsRedecls && version >= 420) || esRedecls)) ||
  ------------------
  |  Branch (6352:10): [True: 0, False: 0]
  |  Branch (6352:54): [True: 0, False: 0]
  |  Branch (6352:70): [True: 0, False: 0]
  |  Branch (6352:89): [True: 0, False: 0]
  ------------------
 6353|      0|        (identifier == "gl_FragCoord"           && ((nonEsRedecls && version >= 140) || esRedecls)) ||
  ------------------
  |  Branch (6353:10): [True: 0, False: 0]
  |  Branch (6353:54): [True: 0, False: 0]
  |  Branch (6353:70): [True: 0, False: 0]
  |  Branch (6353:89): [True: 0, False: 0]
  ------------------
 6354|      0|         identifier == "gl_ClipDistance"                                                            ||
  ------------------
  |  Branch (6354:10): [True: 0, False: 0]
  ------------------
 6355|      0|         identifier == "gl_CullDistance"                                                            ||
  ------------------
  |  Branch (6355:10): [True: 0, False: 0]
  ------------------
 6356|      0|         identifier == "gl_ShadingRateEXT"                                                          ||
  ------------------
  |  Branch (6356:10): [True: 0, False: 0]
  ------------------
 6357|      0|         identifier == "gl_PrimitiveShadingRateEXT"                                                 ||
  ------------------
  |  Branch (6357:10): [True: 0, False: 0]
  ------------------
 6358|      0|         identifier == "gl_FrontColor"                                                              ||
  ------------------
  |  Branch (6358:10): [True: 0, False: 0]
  ------------------
 6359|      0|         identifier == "gl_BackColor"                                                               ||
  ------------------
  |  Branch (6359:10): [True: 0, False: 0]
  ------------------
 6360|      0|         identifier == "gl_FrontSecondaryColor"                                                     ||
  ------------------
  |  Branch (6360:10): [True: 0, False: 0]
  ------------------
 6361|      0|         identifier == "gl_BackSecondaryColor"                                                      ||
  ------------------
  |  Branch (6361:10): [True: 0, False: 0]
  ------------------
 6362|      0|         identifier == "gl_SecondaryColor"                                                          ||
  ------------------
  |  Branch (6362:10): [True: 0, False: 0]
  ------------------
 6363|      0|        (identifier == "gl_Color"               && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6363:10): [True: 0, False: 0]
  |  Branch (6363:52): [True: 0, False: 0]
  ------------------
 6364|      0|        (identifier == "gl_FragStencilRefARB"   && (nonEsRedecls && version >= 140)
  ------------------
  |  Branch (6364:10): [True: 0, False: 0]
  |  Branch (6364:53): [True: 0, False: 0]
  |  Branch (6364:69): [True: 0, False: 0]
  ------------------
 6365|      0|                                                && language == EShLangFragment)                     ||
  ------------------
  |  Branch (6365:52): [True: 0, False: 0]
  ------------------
 6366|      0|         identifier == "gl_SampleMask"                                                              ||
  ------------------
  |  Branch (6366:10): [True: 0, False: 0]
  ------------------
 6367|      0|         identifier == "gl_EnableOpacityMicromapEXT"                                                ||
  ------------------
  |  Branch (6367:10): [True: 0, False: 0]
  ------------------
 6368|      0|         identifier == "gl_Layer"                                                                   ||
  ------------------
  |  Branch (6368:10): [True: 0, False: 0]
  ------------------
 6369|      0|         identifier == "gl_PrimitiveIndicesNV"                                                      ||
  ------------------
  |  Branch (6369:10): [True: 0, False: 0]
  ------------------
 6370|      0|         identifier == "gl_PrimitivePointIndicesEXT"                                                ||
  ------------------
  |  Branch (6370:10): [True: 0, False: 0]
  ------------------
 6371|      0|         identifier == "gl_PrimitiveLineIndicesEXT"                                                 ||
  ------------------
  |  Branch (6371:10): [True: 0, False: 0]
  ------------------
 6372|      0|         identifier == "gl_PrimitiveTriangleIndicesEXT"                                             ||
  ------------------
  |  Branch (6372:10): [True: 0, False: 0]
  ------------------
 6373|      0|         identifier == "gl_TexCoord") {
  ------------------
  |  Branch (6373:10): [True: 0, False: 0]
  ------------------
 6374|       |
 6375|       |        // Find the existing symbol, if any.
 6376|      0|        bool builtIn;
 6377|      0|        TSymbol* symbol = symbolTable.find(identifier, &builtIn);
 6378|       |
 6379|       |        // If the symbol was not found, this must be a version/profile/stage
 6380|       |        // that doesn't have it.
 6381|      0|        if (! symbol)
  ------------------
  |  Branch (6381:13): [True: 0, False: 0]
  ------------------
 6382|      0|            return nullptr;
 6383|       |
 6384|       |        // If it wasn't at a built-in level, then it's already been redeclared;
 6385|       |        // that is, this is a redeclaration of a redeclaration; reuse that initial
 6386|       |        // redeclaration.  Otherwise, make the new one.
 6387|      0|        if (builtIn) {
  ------------------
  |  Branch (6387:13): [True: 0, False: 0]
  ------------------
 6388|      0|            makeEditable(symbol);
 6389|      0|            symbolTable.amendSymbolIdLevel(*symbol);
 6390|      0|        }
 6391|       |
 6392|       |        // Now, modify the type of the copy, as per the type of the current redeclaration.
 6393|       |
 6394|      0|        TQualifier& symbolQualifier = symbol->getWritableType().getQualifier();
 6395|      0|        if (ssoPre150) {
  ------------------
  |  Branch (6395:13): [True: 0, False: 0]
  ------------------
 6396|      0|            if (intermediate.inIoAccessed(identifier))
  ------------------
  |  Branch (6396:17): [True: 0, False: 0]
  ------------------
 6397|      0|                error(loc, "cannot redeclare after use", identifier.c_str(), "");
 6398|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6398:17): [True: 0, False: 0]
  ------------------
 6399|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6400|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || (language == EShLangVertex   && qualifier.storage != EvqVaryingOut) ||
  ------------------
  |  Branch (6400:17): [True: 0, False: 0]
  |  Branch (6400:41): [True: 0, False: 0]
  |  Branch (6400:69): [True: 0, False: 0]
  |  Branch (6400:100): [True: 0, False: 0]
  ------------------
 6401|      0|                                                                   (language == EShLangFragment && qualifier.storage != EvqVaryingIn))
  ------------------
  |  Branch (6401:69): [True: 0, False: 0]
  |  Branch (6401:100): [True: 0, False: 0]
  ------------------
 6402|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6403|      0|            if (! qualifier.smooth)
  ------------------
  |  Branch (6403:17): [True: 0, False: 0]
  ------------------
 6404|      0|                error(loc, "cannot change interpolation qualification of", "redeclaration", symbol->getName().c_str());
 6405|      0|        } else if (identifier == "gl_FrontColor"          ||
  ------------------
  |  Branch (6405:20): [True: 0, False: 0]
  ------------------
 6406|      0|                   identifier == "gl_BackColor"           ||
  ------------------
  |  Branch (6406:20): [True: 0, False: 0]
  ------------------
 6407|      0|                   identifier == "gl_FrontSecondaryColor" ||
  ------------------
  |  Branch (6407:20): [True: 0, False: 0]
  ------------------
 6408|      0|                   identifier == "gl_BackSecondaryColor"  ||
  ------------------
  |  Branch (6408:20): [True: 0, False: 0]
  ------------------
 6409|      0|                   identifier == "gl_SecondaryColor"      ||
  ------------------
  |  Branch (6409:20): [True: 0, False: 0]
  ------------------
 6410|      0|                   identifier == "gl_Color") {
  ------------------
  |  Branch (6410:20): [True: 0, False: 0]
  ------------------
 6411|      0|            symbolQualifier.flat = qualifier.flat;
 6412|      0|            symbolQualifier.smooth = qualifier.smooth;
 6413|      0|            symbolQualifier.nopersp = qualifier.nopersp;
 6414|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6414:17): [True: 0, False: 0]
  ------------------
 6415|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6416|      0|            if (qualifier.isMemory() || qualifier.isAuxiliary() || symbol->getType().getQualifier().storage != qualifier.storage)
  ------------------
  |  Branch (6416:17): [True: 0, False: 0]
  |  Branch (6416:41): [True: 0, False: 0]
  |  Branch (6416:68): [True: 0, False: 0]
  ------------------
 6417|      0|                error(loc, "cannot change storage, memory, or auxiliary qualification of", "redeclaration", symbol->getName().c_str());
 6418|      0|        } else if (identifier == "gl_TexCoord"     ||
  ------------------
  |  Branch (6418:20): [True: 0, False: 0]
  ------------------
 6419|      0|                   identifier == "gl_ClipDistance" ||
  ------------------
  |  Branch (6419:20): [True: 0, False: 0]
  ------------------
 6420|      0|                   identifier == "gl_CullDistance") {
  ------------------
  |  Branch (6420:20): [True: 0, False: 0]
  ------------------
 6421|      0|            if (qualifier.hasLayout() || qualifier.isMemory() || qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6421:17): [True: 0, False: 0]
  |  Branch (6421:42): [True: 0, False: 0]
  |  Branch (6421:66): [True: 0, False: 0]
  ------------------
 6422|      0|                qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6422:17): [True: 0, False: 0]
  |  Branch (6422:65): [True: 0, False: 0]
  ------------------
 6423|      0|                symbolQualifier.storage != qualifier.storage)
  ------------------
  |  Branch (6423:17): [True: 0, False: 0]
  ------------------
 6424|      0|                error(loc, "cannot change qualification of", "redeclaration", symbol->getName().c_str());
 6425|      0|        } else if (identifier == "gl_FragCoord") {
  ------------------
  |  Branch (6425:20): [True: 0, False: 0]
  ------------------
 6426|      0|            if (!intermediate.getTexCoordRedeclared() && intermediate.inIoAccessed("gl_FragCoord"))
  ------------------
  |  Branch (6426:17): [True: 0, False: 0]
  |  Branch (6426:17): [True: 0, False: 0]
  |  Branch (6426:58): [True: 0, False: 0]
  ------------------
 6427|      0|                error(loc, "cannot redeclare after use", "gl_FragCoord", "");
 6428|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6428:17): [True: 0, False: 0]
  |  Branch (6428:65): [True: 0, False: 0]
  ------------------
 6429|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6429:17): [True: 0, False: 0]
  |  Branch (6429:41): [True: 0, False: 0]
  ------------------
 6430|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6431|      0|            if (qualifier.storage != EvqVaryingIn)
  ------------------
  |  Branch (6431:17): [True: 0, False: 0]
  ------------------
 6432|      0|                error(loc, "cannot change input storage qualification of", "redeclaration", symbol->getName().c_str());
 6433|      0|            if (! builtIn && (publicType.pixelCenterInteger != intermediate.getPixelCenterInteger() ||
  ------------------
  |  Branch (6433:17): [True: 0, False: 0]
  |  Branch (6433:31): [True: 0, False: 0]
  ------------------
 6434|      0|                              publicType.originUpperLeft != intermediate.getOriginUpperLeft()))
  ------------------
  |  Branch (6434:31): [True: 0, False: 0]
  ------------------
 6435|      0|                error(loc, "cannot redeclare with different qualification:", "redeclaration", symbol->getName().c_str());
 6436|       |
 6437|       |
 6438|      0|            intermediate.setTexCoordRedeclared();
 6439|      0|            if (publicType.pixelCenterInteger)
  ------------------
  |  Branch (6439:17): [True: 0, False: 0]
  ------------------
 6440|      0|                intermediate.setPixelCenterInteger();
 6441|      0|            if (publicType.originUpperLeft)
  ------------------
  |  Branch (6441:17): [True: 0, False: 0]
  ------------------
 6442|      0|                intermediate.setOriginUpperLeft();
 6443|      0|        } else if (identifier == "gl_FragDepth") {
  ------------------
  |  Branch (6443:20): [True: 0, False: 0]
  ------------------
 6444|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6444:17): [True: 0, False: 0]
  |  Branch (6444:65): [True: 0, False: 0]
  ------------------
 6445|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6445:17): [True: 0, False: 0]
  |  Branch (6445:41): [True: 0, False: 0]
  ------------------
 6446|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6447|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6447:17): [True: 0, False: 0]
  ------------------
 6448|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6449|      0|            if (publicType.layoutDepth != EldNone) {
  ------------------
  |  Branch (6449:17): [True: 0, False: 0]
  ------------------
 6450|      0|                if (intermediate.inIoAccessed("gl_FragDepth"))
  ------------------
  |  Branch (6450:21): [True: 0, False: 0]
  ------------------
 6451|      0|                    error(loc, "cannot redeclare after use", "gl_FragDepth", "");
 6452|      0|                if (! intermediate.setDepth(publicType.layoutDepth))
  ------------------
  |  Branch (6452:21): [True: 0, False: 0]
  ------------------
 6453|      0|                    error(loc, "all redeclarations must use the same depth layout on", "redeclaration", symbol->getName().c_str());
 6454|      0|            }
 6455|      0|        } else if (identifier == "gl_FragStencilRefARB") {
  ------------------
  |  Branch (6455:20): [True: 0, False: 0]
  ------------------
 6456|      0|            if (qualifier.nopersp != symbolQualifier.nopersp || qualifier.flat != symbolQualifier.flat ||
  ------------------
  |  Branch (6456:17): [True: 0, False: 0]
  |  Branch (6456:65): [True: 0, False: 0]
  ------------------
 6457|      0|                qualifier.isMemory() || qualifier.isAuxiliary())
  ------------------
  |  Branch (6457:17): [True: 0, False: 0]
  |  Branch (6457:41): [True: 0, False: 0]
  ------------------
 6458|      0|                error(loc, "can only change layout qualification of", "redeclaration", symbol->getName().c_str());
 6459|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6459:17): [True: 0, False: 0]
  ------------------
 6460|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6461|      0|            if (publicType.layoutStencil != ElsNone) {
  ------------------
  |  Branch (6461:17): [True: 0, False: 0]
  ------------------
 6462|      0|                if (intermediate.inIoAccessed("gl_FragStencilRefARB"))
  ------------------
  |  Branch (6462:21): [True: 0, False: 0]
  ------------------
 6463|      0|                    error(loc, "cannot redeclare after use", "gl_FragStencilRefARB", "");
 6464|      0|                if (!intermediate.setStencil(publicType.layoutStencil))
  ------------------
  |  Branch (6464:21): [True: 0, False: 0]
  ------------------
 6465|      0|                    error(loc, "all redeclarations must use the same stencil layout on", "redeclaration",
 6466|      0|                          symbol->getName().c_str());
 6467|      0|            }
 6468|      0|        }
 6469|      0|        else if (
 6470|      0|            identifier == "gl_PrimitiveIndicesNV") {
  ------------------
  |  Branch (6470:13): [True: 0, False: 0]
  ------------------
 6471|      0|            if (qualifier.hasLayout())
  ------------------
  |  Branch (6471:17): [True: 0, False: 0]
  ------------------
 6472|      0|                error(loc, "cannot apply layout qualifier to", "redeclaration", symbol->getName().c_str());
 6473|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (6473:17): [True: 0, False: 0]
  ------------------
 6474|      0|                error(loc, "cannot change output storage qualification of", "redeclaration", symbol->getName().c_str());
 6475|      0|        }
 6476|      0|        else if (identifier == "gl_SampleMask") {
  ------------------
  |  Branch (6476:18): [True: 0, False: 0]
  ------------------
 6477|      0|            if (!publicType.layoutOverrideCoverage) {
  ------------------
  |  Branch (6477:17): [True: 0, False: 0]
  ------------------
 6478|      0|                error(loc, "redeclaration only allowed for override_coverage layout", "redeclaration", symbol->getName().c_str());
 6479|      0|            }
 6480|      0|            intermediate.setLayoutOverrideCoverage();
 6481|      0|        }
 6482|      0|        else if (identifier == "gl_Layer") {
  ------------------
  |  Branch (6482:18): [True: 0, False: 0]
  ------------------
 6483|      0|            if (!qualifier.layoutViewportRelative && qualifier.layoutSecondaryViewportRelativeOffset == -2048)
  ------------------
  |  Branch (6483:17): [True: 0, False: 0]
  |  Branch (6483:54): [True: 0, False: 0]
  ------------------
 6484|      0|                error(loc, "redeclaration only allowed for viewport_relative or secondary_view_offset layout", "redeclaration", symbol->getName().c_str());
 6485|      0|            symbolQualifier.layoutViewportRelative = qualifier.layoutViewportRelative;
 6486|      0|            symbolQualifier.layoutSecondaryViewportRelativeOffset = qualifier.layoutSecondaryViewportRelativeOffset;
 6487|      0|        }
 6488|      0|        else if (identifier == "gl_EnableOpacityMicromapEXT") {
  ------------------
  |  Branch (6488:18): [True: 0, False: 0]
  ------------------
 6489|       |            // GL_EXT_opacity_micromap_ray_query_mode. This branch handles the full-redeclaration form
 6490|       |            //   const bool gl_EnableOpacityMicromapEXT = <true|false>;
 6491|       |            // which sets the built-in's value (emitted as OpConstantTrue/OpConstantFalse). The
 6492|       |            // specialization-constant form is the bare "layout(constant_id = N) gl_EnableOpacityMicromapEXT;"
 6493|       |            // (handled in addQualifierToExisting); per the extension it is not valid to restate the type
 6494|       |            // or specify a value together with constant_id.
 6495|      0|            requireExtensions(loc, 1, &E_GL_EXT_opacity_micromap_ray_query_mode, "gl_EnableOpacityMicromapEXT redeclaration");
 6496|      0|            if (qualifier.hasSpecConstantId())
  ------------------
  |  Branch (6496:17): [True: 0, False: 0]
  ------------------
 6497|      0|                error(loc, "cannot restate the type or specify a value with constant_id; use "
 6498|      0|                           "'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6499|      0|                      symbol->getName().c_str());
 6500|      0|            else if (qualifier.storage != EvqConst)
  ------------------
  |  Branch (6500:22): [True: 0, False: 0]
  ------------------
 6501|      0|                error(loc, "can only be redeclared as 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' "
 6502|      0|                           "or 'layout(constant_id = N) gl_EnableOpacityMicromapEXT;'", "redeclaration",
 6503|      0|                      symbol->getName().c_str());
 6504|       |            // For the valid 'const bool = <true|false>;' form the value is captured from the initializer
 6505|       |            // after it is processed (see declareVariable); nothing else to do to the symbol's qualifier here.
 6506|      0|        }
 6507|       |
 6508|       |        // TODO: semantics quality: separate smooth from nothing declared, then use IsInterpolation for several tests above
 6509|       |
 6510|      0|        return symbol;
 6511|      0|    }
 6512|       |
 6513|      0|    return nullptr;
 6514|      0|}
_ZN7glslang13TParseContext20paramCheckFixStorageERKNS_10TSourceLocERKNS_17TStorageQualifierERNS_5TTypeE:
 6741|   271k|{
 6742|   271k|    switch (qualifier) {
 6743|      0|    case EvqConst:
  ------------------
  |  Branch (6743:5): [True: 0, False: 271k]
  ------------------
 6744|      0|    case EvqConstReadOnly:
  ------------------
  |  Branch (6744:5): [True: 0, False: 271k]
  ------------------
 6745|      0|        type.getQualifier().storage = EvqConstReadOnly;
 6746|      0|        break;
 6747|     77|    case EvqIn:
  ------------------
  |  Branch (6747:5): [True: 77, False: 271k]
  ------------------
 6748|  11.0k|    case EvqOut:
  ------------------
  |  Branch (6748:5): [True: 10.9k, False: 261k]
  ------------------
 6749|  11.7k|    case EvqInOut:
  ------------------
  |  Branch (6749:5): [True: 756, False: 271k]
  ------------------
 6750|  11.7k|    case EvqTileImageEXT:
  ------------------
  |  Branch (6750:5): [True: 0, False: 271k]
  ------------------
 6751|  11.7k|        type.getQualifier().storage = qualifier;
 6752|  11.7k|        break;
 6753|  6.59k|    case EvqGlobal:
  ------------------
  |  Branch (6753:5): [True: 6.59k, False: 265k]
  ------------------
 6754|   260k|    case EvqTemporary:
  ------------------
  |  Branch (6754:5): [True: 253k, False: 18.3k]
  ------------------
 6755|   260k|        type.getQualifier().storage = EvqIn;
 6756|   260k|        break;
 6757|      0|    default:
  ------------------
  |  Branch (6757:5): [True: 0, False: 271k]
  ------------------
 6758|      0|        type.getQualifier().storage = EvqIn;
 6759|      0|        error(loc, "storage qualifier not allowed on function parameter", GetStorageQualifierString(qualifier), "");
 6760|      0|        break;
 6761|   271k|    }
 6762|   271k|}
_ZN7glslang13TParseContext13paramCheckFixERKNS_10TSourceLocERKNS_10TQualifierERNS_5TTypeE:
 6765|  32.7k|{
 6766|  32.7k|    if (qualifier.isMemory()) {
  ------------------
  |  Branch (6766:9): [True: 15.0k, False: 17.6k]
  ------------------
 6767|  15.0k|        type.getQualifier().volatil   = qualifier.volatil;
 6768|  15.0k|        type.getQualifier().nontemporal   = qualifier.nontemporal;
 6769|  15.0k|        type.getQualifier().coherent  = qualifier.coherent;
 6770|  15.0k|        type.getQualifier().devicecoherent  = qualifier.devicecoherent ;
 6771|  15.0k|        type.getQualifier().queuefamilycoherent  = qualifier.queuefamilycoherent;
 6772|  15.0k|        type.getQualifier().workgroupcoherent  = qualifier.workgroupcoherent;
 6773|  15.0k|        type.getQualifier().subgroupcoherent  = qualifier.subgroupcoherent;
 6774|  15.0k|        type.getQualifier().shadercallcoherent = qualifier.shadercallcoherent;
 6775|  15.0k|        type.getQualifier().nonprivate = qualifier.nonprivate;
 6776|  15.0k|        type.getQualifier().readonly  = qualifier.readonly;
 6777|  15.0k|        type.getQualifier().writeonly = qualifier.writeonly;
 6778|  15.0k|        type.getQualifier().restrict  = qualifier.restrict;
 6779|  15.0k|    }
 6780|       |
 6781|  32.7k|    if (qualifier.isAuxiliary() ||
  ------------------
  |  Branch (6781:9): [True: 0, False: 32.7k]
  ------------------
 6782|  32.7k|        qualifier.isInterpolation())
  ------------------
  |  Branch (6782:9): [True: 0, False: 32.7k]
  ------------------
 6783|      0|        error(loc, "cannot use auxiliary or interpolation qualifiers on a function parameter", "", "");
 6784|  32.7k|    if (qualifier.hasLayout())
  ------------------
  |  Branch (6784:9): [True: 0, False: 32.7k]
  ------------------
 6785|      0|        error(loc, "cannot use layout qualifiers on a function parameter", "", "");
 6786|  32.7k|    if (qualifier.invariant)
  ------------------
  |  Branch (6786:9): [True: 0, False: 32.7k]
  ------------------
 6787|      0|        error(loc, "cannot use invariant qualifier on a function parameter", "", "");
 6788|  32.7k|    if (qualifier.isNoContraction()) {
  ------------------
  |  Branch (6788:9): [True: 0, False: 32.7k]
  ------------------
 6789|      0|        if (qualifier.isParamOutput())
  ------------------
  |  Branch (6789:13): [True: 0, False: 0]
  ------------------
 6790|      0|            type.getQualifier().setNoContraction();
 6791|      0|        else
 6792|      0|            warn(loc, "qualifier has no effect on non-output parameters", "precise", "");
 6793|      0|    }
 6794|  32.7k|    if (qualifier.isNonUniform())
  ------------------
  |  Branch (6794:9): [True: 0, False: 32.7k]
  ------------------
 6795|      0|        type.getQualifier().nonUniform = qualifier.nonUniform;
 6796|  32.7k|    if (qualifier.isSpirvByReference())
  ------------------
  |  Branch (6796:9): [True: 0, False: 32.7k]
  ------------------
 6797|      0|        type.getQualifier().setSpirvByReference();
 6798|  32.7k|    if (qualifier.isSpirvLiteral()) {
  ------------------
  |  Branch (6798:9): [True: 0, False: 32.7k]
  ------------------
 6799|      0|        if (type.getBasicType() == EbtFloat || type.getBasicType() == EbtInt || type.getBasicType() == EbtUint ||
  ------------------
  |  Branch (6799:13): [True: 0, False: 0]
  |  Branch (6799:48): [True: 0, False: 0]
  |  Branch (6799:81): [True: 0, False: 0]
  ------------------
 6800|      0|            type.getBasicType() == EbtBool)
  ------------------
  |  Branch (6800:13): [True: 0, False: 0]
  ------------------
 6801|      0|            type.getQualifier().setSpirvLiteral();
 6802|      0|        else
 6803|      0|            error(loc, "cannot use spirv_literal qualifier", type.getBasicTypeString().c_str(), "");
 6804|      0|    }
 6805|       |
 6806|  32.7k|    paramCheckFixStorage(loc, qualifier.storage, type);
 6807|  32.7k|}
_ZN7glslang13TParseContext16nestedBlockCheckERKNS_10TSourceLocEb:
 6810|     63|{
 6811|     63|    if (allowedInnerStruct) {
  ------------------
  |  Branch (6811:9): [True: 0, False: 63]
  ------------------
 6812|      0|        if ((structNestingLevel <= 0 && blockNestingLevel <= 0) ||
  ------------------
  |  Branch (6812:14): [True: 0, False: 0]
  |  Branch (6812:41): [True: 0, False: 0]
  ------------------
 6813|      0|            (structNestingLevel > 0 && blockNestingLevel > 0) ||
  ------------------
  |  Branch (6813:14): [True: 0, False: 0]
  |  Branch (6813:40): [True: 0, False: 0]
  ------------------
 6814|      0|            blockNestingLevel > 1)
  ------------------
  |  Branch (6814:13): [True: 0, False: 0]
  ------------------
 6815|      0|            error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6816|     63|    } else if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6816:16): [True: 0, False: 63]
  |  Branch (6816:42): [True: 0, False: 63]
  ------------------
 6817|      0|        error(loc, "cannot nest a block definition inside a structure or block", "", "");
 6818|     63|    ++blockNestingLevel;
 6819|     63|}
_ZN7glslang13TParseContext17nestedStructCheckERKNS_10TSourceLocE:
 6822|     29|{
 6823|     29|    if (structNestingLevel > 0 || blockNestingLevel > 0)
  ------------------
  |  Branch (6823:9): [True: 0, False: 29]
  |  Branch (6823:35): [True: 0, False: 29]
  ------------------
 6824|      0|        error(loc, "cannot nest a structure definition inside a structure or block", "", "");
 6825|     29|    ++structNestingLevel;
 6826|     29|}
_ZN7glslang13TParseContext16arrayObjectCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6829|   100k|{
 6830|       |    // Some versions don't allow comparing arrays or structures containing arrays
 6831|   100k|    if (type.containsArray()) {
  ------------------
  |  Branch (6831:9): [True: 0, False: 100k]
  ------------------
 6832|      0|        profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, op);
 6833|      0|        profileRequires(loc, EEsProfile, 300, nullptr, op);
 6834|      0|    }
 6835|   100k|}
_ZN7glslang13TParseContext19specializationCheckERKNS_10TSourceLocERKNS_5TTypeEPKc:
 6883|      1|{
 6884|      1|    if (type.containsSpecializationSize())
  ------------------
  |  Branch (6884:9): [True: 0, False: 1]
  ------------------
 6885|      0|        error(loc, "can't use with types containing arrays sized with a specialization constant", op, "");
 6886|      1|}
_ZN7glslang13TParseContext15structTypeCheckERKNS_10TSourceLocERNS_11TPublicTypeE:
 6889|     29|{
 6890|     29|    const TTypeList& typeList = *publicType.userDef->getStruct();
 6891|       |
 6892|       |    // fix and check for member storage qualifiers and types that don't belong within a structure
 6893|    144|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (6893:35): [True: 115, False: 29]
  ------------------
 6894|    115|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
 6895|    115|        const TSourceLoc& memberLoc = typeList[member].loc;
 6896|    115|        if (memberQualifier.isAuxiliary() ||
  ------------------
  |  Branch (6896:13): [True: 0, False: 115]
  ------------------
 6897|    115|            memberQualifier.isInterpolation() ||
  ------------------
  |  Branch (6897:13): [True: 0, False: 115]
  ------------------
 6898|    115|            (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (6898:14): [True: 115, False: 0]
  |  Branch (6898:57): [True: 0, False: 115]
  ------------------
 6899|      0|             !memberQualifier.layoutDescriptorHeap && !memberQualifier.isBufferType()))
  ------------------
  |  Branch (6899:14): [True: 0, False: 0]
  |  Branch (6899:55): [True: 0, False: 0]
  ------------------
 6900|      0|            error(memberLoc, "cannot use storage or interpolation qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6901|    115|        if (memberQualifier.isMemory())
  ------------------
  |  Branch (6901:13): [True: 0, False: 115]
  ------------------
 6902|      0|            error(memberLoc, "cannot use memory qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6903|    115|        if (memberQualifier.hasLayout() && !memberQualifier.isBufferType()) {
  ------------------
  |  Branch (6903:13): [True: 0, False: 115]
  |  Branch (6903:44): [True: 0, False: 0]
  ------------------
 6904|      0|            error(memberLoc, "cannot use layout qualifiers on structure members", typeList[member].type->getFieldName().c_str(), "");
 6905|      0|            memberQualifier.clearLayout();
 6906|      0|        }
 6907|    115|        if (memberQualifier.invariant)
  ------------------
  |  Branch (6907:13): [True: 0, False: 115]
  ------------------
 6908|      0|            error(memberLoc, "cannot use invariant qualifier on structure members", typeList[member].type->getFieldName().c_str(), "");
 6909|    115|    }
 6910|     29|}
_ZN7glslang13TParseContext6finishEv:
 7060|    265|{
 7061|    265|    TParseContextBase::finish();
 7062|       |
 7063|    265|    if (parsingBuiltins)
  ------------------
  |  Branch (7063:9): [True: 261, False: 4]
  ------------------
 7064|    261|        return;
 7065|       |
 7066|       |    // Forward builtin alias to AST for later use
 7067|      4|    intermediate.setBuiltinAliasLookup(symbolTable.collectBuiltinAlias());
 7068|       |
 7069|       |    // Check on array indexes for ES 2.0 (version 100) limitations.
 7070|      4|    for (size_t i = 0; i < needsIndexLimitationChecking.size(); ++i)
  ------------------
  |  Branch (7070:24): [True: 0, False: 4]
  ------------------
 7071|      0|        constantIndexExpressionCheck(needsIndexLimitationChecking[i]);
 7072|       |
 7073|       |    // Check for stages that are enabled by extension.
 7074|       |    // Can't do this at the beginning, it is chicken and egg to add a stage by
 7075|       |    // extension.
 7076|       |    // Stage-specific features were correctly tested for already, this is just
 7077|       |    // about the stage itself.
 7078|      4|    switch (language) {
 7079|      0|    case EShLangGeometry:
  ------------------
  |  Branch (7079:5): [True: 0, False: 4]
  ------------------
 7080|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7080:13): [True: 0, False: 0]
  |  Branch (7080:30): [True: 0, False: 0]
  ------------------
 7081|      0|            requireExtensions(getCurrentLoc(), Num_AEP_geometry_shader, AEP_geometry_shader, "geometry shaders");
 7082|      0|        break;
 7083|      0|    case EShLangTessControl:
  ------------------
  |  Branch (7083:5): [True: 0, False: 4]
  ------------------
 7084|      0|    case EShLangTessEvaluation:
  ------------------
  |  Branch (7084:5): [True: 0, False: 4]
  ------------------
 7085|      0|        if (isEsProfile() && version == 310)
  ------------------
  |  Branch (7085:13): [True: 0, False: 0]
  |  Branch (7085:30): [True: 0, False: 0]
  ------------------
 7086|      0|            requireExtensions(getCurrentLoc(), Num_AEP_tessellation_shader, AEP_tessellation_shader, "tessellation shaders");
 7087|      0|        else if (!isEsProfile() && version < 400)
  ------------------
  |  Branch (7087:18): [True: 0, False: 0]
  |  Branch (7087:36): [True: 0, False: 0]
  ------------------
 7088|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_tessellation_shader, "tessellation shaders");
 7089|      0|        break;
 7090|      0|    case EShLangCompute:
  ------------------
  |  Branch (7090:5): [True: 0, False: 4]
  ------------------
 7091|      0|        if (!isEsProfile() && version < 430)
  ------------------
  |  Branch (7091:13): [True: 0, False: 0]
  |  Branch (7091:31): [True: 0, False: 0]
  ------------------
 7092|      0|            requireExtensions(getCurrentLoc(), 1, &E_GL_ARB_compute_shader, "compute shaders");
 7093|      0|        break;
 7094|      0|    case EShLangTask:
  ------------------
  |  Branch (7094:5): [True: 0, False: 4]
  ------------------
 7095|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "task shaders");
 7096|      0|        break;
 7097|      0|    case EShLangMesh:
  ------------------
  |  Branch (7097:5): [True: 0, False: 4]
  ------------------
 7098|      0|        requireExtensions(getCurrentLoc(), Num_AEP_mesh_shader, AEP_mesh_shader, "mesh shaders");
 7099|      0|        break;
 7100|      4|    default:
  ------------------
  |  Branch (7100:5): [True: 4, False: 0]
  ------------------
 7101|      4|        break;
 7102|      4|    }
 7103|       |
 7104|      4|    if (intermediate.IsRequestedExtension(E_GL_KHR_compute_shader_derivatives) &&
  ------------------
  |  Branch (7104:9): [True: 0, False: 4]
  ------------------
 7105|      0|        !khrDerivativeLayoutQualifierSpecified) {
  ------------------
  |  Branch (7105:9): [True: 0, False: 0]
  ------------------
 7106|      0|        error(getCurrentLoc(), "requires one of derivative_group_quadsKHR or derivative_group_linearKHR layout qualifiers",
 7107|      0|              E_GL_KHR_compute_shader_derivatives, "");
 7108|      0|    }
 7109|       |
 7110|      4|    if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupQuads) {
  ------------------
  |  Branch (7110:9): [True: 0, False: 4]
  ------------------
 7111|      0|        if ((intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet && (intermediate.getLocalSize(0) & 1)) ||
  ------------------
  |  Branch (7111:14): [True: 0, False: 0]
  |  Branch (7111:80): [True: 0, False: 0]
  ------------------
 7112|      0|            (intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet && (intermediate.getLocalSize(1) & 1)))
  ------------------
  |  Branch (7112:14): [True: 0, False: 0]
  |  Branch (7112:80): [True: 0, False: 0]
  ------------------
 7113|      0|            error(getCurrentLoc(), "requires local_size_x and local_size_y to be multiple of two", "derivative_group_quads", "");
 7114|      4|    } else if (intermediate.getLayoutDerivativeModeNone() == LayoutDerivativeGroupLinear) {
  ------------------
  |  Branch (7114:16): [True: 0, False: 4]
  ------------------
 7115|      0|        if (intermediate.getLocalSizeSpecId(0) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7115:13): [True: 0, False: 0]
  ------------------
 7116|      0|            intermediate.getLocalSizeSpecId(1) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7116:13): [True: 0, False: 0]
  ------------------
 7117|      0|            intermediate.getLocalSizeSpecId(2) == TQualifier::layoutNotSet &&
  ------------------
  |  Branch (7117:13): [True: 0, False: 0]
  ------------------
 7118|      0|            (intermediate.getLocalSize(0) *
  ------------------
  |  Branch (7118:13): [True: 0, False: 0]
  ------------------
 7119|      0|             intermediate.getLocalSize(1) *
 7120|      0|             intermediate.getLocalSize(2)) % 4 != 0)
 7121|      0|            error(getCurrentLoc(), "requires total group size to be multiple of four", "derivative_group_linear", "");
 7122|      0|    }
 7123|       |
 7124|       |    // Set default outputs for GL_NV_geometry_shader_passthrough
 7125|      4|    if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
  ------------------
  |  Branch (7125:9): [True: 0, False: 4]
  |  Branch (7125:40): [True: 0, False: 0]
  ------------------
 7126|      0|        if (intermediate.getOutputPrimitive() == ElgNone) {
  ------------------
  |  Branch (7126:13): [True: 0, False: 0]
  ------------------
 7127|      0|            switch (intermediate.getInputPrimitive()) {
 7128|      0|            case ElgPoints:      intermediate.setOutputPrimitive(ElgPoints);    break;
  ------------------
  |  Branch (7128:13): [True: 0, False: 0]
  ------------------
 7129|      0|            case ElgLines:       intermediate.setOutputPrimitive(ElgLineStrip); break;
  ------------------
  |  Branch (7129:13): [True: 0, False: 0]
  ------------------
 7130|      0|            case ElgTriangles:   intermediate.setOutputPrimitive(ElgTriangleStrip); break;
  ------------------
  |  Branch (7130:13): [True: 0, False: 0]
  ------------------
 7131|      0|            default: break;
  ------------------
  |  Branch (7131:13): [True: 0, False: 0]
  ------------------
 7132|      0|            }
 7133|      0|        }
 7134|      0|        if (intermediate.getVertices() == TQualifier::layoutNotSet) {
  ------------------
  |  Branch (7134:13): [True: 0, False: 0]
  ------------------
 7135|      0|            switch (intermediate.getInputPrimitive()) {
 7136|      0|            case ElgPoints:      intermediate.setVertices(1); break;
  ------------------
  |  Branch (7136:13): [True: 0, False: 0]
  ------------------
 7137|      0|            case ElgLines:       intermediate.setVertices(2); break;
  ------------------
  |  Branch (7137:13): [True: 0, False: 0]
  ------------------
 7138|      0|            case ElgTriangles:   intermediate.setVertices(3); break;
  ------------------
  |  Branch (7138:13): [True: 0, False: 0]
  ------------------
 7139|      0|            default: break;
  ------------------
  |  Branch (7139:13): [True: 0, False: 0]
  ------------------
 7140|      0|            }
 7141|      0|        }
 7142|      0|    }
 7143|      4|}
_ZN7glslang13TParseContext27mergeObjectLayoutQualifiersERNS_10TQualifierERKS1_b:
 8025|  44.8k|{
 8026|  44.8k|    if (src.hasMatrix())
  ------------------
  |  Branch (8026:9): [True: 0, False: 44.8k]
  ------------------
 8027|      0|        dst.layoutMatrix = src.layoutMatrix;
 8028|  44.8k|    if (src.hasPacking())
  ------------------
  |  Branch (8028:9): [True: 0, False: 44.8k]
  ------------------
 8029|      0|        dst.layoutPacking = src.layoutPacking;
 8030|       |
 8031|  44.8k|    if (src.hasStream())
  ------------------
  |  Branch (8031:9): [True: 7, False: 44.8k]
  ------------------
 8032|      7|        dst.layoutStream = src.layoutStream;
 8033|  44.8k|    if (src.hasFormat())
  ------------------
  |  Branch (8033:9): [True: 0, False: 44.8k]
  ------------------
 8034|      0|        dst.layoutFormat = src.layoutFormat;
 8035|  44.8k|    if (src.hasXfbBuffer())
  ------------------
  |  Branch (8035:9): [True: 28, False: 44.8k]
  ------------------
 8036|     28|        dst.layoutXfbBuffer = src.layoutXfbBuffer;
 8037|  44.8k|    if (src.hasBufferReferenceAlign())
  ------------------
  |  Branch (8037:9): [True: 0, False: 44.8k]
  ------------------
 8038|      0|        dst.layoutBufferReferenceAlign = src.layoutBufferReferenceAlign;
 8039|       |
 8040|  44.8k|    if (src.hasAlign())
  ------------------
  |  Branch (8040:9): [True: 0, False: 44.8k]
  ------------------
 8041|      0|        dst.layoutAlign = src.layoutAlign;
 8042|       |
 8043|  44.8k|    if (! inheritOnly) {
  ------------------
  |  Branch (8043:9): [True: 44.7k, False: 126]
  ------------------
 8044|  44.7k|        if (src.hasLocation())
  ------------------
  |  Branch (8044:13): [True: 0, False: 44.7k]
  ------------------
 8045|      0|            dst.layoutLocation = src.layoutLocation;
 8046|  44.7k|        if (src.hasOffset())
  ------------------
  |  Branch (8046:13): [True: 0, False: 44.7k]
  ------------------
 8047|      0|            dst.layoutOffset = src.layoutOffset;
 8048|  44.7k|        if (src.hasSet())
  ------------------
  |  Branch (8048:13): [True: 0, False: 44.7k]
  ------------------
 8049|      0|            dst.layoutSet = src.layoutSet;
 8050|  44.7k|        if (src.hasBinding())
  ------------------
  |  Branch (8050:13): [True: 0, False: 44.7k]
  ------------------
 8051|      0|            dst.layoutBinding = src.layoutBinding;
 8052|       |
 8053|  44.7k|        if (src.hasSpecConstantId())
  ------------------
  |  Branch (8053:13): [True: 0, False: 44.7k]
  ------------------
 8054|      0|            dst.layoutSpecConstantId = src.layoutSpecConstantId;
 8055|       |
 8056|  44.7k|        if (src.hasComponent())
  ------------------
  |  Branch (8056:13): [True: 0, False: 44.7k]
  ------------------
 8057|      0|            dst.layoutComponent = src.layoutComponent;
 8058|  44.7k|        if (src.hasIndex())
  ------------------
  |  Branch (8058:13): [True: 0, False: 44.7k]
  ------------------
 8059|      0|            dst.layoutIndex = src.layoutIndex;
 8060|  44.7k|        if (src.hasXfbStride())
  ------------------
  |  Branch (8060:13): [True: 0, False: 44.7k]
  ------------------
 8061|      0|            dst.layoutXfbStride = src.layoutXfbStride;
 8062|  44.7k|        if (src.hasXfbOffset())
  ------------------
  |  Branch (8062:13): [True: 0, False: 44.7k]
  ------------------
 8063|      0|            dst.layoutXfbOffset = src.layoutXfbOffset;
 8064|  44.7k|        if (src.hasAttachment())
  ------------------
  |  Branch (8064:13): [True: 0, False: 44.7k]
  ------------------
 8065|      0|            dst.layoutAttachment = src.layoutAttachment;
 8066|  44.7k|        if (src.layoutDescriptorHeap)
  ------------------
  |  Branch (8066:13): [True: 0, False: 44.7k]
  ------------------
 8067|      0|            dst.layoutDescriptorHeap = true;
 8068|  44.7k|        if (src.descriptorHeapDescriptorNode)
  ------------------
  |  Branch (8068:13): [True: 0, False: 44.7k]
  ------------------
 8069|      0|            dst.descriptorHeapDescriptorNode = true;
 8070|  44.7k|        if (src.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd)
  ------------------
  |  Branch (8070:13): [True: 0, False: 44.7k]
  ------------------
 8071|      0|            dst.layoutDescriptorStride = src.layoutDescriptorStride;
 8072|  44.7k|        if (src.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd)
  ------------------
  |  Branch (8072:13): [True: 0, False: 44.7k]
  ------------------
 8073|      0|            dst.layoutDescriptorSize = src.layoutDescriptorSize;
 8074|  44.7k|        if (src.layoutHeapOffset != 0)
  ------------------
  |  Branch (8074:13): [True: 0, False: 44.7k]
  ------------------
 8075|      0|            dst.layoutHeapOffset = src.layoutHeapOffset;
 8076|  44.7k|        if (src.layoutHeapOffsetNode != nullptr)
  ------------------
  |  Branch (8076:13): [True: 0, False: 44.7k]
  ------------------
 8077|      0|            dst.layoutHeapOffsetNode = src.layoutHeapOffsetNode;
 8078|  44.7k|        if (src.layoutPushConstant)
  ------------------
  |  Branch (8078:13): [True: 0, False: 44.7k]
  ------------------
 8079|      0|            dst.layoutPushConstant = true;
 8080|       |
 8081|  44.7k|        if (src.layoutBufferReference)
  ------------------
  |  Branch (8081:13): [True: 0, False: 44.7k]
  ------------------
 8082|      0|            dst.layoutBufferReference = true;
 8083|  44.7k|        if (src.layoutDescriptorBufferType)
  ------------------
  |  Branch (8083:13): [True: 0, False: 44.7k]
  ------------------
 8084|      0|            dst.layoutDescriptorBufferType = true;
 8085|       |
 8086|  44.7k|        if (src.layoutPassthrough)
  ------------------
  |  Branch (8086:13): [True: 0, False: 44.7k]
  ------------------
 8087|      0|            dst.layoutPassthrough = true;
 8088|  44.7k|        if (src.layoutViewportRelative)
  ------------------
  |  Branch (8088:13): [True: 0, False: 44.7k]
  ------------------
 8089|      0|            dst.layoutViewportRelative = true;
 8090|  44.7k|        if (src.layoutSecondaryViewportRelativeOffset != -2048)
  ------------------
  |  Branch (8090:13): [True: 0, False: 44.7k]
  ------------------
 8091|      0|            dst.layoutSecondaryViewportRelativeOffset = src.layoutSecondaryViewportRelativeOffset;
 8092|  44.7k|        if (src.layoutShaderRecord)
  ------------------
  |  Branch (8092:13): [True: 0, False: 44.7k]
  ------------------
 8093|      0|            dst.layoutShaderRecord = true;
 8094|  44.7k|        if (src.layoutFullQuads)
  ------------------
  |  Branch (8094:13): [True: 0, False: 44.7k]
  ------------------
 8095|      0|            dst.layoutFullQuads = true;
 8096|  44.7k|        if (src.layoutQuadDeriv)
  ------------------
  |  Branch (8096:13): [True: 0, False: 44.7k]
  ------------------
 8097|      0|            dst.layoutQuadDeriv = true;
 8098|  44.7k|        if (src.layoutBindlessSampler)
  ------------------
  |  Branch (8098:13): [True: 0, False: 44.7k]
  ------------------
 8099|      0|            dst.layoutBindlessSampler = true;
 8100|  44.7k|        if (src.layoutBindlessImage)
  ------------------
  |  Branch (8100:13): [True: 0, False: 44.7k]
  ------------------
 8101|      0|            dst.layoutBindlessImage = true;
 8102|  44.7k|        if (src.pervertexNV)
  ------------------
  |  Branch (8102:13): [True: 0, False: 44.7k]
  ------------------
 8103|      0|            dst.pervertexNV = true;
 8104|  44.7k|        if (src.pervertexEXT)
  ------------------
  |  Branch (8104:13): [True: 0, False: 44.7k]
  ------------------
 8105|      0|            dst.pervertexEXT = true;
 8106|  44.7k|        if (src.layoutHitObjectShaderRecordNV)
  ------------------
  |  Branch (8106:13): [True: 0, False: 44.7k]
  ------------------
 8107|      0|            dst.layoutHitObjectShaderRecordNV = true;
 8108|  44.7k|        dst.layoutTileAttachmentQCOM |= src.layoutTileAttachmentQCOM;
 8109|  44.7k|        if (src.layoutHitObjectShaderRecordEXT)
  ------------------
  |  Branch (8109:13): [True: 0, False: 44.7k]
  ------------------
 8110|      0|            dst.layoutHitObjectShaderRecordEXT = true;
 8111|  44.7k|        if (src.hasBank())
  ------------------
  |  Branch (8111:13): [True: 0, False: 44.7k]
  ------------------
 8112|      0|            dst.layoutBank = src.layoutBank;
 8113|  44.7k|        if (src.hasMemberOffset())
  ------------------
  |  Branch (8113:13): [True: 0, False: 44.7k]
  ------------------
 8114|      0|            dst.layoutMemberOffset = src.layoutMemberOffset;
 8115|  44.7k|    }
 8116|  44.8k|}
_ZN7glslang13TParseContext17layoutObjectCheckERKNS_10TSourceLocERKNS_7TSymbolE:
 8120|  3.81k|{
 8121|  3.81k|    const TType& type = symbol.getType();
 8122|  3.81k|    const TQualifier& qualifier = type.getQualifier();
 8123|       |
 8124|       |    // first, cross check WRT to just the type
 8125|  3.81k|    layoutTypeCheck(loc, type);
 8126|       |
 8127|       |    // now, any remaining error checking based on the object itself
 8128|       |
 8129|  3.81k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8129:9): [True: 0, False: 3.81k]
  ------------------
 8130|      0|        switch (qualifier.storage) {
 8131|      0|        case EvqUniform:
  ------------------
  |  Branch (8131:9): [True: 0, False: 0]
  ------------------
 8132|      0|        case EvqBuffer:
  ------------------
  |  Branch (8132:9): [True: 0, False: 0]
  ------------------
 8133|      0|            if (symbol.getAsVariable() == nullptr)
  ------------------
  |  Branch (8133:17): [True: 0, False: 0]
  ------------------
 8134|      0|                error(loc, "can only be used on variable declaration", "location", "");
 8135|      0|            break;
 8136|      0|        default:
  ------------------
  |  Branch (8136:9): [True: 0, False: 0]
  ------------------
 8137|      0|            break;
 8138|      0|        }
 8139|      0|    }
 8140|       |
 8141|       |    // user-variable location check, which are required for SPIR-V in/out:
 8142|       |    //  - variables have it directly,
 8143|       |    //  - blocks have it on each member (already enforced), so check first one
 8144|  3.81k|    if (spvVersion.spv > 0 && !parsingBuiltins && qualifier.builtIn == EbvNone &&
  ------------------
  |  Branch (8144:9): [True: 0, False: 3.81k]
  |  Branch (8144:31): [True: 0, False: 0]
  |  Branch (8144:51): [True: 0, False: 0]
  ------------------
 8145|      0|        !qualifier.hasLocation() && !intermediate.getAutoMapLocations()) {
  ------------------
  |  Branch (8145:9): [True: 0, False: 0]
  |  Branch (8145:37): [True: 0, False: 0]
  ------------------
 8146|       |
 8147|      0|        switch (qualifier.storage) {
 8148|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8148:9): [True: 0, False: 0]
  ------------------
 8149|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8149:9): [True: 0, False: 0]
  ------------------
 8150|      0|            if (!type.getQualifier().isTaskMemory() && !type.getQualifier().hasSpirvDecorate() &&
  ------------------
  |  Branch (8150:17): [True: 0, False: 0]
  |  Branch (8150:56): [True: 0, False: 0]
  ------------------
 8151|      0|                (type.getBasicType() != EbtBlock ||
  ------------------
  |  Branch (8151:18): [True: 0, False: 0]
  ------------------
 8152|      0|                 (type.getStruct()->size() > 0 &&
  ------------------
  |  Branch (8152:19): [True: 0, False: 0]
  ------------------
 8153|      0|                  !(*type.getStruct())[0].type->getQualifier().hasLocation() &&
  ------------------
  |  Branch (8153:19): [True: 0, False: 0]
  ------------------
 8154|      0|                   (*type.getStruct())[0].type->getQualifier().builtIn == EbvNone)))
  ------------------
  |  Branch (8154:20): [True: 0, False: 0]
  ------------------
 8155|      0|                error(loc, "SPIR-V requires location for user input/output", "location", "");
 8156|      0|            break;
 8157|      0|        default:
  ------------------
  |  Branch (8157:9): [True: 0, False: 0]
  ------------------
 8158|      0|            break;
 8159|      0|        }
 8160|      0|    }
 8161|       |
 8162|       |    // Check packing and matrix
 8163|  3.81k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8163:9): [True: 0, False: 3.81k]
  ------------------
 8164|      0|        switch (qualifier.storage) {
 8165|      0|        case EvqUniform:
  ------------------
  |  Branch (8165:9): [True: 0, False: 0]
  ------------------
 8166|      0|        case EvqBuffer:
  ------------------
  |  Branch (8166:9): [True: 0, False: 0]
  ------------------
 8167|      0|            if (type.getBasicType() != EbtBlock) {
  ------------------
  |  Branch (8167:17): [True: 0, False: 0]
  ------------------
 8168|      0|                if (qualifier.hasMatrix())
  ------------------
  |  Branch (8168:21): [True: 0, False: 0]
  ------------------
 8169|      0|                    error(loc, "cannot specify matrix layout on a variable declaration", "layout", "");
 8170|      0|                if (qualifier.hasPacking())
  ------------------
  |  Branch (8170:21): [True: 0, False: 0]
  ------------------
 8171|      0|                    error(loc, "cannot specify packing on a variable declaration", "layout", "");
 8172|       |                // "The offset qualifier can only be used on block members of blocks..."
 8173|      0|                if (qualifier.hasOffset() && !type.isAtomic())
  ------------------
  |  Branch (8173:21): [True: 0, False: 0]
  |  Branch (8173:46): [True: 0, False: 0]
  ------------------
 8174|      0|                    error(loc, "cannot specify on a variable declaration", "offset", "");
 8175|       |                // "The align qualifier can only be used on blocks or block members..."
 8176|      0|                if (qualifier.hasAlign())
  ------------------
  |  Branch (8176:21): [True: 0, False: 0]
  ------------------
 8177|      0|                    error(loc, "cannot specify on a variable declaration", "align", "");
 8178|      0|                if (qualifier.isPushConstant())
  ------------------
  |  Branch (8178:21): [True: 0, False: 0]
  ------------------
 8179|      0|                    error(loc, "can only specify on a uniform block", "push_constant", "");
 8180|      0|                if (qualifier.isShaderRecord())
  ------------------
  |  Branch (8180:21): [True: 0, False: 0]
  ------------------
 8181|      0|                    error(loc, "can only specify on a buffer block", "shaderRecordNV", "");
 8182|      0|                if (qualifier.hasLocation() && type.isAtomic())
  ------------------
  |  Branch (8182:21): [True: 0, False: 0]
  |  Branch (8182:48): [True: 0, False: 0]
  ------------------
 8183|      0|                    error(loc, "cannot specify on atomic counter", "location", "");
 8184|      0|            }
 8185|      0|            break;
 8186|      0|        default:
  ------------------
  |  Branch (8186:9): [True: 0, False: 0]
  ------------------
 8187|       |            // these were already filtered by layoutTypeCheck() (or its callees)
 8188|      0|            break;
 8189|      0|        }
 8190|      0|    }
 8191|       |
 8192|       |    // Check that an in/out variable or block doesn't contain a boolean member
 8193|       |    // Don't enforce if redeclaring a builtin, which are allowed to contain bool
 8194|  3.81k|    if (!parsingBuiltins && type.containsBasicType(EbtBool) && !builtInName(symbol.getName())) {
  ------------------
  |  Branch (8194:9): [True: 13, False: 3.79k]
  |  Branch (8194:29): [True: 0, False: 13]
  |  Branch (8194:64): [True: 0, False: 0]
  ------------------
 8195|      0|        switch(qualifier.storage) {
 8196|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8196:9): [True: 0, False: 0]
  ------------------
 8197|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8197:9): [True: 0, False: 0]
  ------------------
 8198|      0|        {
 8199|      0|            const char *reason = type.getBasicType() == EbtBool ? "cannot be bool" : "cannot contain bool";
  ------------------
  |  Branch (8199:34): [True: 0, False: 0]
  ------------------
 8200|      0|            error(loc, reason, GetStorageQualifierString(qualifier.storage), "");
 8201|      0|            break;
 8202|      0|        }
 8203|      0|        default:
  ------------------
  |  Branch (8203:9): [True: 0, False: 0]
  ------------------
 8204|      0|            break;
 8205|      0|        }
 8206|      0|    }
 8207|  3.81k|}
_ZN7glslang13TParseContext30layoutMemberLocationArrayCheckERKNS_10TSourceLocEbPNS_11TArraySizesE:
 8218|     63|{
 8219|     63|    if (memberWithLocation && arraySizes != nullptr) {
  ------------------
  |  Branch (8219:9): [True: 0, False: 63]
  |  Branch (8219:31): [True: 0, False: 0]
  ------------------
 8220|      0|        if (arraySizes->getNumDims() > (currentBlockQualifier.isArrayedIo(language) ? 1 : 0))
  ------------------
  |  Branch (8220:13): [True: 0, False: 0]
  |  Branch (8220:41): [True: 0, False: 0]
  ------------------
 8221|      0|            error(loc, "cannot use in a block array where new locations are needed for each block element",
 8222|      0|                       "location", "");
 8223|      0|    }
 8224|     63|}
_ZN7glslang13TParseContext15layoutTypeCheckERKNS_10TSourceLocERKNS_5TTypeE:
 8228|  4.15k|{
 8229|  4.15k|    const TQualifier& qualifier = type.getQualifier();
 8230|       |
 8231|       |    // first, intra-layout qualifier-only error checking
 8232|  4.15k|    layoutQualifierCheck(loc, qualifier);
 8233|       |
 8234|       |    // now, error checking combining type and qualifier
 8235|       |
 8236|  4.15k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8236:9): [True: 0, False: 4.15k]
  ------------------
 8237|      0|        if (qualifier.hasLocation()) {
  ------------------
  |  Branch (8237:13): [True: 0, False: 0]
  ------------------
 8238|      0|            if (qualifier.storage == EvqVaryingOut && language == EShLangFragment) {
  ------------------
  |  Branch (8238:17): [True: 0, False: 0]
  |  Branch (8238:55): [True: 0, False: 0]
  ------------------
 8239|      0|                if (qualifier.layoutLocation >= (unsigned int)resources.maxDrawBuffers)
  ------------------
  |  Branch (8239:21): [True: 0, False: 0]
  ------------------
 8240|      0|                    error(loc, "too large for fragment output", "location", "");
 8241|      0|            }
 8242|      0|        }
 8243|      0|        if (qualifier.hasComponent()) {
  ------------------
  |  Branch (8243:13): [True: 0, False: 0]
  ------------------
 8244|       |            // "It is a compile-time error if this sequence of components gets larger than 3."
 8245|      0|            if (qualifier.layoutComponent + type.getVectorSize() * (type.getBasicType() == EbtDouble ? 2 : 1) > 4)
  ------------------
  |  Branch (8245:17): [True: 0, False: 0]
  |  Branch (8245:69): [True: 0, False: 0]
  ------------------
 8246|      0|                error(loc, "type overflows the available 4 components", "component", "");
 8247|       |
 8248|       |            // "It is a compile-time error to apply the component qualifier to a matrix, a structure, a block, or an array containing any of these."
 8249|      0|            if (type.isMatrix() || type.getBasicType() == EbtBlock || type.getBasicType() == EbtStruct)
  ------------------
  |  Branch (8249:17): [True: 0, False: 0]
  |  Branch (8249:36): [True: 0, False: 0]
  |  Branch (8249:71): [True: 0, False: 0]
  ------------------
 8250|      0|                error(loc, "cannot apply to a matrix, structure, or block", "component", "");
 8251|       |
 8252|       |            // " It is a compile-time error to use component 1 or 3 as the beginning of a double or dvec2."
 8253|      0|            if (type.getBasicType() == EbtDouble)
  ------------------
  |  Branch (8253:17): [True: 0, False: 0]
  ------------------
 8254|      0|                if (qualifier.layoutComponent & 1)
  ------------------
  |  Branch (8254:21): [True: 0, False: 0]
  ------------------
 8255|      0|                    error(loc, "doubles cannot start on an odd-numbered component", "component", "");
 8256|      0|        }
 8257|       |
 8258|      0|        switch (qualifier.storage) {
 8259|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8259:9): [True: 0, False: 0]
  ------------------
 8260|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8260:9): [True: 0, False: 0]
  ------------------
 8261|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8261:17): [True: 0, False: 0]
  ------------------
 8262|      0|                profileRequires(loc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, "location qualifier on in/out block");
 8263|      0|            if (type.getQualifier().isTaskMemory())
  ------------------
  |  Branch (8263:17): [True: 0, False: 0]
  ------------------
 8264|      0|                error(loc, "cannot apply to taskNV in/out blocks", "location", "");
 8265|      0|            break;
 8266|      0|        case EvqUniform:
  ------------------
  |  Branch (8266:9): [True: 0, False: 0]
  ------------------
 8267|      0|        case EvqBuffer:
  ------------------
  |  Branch (8267:9): [True: 0, False: 0]
  ------------------
 8268|      0|            if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8268:17): [True: 0, False: 0]
  ------------------
 8269|      0|                error(loc, "cannot apply to uniform or buffer block", "location", "");
 8270|      0|            else if (type.getBasicType() == EbtSampler && type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8270:22): [True: 0, False: 0]
  |  Branch (8270:59): [True: 0, False: 0]
  ------------------
 8271|      0|                error(loc, "only applies to", "location", "%s with storage tileImageEXT", type.getBasicTypeString().c_str());
 8272|      0|            break;
 8273|      0|        case EvqtaskPayloadSharedEXT:
  ------------------
  |  Branch (8273:9): [True: 0, False: 0]
  ------------------
 8274|      0|            error(loc, "cannot apply to taskPayloadSharedEXT", "location", "");
 8275|      0|            break;
 8276|      0|        case EvqPayload:
  ------------------
  |  Branch (8276:9): [True: 0, False: 0]
  ------------------
 8277|      0|        case EvqPayloadIn:
  ------------------
  |  Branch (8277:9): [True: 0, False: 0]
  ------------------
 8278|      0|        case EvqHitAttr:
  ------------------
  |  Branch (8278:9): [True: 0, False: 0]
  ------------------
 8279|      0|        case EvqCallableData:
  ------------------
  |  Branch (8279:9): [True: 0, False: 0]
  ------------------
 8280|      0|        case EvqCallableDataIn:
  ------------------
  |  Branch (8280:9): [True: 0, False: 0]
  ------------------
 8281|      0|        case EvqHitObjectAttrNV:
  ------------------
  |  Branch (8281:9): [True: 0, False: 0]
  ------------------
 8282|      0|        case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (8282:9): [True: 0, False: 0]
  ------------------
 8283|      0|        case EvqSpirvStorageClass:
  ------------------
  |  Branch (8283:9): [True: 0, False: 0]
  ------------------
 8284|      0|            break;
 8285|      0|        case EvqTileImageEXT:
  ------------------
  |  Branch (8285:9): [True: 0, False: 0]
  ------------------
 8286|      0|            break;
 8287|      0|        default:
  ------------------
  |  Branch (8287:9): [True: 0, False: 0]
  ------------------
 8288|      0|            error(loc, "can only apply to uniform, buffer, in, or out storage qualifiers", "location", "");
 8289|      0|            break;
 8290|      0|        }
 8291|       |
 8292|      0|        bool typeCollision;
 8293|      0|        int repeated = intermediate.addUsedLocation(qualifier, type, typeCollision);
 8294|      0|        if (repeated >= 0 && ! typeCollision)
  ------------------
  |  Branch (8294:13): [True: 0, False: 0]
  |  Branch (8294:30): [True: 0, False: 0]
  ------------------
 8295|      0|            error(loc, "overlapping use of location", "location", "%d", repeated);
 8296|       |        // When location aliasing, the aliases sharing the location must have the same underlying numerical type and bit width(
 8297|       |        // floating - point or integer, 32 - bit versus 64 - bit,etc.)
 8298|      0|        if (typeCollision && (qualifier.isPipeInput() || qualifier.isPipeOutput() || qualifier.storage == EvqTileImageEXT))
  ------------------
  |  Branch (8298:13): [True: 0, False: 0]
  |  Branch (8298:31): [True: 0, False: 0]
  |  Branch (8298:58): [True: 0, False: 0]
  |  Branch (8298:86): [True: 0, False: 0]
  ------------------
 8299|      0|            error(loc, "the aliases sharing the location", "location", "%d must be the same basic type and interpolation qualification", repeated);
 8300|      0|    }
 8301|       |
 8302|  4.15k|    if (qualifier.hasXfbOffset() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8302:9): [True: 0, False: 4.15k]
  |  Branch (8302:37): [True: 0, False: 0]
  ------------------
 8303|      0|        if (type.isUnsizedArray()) {
  ------------------
  |  Branch (8303:13): [True: 0, False: 0]
  ------------------
 8304|      0|            error(loc, "unsized array", "xfb_offset", "in buffer %d", qualifier.layoutXfbBuffer);
 8305|      0|        } else {
 8306|      0|            int repeated = intermediate.addXfbBufferOffset(type);
 8307|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8307:17): [True: 0, False: 0]
  ------------------
 8308|      0|                error(loc, "overlapping offsets at", "xfb_offset", "offset %d in buffer %d", repeated, qualifier.layoutXfbBuffer);
 8309|      0|        }
 8310|       |
 8311|       |        // "The offset must be a multiple of the size of the first component of the first
 8312|       |        // qualified variable or block member, or a compile-time error results. Further, if applied to an aggregate
 8313|       |        // containing a double or 64-bit integer, the offset must also be a multiple of 8..."
 8314|      0|        if ((type.containsBasicType(EbtDouble) || type.containsBasicType(EbtInt64) || type.containsBasicType(EbtUint64)) &&
  ------------------
  |  Branch (8314:14): [True: 0, False: 0]
  |  Branch (8314:51): [True: 0, False: 0]
  |  Branch (8314:87): [True: 0, False: 0]
  ------------------
 8315|      0|            ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 8))
  ------------------
  |  Branch (8315:13): [True: 0, False: 0]
  ------------------
 8316|      0|            error(loc, "type contains double or 64-bit integer; xfb_offset must be a multiple of 8", "xfb_offset", "");
 8317|      0|        else if ((type.containsBasicType(EbtBool) || type.containsBasicType(EbtFloat) ||
  ------------------
  |  Branch (8317:19): [True: 0, False: 0]
  |  Branch (8317:54): [True: 0, False: 0]
  ------------------
 8318|      0|                  type.containsBasicType(EbtInt) || type.containsBasicType(EbtUint)) &&
  ------------------
  |  Branch (8318:19): [True: 0, False: 0]
  |  Branch (8318:53): [True: 0, False: 0]
  ------------------
 8319|      0|                 ! IsMultipleOfPow2(qualifier.layoutXfbOffset, 4))
  ------------------
  |  Branch (8319:18): [True: 0, False: 0]
  ------------------
 8320|      0|            error(loc, "must be a multiple of size of first component", "xfb_offset", "");
 8321|       |        // ..., if applied to an aggregate containing a half float or 16-bit integer, the offset must also be a multiple of 2..."
 8322|      0|        else if ((type.contains16BitFloat() || type.containsBasicType(EbtInt16) || type.containsBasicType(EbtUint16)) &&
  ------------------
  |  Branch (8322:19): [True: 0, False: 0]
  |  Branch (8322:48): [True: 0, False: 0]
  |  Branch (8322:84): [True: 0, False: 0]
  ------------------
 8323|      0|                 !IsMultipleOfPow2(qualifier.layoutXfbOffset, 2))
  ------------------
  |  Branch (8323:18): [True: 0, False: 0]
  ------------------
 8324|      0|            error(loc, "type contains half float or 16-bit integer; xfb_offset must be a multiple of 2", "xfb_offset", "");
 8325|      0|    }
 8326|  4.15k|    if (qualifier.hasXfbStride() && qualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (8326:9): [True: 0, False: 4.15k]
  |  Branch (8326:37): [True: 0, False: 0]
  ------------------
 8327|      0|        if (! intermediate.setXfbBufferStride(qualifier.layoutXfbBuffer, qualifier.layoutXfbStride))
  ------------------
  |  Branch (8327:13): [True: 0, False: 0]
  ------------------
 8328|      0|            error(loc, "all stride settings must match for xfb buffer", "xfb_stride", "%d", qualifier.layoutXfbBuffer);
 8329|      0|    }
 8330|       |
 8331|  4.15k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8331:9): [True: 0, False: 4.15k]
  ------------------
 8332|       |        // Binding checking, from the spec:
 8333|       |        //
 8334|       |        // "If the binding point for any uniform or shader storage block instance is less than zero, or greater than or
 8335|       |        // equal to the implementation-dependent maximum number of uniform buffer bindings, a compile-time
 8336|       |        // error will occur. When the binding identifier is used with a uniform or shader storage block instanced as
 8337|       |        // an array of size N, all elements of the array from binding through binding + N - 1 must be within this
 8338|       |        // range."
 8339|       |        //
 8340|      0|        if (!type.isOpaque() && type.getBasicType() != EbtBlock && type.getBasicType() != EbtSpirvType)
  ------------------
  |  Branch (8340:13): [True: 0, False: 0]
  |  Branch (8340:33): [True: 0, False: 0]
  |  Branch (8340:68): [True: 0, False: 0]
  ------------------
 8341|      0|            error(loc, "requires block, or sampler/image, or atomic-counter type", "binding", "");
 8342|      0|        if (type.getBasicType() == EbtSampler) {
  ------------------
  |  Branch (8342:13): [True: 0, False: 0]
  ------------------
 8343|      0|            int lastBinding = qualifier.layoutBinding;
 8344|      0|            if (type.isArray()) {
  ------------------
  |  Branch (8344:17): [True: 0, False: 0]
  ------------------
 8345|      0|                if (spvVersion.vulkan == 0) {
  ------------------
  |  Branch (8345:21): [True: 0, False: 0]
  ------------------
 8346|      0|                    if (type.isSizedArray())
  ------------------
  |  Branch (8346:25): [True: 0, False: 0]
  ------------------
 8347|      0|                        lastBinding += (type.getCumulativeArraySize() - 1);
 8348|      0|                    else {
 8349|      0|                        warn(loc, "assuming binding count of one for compile-time checking of binding numbers for unsized array", "[]", "");
 8350|      0|                    }
 8351|      0|                }
 8352|      0|            }
 8353|      0|            if (spvVersion.vulkan == 0 && lastBinding >= resources.maxCombinedTextureImageUnits)
  ------------------
  |  Branch (8353:17): [True: 0, False: 0]
  |  Branch (8353:43): [True: 0, False: 0]
  ------------------
 8354|      0|                error(loc, "sampler binding not less than gl_MaxCombinedTextureImageUnits", "binding", type.isArray() ? "(using array)" : "");
  ------------------
  |  Branch (8354:104): [True: 0, False: 0]
  ------------------
 8355|      0|        }
 8356|      0|        if (type.isAtomic() && !spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (8356:13): [True: 0, False: 0]
  |  Branch (8356:32): [True: 0, False: 0]
  ------------------
 8357|      0|            if (qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8357:17): [True: 0, False: 0]
  ------------------
 8358|      0|                error(loc, "atomic_uint binding is too large; see gl_MaxAtomicCounterBindings", "binding", "");
 8359|      0|                return;
 8360|      0|            }
 8361|      0|        }
 8362|  4.15k|    } else if (!intermediate.getAutoMapBindings()) {
  ------------------
  |  Branch (8362:16): [True: 4.15k, False: 0]
  ------------------
 8363|       |        // some types require bindings
 8364|       |
 8365|       |        // atomic_uint
 8366|  4.15k|        if (type.isAtomic())
  ------------------
  |  Branch (8366:13): [True: 0, False: 4.15k]
  ------------------
 8367|      0|            error(loc, "layout(binding=X) is required", "atomic_uint", "");
 8368|       |
 8369|       |        // SPIR-V
 8370|  4.15k|        if (spvVersion.spv > 0) {
  ------------------
  |  Branch (8370:13): [True: 0, False: 4.15k]
  ------------------
 8371|      0|            if (qualifier.isUniformOrBuffer() && !intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap)) {
  ------------------
  |  Branch (8371:17): [True: 0, False: 0]
  |  Branch (8371:50): [True: 0, False: 0]
  ------------------
 8372|      0|                if (type.getBasicType() == EbtBlock && !qualifier.isPushConstant() &&
  ------------------
  |  Branch (8372:21): [True: 0, False: 0]
  |  Branch (8372:56): [True: 0, False: 0]
  ------------------
 8373|      0|                       !qualifier.isShaderRecord() &&
  ------------------
  |  Branch (8373:24): [True: 0, False: 0]
  ------------------
 8374|      0|                       !qualifier.hasAttachment() &&
  ------------------
  |  Branch (8374:24): [True: 0, False: 0]
  ------------------
 8375|      0|                       !qualifier.hasBufferReference())
  ------------------
  |  Branch (8375:24): [True: 0, False: 0]
  ------------------
 8376|      0|                    error(loc, "uniform/buffer blocks require layout(binding=X)", "binding", "");
 8377|      0|                else if (spvVersion.vulkan > 0 && type.getBasicType() == EbtSampler && !type.getSampler().isAttachmentEXT())
  ------------------
  |  Branch (8377:26): [True: 0, False: 0]
  |  Branch (8377:51): [True: 0, False: 0]
  |  Branch (8377:88): [True: 0, False: 0]
  ------------------
 8378|      0|                    error(loc, "sampler/texture/image requires layout(binding=X)", "binding", "");
 8379|      0|            }
 8380|      0|        }
 8381|  4.15k|    }
 8382|       |
 8383|       |    // some things can't have arrays of arrays
 8384|  4.15k|    if (type.isArrayOfArrays()) {
  ------------------
  |  Branch (8384:9): [True: 21, False: 4.13k]
  ------------------
 8385|     21|        if (spvVersion.vulkan > 0) {
  ------------------
  |  Branch (8385:13): [True: 21, False: 0]
  ------------------
 8386|     21|            if (type.isOpaque() || (type.getQualifier().isUniformOrBuffer() && type.getBasicType() == EbtBlock))
  ------------------
  |  Branch (8386:17): [True: 0, False: 21]
  |  Branch (8386:37): [True: 0, False: 21]
  |  Branch (8386:80): [True: 0, False: 0]
  ------------------
 8387|      0|                warn(loc, "Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource", "[][]", "");
 8388|     21|        }
 8389|     21|    }
 8390|       |
 8391|       |    // "The offset qualifier can only be used on block members of blocks..."
 8392|  4.15k|    if (qualifier.hasOffset()) {
  ------------------
  |  Branch (8392:9): [True: 0, False: 4.15k]
  ------------------
 8393|      0|        if (type.getBasicType() == EbtBlock)
  ------------------
  |  Branch (8393:13): [True: 0, False: 0]
  ------------------
 8394|      0|            error(loc, "only applies to block members, not blocks", "offset", "");
 8395|      0|    }
 8396|       |
 8397|       |    // Image format
 8398|  4.15k|    if (qualifier.hasFormat()) {
  ------------------
  |  Branch (8398:9): [True: 0, False: 4.15k]
  ------------------
 8399|      0|        if (! type.isImage() && !intermediate.getBindlessImageMode())
  ------------------
  |  Branch (8399:13): [True: 0, False: 0]
  |  Branch (8399:33): [True: 0, False: 0]
  ------------------
 8400|      0|            error(loc, "only apply to images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8401|      0|        else {
 8402|      0|            if (type.getSampler().type == EbtFloat && qualifier.getFormat() > ElfFloatGuard)
  ------------------
  |  Branch (8402:17): [True: 0, False: 0]
  |  Branch (8402:55): [True: 0, False: 0]
  ------------------
 8403|      0|                error(loc, "does not apply to floating point images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8404|      0|            if (type.getSampler().type == EbtInt && (qualifier.getFormat() < ElfFloatGuard || qualifier.getFormat() > ElfIntGuard))
  ------------------
  |  Branch (8404:17): [True: 0, False: 0]
  |  Branch (8404:54): [True: 0, False: 0]
  |  Branch (8404:95): [True: 0, False: 0]
  ------------------
 8405|      0|                error(loc, "does not apply to signed integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8406|      0|            if (type.getSampler().type == EbtUint && qualifier.getFormat() < ElfIntGuard)
  ------------------
  |  Branch (8406:17): [True: 0, False: 0]
  |  Branch (8406:54): [True: 0, False: 0]
  ------------------
 8407|      0|                error(loc, "does not apply to unsigned integer images", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8408|       |
 8409|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (8409:17): [True: 0, False: 0]
  ------------------
 8410|       |                // "Except for image variables qualified with the format qualifiers r32f, r32i, and r32ui, image variables must
 8411|       |                // specify either memory qualifier readonly or the memory qualifier writeonly."
 8412|      0|                if (! (qualifier.getFormat() == ElfR32f || qualifier.getFormat() == ElfR32i || qualifier.getFormat() == ElfR32ui)) {
  ------------------
  |  Branch (8412:24): [True: 0, False: 0]
  |  Branch (8412:60): [True: 0, False: 0]
  |  Branch (8412:96): [True: 0, False: 0]
  ------------------
 8413|      0|                    if (! qualifier.isReadOnly() && ! qualifier.isWriteOnly())
  ------------------
  |  Branch (8413:25): [True: 0, False: 0]
  |  Branch (8413:53): [True: 0, False: 0]
  ------------------
 8414|      0|                        error(loc, "format requires readonly or writeonly memory qualifier", TQualifier::getLayoutFormatString(qualifier.getFormat()), "");
 8415|      0|                }
 8416|      0|            }
 8417|      0|        }
 8418|  4.15k|    } else if (type.isImage() && ! qualifier.isWriteOnly() && !intermediate.getBindlessImageMode()) {
  ------------------
  |  Branch (8418:16): [True: 0, False: 4.15k]
  |  Branch (8418:34): [True: 0, False: 0]
  |  Branch (8418:63): [True: 0, False: 0]
  ------------------
 8419|      0|        const char *explanation = "image variables not declared 'writeonly' and without a format layout qualifier";
 8420|      0|        requireProfile(loc, ECoreProfile | ECompatibilityProfile, explanation);
 8421|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shader_image_load_formatted, explanation);
 8422|      0|    }
 8423|       |
 8424|  4.15k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8424:9): [True: 0, False: 4.15k]
  ------------------
 8425|      0|        if (type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8425:13): [True: 0, False: 0]
  ------------------
 8426|      0|            error(loc, "can only be used with a block", "push_constant", "");
 8427|      0|        if (type.isArray())
  ------------------
  |  Branch (8427:13): [True: 0, False: 0]
  ------------------
 8428|      0|            error(loc, "Push constants blocks can't be an array", "push_constant", "");
 8429|      0|    }
 8430|       |
 8431|  4.15k|    if (type.getBasicType() == EbtReference) {
  ------------------
  |  Branch (8431:9): [True: 0, False: 4.15k]
  ------------------
 8432|      0|        if (qualifier.isPipeInput())
  ------------------
  |  Branch (8432:13): [True: 0, False: 0]
  ------------------
 8433|      0|            error(loc, "cannot contain any structs with buffer_reference.", "in",
 8434|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8435|      0|        if (qualifier.isPipeOutput())
  ------------------
  |  Branch (8435:13): [True: 0, False: 0]
  ------------------
 8436|      0|            error(loc, "cannot contain any structs with buffer_reference.", "out",
 8437|      0|                  "If you want to interface shader stages with a buffer_reference cast to a uint64 or uvec2 instead.");
 8438|      0|    }
 8439|       |
 8440|  4.15k|    if (qualifier.hasBufferReference() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8440:9): [True: 0, False: 4.15k]
  |  Branch (8440:43): [True: 0, False: 0]
  ------------------
 8441|      0|        error(loc, "can only be used with a block", "buffer_reference", "");
 8442|       |
 8443|  4.15k|    if (qualifier.isShaderRecord() && type.getBasicType() != EbtBlock)
  ------------------
  |  Branch (8443:9): [True: 0, False: 4.15k]
  |  Branch (8443:39): [True: 0, False: 0]
  ------------------
 8444|      0|        error(loc, "can only be used with a block", "shaderRecordNV", "");
 8445|       |
 8446|       |    // input attachment
 8447|  4.15k|    if (type.isSubpass()) {
  ------------------
  |  Branch (8447:9): [True: 0, False: 4.15k]
  ------------------
 8448|      0|        if (extensionTurnedOn(E_GL_EXT_shader_tile_image))
  ------------------
  |  Branch (8448:13): [True: 0, False: 0]
  ------------------
 8449|      0|            error(loc, "cannot be used with GL_EXT_shader_tile_image enabled", type.getSampler().getString().c_str(),
 8450|      0|                  "");
 8451|      0|        if (!qualifier.hasAttachment() && (type.isArray() || !extensionTurnedOn(E_GL_EXT_optional_input_attachment_index)))
  ------------------
  |  Branch (8451:13): [True: 0, False: 0]
  |  Branch (8451:44): [True: 0, False: 0]
  |  Branch (8451:62): [True: 0, False: 0]
  ------------------
 8452|      0|            error(loc, "requires an input_attachment_index layout qualifier", "subpass", "");
 8453|  4.15k|    } else {
 8454|  4.15k|        if (qualifier.hasAttachment())
  ------------------
  |  Branch (8454:13): [True: 0, False: 4.15k]
  ------------------
 8455|      0|            error(loc, "can only be used with a subpass", "input_attachment_index", "");
 8456|  4.15k|    }
 8457|       |
 8458|       |    // specialization-constant id
 8459|  4.15k|    if (qualifier.hasSpecConstantId()) {
  ------------------
  |  Branch (8459:9): [True: 0, False: 4.15k]
  ------------------
 8460|      0|        if (type.getQualifier().storage != EvqConst)
  ------------------
  |  Branch (8460:13): [True: 0, False: 0]
  ------------------
 8461|      0|            error(loc, "can only be applied to 'const'-qualified scalar", "constant_id", "");
 8462|      0|        if (! type.isScalar())
  ------------------
  |  Branch (8462:13): [True: 0, False: 0]
  ------------------
 8463|      0|            error(loc, "can only be applied to a scalar", "constant_id", "");
 8464|      0|        switch (type.getBasicType())
 8465|      0|        {
 8466|      0|        case EbtInt8:
  ------------------
  |  Branch (8466:9): [True: 0, False: 0]
  ------------------
 8467|      0|        case EbtUint8:
  ------------------
  |  Branch (8467:9): [True: 0, False: 0]
  ------------------
 8468|      0|        case EbtInt16:
  ------------------
  |  Branch (8468:9): [True: 0, False: 0]
  ------------------
 8469|      0|        case EbtUint16:
  ------------------
  |  Branch (8469:9): [True: 0, False: 0]
  ------------------
 8470|      0|        case EbtInt:
  ------------------
  |  Branch (8470:9): [True: 0, False: 0]
  ------------------
 8471|      0|        case EbtUint:
  ------------------
  |  Branch (8471:9): [True: 0, False: 0]
  ------------------
 8472|      0|        case EbtInt64:
  ------------------
  |  Branch (8472:9): [True: 0, False: 0]
  ------------------
 8473|      0|        case EbtUint64:
  ------------------
  |  Branch (8473:9): [True: 0, False: 0]
  ------------------
 8474|      0|        case EbtBool:
  ------------------
  |  Branch (8474:9): [True: 0, False: 0]
  ------------------
 8475|      0|        case EbtFloat:
  ------------------
  |  Branch (8475:9): [True: 0, False: 0]
  ------------------
 8476|      0|        case EbtDouble:
  ------------------
  |  Branch (8476:9): [True: 0, False: 0]
  ------------------
 8477|      0|        case EbtFloat16:
  ------------------
  |  Branch (8477:9): [True: 0, False: 0]
  ------------------
 8478|      0|        case EbtBFloat16:
  ------------------
  |  Branch (8478:9): [True: 0, False: 0]
  ------------------
 8479|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (8479:9): [True: 0, False: 0]
  ------------------
 8480|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (8480:9): [True: 0, False: 0]
  ------------------
 8481|      0|        case EbtFloatE2M1:
  ------------------
  |  Branch (8481:9): [True: 0, False: 0]
  ------------------
 8482|      0|        case EbtFloatE3M2:
  ------------------
  |  Branch (8482:9): [True: 0, False: 0]
  ------------------
 8483|      0|        case EbtFloatE2M3:
  ------------------
  |  Branch (8483:9): [True: 0, False: 0]
  ------------------
 8484|      0|        case EbtFloatUE8M0:
  ------------------
  |  Branch (8484:9): [True: 0, False: 0]
  ------------------
 8485|      0|        case EbtFloatMXINT8:
  ------------------
  |  Branch (8485:9): [True: 0, False: 0]
  ------------------
 8486|      0|            break;
 8487|      0|        default:
  ------------------
  |  Branch (8487:9): [True: 0, False: 0]
  ------------------
 8488|      0|            error(loc, "cannot be applied to this type", "constant_id", "");
 8489|      0|            break;
 8490|      0|        }
 8491|      0|    }
 8492|  4.15k|}
_ZN7glslang13TParseContext20layoutQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierE:
 8511|  4.15k|{
 8512|  4.15k|    if (qualifier.storage == EvqShared && qualifier.hasLayout()) {
  ------------------
  |  Branch (8512:9): [True: 0, False: 4.15k]
  |  Branch (8512:43): [True: 0, False: 0]
  ------------------
 8513|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (8513:13): [True: 0, False: 0]
  |  Branch (8513:35): [True: 0, False: 0]
  ------------------
 8514|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
 8515|      0|        }
 8516|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
 8517|      0|    }
 8518|       |
 8519|       |    // "It is a compile-time error to use *component* without also specifying the location qualifier (order does not matter)."
 8520|  4.15k|    if (qualifier.hasComponent() && ! qualifier.hasLocation())
  ------------------
  |  Branch (8520:9): [True: 0, False: 4.15k]
  |  Branch (8520:37): [True: 0, False: 0]
  ------------------
 8521|      0|        error(loc, "must specify 'location' to use 'component'", "component", "");
 8522|       |
 8523|  4.15k|    if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (8523:9): [True: 0, False: 4.15k]
  ------------------
 8524|       |
 8525|       |        // "As with input layout qualifiers, all shaders except compute shaders
 8526|       |        // allow *location* layout qualifiers on output variable declarations,
 8527|       |        // output block declarations, and output block member declarations."
 8528|       |
 8529|      0|        switch (qualifier.storage) {
 8530|      0|        case EvqVaryingIn:
  ------------------
  |  Branch (8530:9): [True: 0, False: 0]
  ------------------
 8531|      0|        {
 8532|      0|            const char* feature = "location qualifier on input";
 8533|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8533:17): [True: 0, False: 0]
  |  Branch (8533:34): [True: 0, False: 0]
  ------------------
 8534|      0|                requireStage(loc, EShLangVertex, feature);
 8535|      0|            else
 8536|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8537|      0|            if (language == EShLangVertex) {
  ------------------
  |  Branch (8537:17): [True: 0, False: 0]
  ------------------
 8538|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8539|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8540|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8541|      0|            } else {
 8542|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8543|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8544|      0|            }
 8545|      0|            break;
 8546|      0|        }
 8547|      0|        case EvqVaryingOut:
  ------------------
  |  Branch (8547:9): [True: 0, False: 0]
  ------------------
 8548|      0|        {
 8549|      0|            const char* feature = "location qualifier on output";
 8550|      0|            if (isEsProfile() && version < 310)
  ------------------
  |  Branch (8550:17): [True: 0, False: 0]
  |  Branch (8550:34): [True: 0, False: 0]
  ------------------
 8551|      0|                requireStage(loc, EShLangFragment, feature);
 8552|      0|            else
 8553|      0|                requireStage(loc, (EShLanguageMask)~EShLangComputeMask, feature);
 8554|      0|            if (language == EShLangFragment) {
  ------------------
  |  Branch (8554:17): [True: 0, False: 0]
  ------------------
 8555|      0|                const char* exts[2] = { E_GL_ARB_separate_shader_objects, E_GL_ARB_explicit_attrib_location };
 8556|      0|                profileRequires(loc, ~EEsProfile, 330, 2, exts, feature);
 8557|      0|                profileRequires(loc, EEsProfile, 300, nullptr, feature);
 8558|      0|            } else {
 8559|      0|                profileRequires(loc, ~EEsProfile, 410, E_GL_ARB_separate_shader_objects, feature);
 8560|      0|                profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8561|      0|            }
 8562|      0|            break;
 8563|      0|        }
 8564|      0|        case EvqUniform:
  ------------------
  |  Branch (8564:9): [True: 0, False: 0]
  ------------------
 8565|      0|        case EvqBuffer:
  ------------------
  |  Branch (8565:9): [True: 0, False: 0]
  ------------------
 8566|      0|        {
 8567|      0|            const char* feature = "location qualifier on uniform or buffer";
 8568|      0|            requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile | ENoProfile, feature);
 8569|      0|            profileRequires(loc, ~EEsProfile, 330, E_GL_ARB_explicit_attrib_location, feature);
 8570|      0|            profileRequires(loc, ~EEsProfile, 430, E_GL_ARB_explicit_uniform_location, feature);
 8571|      0|            profileRequires(loc, EEsProfile, 310, nullptr, feature);
 8572|      0|            break;
 8573|      0|        }
 8574|      0|        default:
  ------------------
  |  Branch (8574:9): [True: 0, False: 0]
  ------------------
 8575|      0|            break;
 8576|      0|        }
 8577|      0|        if (qualifier.hasIndex()) {
  ------------------
  |  Branch (8577:13): [True: 0, False: 0]
  ------------------
 8578|      0|            if (qualifier.storage != EvqVaryingOut)
  ------------------
  |  Branch (8578:17): [True: 0, False: 0]
  ------------------
 8579|      0|                error(loc, "can only be used on an output", "index", "");
 8580|      0|            if (! qualifier.hasLocation())
  ------------------
  |  Branch (8580:17): [True: 0, False: 0]
  ------------------
 8581|      0|                error(loc, "can only be used with an explicit location", "index", "");
 8582|      0|        }
 8583|      0|    }
 8584|       |
 8585|  4.15k|    if (qualifier.hasBinding()) {
  ------------------
  |  Branch (8585:9): [True: 0, False: 4.15k]
  ------------------
 8586|      0|        if (! qualifier.isUniformOrBuffer() && !qualifier.isTaskMemory() && !qualifier.isTileAttachmentQCOM())
  ------------------
  |  Branch (8586:13): [True: 0, False: 0]
  |  Branch (8586:48): [True: 0, False: 0]
  |  Branch (8586:77): [True: 0, False: 0]
  ------------------
 8587|      0|            error(loc, "requires uniform or buffer or tile image storage qualifier", "binding", "");
 8588|      0|    }
 8589|  4.15k|    if (qualifier.hasStream()) {
  ------------------
  |  Branch (8589:9): [True: 98, False: 4.05k]
  ------------------
 8590|     98|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8590:13): [True: 0, False: 98]
  ------------------
 8591|      0|            error(loc, "can only be used on an output", "stream", "");
 8592|     98|    }
 8593|  4.15k|    if (qualifier.hasXfb()) {
  ------------------
  |  Branch (8593:9): [True: 371, False: 3.78k]
  ------------------
 8594|    371|        if (!qualifier.isPipeOutput())
  ------------------
  |  Branch (8594:13): [True: 0, False: 371]
  ------------------
 8595|      0|            error(loc, "can only be used on an output", "xfb layout qualifier", "");
 8596|    371|    }
 8597|  4.15k|    if (qualifier.hasUniformLayout()) {
  ------------------
  |  Branch (8597:9): [True: 0, False: 4.15k]
  ------------------
 8598|      0|        if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory()) {
  ------------------
  |  Branch (8598:13): [True: 0, False: 0]
  |  Branch (8598:64): [True: 0, False: 0]
  ------------------
 8599|      0|            if (qualifier.hasMatrix() || qualifier.hasPacking())
  ------------------
  |  Branch (8599:17): [True: 0, False: 0]
  |  Branch (8599:42): [True: 0, False: 0]
  ------------------
 8600|      0|                error(loc, "matrix or packing qualifiers can only be used on a uniform or buffer", "layout", "");
 8601|      0|            if (qualifier.hasOffset() || qualifier.hasAlign())
  ------------------
  |  Branch (8601:17): [True: 0, False: 0]
  |  Branch (8601:42): [True: 0, False: 0]
  ------------------
 8602|      0|                error(loc, "offset/align can only be used on a uniform or buffer", "layout", "");
 8603|      0|        }
 8604|      0|    }
 8605|  4.15k|    if (qualifier.isPushConstant()) {
  ------------------
  |  Branch (8605:9): [True: 0, False: 4.15k]
  ------------------
 8606|      0|        if (qualifier.storage != EvqUniform)
  ------------------
  |  Branch (8606:13): [True: 0, False: 0]
  ------------------
 8607|      0|            error(loc, "can only be used with a uniform", "push_constant", "");
 8608|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8608:13): [True: 0, False: 0]
  ------------------
 8609|      0|            error(loc, "cannot be used with push_constant", "set", "");
 8610|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8610:13): [True: 0, False: 0]
  ------------------
 8611|      0|            error(loc, "cannot be used with push_constant", "binding", "");
 8612|      0|    }
 8613|  4.15k|    if (qualifier.hasBufferReference()) {
  ------------------
  |  Branch (8613:9): [True: 0, False: 4.15k]
  ------------------
 8614|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8614:13): [True: 0, False: 0]
  ------------------
 8615|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
 8616|      0|    }
 8617|  4.15k|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (8617:9): [True: 0, False: 4.15k]
  ------------------
 8618|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8618:13): [True: 0, False: 0]
  |  Branch (8618:48): [True: 0, False: 0]
  ------------------
 8619|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
 8620|      0|    }
 8621|  4.15k|    if (qualifier.isShaderRecord()) {
  ------------------
  |  Branch (8621:9): [True: 0, False: 4.15k]
  ------------------
 8622|      0|        if (qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (8622:13): [True: 0, False: 0]
  ------------------
 8623|      0|            error(loc, "can only be used with a buffer", "shaderRecordNV", "");
 8624|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (8624:13): [True: 0, False: 0]
  ------------------
 8625|      0|            error(loc, "cannot be used with shaderRecordNV", "binding", "");
 8626|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8626:13): [True: 0, False: 0]
  ------------------
 8627|      0|            error(loc, "cannot be used with shaderRecordNV", "set", "");
 8628|       |
 8629|      0|    }
 8630|       |
 8631|  4.15k|    if (qualifier.storage == EvqTileImageEXT) {
  ------------------
  |  Branch (8631:9): [True: 0, False: 4.15k]
  ------------------
 8632|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (8632:13): [True: 0, False: 0]
  ------------------
 8633|      0|            error(loc, "cannot be used with tileImageEXT", "set", "");
 8634|      0|        if (!qualifier.hasLocation())
  ------------------
  |  Branch (8634:13): [True: 0, False: 0]
  ------------------
 8635|      0|            error(loc, "can only be used with an explicit location", "tileImageEXT", "");
 8636|      0|    }
 8637|       |
 8638|  4.15k|    if (qualifier.storage == EvqHitAttr && qualifier.hasLayout()) {
  ------------------
  |  Branch (8638:9): [True: 0, False: 4.15k]
  |  Branch (8638:44): [True: 0, False: 0]
  ------------------
 8639|      0|        error(loc, "cannot apply layout qualifiers to hitAttributeNV variable", "hitAttributeNV", "");
 8640|      0|    }
 8641|  4.15k|    if (qualifier.hasBank()) {
  ------------------
  |  Branch (8641:9): [True: 0, False: 4.15k]
  ------------------
 8642|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8642:13): [True: 0, False: 0]
  ------------------
 8643|      0|            error(loc, "can only be used with push_constant", "bank", "");
 8644|      0|    }
 8645|  4.15k|    if (qualifier.hasMemberOffset()) {
  ------------------
  |  Branch (8645:9): [True: 0, False: 4.15k]
  ------------------
 8646|      0|        if (!qualifier.isPushConstant())
  ------------------
  |  Branch (8646:13): [True: 0, False: 0]
  ------------------
 8647|      0|            error(loc, "can only be used with push_constant", "member_offset", "");
 8648|      0|    }
 8649|       |
 8650|  4.15k|    if (qualifier.layoutDescriptorStride != TQualifier::layoutDescriptorStrideEnd &&
  ------------------
  |  Branch (8650:9): [True: 0, False: 4.15k]
  ------------------
 8651|      0|        !qualifier.layoutDescriptorHeap)
  ------------------
  |  Branch (8651:9): [True: 0, False: 0]
  ------------------
 8652|      0|        error(loc, "must specify 'descriptor_heap' to use 'descriptor_stride'", "descriptor_stride", "");
 8653|  4.15k|    if ((qualifier.layoutHeapOffset != 0 || qualifier.layoutHeapOffsetNode != nullptr) && !qualifier.layoutDescriptorHeap &&
  ------------------
  |  Branch (8653:10): [True: 0, False: 4.15k]
  |  Branch (8653:45): [True: 0, False: 4.15k]
  |  Branch (8653:91): [True: 0, False: 0]
  ------------------
 8654|      0|        qualifier.storage != EvqSamplerHeap && qualifier.storage != EvqResourceHeap)
  ------------------
  |  Branch (8654:9): [True: 0, False: 0]
  |  Branch (8654:48): [True: 0, False: 0]
  ------------------
 8655|      0|        error(loc, "must specify 'descriptor_heap' to use 'heap_offset'", "heap_offset", "");
 8656|  4.15k|}
_ZN7glslang13TParseContext20checkNoShaderLayoutsERKNS_10TSourceLocERKNS_17TShaderQualifiersE:
 8660|  41.8k|{
 8661|  41.8k|    const char* message = "can only apply to a standalone qualifier";
 8662|       |
 8663|  41.8k|    if (shaderQualifiers.geometry != ElgNone)
  ------------------
  |  Branch (8663:9): [True: 0, False: 41.8k]
  ------------------
 8664|      0|        error(loc, message, TQualifier::getGeometryString(shaderQualifiers.geometry), "");
 8665|  41.8k|    if (shaderQualifiers.spacing != EvsNone)
  ------------------
  |  Branch (8665:9): [True: 0, False: 41.8k]
  ------------------
 8666|      0|        error(loc, message, TQualifier::getVertexSpacingString(shaderQualifiers.spacing), "");
 8667|  41.8k|    if (shaderQualifiers.order != EvoNone)
  ------------------
  |  Branch (8667:9): [True: 0, False: 41.8k]
  ------------------
 8668|      0|        error(loc, message, TQualifier::getVertexOrderString(shaderQualifiers.order), "");
 8669|  41.8k|    if (shaderQualifiers.pointMode)
  ------------------
  |  Branch (8669:9): [True: 0, False: 41.8k]
  ------------------
 8670|      0|        error(loc, message, "point_mode", "");
 8671|  41.8k|    if (shaderQualifiers.invocations != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8671:9): [True: 0, False: 41.8k]
  ------------------
 8672|      0|        error(loc, message, "invocations", "");
 8673|   167k|    for (int i = 0; i < 3; ++i) {
  ------------------
  |  Branch (8673:21): [True: 125k, False: 41.8k]
  ------------------
 8674|   125k|        if (shaderQualifiers.localSize[i] > 1)
  ------------------
  |  Branch (8674:13): [True: 0, False: 125k]
  ------------------
 8675|      0|            error(loc, message, "local_size", "");
 8676|   125k|        if (shaderQualifiers.localSizeSpecId[i] != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8676:13): [True: 0, False: 125k]
  ------------------
 8677|      0|            error(loc, message, "local_size id", "");
 8678|   125k|    }
 8679|  41.8k|    if (shaderQualifiers.vertices != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8679:9): [True: 0, False: 41.8k]
  ------------------
 8680|      0|        if (language == EShLangGeometry || language == EShLangMesh)
  ------------------
  |  Branch (8680:13): [True: 0, False: 0]
  |  Branch (8680:44): [True: 0, False: 0]
  ------------------
 8681|      0|            error(loc, message, "max_vertices", "");
 8682|      0|        else if (language == EShLangTessControl)
  ------------------
  |  Branch (8682:18): [True: 0, False: 0]
  ------------------
 8683|      0|            error(loc, message, "vertices", "");
 8684|      0|        else
 8685|      0|            assert(0);
 8686|      0|    }
 8687|  41.8k|    if (shaderQualifiers.earlyFragmentTests)
  ------------------
  |  Branch (8687:9): [True: 0, False: 41.8k]
  ------------------
 8688|      0|        error(loc, message, "early_fragment_tests", "");
 8689|  41.8k|    if (shaderQualifiers.postDepthCoverage)
  ------------------
  |  Branch (8689:9): [True: 0, False: 41.8k]
  ------------------
 8690|      0|        error(loc, message, "post_depth_coverage", "");
 8691|  41.8k|    if (shaderQualifiers.nonCoherentColorAttachmentReadEXT)
  ------------------
  |  Branch (8691:9): [True: 0, False: 41.8k]
  ------------------
 8692|      0|        error(loc, message, "non_coherent_color_attachment_readEXT", "");
 8693|  41.8k|    if (shaderQualifiers.nonCoherentDepthAttachmentReadEXT)
  ------------------
  |  Branch (8693:9): [True: 0, False: 41.8k]
  ------------------
 8694|      0|        error(loc, message, "non_coherent_depth_attachment_readEXT", "");
 8695|  41.8k|    if (shaderQualifiers.nonCoherentStencilAttachmentReadEXT)
  ------------------
  |  Branch (8695:9): [True: 0, False: 41.8k]
  ------------------
 8696|      0|        error(loc, message, "non_coherent_stencil_attachment_readEXT", "");
 8697|  41.8k|    if (shaderQualifiers.primitives != TQualifier::layoutNotSet) {
  ------------------
  |  Branch (8697:9): [True: 0, False: 41.8k]
  ------------------
 8698|      0|        if (language == EShLangMesh)
  ------------------
  |  Branch (8698:13): [True: 0, False: 0]
  ------------------
 8699|      0|            error(loc, message, "max_primitives", "");
 8700|      0|        else
 8701|      0|            assert(0);
 8702|      0|    }
 8703|  41.8k|    if (shaderQualifiers.hasBlendEquation())
  ------------------
  |  Branch (8703:9): [True: 0, False: 41.8k]
  ------------------
 8704|      0|        error(loc, message, "blend equation", "");
 8705|  41.8k|    if (shaderQualifiers.numViews != TQualifier::layoutNotSet)
  ------------------
  |  Branch (8705:9): [True: 0, False: 41.8k]
  ------------------
 8706|      0|        error(loc, message, "num_views", "");
 8707|  41.8k|    if (shaderQualifiers.interlockOrdering != EioNone)
  ------------------
  |  Branch (8707:9): [True: 0, False: 41.8k]
  ------------------
 8708|      0|        error(loc, message, TQualifier::getInterlockOrderingString(shaderQualifiers.interlockOrdering), "");
 8709|  41.8k|    if (shaderQualifiers.layoutPrimitiveCulling)
  ------------------
  |  Branch (8709:9): [True: 0, False: 41.8k]
  ------------------
 8710|      0|        error(loc, "can only be applied as standalone", "primitive_culling", "");
 8711|       |
 8712|  41.8k|    if (shaderQualifiers.layoutNonCoherentTileAttachmentReadQCOM)
  ------------------
  |  Branch (8712:9): [True: 0, False: 41.8k]
  ------------------
 8713|      0|        error(loc, message, "non_coherent_attachment_readQCOM", "");
 8714|  41.8k|    if (shaderQualifiers.layoutTileShadingRateQCOM[0] >= 1)
  ------------------
  |  Branch (8714:9): [True: 0, False: 41.8k]
  ------------------
 8715|      0|        error(loc, message, "shading_rate_xQCOM", "");
 8716|  41.8k|    if (shaderQualifiers.layoutTileShadingRateQCOM[1] >= 1)
  ------------------
  |  Branch (8716:9): [True: 0, False: 41.8k]
  ------------------
 8717|      0|        error(loc, message, "shading_rate_yQCOM", "");
 8718|  41.8k|    if (shaderQualifiers.layoutTileShadingRateQCOM[2] >= 1)
  ------------------
  |  Branch (8718:9): [True: 0, False: 41.8k]
  ------------------
 8719|      0|        error(loc, message, "shading_rate_zQCOM", "");
 8720|  41.8k|}
_ZN7glslang13TParseContext9fixOffsetERKNS_10TSourceLocERNS_7TSymbolE:
 8724|  3.74k|{
 8725|  3.74k|    const TQualifier& qualifier = symbol.getType().getQualifier();
 8726|  3.74k|    if (symbol.getType().isAtomic()) {
  ------------------
  |  Branch (8726:9): [True: 0, False: 3.74k]
  ------------------
 8727|      0|        if (qualifier.hasBinding() && (int)qualifier.layoutBinding < resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (8727:13): [True: 0, False: 0]
  |  Branch (8727:39): [True: 0, False: 0]
  ------------------
 8728|       |
 8729|       |            // Set the offset
 8730|      0|            int offset;
 8731|      0|            if (qualifier.hasOffset())
  ------------------
  |  Branch (8731:17): [True: 0, False: 0]
  ------------------
 8732|      0|                offset = qualifier.layoutOffset;
 8733|      0|            else
 8734|      0|                offset = atomicUintOffsets[qualifier.layoutBinding];
 8735|       |
 8736|      0|            if (offset % 4 != 0)
  ------------------
  |  Branch (8736:17): [True: 0, False: 0]
  ------------------
 8737|      0|                error(loc, "atomic counters offset should align based on 4:", "offset", "%d", offset);
 8738|       |
 8739|      0|            symbol.getWritableType().getQualifier().layoutOffset = offset;
 8740|       |
 8741|       |            // Check for overlap
 8742|      0|            int numOffsets = 4;
 8743|      0|            if (symbol.getType().isArray()) {
  ------------------
  |  Branch (8743:17): [True: 0, False: 0]
  ------------------
 8744|      0|                if (symbol.getType().isSizedArray() && !symbol.getType().getArraySizes()->isInnerUnsized())
  ------------------
  |  Branch (8744:21): [True: 0, False: 0]
  |  Branch (8744:56): [True: 0, False: 0]
  ------------------
 8745|      0|                    numOffsets *= symbol.getType().getCumulativeArraySize();
 8746|      0|                else {
 8747|       |                    // "It is a compile-time error to declare an unsized array of atomic_uint."
 8748|      0|                    error(loc, "array must be explicitly sized", "atomic_uint", "");
 8749|      0|                }
 8750|      0|            }
 8751|      0|            int repeated = intermediate.addUsedOffsets(qualifier.layoutBinding, offset, numOffsets);
 8752|      0|            if (repeated >= 0)
  ------------------
  |  Branch (8752:17): [True: 0, False: 0]
  ------------------
 8753|      0|                error(loc, "atomic counters sharing the same offset:", "offset", "%d", repeated);
 8754|       |
 8755|       |            // Bump the default offset
 8756|      0|            atomicUintOffsets[qualifier.layoutBinding] = offset + numOffsets;
 8757|      0|        }
 8758|      0|    }
 8759|  3.74k|}
_ZN7glslang13TParseContext19declareTypeDefaultsERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9247|    138|{
 9248|    138|    if (publicType.basicType == EbtAtomicUint && publicType.qualifier.hasBinding()) {
  ------------------
  |  Branch (9248:9): [True: 0, False: 138]
  |  Branch (9248:50): [True: 0, False: 0]
  ------------------
 9249|      0|        if (publicType.qualifier.layoutBinding >= resources.maxAtomicCounterBindings) {
  ------------------
  |  Branch (9249:13): [True: 0, False: 0]
  ------------------
 9250|      0|            error(loc, "atomic_uint binding is too large", "binding", "");
 9251|      0|            return;
 9252|      0|        }
 9253|      0|        if (publicType.qualifier.hasOffset())
  ------------------
  |  Branch (9253:13): [True: 0, False: 0]
  ------------------
 9254|      0|            atomicUintOffsets[publicType.qualifier.layoutBinding] = publicType.qualifier.layoutOffset;
 9255|      0|        return;
 9256|      0|    }
 9257|       |
 9258|    138|    if (publicType.arraySizes) {
  ------------------
  |  Branch (9258:9): [True: 0, False: 138]
  ------------------
 9259|      0|        error(loc, "expect an array name", "", "");
 9260|      0|    }
 9261|       |
 9262|    138|    if (publicType.qualifier.hasLayout() && !publicType.qualifier.hasBufferReference())
  ------------------
  |  Branch (9262:9): [True: 0, False: 138]
  |  Branch (9262:45): [True: 0, False: 0]
  ------------------
 9263|      0|        warn(loc, "useless application of layout qualifier", "layout", "");
 9264|    138|}
_ZN7glslang13TParseContext19typeParametersCheckERKNS_10TSourceLocERKNS_11TPublicTypeE:
 9267|   375k|{
 9268|   375k|    if (parsingBuiltins)
  ------------------
  |  Branch (9268:9): [True: 375k, False: 2]
  ------------------
 9269|   375k|        return;
 9270|      2|    if (publicType.isCoopmatKHR()) {
  ------------------
  |  Branch (9270:9): [True: 0, False: 2]
  ------------------
 9271|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9271:13): [True: 0, False: 0]
  ------------------
 9272|      0|            error(loc, "coopmat missing type parameters", "", "");
 9273|      0|            return;
 9274|      0|        }
 9275|      0|        switch (publicType.typeParameters->basicType) {
 9276|      0|        case EbtFloat:
  ------------------
  |  Branch (9276:9): [True: 0, False: 0]
  ------------------
 9277|      0|        case EbtFloat16:
  ------------------
  |  Branch (9277:9): [True: 0, False: 0]
  ------------------
 9278|      0|        case EbtBFloat16:
  ------------------
  |  Branch (9278:9): [True: 0, False: 0]
  ------------------
 9279|      0|        case EbtFloatE5M2:
  ------------------
  |  Branch (9279:9): [True: 0, False: 0]
  ------------------
 9280|      0|        case EbtFloatE4M3:
  ------------------
  |  Branch (9280:9): [True: 0, False: 0]
  ------------------
 9281|      0|        case EbtInt:
  ------------------
  |  Branch (9281:9): [True: 0, False: 0]
  ------------------
 9282|      0|        case EbtInt8:
  ------------------
  |  Branch (9282:9): [True: 0, False: 0]
  ------------------
 9283|      0|        case EbtInt16:
  ------------------
  |  Branch (9283:9): [True: 0, False: 0]
  ------------------
 9284|      0|        case EbtUint:
  ------------------
  |  Branch (9284:9): [True: 0, False: 0]
  ------------------
 9285|      0|        case EbtUint8:
  ------------------
  |  Branch (9285:9): [True: 0, False: 0]
  ------------------
 9286|      0|        case EbtUint16:
  ------------------
  |  Branch (9286:9): [True: 0, False: 0]
  ------------------
 9287|      0|        case EbtSpirvType:
  ------------------
  |  Branch (9287:9): [True: 0, False: 0]
  ------------------
 9288|      0|            break;
 9289|      0|        default:
  ------------------
  |  Branch (9289:9): [True: 0, False: 0]
  ------------------
 9290|      0|            error(loc, "coopmat invalid basic type", TType::getBasicString(publicType.typeParameters->basicType), "");
 9291|      0|            break;
 9292|      0|        }
 9293|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9293:13): [True: 0, False: 0]
  ------------------
 9294|      0|            error(loc, "coopmat incorrect number of type parameters", "", "");
 9295|      0|            return;
 9296|      0|        }
 9297|      0|        int use = publicType.typeParameters->arraySizes->getDimSize(3);
 9298|      0|        if (use < 0 || use > 2) {
  ------------------
  |  Branch (9298:13): [True: 0, False: 0]
  |  Branch (9298:24): [True: 0, False: 0]
  ------------------
 9299|      0|            error(loc, "coopmat invalid matrix Use", "", "");
 9300|      0|            return;
 9301|      0|        }
 9302|      0|    }
 9303|      2|    if (publicType.isTensorLayoutNV()) {
  ------------------
  |  Branch (9303:9): [True: 0, False: 2]
  ------------------
 9304|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9304:13): [True: 0, False: 0]
  ------------------
 9305|      0|            error(loc, "tensorLayout missing type parameters", "", "");
 9306|      0|            return;
 9307|      0|        }
 9308|      0|        if (publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9308:13): [True: 0, False: 0]
  ------------------
 9309|      0|            error(loc, "tensorLayout incorrect number of type parameters", "", "");
 9310|      0|            return;
 9311|      0|        }
 9312|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9312:13): [True: 0, False: 0]
  |  Branch (9312:42): [True: 0, False: 0]
  ------------------
 9313|      0|            while (publicType.typeParameters->arraySizes->getNumDims() < 2) {
  ------------------
  |  Branch (9313:20): [True: 0, False: 0]
  ------------------
 9314|      0|                publicType.typeParameters->arraySizes->addInnerSize(0);
 9315|      0|            }
 9316|      0|        }
 9317|      0|    }
 9318|      2|    if (publicType.isTensorViewNV()) {
  ------------------
  |  Branch (9318:9): [True: 0, False: 2]
  ------------------
 9319|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9319:13): [True: 0, False: 0]
  ------------------
 9320|      0|            error(loc, "tensorView missing type parameters", "", "");
 9321|      0|            return;
 9322|      0|        }
 9323|      0|        if (publicType.typeParameters->arraySizes->getNumDims() < 1 ||
  ------------------
  |  Branch (9323:13): [True: 0, False: 0]
  ------------------
 9324|      0|            publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9324:13): [True: 0, False: 0]
  ------------------
 9325|      0|            error(loc, "tensorView incorrect number of type parameters", "", "");
 9326|      0|            return;
 9327|      0|        }
 9328|      0|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() < 7) {
  ------------------
  |  Branch (9328:13): [True: 0, False: 0]
  |  Branch (9328:42): [True: 0, False: 0]
  ------------------
 9329|      0|            uint32_t numDims = publicType.typeParameters->arraySizes->getNumDims();
 9330|      0|            while (numDims < 7) {
  ------------------
  |  Branch (9330:20): [True: 0, False: 0]
  ------------------
 9331|      0|                uint32_t dim = (numDims == 1) ? 0 : (numDims - 2);
  ------------------
  |  Branch (9331:32): [True: 0, False: 0]
  ------------------
 9332|      0|                publicType.typeParameters->arraySizes->addInnerSize(dim);
 9333|      0|                numDims++;
 9334|      0|            }
 9335|      0|        }
 9336|      0|    }
 9337|      2|    if (publicType.isTensorARM()) {
  ------------------
  |  Branch (9337:9): [True: 0, False: 2]
  ------------------
 9338|      0|        if (publicType.typeParameters == nullptr) {
  ------------------
  |  Branch (9338:13): [True: 0, False: 0]
  ------------------
 9339|      0|            error(loc, "tensor type is missing type parameters", "", "");
 9340|      0|            return;
 9341|      0|        }
 9342|      0|        if (publicType.typeParameters->arraySizes == nullptr) {
  ------------------
  |  Branch (9342:13): [True: 0, False: 0]
  ------------------
 9343|      0|            error(loc, "tensor type is missing rank information", "", "");
 9344|      0|            return;
 9345|      0|        }
 9346|      0|        if (publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9346:13): [True: 0, False: 0]
  ------------------
 9347|      0|            error(loc, "tensor type requires exactly 1 rank specifier", "", "");
 9348|      0|            return;
 9349|      0|        }
 9350|      0|        if (publicType.typeParameters->arraySizes->getDimSize(0) < 1) {
  ------------------
  |  Branch (9350:13): [True: 0, False: 0]
  ------------------
 9351|      0|            error(loc, "tensor rank must be greater than or equal to 1", "", "");
 9352|      0|            return;
 9353|      0|        }
 9354|      0|    }
 9355|      2|    if (publicType.isLongVector() && !isValidLongVectorElseError(loc, publicType)) {
  ------------------
  |  Branch (9355:9): [True: 0, False: 2]
  |  Branch (9355:38): [True: 0, False: 0]
  ------------------
 9356|      0|        return;
 9357|      0|    }
 9358|      2|}
_ZN7glslang13TParseContext15declareVariableERKNS_10TSourceLocERNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_11TPublicTypeEPNS_11TArraySizesEPNS_12TIntermTypedE:
 9726|  3.75k|{
 9727|       |    // Make a fresh type that combines the characteristics from the individual
 9728|       |    // identifier syntax and the declaration-type syntax.
 9729|  3.75k|    TType type(publicType);
 9730|  3.75k|    type.transferArraySizes(arraySizes);
 9731|  3.75k|    type.copyArrayInnerSizes(publicType.arraySizes);
 9732|  3.75k|    arrayOfArrayVersionCheck(loc, type.getArraySizes());
 9733|       |
 9734|  3.75k|    if (initializer) {
  ------------------
  |  Branch (9734:9): [True: 829, False: 2.92k]
  ------------------
 9735|    829|        if (type.getBasicType() == EbtRayQuery) {
  ------------------
  |  Branch (9735:13): [True: 0, False: 829]
  ------------------
 9736|      0|            error(loc, "ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic:", "=", identifier.c_str());
 9737|    829|        } else if ((type.getBasicType() == EbtHitObjectNV) || (type.getBasicType() == EbtHitObjectEXT)) {
  ------------------
  |  Branch (9737:20): [True: 0, False: 829]
  |  Branch (9737:63): [True: 0, False: 829]
  ------------------
 9738|      0|            error(loc, "hit objects cannot be initialized using initializers", "=", identifier.c_str());
 9739|      0|        }
 9740|       |
 9741|    829|    }
 9742|       |
 9743|  3.75k|    if (type.isCoopMatKHR()) {
  ------------------
  |  Branch (9743:9): [True: 0, False: 3.75k]
  ------------------
 9744|      0|        intermediate.setUseVulkanMemoryModel();
 9745|      0|        intermediate.setUseStorageBuffer();
 9746|       |
 9747|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes ||
  ------------------
  |  Branch (9747:13): [True: 0, False: 0]
  |  Branch (9747:43): [True: 0, False: 0]
  ------------------
 9748|      0|            publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9748:13): [True: 0, False: 0]
  ------------------
 9749|      0|            error(loc, "unexpected number type parameters", identifier.c_str(), "");
 9750|      0|        }
 9751|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9751:13): [True: 0, False: 0]
  ------------------
 9752|      0|            if (!isTypeFloat(publicType.typeParameters->basicType) &&
  ------------------
  |  Branch (9752:17): [True: 0, False: 0]
  ------------------
 9753|      0|                !isTypeInt(publicType.typeParameters->basicType) && publicType.typeParameters->basicType != EbtSpirvType) {
  ------------------
  |  Branch (9753:17): [True: 0, False: 0]
  |  Branch (9753:69): [True: 0, False: 0]
  ------------------
 9754|      0|                error(loc, "expected 8, 16, 32, or 64 bit signed or unsigned integer or 16, 32, or 64 bit float type", identifier.c_str(), "");
 9755|      0|            }
 9756|      0|        }
 9757|      0|    }
 9758|  3.75k|    else if (type.isCoopMatNV()) {
  ------------------
  |  Branch (9758:14): [True: 0, False: 3.75k]
  ------------------
 9759|      0|        intermediate.setUseVulkanMemoryModel();
 9760|      0|        intermediate.setUseStorageBuffer();
 9761|       |
 9762|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 4) {
  ------------------
  |  Branch (9762:13): [True: 0, False: 0]
  |  Branch (9762:43): [True: 0, False: 0]
  |  Branch (9762:85): [True: 0, False: 0]
  ------------------
 9763|      0|            error(loc, "expected four type parameters", identifier.c_str(), "");
 9764|      0|        } else {
 9765|      0|            if (isTypeFloat(publicType.basicType) &&
  ------------------
  |  Branch (9765:17): [True: 0, False: 0]
  ------------------
 9766|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9766:17): [True: 0, False: 0]
  ------------------
 9767|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32 &&
  ------------------
  |  Branch (9767:17): [True: 0, False: 0]
  ------------------
 9768|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 64) {
  ------------------
  |  Branch (9768:17): [True: 0, False: 0]
  ------------------
 9769|      0|                error(loc, "expected 16, 32, or 64 bits for first type parameter", identifier.c_str(), "");
 9770|      0|            }
 9771|      0|            if (isTypeInt(publicType.basicType) &&
  ------------------
  |  Branch (9771:17): [True: 0, False: 0]
  ------------------
 9772|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 8 &&
  ------------------
  |  Branch (9772:17): [True: 0, False: 0]
  ------------------
 9773|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 16 &&
  ------------------
  |  Branch (9773:17): [True: 0, False: 0]
  ------------------
 9774|      0|                publicType.typeParameters->arraySizes->getDimSize(0) != 32) {
  ------------------
  |  Branch (9774:17): [True: 0, False: 0]
  ------------------
 9775|      0|                error(loc, "expected 8, 16, or 32 bits for first type parameter", identifier.c_str(), "");
 9776|      0|            }
 9777|      0|        }
 9778|  3.75k|    } else if (type.isTensorLayoutNV()) {
  ------------------
  |  Branch (9778:16): [True: 0, False: 3.75k]
  ------------------
 9779|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 2) {
  ------------------
  |  Branch (9779:13): [True: 0, False: 0]
  |  Branch (9779:43): [True: 0, False: 0]
  ------------------
 9780|      0|            error(loc, "expected 1-2 type parameters", identifier.c_str(), "");
 9781|      0|        }
 9782|  3.75k|    } else if (type.isTensorViewNV()) {
  ------------------
  |  Branch (9782:16): [True: 0, False: 3.75k]
  ------------------
 9783|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() > 7) {
  ------------------
  |  Branch (9783:13): [True: 0, False: 0]
  |  Branch (9783:43): [True: 0, False: 0]
  ------------------
 9784|      0|            error(loc, "expected 1-7 type parameters", identifier.c_str(), "");
 9785|      0|        }
 9786|  3.75k|    } else if (type.isCoopVecNV()) {
  ------------------
  |  Branch (9786:16): [True: 0, False: 3.75k]
  ------------------
 9787|      0|        intermediate.setUseVulkanMemoryModel();
 9788|      0|        intermediate.setUseStorageBuffer();
 9789|       |
 9790|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9790:13): [True: 0, False: 0]
  |  Branch (9790:43): [True: 0, False: 0]
  |  Branch (9790:85): [True: 0, False: 0]
  ------------------
 9791|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9792|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9792:20): [True: 0, False: 0]
  |  Branch (9792:87): [True: 0, False: 0]
  ------------------
 9793|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9794|      0|        }
 9795|  3.75k|    } else if (type.isLongVector()) {
  ------------------
  |  Branch (9795:16): [True: 0, False: 3.75k]
  ------------------
 9796|      0|        intermediate.setUseStorageBuffer();
 9797|       |
 9798|      0|        if (!publicType.typeParameters || !publicType.typeParameters->arraySizes || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9798:13): [True: 0, False: 0]
  |  Branch (9798:43): [True: 0, False: 0]
  |  Branch (9798:85): [True: 0, False: 0]
  ------------------
 9799|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9800|      0|        } else if (publicType.typeParameters->arraySizes->getDimNode(0) == nullptr && publicType.typeParameters->arraySizes->getDimSize(0) <= 0) {
  ------------------
  |  Branch (9800:20): [True: 0, False: 0]
  |  Branch (9800:87): [True: 0, False: 0]
  ------------------
 9801|      0|            error(loc, "expected positive number of components", identifier.c_str(), "");
 9802|      0|        }
 9803|  3.75k|    } else if (type.isTensorARM()) {
  ------------------
  |  Branch (9803:16): [True: 0, False: 3.75k]
  ------------------
 9804|      0|        intermediate.setUseStorageBuffer();
 9805|       |
 9806|      0|        if (!publicType.typeParameters || publicType.typeParameters->arraySizes->getNumDims() != 1) {
  ------------------
  |  Branch (9806:13): [True: 0, False: 0]
  |  Branch (9806:43): [True: 0, False: 0]
  ------------------
 9807|      0|            error(loc, "expected two type parameters", identifier.c_str(), "");
 9808|      0|        }
 9809|      0|        if (publicType.typeParameters) {
  ------------------
  |  Branch (9809:13): [True: 0, False: 0]
  ------------------
 9810|      0|            if (publicType.typeParameters->basicType != EbtBool &&
  ------------------
  |  Branch (9810:17): [True: 0, False: 0]
  ------------------
 9811|      0|                publicType.typeParameters->basicType != EbtInt8 &&
  ------------------
  |  Branch (9811:17): [True: 0, False: 0]
  ------------------
 9812|      0|                publicType.typeParameters->basicType != EbtInt16 &&
  ------------------
  |  Branch (9812:17): [True: 0, False: 0]
  ------------------
 9813|      0|                publicType.typeParameters->basicType != EbtInt &&
  ------------------
  |  Branch (9813:17): [True: 0, False: 0]
  ------------------
 9814|      0|                publicType.typeParameters->basicType != EbtInt64 &&
  ------------------
  |  Branch (9814:17): [True: 0, False: 0]
  ------------------
 9815|      0|                publicType.typeParameters->basicType != EbtUint8 &&
  ------------------
  |  Branch (9815:17): [True: 0, False: 0]
  ------------------
 9816|      0|                publicType.typeParameters->basicType != EbtUint16 &&
  ------------------
  |  Branch (9816:17): [True: 0, False: 0]
  ------------------
 9817|      0|                publicType.typeParameters->basicType != EbtUint &&
  ------------------
  |  Branch (9817:17): [True: 0, False: 0]
  ------------------
 9818|      0|                publicType.typeParameters->basicType != EbtUint64 &&
  ------------------
  |  Branch (9818:17): [True: 0, False: 0]
  ------------------
 9819|      0|                publicType.typeParameters->basicType != EbtFloat16 &&
  ------------------
  |  Branch (9819:17): [True: 0, False: 0]
  ------------------
 9820|      0|                publicType.typeParameters->basicType != EbtFloat &&
  ------------------
  |  Branch (9820:17): [True: 0, False: 0]
  ------------------
 9821|      0|                publicType.typeParameters->basicType != EbtDouble &&
  ------------------
  |  Branch (9821:17): [True: 0, False: 0]
  ------------------
 9822|      0|                publicType.typeParameters->basicType != EbtBFloat16 &&
  ------------------
  |  Branch (9822:17): [True: 0, False: 0]
  ------------------
 9823|      0|                publicType.typeParameters->basicType != EbtFloatE5M2 &&
  ------------------
  |  Branch (9823:17): [True: 0, False: 0]
  ------------------
 9824|      0|                publicType.typeParameters->basicType != EbtFloatE4M3) {
  ------------------
  |  Branch (9824:17): [True: 0, False: 0]
  ------------------
 9825|      0|                error(loc, "expected bool, integer or floating point type parameter", identifier.c_str(), "");
 9826|      0|            }
 9827|       |
 9828|      0|            if (publicType.typeParameters->basicType == EbtBFloat16) {
  ------------------
  |  Branch (9828:17): [True: 0, False: 0]
  ------------------
 9829|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_bfloat16, "tensor with bfloat16_t type");
 9830|      0|            }
 9831|       |
 9832|      0|            if (publicType.typeParameters->basicType == EbtFloatE5M2) {
  ------------------
  |  Branch (9832:17): [True: 0, False: 0]
  ------------------
 9833|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e5m2, "tensor with floate5m2_t type");
 9834|      0|            }
 9835|       |
 9836|      0|            if (publicType.typeParameters->basicType == EbtFloatE4M3) {
  ------------------
  |  Branch (9836:17): [True: 0, False: 0]
  ------------------
 9837|      0|                requireExtensions(loc, 1, &E_GL_ARM_tensors_float_e4m3, "tensor with floate4m3_t type");
 9838|      0|            }
 9839|      0|        }
 9840|  3.75k|    } else {
 9841|  3.75k|        if (publicType.typeParameters && publicType.typeParameters->arraySizes->getNumDims() != 0) {
  ------------------
  |  Branch (9841:13): [True: 17, False: 3.73k]
  |  Branch (9841:42): [True: 0, False: 17]
  ------------------
 9842|      0|            error(loc, "unexpected type parameters", identifier.c_str(), "");
 9843|      0|        }
 9844|  3.75k|    }
 9845|       |
 9846|  3.75k|    if (voidErrorCheck(loc, identifier, type.getBasicType()))
  ------------------
  |  Branch (9846:9): [True: 0, False: 3.75k]
  ------------------
 9847|      0|        return nullptr;
 9848|       |
 9849|  3.75k|    if (initializer)
  ------------------
  |  Branch (9849:9): [True: 829, False: 2.92k]
  ------------------
 9850|    829|        rValueErrorCheck(loc, "initializer", initializer);
 9851|  2.92k|    else
 9852|  2.92k|        nonInitConstCheck(loc, identifier, type);
 9853|       |
 9854|  3.75k|    samplerCheck(loc, type, identifier, initializer);
 9855|  3.75k|    transparentOpaqueCheck(loc, type, identifier);
 9856|  3.75k|    atomicUintCheck(loc, type, identifier);
 9857|  3.75k|    accStructCheck(loc, type, identifier);
 9858|  3.75k|    hitObjectNVCheck(loc, type, identifier);
 9859|  3.75k|    hitObjectEXTCheck(loc, type, identifier);
 9860|  3.75k|    checkAndResizeMeshViewDim(loc, type, /*isBlockMember*/ false);
 9861|  3.75k|    if (type.getQualifier().storage == EvqConst && type.containsReference()) {
  ------------------
  |  Branch (9861:9): [True: 827, False: 2.92k]
  |  Branch (9861:52): [True: 0, False: 827]
  ------------------
 9862|      0|        error(loc, "variables with reference type can't have qualifier 'const'", "qualifier", "");
 9863|      0|    }
 9864|       |
 9865|  3.75k|    if (type.getQualifier().storage != EvqUniform && type.getQualifier().storage != EvqBuffer) {
  ------------------
  |  Branch (9865:9): [True: 3.64k, False: 106]
  |  Branch (9865:54): [True: 3.64k, False: 0]
  ------------------
 9866|  3.64k|        if (type.contains16BitFloat())
  ------------------
  |  Branch (9866:13): [True: 0, False: 3.64k]
  ------------------
 9867|      0|            requireFloat16Arithmetic(loc, "qualifier", "float16 types can only be in uniform block or buffer storage");
 9868|  3.64k|        if (type.contains16BitInt())
  ------------------
  |  Branch (9868:13): [True: 0, False: 3.64k]
  ------------------
 9869|      0|            requireInt16Arithmetic(loc, "qualifier", "(u)int16 types can only be in uniform block or buffer storage");
 9870|  3.64k|        if (type.contains8BitInt())
  ------------------
  |  Branch (9870:13): [True: 0, False: 3.64k]
  ------------------
 9871|      0|            requireInt8Arithmetic(loc, "qualifier", "(u)int8 types can only be in uniform block or buffer storage");
 9872|  3.64k|    }
 9873|  3.75k|    if (type.getBasicType() == EbtBFloat16 &&
  ------------------
  |  Branch (9873:9): [True: 0, False: 3.75k]
  ------------------
 9874|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9874:10): [True: 0, False: 0]
  |  Branch (9874:57): [True: 0, False: 0]
  ------------------
 9875|      0|        error(loc, "qualifier", "bfloat16 types not allowed as input/output", "");
 9876|       |
 9877|  3.75k|    if ((type.getBasicType() == EbtFloatE5M2 || type.getBasicType() == EbtFloatE4M3) &&
  ------------------
  |  Branch (9877:10): [True: 0, False: 3.75k]
  |  Branch (9877:49): [True: 0, False: 3.75k]
  ------------------
 9878|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9878:10): [True: 0, False: 0]
  |  Branch (9878:57): [True: 0, False: 0]
  ------------------
 9879|      0|        error(loc, "qualifier", "fp8 types not allowed as input/output", "");
 9880|       |
 9881|  3.75k|    if (type.containsOcpMicroscalingFloat() &&
  ------------------
  |  Branch (9881:9): [True: 0, False: 3.75k]
  ------------------
 9882|      0|        (type.getQualifier().storage == EvqVaryingIn || type.getQualifier().storage == EvqVaryingOut))
  ------------------
  |  Branch (9882:10): [True: 0, False: 0]
  |  Branch (9882:57): [True: 0, False: 0]
  ------------------
 9883|      0|        error(loc, "qualifier", "microscaling types not allowed as input/output", "");
 9884|       |
 9885|  3.75k|    if (type.containsOcpMicroscalingNonByteFloat() &&
  ------------------
  |  Branch (9885:9): [True: 0, False: 3.75k]
  ------------------
 9886|      0|        (type.getQualifier().storage == EvqUniform || type.getQualifier().storage == EvqBuffer || type.getQualifier().storage == EvqShared))
  ------------------
  |  Branch (9886:10): [True: 0, False: 0]
  |  Branch (9886:55): [True: 0, False: 0]
  |  Branch (9886:99): [True: 0, False: 0]
  ------------------
 9887|      0|        error(loc, "qualifier", "sub-byte sized types not allowed in storage class", "");
 9888|       |
 9889|  3.75k|    if (type.getQualifier().storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (9889:9): [True: 0, False: 3.75k]
  ------------------
 9890|      0|        intermediate.addTaskPayloadEXTCount();
 9891|  3.75k|    if (type.getQualifier().storage == EvqShared && type.containsCoopMat())
  ------------------
  |  Branch (9891:9): [True: 0, False: 3.75k]
  |  Branch (9891:53): [True: 0, False: 0]
  ------------------
 9892|      0|        error(loc, "qualifier", "Cooperative matrix types must not be used in shared memory", "");
 9893|       |
 9894|  3.75k|    if (profile == EEsProfile) {
  ------------------
  |  Branch (9894:9): [True: 195, False: 3.55k]
  ------------------
 9895|    195|        if (type.getQualifier().isPipeInput() && type.getBasicType() == EbtStruct) {
  ------------------
  |  Branch (9895:13): [True: 0, False: 195]
  |  Branch (9895:50): [True: 0, False: 0]
  ------------------
 9896|      0|            if (type.getQualifier().isArrayedIo(language)) {
  ------------------
  |  Branch (9896:17): [True: 0, False: 0]
  ------------------
 9897|      0|                TType perVertexType(type, 0);
 9898|      0|                if (perVertexType.containsArray() && perVertexType.containsBuiltIn() == false) {
  ------------------
  |  Branch (9898:21): [True: 0, False: 0]
  |  Branch (9898:54): [True: 0, False: 0]
  ------------------
 9899|      0|                    error(loc, "A per vertex structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9900|      0|                }
 9901|      0|            }
 9902|      0|            else if (type.containsArray() && type.containsBuiltIn() == false) {
  ------------------
  |  Branch (9902:22): [True: 0, False: 0]
  |  Branch (9902:46): [True: 0, False: 0]
  ------------------
 9903|      0|                error(loc, "A structure containing an array is not allowed as input in ES", type.getTypeName().c_str(), "");
 9904|      0|            }
 9905|      0|            if (type.containsStructure())
  ------------------
  |  Branch (9905:17): [True: 0, False: 0]
  ------------------
 9906|      0|                error(loc, "A structure containing an struct is not allowed as input in ES", type.getTypeName().c_str(), "");
 9907|      0|        }
 9908|    195|    }
 9909|       |
 9910|  3.75k|    if (identifier != "gl_FragCoord" && (publicType.shaderQualifiers.originUpperLeft || publicType.shaderQualifiers.pixelCenterInteger))
  ------------------
  |  Branch (9910:9): [True: 3.74k, False: 4]
  |  Branch (9910:42): [True: 0, False: 3.74k]
  |  Branch (9910:89): [True: 0, False: 3.74k]
  ------------------
 9911|      0|        error(loc, "can only apply origin_upper_left and pixel_center_origin to gl_FragCoord", "layout qualifier", "");
 9912|  3.75k|    if (identifier != "gl_FragDepth" && publicType.shaderQualifiers.getDepth() != EldNone)
  ------------------
  |  Branch (9912:9): [True: 3.75k, False: 0]
  |  Branch (9912:41): [True: 0, False: 3.75k]
  ------------------
 9913|      0|        error(loc, "can only apply depth layout to gl_FragDepth", "layout qualifier", "");
 9914|  3.75k|    if (identifier != "gl_FragStencilRefARB" && publicType.shaderQualifiers.getStencil() != ElsNone)
  ------------------
  |  Branch (9914:9): [True: 3.75k, False: 0]
  |  Branch (9914:49): [True: 0, False: 3.75k]
  ------------------
 9915|      0|        error(loc, "can only apply depth layout to gl_FragStencilRefARB", "layout qualifier", "");
 9916|       |
 9917|       |    // Check for redeclaration of built-ins and/or attempting to declare a reserved name
 9918|  3.75k|    TSymbol* symbol = redeclareBuiltinVariable(loc, identifier, type.getQualifier(), publicType.shaderQualifiers);
 9919|  3.75k|    if (symbol == nullptr)
  ------------------
  |  Branch (9919:9): [True: 3.75k, False: 0]
  ------------------
 9920|  3.75k|        reservedErrorCheck(loc, identifier);
 9921|       |
 9922|  3.75k|    if (symbol == nullptr && spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) {
  ------------------
  |  Branch (9922:9): [True: 3.75k, False: 0]
  |  Branch (9922:30): [True: 3.65k, False: 93]
  |  Branch (9922:55): [True: 0, False: 3.65k]
  ------------------
 9923|      0|        bool remapped = vkRelaxedRemapUniformVariable(loc, identifier, publicType, arraySizes, initializer, type);
 9924|       |
 9925|      0|        if (remapped) {
  ------------------
  |  Branch (9925:13): [True: 0, False: 0]
  ------------------
 9926|      0|            return nullptr;
 9927|      0|        }
 9928|      0|    }
 9929|       |
 9930|  3.75k|    inheritGlobalDefaults(type.getQualifier());
 9931|       |
 9932|       |    // Declare the variable
 9933|  3.75k|    if (type.isArray()) {
  ------------------
  |  Branch (9933:9): [True: 155, False: 3.59k]
  ------------------
 9934|       |        // Check that implicit sizing is only where allowed.
 9935|    155|        arraySizesCheck(loc, type.getQualifier(), type.getArraySizes(), initializer, false);
 9936|       |
 9937|    155|        if (! arrayQualifierError(loc, type.getQualifier()) && ! arrayError(loc, type))
  ------------------
  |  Branch (9937:13): [True: 155, False: 0]
  |  Branch (9937:64): [True: 155, False: 0]
  ------------------
 9938|    155|            declareArray(loc, identifier, type, symbol);
 9939|       |
 9940|    155|        if (initializer) {
  ------------------
  |  Branch (9940:13): [True: 0, False: 155]
  ------------------
 9941|      0|            profileRequires(loc, ENoProfile, 120, E_GL_3DL_array_objects, "initializer");
 9942|      0|            profileRequires(loc, EEsProfile, 300, nullptr, "initializer");
 9943|      0|        }
 9944|  3.59k|    } else {
 9945|       |        // non-array case
 9946|  3.59k|        if (symbol == nullptr)
  ------------------
  |  Branch (9946:13): [True: 3.59k, False: 0]
  ------------------
 9947|  3.59k|            symbol = declareNonArray(loc, identifier, type);
 9948|      0|        else if (type != symbol->getType())
  ------------------
  |  Branch (9948:18): [True: 0, False: 0]
  ------------------
 9949|      0|            error(loc, "cannot change the type of", "redeclaration", symbol->getName().c_str());
 9950|  3.59k|    }
 9951|       |
 9952|  3.75k|    if (symbol == nullptr)
  ------------------
  |  Branch (9952:9): [True: 4, False: 3.74k]
  ------------------
 9953|      4|        return nullptr;
 9954|       |
 9955|       |    // Deal with initializer
 9956|  3.74k|    TIntermNode* initNode = nullptr;
 9957|  3.74k|    if (symbol != nullptr && initializer) {
  ------------------
  |  Branch (9957:9): [True: 3.74k, False: 0]
  |  Branch (9957:30): [True: 828, False: 2.91k]
  ------------------
 9958|    828|        TVariable* variable = symbol->getAsVariable();
 9959|    828|        if (! variable) {
  ------------------
  |  Branch (9959:13): [True: 0, False: 828]
  ------------------
 9960|      0|            error(loc, "initializer requires a variable, not a member", identifier.c_str(), "");
 9961|      0|            return nullptr;
 9962|      0|        }
 9963|    828|        initNode = executeInitializer(loc, initializer, variable);
 9964|       |
 9965|       |        // GL_EXT_opacity_micromap_ray_query_mode: capture the value of a
 9966|       |        // 'const bool gl_EnableOpacityMicromapEXT = <true|false>;' redeclaration so the back end can emit
 9967|       |        // the OpacityMicromapIdKHR execution mode operand as OpConstantTrue/OpConstantFalse. The
 9968|       |        // specialization-constant form goes through addQualifierToExisting instead.
 9969|    828|        if (identifier == "gl_EnableOpacityMicromapEXT" && !variable->getType().getQualifier().hasSpecConstantId()) {
  ------------------
  |  Branch (9969:13): [True: 0, False: 828]
  |  Branch (9969:60): [True: 0, False: 0]
  ------------------
 9970|      0|            const TConstUnionArray& constArray = variable->getConstArray();
 9971|      0|            if (constArray.size() > 0)
  ------------------
  |  Branch (9971:17): [True: 0, False: 0]
  ------------------
 9972|      0|                intermediate.setEnableOpacityMicromapDefault(constArray[0].getBConst());
 9973|      0|        }
 9974|    828|    }
 9975|       |
 9976|       |    // EXT_descriptor_heap
 9977|  3.74k|    if (!untypedHeapCheck(symbol, type, loc, identifier.c_str())) {
  ------------------
  |  Branch (9977:9): [True: 0, False: 3.74k]
  ------------------
 9978|      0|        return nullptr;
 9979|      0|    }
 9980|       |
 9981|       |    // look for errors in layout qualifier use
 9982|  3.74k|    layoutObjectCheck(loc, *symbol);
 9983|       |
 9984|       |    // fix up
 9985|  3.74k|    fixOffset(loc, *symbol);
 9986|       |
 9987|       |    // TODO: The decl AST is turned on based on debug info right now. We should expose it as an explicit option.
 9988|  3.74k|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (9988:9): [True: 0, False: 3.74k]
  ------------------
 9989|      0|        TVariable* variable = symbol->getAsVariable();
 9990|      0|        if (variable) {
  ------------------
  |  Branch (9990:13): [True: 0, False: 0]
  ------------------
 9991|      0|            auto decl = new TIntermVariableDecl(intermediate.addSymbol(*variable, loc), initNode);
 9992|      0|            decl->setLoc(loc);
 9993|      0|            return decl;
 9994|      0|        }
 9995|      0|        else {
 9996|       |            // We ignore builtins redeclarations
 9997|      0|            return nullptr;
 9998|      0|        }
 9999|      0|    }
10000|  3.74k|    else {
10001|  3.74k|        return initNode;
10002|  3.74k|    }
10003|  3.74k|}
_ZNK7glslang13TParseContext21inheritGlobalDefaultsERNS_10TQualifierE:
10007|  3.75k|{
10008|  3.75k|    if (dst.storage == EvqVaryingOut) {
  ------------------
  |  Branch (10008:9): [True: 238, False: 3.51k]
  ------------------
10009|    238|        if (! dst.hasStream() && language == EShLangGeometry)
  ------------------
  |  Branch (10009:13): [True: 238, False: 0]
  |  Branch (10009:34): [True: 63, False: 175]
  ------------------
10010|     63|            dst.layoutStream = globalOutputDefaults.layoutStream;
10011|    238|        if (! dst.hasXfbBuffer())
  ------------------
  |  Branch (10011:13): [True: 238, False: 0]
  ------------------
10012|    238|            dst.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
10013|    238|    }
10014|  3.75k|}
_ZN7glslang13TParseContext15declareNonArrayERKNS_10TSourceLocERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEERKNS_5TTypeE:
10038|  3.59k|{
10039|       |    // make a new variable
10040|  3.59k|    TVariable* variable = new TVariable(&identifier, type);
10041|       |
10042|  3.59k|    ioArrayCheck(loc, type, identifier);
10043|       |
10044|       |    // add variable to symbol table
10045|  3.59k|    if (symbolTable.insert(*variable)) {
  ------------------
  |  Branch (10045:9): [True: 3.59k, False: 4]
  ------------------
10046|  3.59k|        if (symbolTable.atGlobalLevel())
  ------------------
  |  Branch (10046:13): [True: 3.59k, False: 0]
  ------------------
10047|  3.59k|            trackLinkage(*variable);
10048|  3.59k|        return variable;
10049|  3.59k|    }
10050|       |
10051|      4|    error(loc, "redefinition", variable->getName().c_str(), "");
10052|      4|    return nullptr;
10053|  3.59k|}
_ZN7glslang13TParseContext18executeInitializerERKNS_10TSourceLocEPNS_12TIntermTypedEPNS_9TVariableE:
10062|    828|{
10063|       |    // A null initializer is an aggregate that hasn't had an op assigned yet
10064|       |    // (still EOpNull, no relation to nullInit), and has no children.
10065|    828|    bool nullInit = initializer->getAsAggregate() && initializer->getAsAggregate()->getOp() == EOpNull &&
  ------------------
  |  Branch (10065:21): [True: 0, False: 828]
  |  Branch (10065:54): [True: 0, False: 0]
  ------------------
10066|      0|        initializer->getAsAggregate()->getSequence().size() == 0;
  ------------------
  |  Branch (10066:9): [True: 0, False: 0]
  ------------------
10067|       |
10068|       |    //
10069|       |    // Identifier must be of type constant, a global, or a temporary, and
10070|       |    // starting at version 120, desktop allows uniforms to have initializers.
10071|       |    //
10072|    828|    TStorageQualifier qualifier = variable->getType().getQualifier().storage;
10073|    828|    if (! (qualifier == EvqTemporary || qualifier == EvqGlobal || qualifier == EvqConst ||
  ------------------
  |  Branch (10073:12): [True: 0, False: 828]
  |  Branch (10073:41): [True: 1, False: 827]
  |  Branch (10073:67): [True: 827, False: 0]
  ------------------
10074|      0|           (qualifier == EvqUniform && !isEsProfile() && version >= 120))) {
  ------------------
  |  Branch (10074:13): [True: 0, False: 0]
  |  Branch (10074:40): [True: 0, False: 0]
  |  Branch (10074:58): [True: 0, False: 0]
  ------------------
10075|      0|        if (qualifier == EvqShared) {
  ------------------
  |  Branch (10075:13): [True: 0, False: 0]
  ------------------
10076|       |            // GL_EXT_null_initializer allows this for shared, if it's a null initializer
10077|      0|            if (nullInit) {
  ------------------
  |  Branch (10077:17): [True: 0, False: 0]
  ------------------
10078|      0|                const char* feature = "initialization with shared qualifier";
10079|      0|                profileRequires(loc, EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10080|      0|                profileRequires(loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, feature);
10081|      0|            } else {
10082|      0|                error(loc, "initializer can only be a null initializer ('{}')", "shared", "");
10083|      0|            }
10084|      0|        } else {
10085|      0|            error(loc, " cannot initialize this type of qualifier ",
10086|      0|                  variable->getType().getStorageQualifierString(), "");
10087|      0|            return nullptr;
10088|      0|        }
10089|      0|    }
10090|       |
10091|    828|    if (nullInit) {
  ------------------
  |  Branch (10091:9): [True: 0, False: 828]
  ------------------
10092|       |        // only some types can be null initialized
10093|      0|        if (variable->getType().containsUnsizedArray()) {
  ------------------
  |  Branch (10093:13): [True: 0, False: 0]
  ------------------
10094|      0|            error(loc, "null initializers can't size unsized arrays", "{}", "");
10095|      0|            return nullptr;
10096|      0|        }
10097|      0|        if (variable->getType().containsOpaque()) {
  ------------------
  |  Branch (10097:13): [True: 0, False: 0]
  ------------------
10098|      0|            error(loc, "null initializers can't be used on opaque values", "{}", "");
10099|      0|            return nullptr;
10100|      0|        }
10101|      0|        variable->getWritableType().getQualifier().setNullInit();
10102|      0|        return nullptr;
10103|      0|    }
10104|       |
10105|    828|    arrayObjectCheck(loc, variable->getType(), "array initializer");
10106|       |
10107|       |    //
10108|       |    // If the initializer was from braces { ... }, we convert the whole subtree to a
10109|       |    // constructor-style subtree, allowing the rest of the code to operate
10110|       |    // identically for both kinds of initializers.
10111|       |    //
10112|       |    // Type can't be deduced from the initializer list, so a skeletal type to
10113|       |    // follow has to be passed in.  Constness and specialization-constness
10114|       |    // should be deduced bottom up, not dictated by the skeletal type.
10115|       |    //
10116|    828|    TType skeletalType;
10117|    828|    skeletalType.shallowCopy(variable->getType());
10118|    828|    skeletalType.getQualifier().makeTemporary();
10119|    828|    initializer = convertInitializerList(loc, skeletalType, initializer);
10120|    828|    if (! initializer) {
  ------------------
  |  Branch (10120:9): [True: 0, False: 828]
  ------------------
10121|       |        // error recovery; don't leave const without constant values
10122|      0|        if (qualifier == EvqConst)
  ------------------
  |  Branch (10122:13): [True: 0, False: 0]
  ------------------
10123|      0|            variable->getWritableType().getQualifier().makeTemporary();
10124|      0|        return nullptr;
10125|      0|    }
10126|       |
10127|       |    // Fix outer arrayness if variable is unsized, getting size from the initializer
10128|    828|    if (initializer->getType().isSizedArray() && variable->getType().isUnsizedArray())
  ------------------
  |  Branch (10128:9): [True: 0, False: 828]
  |  Branch (10128:50): [True: 0, False: 0]
  ------------------
10129|      0|        variable->getWritableType().changeOuterArraySize(initializer->getType().getOuterArraySize());
10130|       |
10131|       |    // Inner arrayness can also get set by an initializer
10132|    828|    if (initializer->getType().isArrayOfArrays() && variable->getType().isArrayOfArrays() &&
  ------------------
  |  Branch (10132:9): [True: 0, False: 828]
  |  Branch (10132:53): [True: 0, False: 0]
  ------------------
10133|      0|        initializer->getType().getArraySizes()->getNumDims() ==
  ------------------
  |  Branch (10133:9): [True: 0, False: 0]
  ------------------
10134|      0|           variable->getType().getArraySizes()->getNumDims()) {
10135|       |        // adopt unsized sizes from the initializer's sizes
10136|      0|        for (int d = 1; d < variable->getType().getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10136:25): [True: 0, False: 0]
  ------------------
10137|      0|            if (variable->getType().getArraySizes()->getDimSize(d) == UnsizedArraySize) {
  ------------------
  |  Branch (10137:17): [True: 0, False: 0]
  ------------------
10138|      0|                variable->getWritableType().getArraySizes()->setDimSize(d,
10139|      0|                    initializer->getType().getArraySizes()->getDimSize(d));
10140|      0|            }
10141|      0|        }
10142|      0|    }
10143|       |
10144|       |    // Uniforms require a compile-time constant initializer
10145|    828|    if (qualifier == EvqUniform && ! initializer->getType().getQualifier().isFrontEndConstant()) {
  ------------------
  |  Branch (10145:9): [True: 0, False: 828]
  |  Branch (10145:36): [True: 0, False: 0]
  ------------------
10146|      0|        error(loc, "uniform initializers must be constant", "=", "'%s'",
10147|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10148|      0|        variable->getWritableType().getQualifier().makeTemporary();
10149|      0|        return nullptr;
10150|      0|    }
10151|       |    // Global consts require a constant initializer (specialization constant is okay)
10152|    828|    if (qualifier == EvqConst && symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10152:9): [True: 827, False: 1]
  |  Branch (10152:34): [True: 827, False: 0]
  |  Branch (10152:65): [True: 0, False: 827]
  ------------------
10153|      0|        error(loc, "global const initializers must be constant", "=", "'%s'",
10154|      0|              variable->getType().getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10155|      0|        variable->getWritableType().getQualifier().makeTemporary();
10156|      0|        return nullptr;
10157|      0|    }
10158|       |
10159|       |    // Const variables require a constant initializer, depending on version
10160|    828|    if (qualifier == EvqConst) {
  ------------------
  |  Branch (10160:9): [True: 827, False: 1]
  ------------------
10161|    827|        if (! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10161:13): [True: 0, False: 827]
  ------------------
10162|      0|            const char* initFeature = "non-constant initializer";
10163|      0|            requireProfile(loc, ~EEsProfile, initFeature);
10164|      0|            profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
10165|      0|            variable->getWritableType().getQualifier().storage = EvqConstReadOnly;
10166|      0|            qualifier = EvqConstReadOnly;
10167|      0|        }
10168|    827|    } else {
10169|       |        // Non-const global variables in ES need a const initializer.
10170|       |        //
10171|       |        // "In declarations of global variables with no storage qualifier or with a const
10172|       |        // qualifier any initializer must be a constant expression."
10173|      1|        if (symbolTable.atGlobalLevel() && ! initializer->getType().getQualifier().isConstant()) {
  ------------------
  |  Branch (10173:13): [True: 1, False: 0]
  |  Branch (10173:44): [True: 0, False: 1]
  ------------------
10174|      0|            const char* initFeature =
10175|      0|                "non-constant global initializer (needs GL_EXT_shader_non_constant_global_initializers)";
10176|      0|            if (isEsProfile()) {
  ------------------
  |  Branch (10176:17): [True: 0, False: 0]
  ------------------
10177|      0|                if (relaxedErrors() && ! extensionTurnedOn(E_GL_EXT_shader_non_constant_global_initializers))
  ------------------
  |  Branch (10177:21): [True: 0, False: 0]
  |  Branch (10177:40): [True: 0, False: 0]
  ------------------
10178|      0|                    warn(loc, "not allowed in this version", initFeature, "");
10179|      0|                else
10180|      0|                    profileRequires(loc, EEsProfile, 0, E_GL_EXT_shader_non_constant_global_initializers, initFeature);
10181|      0|            }
10182|      0|        }
10183|      1|    }
10184|       |
10185|    828|    if (qualifier == EvqConst || qualifier == EvqUniform) {
  ------------------
  |  Branch (10185:9): [True: 827, False: 1]
  |  Branch (10185:34): [True: 0, False: 1]
  ------------------
10186|       |        // Compile-time tagging of the variable with its constant value...
10187|       |
10188|    827|        initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer);
10189|    827|        if (! initializer || ! initializer->getType().getQualifier().isConstant() ||
  ------------------
  |  Branch (10189:13): [True: 0, False: 827]
  |  Branch (10189:30): [True: 0, False: 827]
  ------------------
10190|    827|            variable->getType() != initializer->getType()) {
  ------------------
  |  Branch (10190:13): [True: 0, False: 827]
  ------------------
10191|      0|            error(loc, "non-matching or non-convertible constant type for const initializer",
10192|      0|                  variable->getType().getStorageQualifierString(), "");
10193|      0|            variable->getWritableType().getQualifier().makeTemporary();
10194|      0|            return nullptr;
10195|      0|        }
10196|       |
10197|       |        // We either have a folded constant in getAsConstantUnion, or we have to use
10198|       |        // the initializer's subtree in the AST to represent the computation of a
10199|       |        // specialization constant.
10200|    827|        assert(initializer->getAsConstantUnion() || initializer->getType().getQualifier().isSpecConstant());
10201|    827|        if (initializer->getAsConstantUnion())
  ------------------
  |  Branch (10201:13): [True: 827, False: 0]
  ------------------
10202|    827|            variable->setConstArray(initializer->getAsConstantUnion()->getConstArray());
10203|      0|        else {
10204|       |            // It's a specialization constant.
10205|      0|            variable->getWritableType().getQualifier().makeSpecConstant();
10206|       |
10207|       |            // Keep the subtree that computes the specialization constant with the variable.
10208|       |            // Later, a symbol node will adopt the subtree from the variable.
10209|      0|            variable->setConstSubtree(initializer);
10210|      0|        }
10211|    827|    } else {
10212|       |        // normal assigning of a value to a variable...
10213|      1|        specializationCheck(loc, initializer->getType(), "initializer");
10214|      1|        TIntermSymbol* intermSymbol = intermediate.addSymbol(*variable, loc);
10215|      1|        TIntermTyped* initNode = intermediate.addAssign(EOpAssign, intermSymbol, initializer, loc);
10216|      1|        if (! initNode)
  ------------------
  |  Branch (10216:13): [True: 1, False: 0]
  ------------------
10217|      1|            assignError(loc, "=", intermSymbol->getCompleteString(intermediate.getEnhancedMsgs()), initializer->getCompleteString(intermediate.getEnhancedMsgs()));
10218|       |
10219|      1|        return initNode;
10220|      1|    }
10221|       |
10222|    827|    return nullptr;
10223|    828|}
_ZN7glslang13TParseContext22convertInitializerListERKNS_10TSourceLocERKNS_5TTypeEPNS_12TIntermTypedE:
10236|    828|{
10237|       |    // Will operate recursively.  Once a subtree is found that is constructor style,
10238|       |    // everything below it is already good: Only the "top part" of the initializer
10239|       |    // can be an initializer list, where "top part" can extend for several (or all) levels.
10240|       |
10241|       |    // see if we have bottomed out in the tree within the initializer-list part
10242|    828|    TIntermAggregate* initList = initializer->getAsAggregate();
10243|    828|    if (! initList || initList->getOp() != EOpNull)
  ------------------
  |  Branch (10243:9): [True: 828, False: 0]
  |  Branch (10243:23): [True: 0, False: 0]
  ------------------
10244|    828|        return initializer;
10245|       |
10246|       |    // Of the initializer-list set of nodes, need to process bottom up,
10247|       |    // so recurse deep, then process on the way up.
10248|       |
10249|       |    // Go down the tree here...
10250|      0|    if (type.isArray()) {
  ------------------
  |  Branch (10250:9): [True: 0, False: 0]
  ------------------
10251|       |        // The type's array might be unsized, which could be okay, so base sizes on the size of the aggregate.
10252|       |        // Later on, initializer execution code will deal with array size logic.
10253|      0|        TType arrayType;
10254|      0|        arrayType.shallowCopy(type);                     // sharing struct stuff is fine
10255|      0|        arrayType.copyArraySizes(*type.getArraySizes());  // but get a fresh copy of the array information, to edit below
10256|       |
10257|       |        // a nested empty initializer list ({}) has no elements to size the array or
10258|       |        // derive its element type from, so reject it before the getSequence()[0] read below
10259|      0|        if (initList->getSequence().empty()) {
  ------------------
  |  Branch (10259:13): [True: 0, False: 0]
  ------------------
10260|      0|            error(loc, "array initializer must be non-empty", "initializer list", "");
10261|      0|            return nullptr;
10262|      0|        }
10263|       |
10264|       |        // edit array sizes to fill in unsized dimensions
10265|      0|        arrayType.changeOuterArraySize((int)initList->getSequence().size());
10266|      0|        TIntermTyped* firstInit = initList->getSequence()[0]->getAsTyped();
10267|      0|        if (arrayType.isArrayOfArrays() && firstInit->getType().isArray() &&
  ------------------
  |  Branch (10267:13): [True: 0, False: 0]
  |  Branch (10267:44): [True: 0, False: 0]
  ------------------
10268|      0|            arrayType.getArraySizes()->getNumDims() == firstInit->getType().getArraySizes()->getNumDims() + 1) {
  ------------------
  |  Branch (10268:13): [True: 0, False: 0]
  ------------------
10269|      0|            for (int d = 1; d < arrayType.getArraySizes()->getNumDims(); ++d) {
  ------------------
  |  Branch (10269:29): [True: 0, False: 0]
  ------------------
10270|      0|                if (arrayType.getArraySizes()->getDimSize(d) == UnsizedArraySize)
  ------------------
  |  Branch (10270:21): [True: 0, False: 0]
  ------------------
10271|      0|                    arrayType.getArraySizes()->setDimSize(d, firstInit->getType().getArraySizes()->getDimSize(d - 1));
10272|      0|            }
10273|      0|        }
10274|       |
10275|      0|        TType elementType(arrayType, 0); // dereferenced type
10276|      0|        for (size_t i = 0; i < initList->getSequence().size(); ++i) {
  ------------------
  |  Branch (10276:28): [True: 0, False: 0]
  ------------------
10277|      0|            initList->getSequence()[i] = convertInitializerList(loc, elementType, initList->getSequence()[i]->getAsTyped());
10278|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10278:17): [True: 0, False: 0]
  ------------------
10279|      0|                return nullptr;
10280|      0|        }
10281|       |
10282|      0|        return addConstructor(loc, initList, arrayType);
10283|      0|    } else if (type.isStruct()) {
  ------------------
  |  Branch (10283:16): [True: 0, False: 0]
  ------------------
10284|      0|        if (type.getStruct()->size() != initList->getSequence().size()) {
  ------------------
  |  Branch (10284:13): [True: 0, False: 0]
  ------------------
10285|      0|            error(loc, "wrong number of structure members", "initializer list", "");
10286|      0|            return nullptr;
10287|      0|        }
10288|      0|        for (size_t i = 0; i < type.getStruct()->size(); ++i) {
  ------------------
  |  Branch (10288:28): [True: 0, False: 0]
  ------------------
10289|      0|            initList->getSequence()[i] = convertInitializerList(loc, *(*type.getStruct())[i].type, initList->getSequence()[i]->getAsTyped());
10290|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10290:17): [True: 0, False: 0]
  ------------------
10291|      0|                return nullptr;
10292|      0|        }
10293|      0|    } else if (type.isMatrix()) {
  ------------------
  |  Branch (10293:16): [True: 0, False: 0]
  ------------------
10294|      0|        if (type.getMatrixCols() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10294:13): [True: 0, False: 0]
  ------------------
10295|      0|            error(loc, "wrong number of matrix columns:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10296|      0|            return nullptr;
10297|      0|        }
10298|      0|        TType vectorType(type, 0); // dereferenced type
10299|      0|        for (int i = 0; i < type.getMatrixCols(); ++i) {
  ------------------
  |  Branch (10299:25): [True: 0, False: 0]
  ------------------
10300|      0|            initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped());
10301|      0|            if (initList->getSequence()[i] == nullptr)
  ------------------
  |  Branch (10301:17): [True: 0, False: 0]
  ------------------
10302|      0|                return nullptr;
10303|      0|        }
10304|      0|    } else if (type.isVector()) {
  ------------------
  |  Branch (10304:16): [True: 0, False: 0]
  ------------------
10305|      0|        if (type.getVectorSize() != (int)initList->getSequence().size()) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            error(loc, "wrong vector size (or rows in a matrix column):", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10307|      0|            return nullptr;
10308|      0|        }
10309|      0|        TBasicType destType = type.getBasicType();
10310|      0|        for (int i = 0; i < type.getVectorSize(); ++i) {
  ------------------
  |  Branch (10310:25): [True: 0, False: 0]
  ------------------
10311|      0|            TBasicType initType = initList->getSequence()[i]->getAsTyped()->getBasicType();
10312|      0|            if (destType != initType && !intermediate.canImplicitlyPromote(initType, destType)) {
  ------------------
  |  Branch (10312:17): [True: 0, False: 0]
  |  Branch (10312:41): [True: 0, False: 0]
  ------------------
10313|      0|                error(loc, "type mismatch in initializer list", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10314|      0|                return nullptr;
10315|      0|            }
10316|       |
10317|      0|        }
10318|      0|    } else {
10319|      0|        error(loc, "unexpected initializer-list type:", "initializer list", type.getCompleteString(intermediate.getEnhancedMsgs()).c_str());
10320|      0|        return nullptr;
10321|      0|    }
10322|       |
10323|       |    // Now that the subtree is processed, process this node as if the
10324|       |    // initializer list is a set of arguments to a constructor.
10325|      0|    TIntermNode* emulatedConstructorArguments;
10326|      0|    if (initList->getSequence().size() == 1)
  ------------------
  |  Branch (10326:9): [True: 0, False: 0]
  ------------------
10327|      0|        emulatedConstructorArguments = initList->getSequence()[0];
10328|      0|    else
10329|      0|        emulatedConstructorArguments = initList;
10330|      0|    return addConstructor(loc, emulatedConstructorArguments, type);
10331|      0|}
_ZN7glslang13TParseContext14addConstructorERKNS_10TSourceLocEP11TIntermNodeRKNS_5TTypeE:
10343|     22|{
10344|     22|    if (node == nullptr || node->getAsTyped() == nullptr)
  ------------------
  |  Branch (10344:9): [True: 0, False: 22]
  |  Branch (10344:28): [True: 0, False: 22]
  ------------------
10345|      0|        return nullptr;
10346|     22|    rValueErrorCheck(loc, "constructor", node->getAsTyped());
10347|       |
10348|     22|    TIntermAggregate* aggrNode = node->getAsAggregate();
10349|     22|    TOperator op = intermediate.mapTypeToConstructorOp(type);
10350|       |
10351|       |    // Combined texture-sampler constructors are completely semantic checked
10352|       |    // in constructorTextureSamplerError()
10353|     22|    if (op == EOpConstructTextureSampler) {
  ------------------
  |  Branch (10353:9): [True: 0, False: 22]
  ------------------
10354|      0|        if (aggrNode != nullptr) {
  ------------------
  |  Branch (10354:13): [True: 0, False: 0]
  ------------------
10355|      0|            if (aggrNode->getSequence()[1]->getAsTyped()->getType().getSampler().shadow) {
  ------------------
  |  Branch (10355:17): [True: 0, False: 0]
  ------------------
10356|       |                // Transfer depth into the texture (SPIR-V image) type, as a hint
10357|       |                // for tools to know this texture/image is a depth image.
10358|      0|                aggrNode->getSequence()[0]->getAsTyped()->getWritableType().getSampler().shadow = true;
10359|      0|            }
10360|      0|            return intermediate.setAggregateOperator(aggrNode, op, type, loc);
10361|      0|        }
10362|      0|    }
10363|       |
10364|     22|    TTypeList::const_iterator memberTypes;
10365|     22|    if (op == EOpConstructStruct)
  ------------------
  |  Branch (10365:9): [True: 0, False: 22]
  ------------------
10366|      0|        memberTypes = type.getStruct()->begin();
10367|       |
10368|     22|    TType elementType;
10369|     22|    if (type.isArray()) {
  ------------------
  |  Branch (10369:9): [True: 0, False: 22]
  ------------------
10370|      0|        TType dereferenced(type, 0);
10371|      0|        elementType.shallowCopy(dereferenced);
10372|      0|    } else
10373|     22|        elementType.shallowCopy(type);
10374|       |
10375|     22|    bool singleArg;
10376|     22|    if (aggrNode) {
  ------------------
  |  Branch (10376:9): [True: 21, False: 1]
  ------------------
10377|     21|        if (aggrNode->getOp() != EOpNull)
  ------------------
  |  Branch (10377:13): [True: 0, False: 21]
  ------------------
10378|      0|            singleArg = true;
10379|     21|        else
10380|     21|            singleArg = false;
10381|     21|    } else
10382|      1|        singleArg = true;
10383|       |
10384|     22|    TIntermTyped *newNode;
10385|     22|    if (singleArg) {
  ------------------
  |  Branch (10385:9): [True: 1, False: 21]
  ------------------
10386|       |        // If structure constructor or array constructor is being called
10387|       |        // for only one parameter inside the structure, we need to call constructAggregate function once.
10388|      1|        if (type.isArray())
  ------------------
  |  Branch (10388:13): [True: 0, False: 1]
  ------------------
10389|      0|            newNode = constructAggregate(node, elementType, 1, node->getLoc());
10390|      1|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10390:18): [True: 0, False: 1]
  ------------------
10391|      0|            newNode = constructAggregate(node, *(*memberTypes).type, 1, node->getLoc());
10392|      1|        else
10393|      1|            newNode = constructBuiltIn(type, op, node->getAsTyped(), node->getLoc(), false);
10394|       |
10395|      1|        if (newNode && (type.isArray() || op == EOpConstructStruct))
  ------------------
  |  Branch (10395:13): [True: 1, False: 0]
  |  Branch (10395:25): [True: 0, False: 1]
  |  Branch (10395:43): [True: 0, False: 1]
  ------------------
10396|      0|            newNode = intermediate.setAggregateOperator(newNode, EOpConstructStruct, type, loc);
10397|       |
10398|      1|        return newNode;
10399|      1|    }
10400|       |
10401|       |    //
10402|       |    // Handle list of arguments.
10403|       |    //
10404|     21|    TIntermSequence &sequenceVector = aggrNode->getSequence();    // Stores the information about the parameter to the constructor
10405|       |    // if the structure constructor contains more than one parameter, then construct
10406|       |    // each parameter
10407|       |
10408|     21|    int paramCount = 0;  // keeps track of the constructor parameter number being checked
10409|       |
10410|       |    // We don't know "top down" whether type is a specialization constant,
10411|       |    // but a const becomes a specialization constant if any of its children are.
10412|     21|    bool hasSpecConst = false;
10413|     21|    bool isConstConstructor = true;
10414|       |
10415|       |    // for each parameter to the constructor call, check to see if the right type is passed or convert them
10416|       |    // to the right type if possible (and allowed).
10417|       |    // for structure constructors, just check if the right type is passed, no conversion is allowed.
10418|     21|    for (TIntermSequence::iterator p = sequenceVector.begin();
10419|     84|                                   p != sequenceVector.end(); p++, paramCount++) {
  ------------------
  |  Branch (10419:36): [True: 63, False: 21]
  ------------------
10420|     63|        if (type.isArray())
  ------------------
  |  Branch (10420:13): [True: 0, False: 63]
  ------------------
10421|      0|            newNode = constructAggregate(*p, elementType, paramCount+1, node->getLoc());
10422|     63|        else if (op == EOpConstructStruct)
  ------------------
  |  Branch (10422:18): [True: 0, False: 63]
  ------------------
10423|      0|            newNode = constructAggregate(*p, *(memberTypes[paramCount]).type, paramCount+1, node->getLoc());
10424|     63|        else
10425|     63|            newNode = constructBuiltIn(type, op, (*p)->getAsTyped(), node->getLoc(), true);
10426|       |
10427|     63|        if (newNode) {
  ------------------
  |  Branch (10427:13): [True: 63, False: 0]
  ------------------
10428|     63|            *p = newNode;
10429|     63|            if (!newNode->getType().getQualifier().isConstant())
  ------------------
  |  Branch (10429:17): [True: 0, False: 63]
  ------------------
10430|      0|                isConstConstructor = false;
10431|     63|            if (newNode->getType().getQualifier().isSpecConstant())
  ------------------
  |  Branch (10431:17): [True: 0, False: 63]
  ------------------
10432|      0|                hasSpecConst = true;
10433|     63|        } else
10434|      0|            return nullptr;
10435|     63|    }
10436|       |
10437|     21|    TIntermTyped* ret_node = intermediate.setAggregateOperator(aggrNode, op, type, loc);
10438|       |
10439|     21|    const char *specConstantCompositeExt[] = { E_GL_EXT_spec_constant_composites };
10440|     21|    if (checkExtensionsRequested(loc, 1, specConstantCompositeExt, "spec constant aggregate constructor")) {
  ------------------
  |  Branch (10440:9): [True: 0, False: 21]
  ------------------
10441|      0|        if (isConstConstructor && hasSpecConst) {
  ------------------
  |  Branch (10441:13): [True: 0, False: 0]
  |  Branch (10441:35): [True: 0, False: 0]
  ------------------
10442|      0|            ret_node->getWritableType().getQualifier().makeSpecConstant();
10443|      0|        }
10444|      0|    }
10445|       |
10446|     21|    TIntermAggregate *agg_node = ret_node->getAsAggregate();
10447|     21|    if (agg_node && (agg_node->isVector() || agg_node->isArray() || agg_node->isMatrix()))
  ------------------
  |  Branch (10447:9): [True: 0, False: 21]
  |  Branch (10447:22): [True: 0, False: 0]
  |  Branch (10447:46): [True: 0, False: 0]
  |  Branch (10447:69): [True: 0, False: 0]
  ------------------
10448|      0|        agg_node->updatePrecision();
10449|       |
10450|     21|    return ret_node;
10451|     21|}
_ZN7glslang13TParseContext16constructBuiltInERKNS_5TTypeENS_9TOperatorEPNS_12TIntermTypedERKNS_10TSourceLocEb:
10462|     64|{
10463|       |    // If we are changing a matrix in both domain of basic type and to a non matrix,
10464|       |    // do the shape change first (by default, below, basic type is changed before shape).
10465|       |    // This avoids requesting a matrix of a new type that is going to be discarded anyway.
10466|       |    // TODO: This could be generalized to more type combinations, but that would require
10467|       |    // more extensive testing and full algorithm rework. For now, the need to do two changes makes
10468|       |    // the recursive call work, and avoids the most egregious case of creating integer matrices.
10469|     64|    if (node->getType().isMatrix() && (type.isScalar() || type.isVector()) &&
  ------------------
  |  Branch (10469:9): [True: 0, False: 64]
  |  Branch (10469:40): [True: 0, False: 0]
  |  Branch (10469:59): [True: 0, False: 0]
  ------------------
10470|      0|            type.isFloatingDomain() != node->getType().isFloatingDomain()) {
  ------------------
  |  Branch (10470:13): [True: 0, False: 0]
  ------------------
10471|      0|        TType transitionType(node->getBasicType(), glslang::EvqTemporary, type.getVectorSize(), 0, 0, node->isVector());
10472|      0|        TOperator transitionOp = intermediate.mapTypeToConstructorOp(transitionType);
10473|      0|        node = constructBuiltIn(transitionType, transitionOp, node, loc, false);
10474|      0|    }
10475|       |
10476|     64|    TIntermTyped* newNode;
10477|     64|    TOperator basicOp;
10478|       |
10479|       |    //
10480|       |    // First, convert types as needed.
10481|       |    //
10482|     64|    switch (op) {
10483|      0|    case EOpConstructVec2:
  ------------------
  |  Branch (10483:5): [True: 0, False: 64]
  ------------------
10484|      0|    case EOpConstructVec3:
  ------------------
  |  Branch (10484:5): [True: 0, False: 64]
  ------------------
10485|      0|    case EOpConstructVec4:
  ------------------
  |  Branch (10485:5): [True: 0, False: 64]
  ------------------
10486|      0|    case EOpConstructMat2x2:
  ------------------
  |  Branch (10486:5): [True: 0, False: 64]
  ------------------
10487|      0|    case EOpConstructMat2x3:
  ------------------
  |  Branch (10487:5): [True: 0, False: 64]
  ------------------
10488|      0|    case EOpConstructMat2x4:
  ------------------
  |  Branch (10488:5): [True: 0, False: 64]
  ------------------
10489|      0|    case EOpConstructMat3x2:
  ------------------
  |  Branch (10489:5): [True: 0, False: 64]
  ------------------
10490|      0|    case EOpConstructMat3x3:
  ------------------
  |  Branch (10490:5): [True: 0, False: 64]
  ------------------
10491|      0|    case EOpConstructMat3x4:
  ------------------
  |  Branch (10491:5): [True: 0, False: 64]
  ------------------
10492|      0|    case EOpConstructMat4x2:
  ------------------
  |  Branch (10492:5): [True: 0, False: 64]
  ------------------
10493|      0|    case EOpConstructMat4x3:
  ------------------
  |  Branch (10493:5): [True: 0, False: 64]
  ------------------
10494|      0|    case EOpConstructMat4x4:
  ------------------
  |  Branch (10494:5): [True: 0, False: 64]
  ------------------
10495|      0|    case EOpConstructFloat:
  ------------------
  |  Branch (10495:5): [True: 0, False: 64]
  ------------------
10496|      0|        basicOp = EOpConstructFloat;
10497|      0|        break;
10498|       |
10499|      0|    case EOpConstructIVec2:
  ------------------
  |  Branch (10499:5): [True: 0, False: 64]
  ------------------
10500|      1|    case EOpConstructIVec3:
  ------------------
  |  Branch (10500:5): [True: 1, False: 63]
  ------------------
10501|      1|    case EOpConstructIVec4:
  ------------------
  |  Branch (10501:5): [True: 0, False: 64]
  ------------------
10502|      1|    case EOpConstructInt:
  ------------------
  |  Branch (10502:5): [True: 0, False: 64]
  ------------------
10503|      1|        basicOp = EOpConstructInt;
10504|      1|        break;
10505|       |
10506|      0|    case EOpConstructUVec2:
  ------------------
  |  Branch (10506:5): [True: 0, False: 64]
  ------------------
10507|      0|        if (node->getType().getBasicType() == EbtReference) {
  ------------------
  |  Branch (10507:13): [True: 0, False: 0]
  ------------------
10508|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "reference conversion to uvec2");
10509|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUvec2, true, node,
10510|      0|                type);
10511|      0|            return newNode;
10512|      0|        } else if (node->getType().getBasicType() == EbtSampler) {
  ------------------
  |  Branch (10512:20): [True: 0, False: 0]
  ------------------
10513|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "sampler conversion to uvec2");
10514|       |            // force the basic type of the constructor param to uvec2, otherwise spv builder will
10515|       |            // report some errors
10516|      0|            TIntermTyped* newSrcNode = intermediate.createConversion(EbtUint, node);
10517|      0|            newSrcNode->getAsTyped()->getWritableType().setVectorSize(2);
10518|       |
10519|      0|            TIntermTyped* newNode =
10520|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructUVec2, false, newSrcNode, type);
10521|      0|            return newNode;
10522|      0|        }
10523|      0|        [[fallthrough]];
10524|     63|    case EOpConstructUVec3:
  ------------------
  |  Branch (10524:5): [True: 63, False: 1]
  ------------------
10525|     63|    case EOpConstructUVec4:
  ------------------
  |  Branch (10525:5): [True: 0, False: 64]
  ------------------
10526|     63|    case EOpConstructUint:
  ------------------
  |  Branch (10526:5): [True: 0, False: 64]
  ------------------
10527|     63|        basicOp = EOpConstructUint;
10528|     63|        break;
10529|       |
10530|      0|    case EOpConstructBVec2:
  ------------------
  |  Branch (10530:5): [True: 0, False: 64]
  ------------------
10531|      0|    case EOpConstructBVec3:
  ------------------
  |  Branch (10531:5): [True: 0, False: 64]
  ------------------
10532|      0|    case EOpConstructBVec4:
  ------------------
  |  Branch (10532:5): [True: 0, False: 64]
  ------------------
10533|      0|    case EOpConstructBool:
  ------------------
  |  Branch (10533:5): [True: 0, False: 64]
  ------------------
10534|      0|        basicOp = EOpConstructBool;
10535|      0|        break;
10536|      0|    case EOpConstructTextureSampler:
  ------------------
  |  Branch (10536:5): [True: 0, False: 64]
  ------------------
10537|      0|        if ((node->getType().getBasicType() == EbtUint || node->getType().getBasicType() == EbtInt) &&
  ------------------
  |  Branch (10537:14): [True: 0, False: 0]
  |  Branch (10537:59): [True: 0, False: 0]
  ------------------
10538|      0|            node->getType().getVectorSize() == 2) {
  ------------------
  |  Branch (10538:13): [True: 0, False: 0]
  ------------------
10539|      0|            requireExtensions(loc, 1, &E_GL_ARB_bindless_texture, "ivec2/uvec2 convert to texture handle");
10540|       |            // No matter ivec2 or uvec2, Set EOpPackUint2x32 just to generate an opBitcast op code
10541|      0|            TIntermTyped* newNode =
10542|      0|                intermediate.addBuiltInFunctionCall(node->getLoc(), EOpPackUint2x32, true, node, type);
10543|      0|            return newNode;
10544|      0|        }
10545|      0|        [[fallthrough]];
10546|      0|    case EOpConstructDVec2:
  ------------------
  |  Branch (10546:5): [True: 0, False: 64]
  ------------------
10547|      0|    case EOpConstructDVec3:
  ------------------
  |  Branch (10547:5): [True: 0, False: 64]
  ------------------
10548|      0|    case EOpConstructDVec4:
  ------------------
  |  Branch (10548:5): [True: 0, False: 64]
  ------------------
10549|      0|    case EOpConstructDMat2x2:
  ------------------
  |  Branch (10549:5): [True: 0, False: 64]
  ------------------
10550|      0|    case EOpConstructDMat2x3:
  ------------------
  |  Branch (10550:5): [True: 0, False: 64]
  ------------------
10551|      0|    case EOpConstructDMat2x4:
  ------------------
  |  Branch (10551:5): [True: 0, False: 64]
  ------------------
10552|      0|    case EOpConstructDMat3x2:
  ------------------
  |  Branch (10552:5): [True: 0, False: 64]
  ------------------
10553|      0|    case EOpConstructDMat3x3:
  ------------------
  |  Branch (10553:5): [True: 0, False: 64]
  ------------------
10554|      0|    case EOpConstructDMat3x4:
  ------------------
  |  Branch (10554:5): [True: 0, False: 64]
  ------------------
10555|      0|    case EOpConstructDMat4x2:
  ------------------
  |  Branch (10555:5): [True: 0, False: 64]
  ------------------
10556|      0|    case EOpConstructDMat4x3:
  ------------------
  |  Branch (10556:5): [True: 0, False: 64]
  ------------------
10557|      0|    case EOpConstructDMat4x4:
  ------------------
  |  Branch (10557:5): [True: 0, False: 64]
  ------------------
10558|      0|    case EOpConstructDouble:
  ------------------
  |  Branch (10558:5): [True: 0, False: 64]
  ------------------
10559|      0|        basicOp = EOpConstructDouble;
10560|      0|        break;
10561|       |
10562|      0|    case EOpConstructF16Vec2:
  ------------------
  |  Branch (10562:5): [True: 0, False: 64]
  ------------------
10563|      0|    case EOpConstructF16Vec3:
  ------------------
  |  Branch (10563:5): [True: 0, False: 64]
  ------------------
10564|      0|    case EOpConstructF16Vec4:
  ------------------
  |  Branch (10564:5): [True: 0, False: 64]
  ------------------
10565|      0|    case EOpConstructF16Mat2x2:
  ------------------
  |  Branch (10565:5): [True: 0, False: 64]
  ------------------
10566|      0|    case EOpConstructF16Mat2x3:
  ------------------
  |  Branch (10566:5): [True: 0, False: 64]
  ------------------
10567|      0|    case EOpConstructF16Mat2x4:
  ------------------
  |  Branch (10567:5): [True: 0, False: 64]
  ------------------
10568|      0|    case EOpConstructF16Mat3x2:
  ------------------
  |  Branch (10568:5): [True: 0, False: 64]
  ------------------
10569|      0|    case EOpConstructF16Mat3x3:
  ------------------
  |  Branch (10569:5): [True: 0, False: 64]
  ------------------
10570|      0|    case EOpConstructF16Mat3x4:
  ------------------
  |  Branch (10570:5): [True: 0, False: 64]
  ------------------
10571|      0|    case EOpConstructF16Mat4x2:
  ------------------
  |  Branch (10571:5): [True: 0, False: 64]
  ------------------
10572|      0|    case EOpConstructF16Mat4x3:
  ------------------
  |  Branch (10572:5): [True: 0, False: 64]
  ------------------
10573|      0|    case EOpConstructF16Mat4x4:
  ------------------
  |  Branch (10573:5): [True: 0, False: 64]
  ------------------
10574|      0|    case EOpConstructFloat16:
  ------------------
  |  Branch (10574:5): [True: 0, False: 64]
  ------------------
10575|      0|        basicOp = EOpConstructFloat16;
10576|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10577|       |        // so construct a 32-bit type and convert
10578|       |        // and do not generate any conversion if it is an identity conversion, i.e. float16_t(<float16_t> var)
10579|      0|        if (!intermediate.getArithemeticFloat16Enabled() && (node->getBasicType() != EbtFloat16)) {
  ------------------
  |  Branch (10579:13): [True: 0, False: 0]
  |  Branch (10579:61): [True: 0, False: 0]
  ------------------
10580|      0|            TType tempType(EbtFloat, EvqTemporary, type.getVectorSize());
10581|      0|            newNode = node;
10582|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10582:17): [True: 0, False: 0]
  ------------------
10583|      0|                TOperator aggregateOp;
10584|      0|                if (op == EOpConstructFloat16)
  ------------------
  |  Branch (10584:21): [True: 0, False: 0]
  ------------------
10585|      0|                    aggregateOp = EOpConstructFloat;
10586|      0|                else
10587|      0|                    aggregateOp = (TOperator)(EOpConstructVec2 + op - EOpConstructF16Vec2);
10588|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10589|      0|            }
10590|      0|            newNode = intermediate.addConversion(EbtFloat16, newNode);
10591|      0|            return newNode;
10592|      0|        }
10593|      0|        break;
10594|       |
10595|      0|    case EOpConstructBF16Vec2:
  ------------------
  |  Branch (10595:5): [True: 0, False: 64]
  ------------------
10596|      0|    case EOpConstructBF16Vec3:
  ------------------
  |  Branch (10596:5): [True: 0, False: 64]
  ------------------
10597|      0|    case EOpConstructBF16Vec4:
  ------------------
  |  Branch (10597:5): [True: 0, False: 64]
  ------------------
10598|      0|    case EOpConstructBFloat16:
  ------------------
  |  Branch (10598:5): [True: 0, False: 64]
  ------------------
10599|      0|        basicOp = EOpConstructBFloat16;
10600|      0|        break;
10601|       |
10602|      0|    case EOpConstructFloatE5M2Vec2:
  ------------------
  |  Branch (10602:5): [True: 0, False: 64]
  ------------------
10603|      0|    case EOpConstructFloatE5M2Vec3:
  ------------------
  |  Branch (10603:5): [True: 0, False: 64]
  ------------------
10604|      0|    case EOpConstructFloatE5M2Vec4:
  ------------------
  |  Branch (10604:5): [True: 0, False: 64]
  ------------------
10605|      0|    case EOpConstructFloatE5M2:
  ------------------
  |  Branch (10605:5): [True: 0, False: 64]
  ------------------
10606|      0|        basicOp = EOpConstructFloatE5M2;
10607|      0|        break;
10608|       |
10609|      0|    case EOpConstructFloatE4M3Vec2:
  ------------------
  |  Branch (10609:5): [True: 0, False: 64]
  ------------------
10610|      0|    case EOpConstructFloatE4M3Vec3:
  ------------------
  |  Branch (10610:5): [True: 0, False: 64]
  ------------------
10611|      0|    case EOpConstructFloatE4M3Vec4:
  ------------------
  |  Branch (10611:5): [True: 0, False: 64]
  ------------------
10612|      0|    case EOpConstructFloatE4M3:
  ------------------
  |  Branch (10612:5): [True: 0, False: 64]
  ------------------
10613|      0|        basicOp = EOpConstructFloatE4M3;
10614|      0|        break;
10615|       |
10616|      0|    case EOpConstructFloatE2M1Vec2:
  ------------------
  |  Branch (10616:5): [True: 0, False: 64]
  ------------------
10617|      0|    case EOpConstructFloatE2M1Vec3:
  ------------------
  |  Branch (10617:5): [True: 0, False: 64]
  ------------------
10618|      0|    case EOpConstructFloatE2M1Vec4:
  ------------------
  |  Branch (10618:5): [True: 0, False: 64]
  ------------------
10619|      0|    case EOpConstructFloatE2M1:
  ------------------
  |  Branch (10619:5): [True: 0, False: 64]
  ------------------
10620|      0|        basicOp = EOpConstructFloatE2M1;
10621|      0|        break;
10622|       |
10623|      0|    case EOpConstructFloatE3M2Vec2:
  ------------------
  |  Branch (10623:5): [True: 0, False: 64]
  ------------------
10624|      0|    case EOpConstructFloatE3M2Vec3:
  ------------------
  |  Branch (10624:5): [True: 0, False: 64]
  ------------------
10625|      0|    case EOpConstructFloatE3M2Vec4:
  ------------------
  |  Branch (10625:5): [True: 0, False: 64]
  ------------------
10626|      0|    case EOpConstructFloatE3M2:
  ------------------
  |  Branch (10626:5): [True: 0, False: 64]
  ------------------
10627|      0|        basicOp = EOpConstructFloatE3M2;
10628|      0|        break;
10629|       |
10630|      0|    case EOpConstructFloatE2M3Vec2:
  ------------------
  |  Branch (10630:5): [True: 0, False: 64]
  ------------------
10631|      0|    case EOpConstructFloatE2M3Vec3:
  ------------------
  |  Branch (10631:5): [True: 0, False: 64]
  ------------------
10632|      0|    case EOpConstructFloatE2M3Vec4:
  ------------------
  |  Branch (10632:5): [True: 0, False: 64]
  ------------------
10633|      0|    case EOpConstructFloatE2M3:
  ------------------
  |  Branch (10633:5): [True: 0, False: 64]
  ------------------
10634|      0|        basicOp = EOpConstructFloatE2M3;
10635|      0|        break;
10636|       |
10637|      0|    case EOpConstructFloatUE8M0Vec2:
  ------------------
  |  Branch (10637:5): [True: 0, False: 64]
  ------------------
10638|      0|    case EOpConstructFloatUE8M0Vec3:
  ------------------
  |  Branch (10638:5): [True: 0, False: 64]
  ------------------
10639|      0|    case EOpConstructFloatUE8M0Vec4:
  ------------------
  |  Branch (10639:5): [True: 0, False: 64]
  ------------------
10640|      0|    case EOpConstructFloatUE8M0:
  ------------------
  |  Branch (10640:5): [True: 0, False: 64]
  ------------------
10641|      0|        basicOp = EOpConstructFloatUE8M0;
10642|      0|        break;
10643|       |
10644|      0|    case EOpConstructFloatMXINT8Vec2:
  ------------------
  |  Branch (10644:5): [True: 0, False: 64]
  ------------------
10645|      0|    case EOpConstructFloatMXINT8Vec3:
  ------------------
  |  Branch (10645:5): [True: 0, False: 64]
  ------------------
10646|      0|    case EOpConstructFloatMXINT8Vec4:
  ------------------
  |  Branch (10646:5): [True: 0, False: 64]
  ------------------
10647|      0|    case EOpConstructFloatMXINT8:
  ------------------
  |  Branch (10647:5): [True: 0, False: 64]
  ------------------
10648|      0|        basicOp = EOpConstructFloatMXINT8;
10649|      0|        break;
10650|       |
10651|      0|    case EOpConstructI8Vec2:
  ------------------
  |  Branch (10651:5): [True: 0, False: 64]
  ------------------
10652|      0|    case EOpConstructI8Vec3:
  ------------------
  |  Branch (10652:5): [True: 0, False: 64]
  ------------------
10653|      0|    case EOpConstructI8Vec4:
  ------------------
  |  Branch (10653:5): [True: 0, False: 64]
  ------------------
10654|      0|    case EOpConstructInt8:
  ------------------
  |  Branch (10654:5): [True: 0, False: 64]
  ------------------
10655|      0|        basicOp = EOpConstructInt8;
10656|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10657|       |        // so construct a 32-bit type and convert
10658|       |        // and do not generate any conversion if it is an identity conversion, i.e. int8_t(<int8_t> var)
10659|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtInt8)) {
  ------------------
  |  Branch (10659:13): [True: 0, False: 0]
  |  Branch (10659:58): [True: 0, False: 0]
  ------------------
10660|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10661|      0|            newNode = node;
10662|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10662:17): [True: 0, False: 0]
  ------------------
10663|      0|                TOperator aggregateOp;
10664|      0|                if (op == EOpConstructInt8)
  ------------------
  |  Branch (10664:21): [True: 0, False: 0]
  ------------------
10665|      0|                    aggregateOp = EOpConstructInt;
10666|      0|                else
10667|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI8Vec2);
10668|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10669|      0|            }
10670|      0|            newNode = intermediate.addConversion(EbtInt8, newNode);
10671|      0|            return newNode;
10672|      0|        }
10673|      0|        break;
10674|       |
10675|      0|    case EOpConstructU8Vec2:
  ------------------
  |  Branch (10675:5): [True: 0, False: 64]
  ------------------
10676|      0|    case EOpConstructU8Vec3:
  ------------------
  |  Branch (10676:5): [True: 0, False: 64]
  ------------------
10677|      0|    case EOpConstructU8Vec4:
  ------------------
  |  Branch (10677:5): [True: 0, False: 64]
  ------------------
10678|      0|    case EOpConstructUint8:
  ------------------
  |  Branch (10678:5): [True: 0, False: 64]
  ------------------
10679|      0|        basicOp = EOpConstructUint8;
10680|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10681|       |        // so construct a 32-bit type and convert
10682|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint8_t(<uint8_t> var)
10683|      0|        if (!intermediate.getArithemeticInt8Enabled() && (node->getBasicType() != EbtUint8)) {
  ------------------
  |  Branch (10683:13): [True: 0, False: 0]
  |  Branch (10683:58): [True: 0, False: 0]
  ------------------
10684|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10685|      0|            newNode = node;
10686|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10686:17): [True: 0, False: 0]
  ------------------
10687|      0|                TOperator aggregateOp;
10688|      0|                if (op == EOpConstructUint8)
  ------------------
  |  Branch (10688:21): [True: 0, False: 0]
  ------------------
10689|      0|                    aggregateOp = EOpConstructUint;
10690|      0|                else
10691|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU8Vec2);
10692|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10693|      0|            }
10694|      0|            newNode = intermediate.addConversion(EbtUint8, newNode);
10695|      0|            return newNode;
10696|      0|        }
10697|      0|        break;
10698|       |
10699|      0|    case EOpConstructI16Vec2:
  ------------------
  |  Branch (10699:5): [True: 0, False: 64]
  ------------------
10700|      0|    case EOpConstructI16Vec3:
  ------------------
  |  Branch (10700:5): [True: 0, False: 64]
  ------------------
10701|      0|    case EOpConstructI16Vec4:
  ------------------
  |  Branch (10701:5): [True: 0, False: 64]
  ------------------
10702|      0|    case EOpConstructInt16:
  ------------------
  |  Branch (10702:5): [True: 0, False: 64]
  ------------------
10703|      0|        basicOp = EOpConstructInt16;
10704|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10705|       |        // so construct a 32-bit type and convert
10706|       |        // and do not generate any conversion if it is an identity conversion, i.e. int16_t(<int16_t> var)
10707|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtInt16)) {
  ------------------
  |  Branch (10707:13): [True: 0, False: 0]
  |  Branch (10707:59): [True: 0, False: 0]
  ------------------
10708|      0|            TType tempType(EbtInt, EvqTemporary, type.getVectorSize());
10709|      0|            newNode = node;
10710|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10710:17): [True: 0, False: 0]
  ------------------
10711|      0|                TOperator aggregateOp;
10712|      0|                if (op == EOpConstructInt16)
  ------------------
  |  Branch (10712:21): [True: 0, False: 0]
  ------------------
10713|      0|                    aggregateOp = EOpConstructInt;
10714|      0|                else
10715|      0|                    aggregateOp = (TOperator)(EOpConstructIVec2 + op - EOpConstructI16Vec2);
10716|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10717|      0|            }
10718|      0|            newNode = intermediate.addConversion(EbtInt16, newNode);
10719|      0|            return newNode;
10720|      0|        }
10721|      0|        break;
10722|       |
10723|      0|    case EOpConstructU16Vec2:
  ------------------
  |  Branch (10723:5): [True: 0, False: 64]
  ------------------
10724|      0|    case EOpConstructU16Vec3:
  ------------------
  |  Branch (10724:5): [True: 0, False: 64]
  ------------------
10725|      0|    case EOpConstructU16Vec4:
  ------------------
  |  Branch (10725:5): [True: 0, False: 64]
  ------------------
10726|      0|    case EOpConstructUint16:
  ------------------
  |  Branch (10726:5): [True: 0, False: 64]
  ------------------
10727|      0|        basicOp = EOpConstructUint16;
10728|       |        // 8/16-bit storage extensions don't support direct constructing composites of 8/16-bit types,
10729|       |        // so construct a 32-bit type and convert
10730|       |        // and do not generate any conversion if it is an identity conversion, i.e. uint16_t(<uint16_t> var)
10731|      0|        if (!intermediate.getArithemeticInt16Enabled() && (node->getBasicType() != EbtUint16)) {
  ------------------
  |  Branch (10731:13): [True: 0, False: 0]
  |  Branch (10731:59): [True: 0, False: 0]
  ------------------
10732|      0|            TType tempType(EbtUint, EvqTemporary, type.getVectorSize());
10733|      0|            newNode = node;
10734|      0|            if (tempType != newNode->getType()) {
  ------------------
  |  Branch (10734:17): [True: 0, False: 0]
  ------------------
10735|      0|                TOperator aggregateOp;
10736|      0|                if (op == EOpConstructUint16)
  ------------------
  |  Branch (10736:21): [True: 0, False: 0]
  ------------------
10737|      0|                    aggregateOp = EOpConstructUint;
10738|      0|                else
10739|      0|                    aggregateOp = (TOperator)(EOpConstructUVec2 + op - EOpConstructU16Vec2);
10740|      0|                newNode = intermediate.setAggregateOperator(newNode, aggregateOp, tempType, node->getLoc());
10741|      0|            }
10742|      0|            newNode = intermediate.addConversion(EbtUint16, newNode);
10743|      0|            return newNode;
10744|      0|        }
10745|      0|        break;
10746|       |
10747|      0|    case EOpConstructI64Vec2:
  ------------------
  |  Branch (10747:5): [True: 0, False: 64]
  ------------------
10748|      0|    case EOpConstructI64Vec3:
  ------------------
  |  Branch (10748:5): [True: 0, False: 64]
  ------------------
10749|      0|    case EOpConstructI64Vec4:
  ------------------
  |  Branch (10749:5): [True: 0, False: 64]
  ------------------
10750|      0|    case EOpConstructInt64:
  ------------------
  |  Branch (10750:5): [True: 0, False: 64]
  ------------------
10751|      0|        basicOp = EOpConstructInt64;
10752|      0|        break;
10753|       |
10754|      0|    case EOpConstructUint64:
  ------------------
  |  Branch (10754:5): [True: 0, False: 64]
  ------------------
10755|      0|        if (type.isScalar() && node->getType().isReference()) {
  ------------------
  |  Branch (10755:13): [True: 0, False: 0]
  |  Branch (10755:32): [True: 0, False: 0]
  ------------------
10756|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvPtrToUint64, true, node, type);
10757|      0|            return newNode;
10758|      0|        }
10759|      0|        [[fallthrough]];
10760|      0|    case EOpConstructU64Vec2:
  ------------------
  |  Branch (10760:5): [True: 0, False: 64]
  ------------------
10761|      0|    case EOpConstructU64Vec3:
  ------------------
  |  Branch (10761:5): [True: 0, False: 64]
  ------------------
10762|      0|    case EOpConstructU64Vec4:
  ------------------
  |  Branch (10762:5): [True: 0, False: 64]
  ------------------
10763|      0|        basicOp = EOpConstructUint64;
10764|      0|        break;
10765|       |
10766|      0|    case EOpConstructNonuniform:
  ------------------
  |  Branch (10766:5): [True: 0, False: 64]
  ------------------
10767|       |        // Make a nonuniform copy of node
10768|      0|        newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpCopyObject, true, node, type);
10769|      0|        return newNode;
10770|       |
10771|      0|    case EOpConstructReference:
  ------------------
  |  Branch (10771:5): [True: 0, False: 64]
  ------------------
10772|       |        // construct reference from reference
10773|      0|        if (node->getType().isReference()) {
  ------------------
  |  Branch (10773:13): [True: 0, False: 0]
  ------------------
10774|      0|            newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConstructReference, true, node, type);
10775|      0|            return newNode;
10776|       |        // construct reference from uint64
10777|      0|        } else if (node->getType().isScalar() && node->getType().getBasicType() == EbtUint64) {
  ------------------
  |  Branch (10777:20): [True: 0, False: 0]
  |  Branch (10777:50): [True: 0, False: 0]
  ------------------
10778|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToPtr, true, node,
10779|      0|                type);
10780|      0|            return newNode;
10781|       |        // construct reference from uvec2
10782|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint &&
  ------------------
  |  Branch (10782:20): [True: 0, False: 0]
  |  Branch (10782:50): [True: 0, False: 0]
  ------------------
10783|      0|                   node->getVectorSize() == 2) {
  ------------------
  |  Branch (10783:20): [True: 0, False: 0]
  ------------------
10784|      0|            requireExtensions(loc, 1, &E_GL_EXT_buffer_reference_uvec2, "uvec2 conversion to reference");
10785|      0|            TIntermTyped* newNode = intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToPtr, true, node,
10786|      0|                type);
10787|      0|            return newNode;
10788|      0|        } else {
10789|      0|            return nullptr;
10790|      0|        }
10791|       |
10792|      0|    case EOpConstructCooperativeVectorNV:
  ------------------
  |  Branch (10792:5): [True: 0, False: 64]
  ------------------
10793|      0|        if (!node->getType().isCoopVecNV()) {
  ------------------
  |  Branch (10793:13): [True: 0, False: 0]
  ------------------
10794|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10794:17): [True: 0, False: 0]
  ------------------
10795|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10796|      0|                if (node == nullptr)
  ------------------
  |  Branch (10796:21): [True: 0, False: 0]
  ------------------
10797|      0|                    return nullptr;
10798|      0|            }
10799|      0|        }
10800|      0|        if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10800:13): [True: 0, False: 0]
  ------------------
10801|      0|            intermediate.buildConvertOp(type.getBasicType(), node->getType().getBasicType(), op);
10802|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10803|      0|            return node;
10804|      0|        }
10805|      0|        if (subset) {
  ------------------
  |  Branch (10805:13): [True: 0, False: 0]
  ------------------
10806|      0|            return node;
10807|      0|        }
10808|       |
10809|      0|        node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10810|       |
10811|      0|        return node;
10812|       |
10813|      0|    case EOpConstructCooperativeMatrixNV:
  ------------------
  |  Branch (10813:5): [True: 0, False: 64]
  ------------------
10814|      0|    case EOpConstructCooperativeMatrixKHR:
  ------------------
  |  Branch (10814:5): [True: 0, False: 64]
  ------------------
10815|      0|        if (node->getType() == type) {
  ------------------
  |  Branch (10815:13): [True: 0, False: 0]
  ------------------
10816|      0|            return node;
10817|      0|        }
10818|      0|        if (!node->getType().isCoopMat()) {
  ------------------
  |  Branch (10818:13): [True: 0, False: 0]
  ------------------
10819|      0|            if (type.getBasicType() != node->getType().getBasicType()) {
  ------------------
  |  Branch (10819:17): [True: 0, False: 0]
  ------------------
10820|      0|                node = intermediate.addConversion(type.getBasicType(), node);
10821|      0|                if (node == nullptr)
  ------------------
  |  Branch (10821:21): [True: 0, False: 0]
  ------------------
10822|      0|                    return nullptr;
10823|      0|            }
10824|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10825|      0|        } else if (type.sameCoopMatShape(node->getType()) && !type.sameCoopMatUse(node->getType()) &&
  ------------------
  |  Branch (10825:20): [True: 0, False: 0]
  |  Branch (10825:62): [True: 0, False: 0]
  ------------------
10826|      0|                   type.getBasicType() == node->getType().getBasicType()) {
  ------------------
  |  Branch (10826:20): [True: 0, False: 0]
  ------------------
10827|      0|            node = intermediate.setAggregateOperator(node, op, type, node->getLoc());
10828|      0|        } else {
10829|      0|            TOperator op = EOpConvNumeric;
10830|       |
10831|      0|            node = intermediate.addUnaryNode(op, node, node->getLoc(), type);
10832|       |            // If it's a (non-specialization) constant, it must be folded.
10833|      0|            if (node->getAsUnaryNode()->getOperand()->getAsConstantUnion())
  ------------------
  |  Branch (10833:17): [True: 0, False: 0]
  ------------------
10834|      0|                return node->getAsUnaryNode()->getOperand()->getAsConstantUnion()->fold(op, node->getType());
10835|      0|        }
10836|       |
10837|      0|        return node;
10838|       |
10839|      0|    case EOpConstructAccStruct:
  ------------------
  |  Branch (10839:5): [True: 0, False: 64]
  ------------------
10840|      0|        if ((node->getType().isScalar() && node->getType().getBasicType() == EbtUint64)) {
  ------------------
  |  Branch (10840:14): [True: 0, False: 0]
  |  Branch (10840:44): [True: 0, False: 0]
  ------------------
10841|       |            // construct acceleration structure from uint64
10842|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uint64_t conversion to acclerationStructureEXT");
10843|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUint64ToAccStruct, true, node,
10844|      0|                type);
10845|      0|        } else if (node->getType().isVector() && node->getType().getBasicType() == EbtUint && node->getVectorSize() == 2) {
  ------------------
  |  Branch (10845:20): [True: 0, False: 0]
  |  Branch (10845:50): [True: 0, False: 0]
  |  Branch (10845:95): [True: 0, False: 0]
  ------------------
10846|       |            // construct acceleration structure from uint64
10847|      0|            requireExtensions(loc, Num_ray_tracing_EXTs, ray_tracing_EXTs, "uvec2 conversion to accelerationStructureEXT");
10848|      0|            return intermediate.addBuiltInFunctionCall(node->getLoc(), EOpConvUvec2ToAccStruct, true, node,
10849|      0|                type);
10850|      0|        } else
10851|      0|            return nullptr;
10852|       |
10853|      0|    default:
  ------------------
  |  Branch (10853:5): [True: 0, False: 64]
  ------------------
10854|      0|        error(loc, "unsupported construction", "", "");
10855|       |
10856|      0|        return nullptr;
10857|     64|    }
10858|     64|    newNode = intermediate.addUnaryMath(basicOp, node, node->getLoc());
10859|     64|    if (newNode == nullptr) {
  ------------------
  |  Branch (10859:9): [True: 0, False: 64]
  ------------------
10860|      0|        error(loc, "can't convert", "constructor", "");
10861|      0|        return nullptr;
10862|      0|    }
10863|       |
10864|       |    //
10865|       |    // Now, if there still isn't an operation to do the construction, and we need one, add one.
10866|       |    //
10867|       |
10868|       |    // Otherwise, skip out early.
10869|     64|    if (subset || (newNode != node && newNode->getType() == type))
  ------------------
  |  Branch (10869:9): [True: 63, False: 1]
  |  Branch (10869:20): [True: 1, False: 0]
  |  Branch (10869:39): [True: 0, False: 1]
  ------------------
10870|     63|        return newNode;
10871|       |
10872|       |    // setAggregateOperator will insert a new node for the constructor, as needed.
10873|      1|    return intermediate.setAggregateOperator(newNode, op, type, loc);
10874|     64|}
_ZN7glslang13TParseContext12makeVariadicEPNS_9TFunctionERKNS_10TSourceLocE:
10876|    420|void TParseContext::makeVariadic(TFunction *F, const TSourceLoc &loc) {
10877|    420|    if (parsingBuiltins) {
  ------------------
  |  Branch (10877:9): [True: 420, False: 0]
  ------------------
10878|    420|        F->setVariadic();
10879|    420|    } else {
10880|      0|        error(loc, "variadic argument specifier is only available for builtins", "...", "");
10881|      0|    }
10882|    420|}
_ZN7glslang13TParseContext19getParamWithDefaultERKNS_11TPublicTypeEPNSt3__112basic_stringIcNS4_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_12TIntermTypedERKNS_10TSourceLocE:
10886|    420|{
10887|    420|    if (!parsingBuiltins) {
  ------------------
  |  Branch (10887:9): [True: 0, False: 420]
  ------------------
10888|      0|        error(loc, "default argument values are only available for builtins", "=", "");
10889|      0|        initializer = nullptr;
10890|      0|    }
10891|    420|    if (ty.arraySizes) {
  ------------------
  |  Branch (10891:9): [True: 0, False: 420]
  ------------------
10892|      0|        error(loc, "array arguments cannot be default-initialized", identifier->c_str(), "");
10893|      0|        initializer = nullptr;
10894|      0|    }
10895|    420|    if (ty.basicType == EbtVoid) {
  ------------------
  |  Branch (10895:9): [True: 0, False: 420]
  ------------------
10896|      0|        error(loc, "illegal use of type 'void'", identifier->c_str(), "");
10897|      0|        initializer = nullptr;
10898|      0|    }
10899|    420|    reservedErrorCheck(loc, *identifier);
10900|    420|    TParameter param = {identifier, new TType(ty), initializer};
10901|    420|    return param;
10902|    420|}
_ZN7glslang13TParseContext23inheritMemoryQualifiersERKNS_10TQualifierERS1_:
10925|    343|{
10926|    343|    if (from.isReadOnly())
  ------------------
  |  Branch (10926:9): [True: 0, False: 343]
  ------------------
10927|      0|        to.readonly = from.readonly;
10928|    343|    if (from.isWriteOnly())
  ------------------
  |  Branch (10928:9): [True: 0, False: 343]
  ------------------
10929|      0|        to.writeonly = from.writeonly;
10930|    343|    if (from.coherent)
  ------------------
  |  Branch (10930:9): [True: 0, False: 343]
  ------------------
10931|      0|        to.coherent = from.coherent;
10932|    343|    if (from.volatil)
  ------------------
  |  Branch (10932:9): [True: 0, False: 343]
  ------------------
10933|      0|        to.volatil = from.volatil;
10934|    343|    if (from.nontemporal)
  ------------------
  |  Branch (10934:9): [True: 0, False: 343]
  ------------------
10935|      0|        to.nontemporal = from.nontemporal;
10936|    343|    if (from.restrict)
  ------------------
  |  Branch (10936:9): [True: 0, False: 343]
  ------------------
10937|      0|        to.restrict = from.restrict;
10938|    343|}
_ZN7glslang13TParseContext16untypedHeapCheckEPNS_7TSymbolERKNS_5TTypeERKNS_10TSourceLocEPKc:
11013|  3.81k|{
11014|       |    // EXT_descriptor_heap
11015|  3.81k|    bool isHeapStruct =
11016|  3.81k|        (type.getQualifier().storage == EvqSamplerHeap || type.getQualifier().storage == EvqResourceHeap);
  ------------------
  |  Branch (11016:10): [True: 0, False: 3.81k]
  |  Branch (11016:59): [True: 0, False: 3.81k]
  ------------------
11017|       |
11018|  3.81k|    if (intermediate.IsRequestedExtension(E_GL_EXT_descriptor_heap) && spvVersion.vulkan > 0 &&
  ------------------
  |  Branch (11018:9): [True: 0, False: 3.81k]
  |  Branch (11018:72): [True: 0, False: 0]
  ------------------
11019|      0|        !type.getQualifier().hasSet() && !type.getQualifier().hasBinding()) {
  ------------------
  |  Branch (11019:9): [True: 0, False: 0]
  |  Branch (11019:42): [True: 0, False: 0]
  ------------------
11020|      0|        if (type.getQualifier().layoutDescriptorHeap || isHeapStruct) {
  ------------------
  |  Branch (11020:13): [True: 0, False: 0]
  |  Branch (11020:57): [True: 0, False: 0]
  ------------------
11021|      0|            if ((intermediate.isEsProfile() && intermediate.getVersion() < 310) ||
  ------------------
  |  Branch (11021:18): [True: 0, False: 0]
  |  Branch (11021:48): [True: 0, False: 0]
  ------------------
11022|      0|                (!intermediate.isEsProfile() && intermediate.getVersion() < 420)) {
  ------------------
  |  Branch (11022:18): [True: 0, False: 0]
  |  Branch (11022:49): [True: 0, False: 0]
  ------------------
11023|      0|                TString warnMsg = "layout(descriptor_heap) is turned on beyond version/profile limits.";
11024|      0|                infoSink.info.message(EPrefixWarning, warnMsg.c_str());
11025|      0|            }
11026|      0|            if (IsAnonymous(symbol->getName()) &&
  ------------------
  |  Branch (11026:17): [True: 0, False: 0]
  ------------------
11027|      0|                (type.getQualifier().isUniformOrBuffer() || type.getBasicType() == EbtBlock)) {
  ------------------
  |  Branch (11027:18): [True: 0, False: 0]
  |  Branch (11027:61): [True: 0, False: 0]
  ------------------
11028|      0|                error(loc, "layout(descriptor_heap) decorated block should be explicitly "
11029|      0|                    "declared with a run-time sized array type.", name, "");
11030|      0|                return false;
11031|      0|            }
11032|      0|            if (type.getBasicType() == EbtSampler && type.getSampler().isCombined()) {
  ------------------
  |  Branch (11032:17): [True: 0, False: 0]
  |  Branch (11032:54): [True: 0, False: 0]
  ------------------
11033|      0|                error(loc, "layout(descriptor_heap) cannot be used with combined image samplers.",
11034|      0|                      name, "");
11035|      0|                return false;
11036|      0|            }
11037|      0|            if (!type.containsHeapArray() && !isHeapStruct) {
  ------------------
  |  Branch (11037:17): [True: 0, False: 0]
  |  Branch (11037:46): [True: 0, False: 0]
  ------------------
11038|      0|                error(loc, "layout(descriptor_heap) decorated variable could only be declared as an array.",
11039|      0|                      name, "");
11040|      0|                return false;
11041|      0|            }
11042|       |
11043|      0|            if (isHeapStruct && type.isArray()) {
  ------------------
  |  Branch (11043:17): [True: 0, False: 0]
  |  Branch (11043:33): [True: 0, False: 0]
  ------------------
11044|      0|                error(loc, "resourceheap / samplerheap block cannot itself be an array.", name, "");
11045|      0|                return false;
11046|      0|            }
11047|       |
11048|      0|            descHeapBuiltinRemap(&symbol->getWritableType(), true);
11049|      0|        }
11050|      0|    }
11051|  3.81k|    return true;
11052|  3.81k|}
_ZN7glslang13TParseContext12declareBlockERKNS_10TSourceLocERNS_7TVectorINS_8TTypeLocEEEPKNSt3__112basic_stringIcNS8_11char_traitsIcEENS_14pool_allocatorIcEEEEPNS_11TArraySizesE:
11064|     63|{
11065|     63|    if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed)
  ------------------
  |  Branch (11065:9): [True: 63, False: 0]
  |  Branch (11065:34): [True: 0, False: 63]
  ------------------
11066|      0|        blockStorageRemap(loc, blockName, currentBlockQualifier);
11067|     63|    blockStageIoCheck(loc, currentBlockQualifier);
11068|     63|    blockQualifierCheck(loc, currentBlockQualifier, instanceName != nullptr);
11069|     63|    if (arraySizes != nullptr) {
  ------------------
  |  Branch (11069:9): [True: 42, False: 21]
  ------------------
11070|     42|        arraySizesCheck(loc, currentBlockQualifier, arraySizes, nullptr, false);
11071|     42|        arrayOfArrayVersionCheck(loc, arraySizes);
11072|     42|        if (arraySizes->getNumDims() > 1)
  ------------------
  |  Branch (11072:13): [True: 0, False: 42]
  ------------------
11073|      0|            requireProfile(loc, ~EEsProfile, "array-of-array of block");
11074|     42|    }
11075|       |
11076|       |    // Inherit and check member storage qualifiers WRT to the block-level qualifier.
11077|    406|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11077:35): [True: 343, False: 63]
  ------------------
11078|    343|        TType& memberType = *typeList[member].type;
11079|    343|        TQualifier& memberQualifier = memberType.getQualifier();
11080|    343|        const TSourceLoc& memberLoc = typeList[member].loc;
11081|    343|        const bool heapBufferTypeMember =
11082|    343|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11083|    343|        const bool heapBlockMember =
11084|    343|            currentBlockQualifier.storage == EvqResourceHeap || currentBlockQualifier.storage == EvqSamplerHeap;
  ------------------
  |  Branch (11084:13): [True: 0, False: 343]
  |  Branch (11084:65): [True: 0, False: 343]
  ------------------
11085|    343|        if (memberQualifier.layoutDescriptorHeap && !heapBlockMember)
  ------------------
  |  Branch (11085:13): [True: 0, False: 343]
  |  Branch (11085:53): [True: 0, False: 0]
  ------------------
11086|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor heap member", "");
11087|    343|        if (memberQualifier.storage != EvqTemporary && memberQualifier.storage != EvqGlobal &&
  ------------------
  |  Branch (11087:13): [True: 308, False: 35]
  |  Branch (11087:56): [True: 0, False: 308]
  ------------------
11088|      0|            memberQualifier.storage != currentBlockQualifier.storage && !heapBufferTypeMember)
  ------------------
  |  Branch (11088:13): [True: 0, False: 0]
  |  Branch (11088:73): [True: 0, False: 0]
  ------------------
11089|      0|            error(memberLoc, "member storage qualifier cannot contradict block storage qualifier", memberType.getFieldName().c_str(), "");
11090|    343|        if (!heapBufferTypeMember)
  ------------------
  |  Branch (11090:13): [True: 343, False: 0]
  ------------------
11091|    343|            memberQualifier.storage = currentBlockQualifier.storage;
11092|    343|        globalQualifierFixCheck(memberLoc, memberQualifier);
11093|    343|        inheritMemoryQualifiers(currentBlockQualifier, memberQualifier);
11094|    343|        if (currentBlockQualifier.perPrimitiveNV)
  ------------------
  |  Branch (11094:13): [True: 77, False: 266]
  ------------------
11095|     77|            memberQualifier.perPrimitiveNV = currentBlockQualifier.perPrimitiveNV;
11096|    343|        if (currentBlockQualifier.perViewNV)
  ------------------
  |  Branch (11096:13): [True: 0, False: 343]
  ------------------
11097|      0|            memberQualifier.perViewNV = currentBlockQualifier.perViewNV;
11098|    343|        if (currentBlockQualifier.perTaskNV)
  ------------------
  |  Branch (11098:13): [True: 0, False: 343]
  ------------------
11099|      0|            memberQualifier.perTaskNV = currentBlockQualifier.perTaskNV;
11100|    343|        if (currentBlockQualifier.storage == EvqtaskPayloadSharedEXT)
  ------------------
  |  Branch (11100:13): [True: 0, False: 343]
  ------------------
11101|      0|            memberQualifier.storage = EvqtaskPayloadSharedEXT;
11102|    343|        if (memberQualifier.storage == EvqSpirvStorageClass)
  ------------------
  |  Branch (11102:13): [True: 0, False: 343]
  ------------------
11103|      0|            error(memberLoc, "member cannot have a spirv_storage_class qualifier", memberType.getFieldName().c_str(), "");
11104|    343|        if (memberQualifier.hasSpirvDecorate() && !memberQualifier.getSpirvDecorate().decorateIds.empty())
  ------------------
  |  Branch (11104:13): [True: 0, False: 343]
  |  Branch (11104:51): [True: 0, False: 0]
  ------------------
11105|      0|            error(memberLoc, "member cannot have a spirv_decorate_id qualifier", memberType.getFieldName().c_str(), "");
11106|    343|        if ((currentBlockQualifier.storage == EvqUniform || currentBlockQualifier.storage == EvqBuffer) && (memberQualifier.isInterpolation() || memberQualifier.isAuxiliary()))
  ------------------
  |  Branch (11106:14): [True: 0, False: 343]
  |  Branch (11106:61): [True: 0, False: 343]
  |  Branch (11106:109): [True: 0, False: 0]
  |  Branch (11106:146): [True: 0, False: 0]
  ------------------
11107|      0|            error(memberLoc, "member of uniform or buffer block cannot have an auxiliary or interpolation qualifier", memberType.getFieldName().c_str(), "");
11108|    343|        if (memberType.isArray())
  ------------------
  |  Branch (11108:13): [True: 175, False: 168]
  ------------------
11109|    175|            arraySizesCheck(memberLoc, currentBlockQualifier, memberType.getArraySizes(), nullptr, member == typeList.size() - 1);
11110|    343|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11110:13): [True: 0, False: 343]
  ------------------
11111|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11111:17): [True: 0, False: 0]
  ------------------
11112|      0|                profileRequires(memberLoc, ~EEsProfile, 440, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11113|      0|                profileRequires(memberLoc, EEsProfile, 300, E_GL_ARB_enhanced_layouts, "\"offset\" on block member");
11114|      0|            }
11115|      0|        }
11116|       |
11117|    343|        if (memberQualifier.layoutDescriptorSize != TQualifier::layoutDescriptorSizeEnd && !heapBlockMember)
  ------------------
  |  Branch (11117:13): [True: 0, False: 343]
  |  Branch (11117:92): [True: 0, False: 0]
  ------------------
11118|      0|            error(memberLoc, "can only be used on resourceheap or samplerheap block members", "descriptor_size", "");
11119|       |
11120|       |        // For bindless texture, sampler can be declared as uniform/storage block member,
11121|    343|        if (memberType.containsOpaque() && !extensionTurnedOn(E_GL_EXT_structured_descriptor_heap)) {
  ------------------
  |  Branch (11121:13): [True: 0, False: 343]
  |  Branch (11121:44): [True: 0, False: 0]
  ------------------
11122|      0|            if (memberType.containsSampler() && extensionTurnedOn(E_GL_ARB_bindless_texture))
  ------------------
  |  Branch (11122:17): [True: 0, False: 0]
  |  Branch (11122:49): [True: 0, False: 0]
  ------------------
11123|      0|                updateBindlessQualifier(memberType);
11124|      0|            else
11125|      0|                error(memberLoc, "member of block cannot be or contain a sampler, image, or atomic_uint type", typeList[member].type->getFieldName().c_str(), "");
11126|      0|        }
11127|       |
11128|    343|        if (memberType.containsCoopMat())
  ------------------
  |  Branch (11128:13): [True: 0, False: 343]
  ------------------
11129|      0|            error(memberLoc, "member of block cannot be or contain a cooperative matrix type", typeList[member].type->getFieldName().c_str(), "");
11130|       |
11131|    343|        if (memberType.containsCoopVec())
  ------------------
  |  Branch (11131:13): [True: 0, False: 343]
  ------------------
11132|      0|            error(memberLoc, "member of block cannot be or contain a cooperative vector type", typeList[member].type->getFieldName().c_str(), "");
11133|       |
11134|    343|        if (memberType.containsOcpMicroscalingNonByteFloat())
  ------------------
  |  Branch (11134:13): [True: 0, False: 343]
  ------------------
11135|      0|            error(memberLoc, "member of block cannot be or contain a sub-byte type", typeList[member].type->getFieldName().c_str(), "");
11136|    343|    }
11137|       |
11138|       |    // This might be a redeclaration of a built-in block.  If so, redeclareBuiltinBlock() will
11139|       |    // do all the rest.
11140|     63|    if (! symbolTable.atBuiltInLevel() && builtInName(*blockName)) {
  ------------------
  |  Branch (11140:9): [True: 0, False: 63]
  |  Branch (11140:43): [True: 0, False: 0]
  ------------------
11141|      0|        redeclareBuiltinBlock(loc, typeList, *blockName, instanceName, arraySizes);
11142|      0|        return nullptr;
11143|      0|    }
11144|       |
11145|       |    // Not a redeclaration of a built-in; check that all names are user names.
11146|     63|    reservedErrorCheck(loc, *blockName);
11147|     63|    if (instanceName)
  ------------------
  |  Branch (11147:9): [True: 42, False: 21]
  ------------------
11148|     42|        reservedErrorCheck(loc, *instanceName);
11149|    406|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11149:35): [True: 343, False: 63]
  ------------------
11150|    343|        reservedErrorCheck(typeList[member].loc, typeList[member].type->getFieldName());
11151|       |
11152|       |    // Make default block qualification, and adjust the member qualifications
11153|       |
11154|     63|    TQualifier defaultQualification;
11155|     63|    switch (currentBlockQualifier.storage) {
11156|      0|    case EvqUniform:    defaultQualification = globalUniformDefaults;    break;
  ------------------
  |  Branch (11156:5): [True: 0, False: 63]
  ------------------
11157|      0|    case EvqBuffer:     defaultQualification = globalBufferDefaults;     break;
  ------------------
  |  Branch (11157:5): [True: 0, False: 63]
  ------------------
11158|      7|    case EvqVaryingIn:  defaultQualification = globalInputDefaults;      break;
  ------------------
  |  Branch (11158:5): [True: 7, False: 56]
  ------------------
11159|     56|    case EvqVaryingOut: defaultQualification = globalOutputDefaults;     break;
  ------------------
  |  Branch (11159:5): [True: 56, False: 7]
  ------------------
11160|      0|    case EvqShared:     defaultQualification = globalSharedDefaults;     break;
  ------------------
  |  Branch (11160:5): [True: 0, False: 63]
  ------------------
11161|      0|    default:            defaultQualification.clear();                    break;
  ------------------
  |  Branch (11161:5): [True: 0, False: 63]
  ------------------
11162|     63|    }
11163|       |
11164|       |    // Special case for "push_constant uniform", which has a default of std430,
11165|       |    // contrary to normal uniform defaults, and can't have a default tracked for it.
11166|     63|    if ((currentBlockQualifier.isPushConstant() && !currentBlockQualifier.hasPacking()) ||
  ------------------
  |  Branch (11166:10): [True: 0, False: 63]
  |  Branch (11166:52): [True: 0, False: 0]
  ------------------
11167|     63|        (currentBlockQualifier.isShaderRecord() && !currentBlockQualifier.hasPacking()))
  ------------------
  |  Branch (11167:10): [True: 0, False: 63]
  |  Branch (11167:52): [True: 0, False: 0]
  ------------------
11168|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11169|       |
11170|       |    // Special case for "taskNV in/out", which has a default of std430,
11171|     63|    if (currentBlockQualifier.isTaskMemory() && !currentBlockQualifier.hasPacking())
  ------------------
  |  Branch (11171:9): [True: 0, False: 63]
  |  Branch (11171:49): [True: 0, False: 0]
  ------------------
11172|      0|        currentBlockQualifier.layoutPacking = ElpStd430;
11173|       |
11174|       |    // fix and check for member layout qualifiers
11175|       |
11176|     63|    mergeObjectLayoutQualifiers(defaultQualification, currentBlockQualifier, true);
11177|       |
11178|       |    // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11179|     63|    if (currentBlockQualifier.hasAlign()) {
  ------------------
  |  Branch (11179:9): [True: 0, False: 63]
  ------------------
11180|      0|        if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11180:13): [True: 0, False: 0]
  ------------------
11181|      0|            defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11181:13): [True: 0, False: 0]
  ------------------
11182|      0|            defaultQualification.layoutPacking != ElpScalar) {
  ------------------
  |  Branch (11182:13): [True: 0, False: 0]
  ------------------
11183|      0|            error(loc, "can only be used with std140, std430, or scalar layout packing", "align", "");
11184|      0|            defaultQualification.layoutAlign = -1;
11185|      0|        }
11186|      0|    }
11187|       |
11188|     63|    bool memberWithLocation = false;
11189|     63|    bool memberWithoutLocation = false;
11190|     63|    bool memberWithPerViewQualifier = false;
11191|    406|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11191:35): [True: 343, False: 63]
  ------------------
11192|    343|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11193|    343|        const TSourceLoc& memberLoc = typeList[member].loc;
11194|    343|        const bool heapBufferTypeMember =
11195|    343|            isResourceHeapBufferTypeMember(currentBlockQualifier, memberQualifier);
11196|    343|        if (memberQualifier.hasStream()) {
  ------------------
  |  Branch (11196:13): [True: 0, False: 343]
  ------------------
11197|      0|            if (defaultQualification.layoutStream != memberQualifier.layoutStream)
  ------------------
  |  Branch (11197:17): [True: 0, False: 0]
  ------------------
11198|      0|                error(memberLoc, "member cannot contradict block", "stream", "");
11199|      0|        }
11200|       |
11201|       |        // "This includes a block's inheritance of the
11202|       |        // current global default buffer, a block member's inheritance of the block's
11203|       |        // buffer, and the requirement that any *xfb_buffer* declared on a block
11204|       |        // member must match the buffer inherited from the block."
11205|    343|        if (memberQualifier.hasXfbBuffer()) {
  ------------------
  |  Branch (11205:13): [True: 0, False: 343]
  ------------------
11206|      0|            if (defaultQualification.layoutXfbBuffer != memberQualifier.layoutXfbBuffer)
  ------------------
  |  Branch (11206:17): [True: 0, False: 0]
  ------------------
11207|      0|                error(memberLoc, "member cannot contradict block (or what block inherited from global)", "xfb_buffer", "");
11208|      0|        }
11209|       |
11210|    343|        if (memberQualifier.hasPacking() && !heapBufferTypeMember)
  ------------------
  |  Branch (11210:13): [True: 0, False: 343]
  |  Branch (11210:45): [True: 0, False: 0]
  ------------------
11211|      0|            error(memberLoc, "member of block cannot have a packing layout qualifier", typeList[member].type->getFieldName().c_str(), "");
11212|    343|        if (memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11212:13): [True: 0, False: 343]
  ------------------
11213|      0|            const char* feature = "location on block member";
11214|      0|            switch (currentBlockQualifier.storage) {
11215|      0|            case EvqVaryingIn:
  ------------------
  |  Branch (11215:13): [True: 0, False: 0]
  ------------------
11216|      0|            case EvqVaryingOut:
  ------------------
  |  Branch (11216:13): [True: 0, False: 0]
  ------------------
11217|      0|                requireProfile(memberLoc, ECoreProfile | ECompatibilityProfile | EEsProfile, feature);
11218|      0|                profileRequires(memberLoc, ECoreProfile | ECompatibilityProfile, 440, E_GL_ARB_enhanced_layouts, feature);
11219|      0|                profileRequires(memberLoc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, feature);
11220|      0|                memberWithLocation = true;
11221|      0|                break;
11222|      0|            default:
  ------------------
  |  Branch (11222:13): [True: 0, False: 0]
  ------------------
11223|      0|                error(memberLoc, "can only use in an in/out block", feature, "");
11224|      0|                break;
11225|      0|            }
11226|      0|        } else
11227|    343|            memberWithoutLocation = true;
11228|       |
11229|       |        // "The offset qualifier can only be used on block members of blocks declared with std140 or std430 layouts."
11230|       |        // "The align qualifier can only be used on blocks or block members, and only for blocks declared with std140 or std430 layouts."
11231|    343|        if (memberQualifier.hasAlign() || memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11231:13): [True: 0, False: 343]
  |  Branch (11231:43): [True: 0, False: 343]
  ------------------
11232|      0|            if (defaultQualification.layoutPacking != ElpStd140 &&
  ------------------
  |  Branch (11232:17): [True: 0, False: 0]
  ------------------
11233|      0|                defaultQualification.layoutPacking != ElpStd430 &&
  ------------------
  |  Branch (11233:17): [True: 0, False: 0]
  ------------------
11234|      0|                defaultQualification.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11234:17): [True: 0, False: 0]
  ------------------
11235|      0|                error(memberLoc, "can only be used with std140, std430, or scalar layout packing", "offset/align", "");
11236|      0|        }
11237|       |
11238|    343|        if (memberQualifier.isPerView()) {
  ------------------
  |  Branch (11238:13): [True: 35, False: 308]
  ------------------
11239|     35|            memberWithPerViewQualifier = true;
11240|     35|        }
11241|       |
11242|    343|        TQualifier newMemberQualification = defaultQualification;
11243|    343|        mergeQualifiers(memberLoc, newMemberQualification, memberQualifier, false);
11244|    343|        memberQualifier = newMemberQualification;
11245|    343|    }
11246|       |
11247|     63|    layoutMemberLocationArrayCheck(loc, memberWithLocation, arraySizes);
11248|       |
11249|       |    // Ensure that the block has an XfbBuffer assigned. This is needed
11250|       |    // because if the block has a XfbOffset assigned, then it is
11251|       |    // assumed that it has implicitly assigned the current global
11252|       |    // XfbBuffer, and because it's members need to be assigned a
11253|       |    // XfbOffset if they lack it.
11254|     63|    if (currentBlockQualifier.storage == EvqVaryingOut && globalOutputDefaults.hasXfbBuffer()) {
  ------------------
  |  Branch (11254:9): [True: 56, False: 7]
  |  Branch (11254:59): [True: 28, False: 28]
  ------------------
11255|     28|       if (!currentBlockQualifier.hasXfbBuffer() && currentBlockQualifier.hasXfbOffset())
  ------------------
  |  Branch (11255:12): [True: 28, False: 0]
  |  Branch (11255:53): [True: 0, False: 28]
  ------------------
11256|      0|          currentBlockQualifier.layoutXfbBuffer = globalOutputDefaults.layoutXfbBuffer;
11257|     28|    }
11258|       |
11259|       |    // Process the members
11260|     63|    fixBlockLocations(loc, currentBlockQualifier, typeList, memberWithLocation, memberWithoutLocation);
11261|     63|    fixXfbOffsets(currentBlockQualifier, typeList);
11262|     63|    fixBlockUniformOffsets(currentBlockQualifier, typeList);
11263|     63|    fixBlockUniformLayoutMatrix(currentBlockQualifier, &typeList, nullptr);
11264|     63|    fixBlockUniformLayoutPacking(currentBlockQualifier, &typeList, nullptr);
11265|    406|    for (unsigned int member = 0; member < typeList.size(); ++member)
  ------------------
  |  Branch (11265:35): [True: 343, False: 63]
  ------------------
11266|    343|        layoutTypeCheck(typeList[member].loc, *typeList[member].type);
11267|       |
11268|     63|    if (memberWithPerViewQualifier) {
  ------------------
  |  Branch (11268:9): [True: 14, False: 49]
  ------------------
11269|    105|        for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11269:39): [True: 91, False: 14]
  ------------------
11270|     91|            checkAndResizeMeshViewDim(typeList[member].loc, *typeList[member].type, /*isBlockMember*/ true);
11271|     91|        }
11272|     14|    }
11273|       |
11274|       |    // reverse merge, so that currentBlockQualifier now has all layout information
11275|       |    // (can't use defaultQualification directly, it's missing other non-layout-default-class qualifiers)
11276|     63|    mergeObjectLayoutQualifiers(currentBlockQualifier, defaultQualification, true);
11277|       |
11278|       |    //
11279|       |    // Build and add the interface block as a new type named 'blockName'
11280|       |    //
11281|       |
11282|     63|    TType blockType(&typeList, *blockName, currentBlockQualifier);
11283|     63|    if (arraySizes != nullptr)
  ------------------
  |  Branch (11283:9): [True: 42, False: 21]
  ------------------
11284|     42|        blockType.transferArraySizes(arraySizes);
11285|       |
11286|     63|    if (arraySizes == nullptr)
  ------------------
  |  Branch (11286:9): [True: 21, False: 42]
  ------------------
11287|     21|        ioArrayCheck(loc, blockType, instanceName ? *instanceName : *blockName);
  ------------------
  |  Branch (11287:38): [True: 0, False: 21]
  ------------------
11288|     63|    if (currentBlockQualifier.hasBufferReference()) {
  ------------------
  |  Branch (11288:9): [True: 0, False: 63]
  ------------------
11289|       |
11290|      0|        if (currentBlockQualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11290:13): [True: 0, False: 0]
  ------------------
11291|      0|            error(loc, "can only be used with buffer", "buffer_reference", "");
11292|       |
11293|       |        // Create the block reference type. If it was forward-declared, detect that
11294|       |        // as a referent struct type with no members. Replace the referent type with
11295|       |        // blockType.
11296|      0|        TType blockNameType(EbtReference, blockType, *blockName);
11297|      0|        TVariable* blockNameVar = new TVariable(blockName, blockNameType, true);
11298|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11298:13): [True: 0, False: 0]
  ------------------
11299|      0|            TSymbol* existingName = symbolTable.find(*blockName);
11300|      0|            if (existingName->getType().isReference() &&
  ------------------
  |  Branch (11300:17): [True: 0, False: 0]
  ------------------
11301|      0|                existingName->getType().getReferentType()->getStruct() &&
  ------------------
  |  Branch (11301:17): [True: 0, False: 0]
  ------------------
11302|      0|                existingName->getType().getReferentType()->getStruct()->size() == 0 &&
  ------------------
  |  Branch (11302:17): [True: 0, False: 0]
  ------------------
11303|      0|                existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11303:17): [True: 0, False: 0]
  ------------------
11304|      0|                existingName->getType().getReferentType()->deepCopy(blockType);
11305|      0|            } else {
11306|      0|                error(loc, "block name cannot be redefined", blockName->c_str(), "");
11307|      0|            }
11308|      0|        }
11309|      0|        if (!instanceName) {
  ------------------
  |  Branch (11309:13): [True: 0, False: 0]
  ------------------
11310|      0|            return nullptr;
11311|      0|        }
11312|     63|    } else if (currentBlockQualifier.isBufferType()) {
  ------------------
  |  Branch (11312:16): [True: 0, False: 63]
  ------------------
11313|       |        // buffer_type creates an opaque type named by the block, not a global block instance.
11314|      0|        TVariable* blockNameVar = new TVariable(blockName, blockType, true);
11315|      0|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11315:13): [True: 0, False: 0]
  ------------------
11316|      0|            error(loc, "block name cannot be redefined", blockName->c_str(), "");
11317|      0|            return nullptr;
11318|      0|        }
11319|      0|        if (!instanceName)
  ------------------
  |  Branch (11319:13): [True: 0, False: 0]
  ------------------
11320|      0|            return nullptr;
11321|     63|    } else {
11322|       |        //
11323|       |        // Don't make a user-defined type out of block name; that will cause an error
11324|       |        // if the same block name gets reused in a different interface.
11325|       |        //
11326|       |        // "Block names have no other use within a shader
11327|       |        // beyond interface matching; it is a compile-time error to use a block name at global scope for anything
11328|       |        // other than as a block name (e.g., use of a block name for a global variable name or function name is
11329|       |        // currently reserved)."
11330|       |        //
11331|       |        // Use the symbol table to prevent normal reuse of the block's name, as a variable entry,
11332|       |        // whose type is EbtBlock, but without all the structure; that will come from the type
11333|       |        // the instances point to.
11334|       |        //
11335|     63|        TType blockNameType(EbtBlock, blockType.getQualifier().storage);
11336|     63|        TVariable* blockNameVar = new TVariable(blockName, blockNameType);
11337|     63|        if (! symbolTable.insert(*blockNameVar)) {
  ------------------
  |  Branch (11337:13): [True: 7, False: 56]
  ------------------
11338|      7|            TSymbol* existingName = symbolTable.find(*blockName);
11339|      7|            if (existingName->getType().getBasicType() == EbtBlock) {
  ------------------
  |  Branch (11339:17): [True: 7, False: 0]
  ------------------
11340|      7|                if (existingName->getType().getQualifier().storage == blockType.getQualifier().storage) {
  ------------------
  |  Branch (11340:21): [True: 0, False: 7]
  ------------------
11341|      0|                    error(loc, "Cannot reuse block name within the same interface:", blockName->c_str(), blockType.getStorageQualifierString());
11342|      0|                    return nullptr;
11343|      0|                }
11344|      7|            } else {
11345|      0|                error(loc, "block name cannot redefine a non-block name", blockName->c_str(), "");
11346|      0|                return nullptr;
11347|      0|            }
11348|      7|        }
11349|     63|    }
11350|       |
11351|       |    // Add the variable, as anonymous or named instanceName.
11352|       |    // Make an anonymous variable if no name was provided.
11353|     63|    if (! instanceName)
  ------------------
  |  Branch (11353:9): [True: 21, False: 42]
  ------------------
11354|     21|        instanceName = NewPoolTString("");
11355|       |
11356|     63|    TVariable& variable = *new TVariable(instanceName, blockType);
11357|     63|    if (! symbolTable.insert(variable)) {
  ------------------
  |  Branch (11357:9): [True: 0, False: 63]
  ------------------
11358|      0|        if (*instanceName == "")
  ------------------
  |  Branch (11358:13): [True: 0, False: 0]
  ------------------
11359|      0|            error(loc, "nameless block contains a member that already has a name at global scope", blockName->c_str(), "");
11360|      0|        else
11361|      0|            error(loc, "block instance name redefinition", variable.getName().c_str(), "");
11362|       |
11363|      0|        return nullptr;
11364|      0|    }
11365|       |
11366|       |    // EXT_descriptor_heap
11367|     63|    if (!untypedHeapCheck(&variable, blockType, loc, blockName->c_str())) {
  ------------------
  |  Branch (11367:9): [True: 0, False: 63]
  ------------------
11368|      0|        return nullptr;
11369|      0|    }
11370|       |
11371|       |    // Check for general layout qualifier errors
11372|     63|    layoutObjectCheck(loc, variable);
11373|       |
11374|       |    // fix up
11375|     63|    if (isIoResizeArray(blockType)) {
  ------------------
  |  Branch (11375:9): [True: 42, False: 21]
  ------------------
11376|     42|        ioArraySymbolResizeList.push_back(&variable);
11377|     42|        checkIoArraysConsistency(loc, true);
11378|     42|    } else
11379|     21|        fixIoArraySize(loc, variable.getWritableType());
11380|       |
11381|       |    // Save it in the AST for linker use.
11382|     63|    trackLinkage(variable);
11383|       |
11384|     63|    TIntermAggregate* declNode = nullptr;
11385|     63|    if (intermediate.getDebugInfo()) {
  ------------------
  |  Branch (11385:9): [True: 0, False: 63]
  ------------------
11386|      0|        auto blockDeclNode = new TIntermVariableDecl(intermediate.addSymbol(variable, loc), nullptr);
11387|      0|        blockDeclNode->setLoc(loc);
11388|       |
11389|       |        // We have to wrap the declaration with a sequence to fit the same processing logic with variables.
11390|      0|        declNode = new TIntermAggregate(EOpSequence);
11391|      0|        declNode->getSequence().push_back(blockDeclNode);
11392|      0|    }
11393|     63|    return declNode;
11394|     63|}
_ZN7glslang13TParseContext17blockStageIoCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11410|     63|{
11411|     63|    const char *extsrt[2] = { E_GL_NV_ray_tracing, E_GL_EXT_ray_tracing };
11412|     63|    switch (qualifier.storage) {
11413|      0|    case EvqUniform:
  ------------------
  |  Branch (11413:5): [True: 0, False: 63]
  ------------------
11414|      0|        profileRequires(loc, EEsProfile, 300, nullptr, "uniform block");
11415|      0|        profileRequires(loc, ENoProfile, 140, E_GL_ARB_uniform_buffer_object, "uniform block");
11416|      0|        if (currentBlockQualifier.layoutPacking == ElpStd430 && ! currentBlockQualifier.isPushConstant())
  ------------------
  |  Branch (11416:13): [True: 0, False: 0]
  |  Branch (11416:65): [True: 0, False: 0]
  ------------------
11417|      0|            requireExtensions(loc, 1, &E_GL_EXT_scalar_block_layout, "std430 requires the buffer storage qualifier");
11418|      0|        break;
11419|      0|    case EvqBuffer:
  ------------------
  |  Branch (11419:5): [True: 0, False: 63]
  ------------------
11420|      0|        requireProfile(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, "buffer block");
11421|      0|        profileRequires(loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_shader_storage_buffer_object, "buffer block");
11422|      0|        profileRequires(loc, EEsProfile, 310, nullptr, "buffer block");
11423|      0|        break;
11424|      7|    case EvqVaryingIn:
  ------------------
  |  Branch (11424:5): [True: 7, False: 56]
  ------------------
11425|      7|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "input block");
11426|       |        // It is a compile-time error to have an input block in a vertex shader or an output block in a fragment shader
11427|       |        // "Compute shaders do not permit user-defined input variables..."
11428|      7|        requireStage(loc, (EShLanguageMask)(EShLangTessControlMask|EShLangTessEvaluationMask|EShLangGeometryMask|
11429|      7|            EShLangFragmentMask|EShLangMeshMask), "input block");
11430|      7|        if (language == EShLangFragment) {
  ------------------
  |  Branch (11430:13): [True: 0, False: 7]
  ------------------
11431|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "fragment input block");
11432|      7|        } else if (language == EShLangMesh && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11432:20): [True: 0, False: 7]
  |  Branch (11432:47): [True: 0, False: 0]
  ------------------
11433|      0|            error(loc, "input blocks cannot be used in a mesh shader", "out", "");
11434|      0|        }
11435|      7|        break;
11436|     56|    case EvqVaryingOut:
  ------------------
  |  Branch (11436:5): [True: 56, False: 7]
  ------------------
11437|     56|        profileRequires(loc, ~EEsProfile, 150, E_GL_ARB_separate_shader_objects, "output block");
11438|     56|        requireStage(loc, (EShLanguageMask)(EShLangVertexMask|EShLangTessControlMask|EShLangTessEvaluationMask|
11439|     56|            EShLangGeometryMask|EShLangMeshMask|EShLangTaskMask), "output block");
11440|       |        // ES 310 can have a block before shader_io is turned on, so skip this test for built-ins
11441|     56|        if (language == EShLangVertex && ! parsingBuiltins) {
  ------------------
  |  Branch (11441:13): [True: 7, False: 49]
  |  Branch (11441:42): [True: 0, False: 7]
  ------------------
11442|      0|            profileRequires(loc, EEsProfile, 320, Num_AEP_shader_io_blocks, AEP_shader_io_blocks, "vertex output block");
11443|     56|        } else if (language == EShLangMesh && qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11443:20): [True: 28, False: 28]
  |  Branch (11443:47): [True: 0, False: 28]
  ------------------
11444|      0|            error(loc, "can only use on input blocks in mesh shader", "taskNV", "");
11445|     56|        } else if (language == EShLangTask && ! qualifier.isTaskMemory()) {
  ------------------
  |  Branch (11445:20): [True: 0, False: 56]
  |  Branch (11445:47): [True: 0, False: 0]
  ------------------
11446|      0|            error(loc, "output blocks cannot be used in a task shader", "out", "");
11447|      0|        }
11448|     56|        break;
11449|      0|    case EvqShared:
  ------------------
  |  Branch (11449:5): [True: 0, False: 63]
  ------------------
11450|      0|        if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) {
  ------------------
  |  Branch (11450:13): [True: 0, False: 0]
  |  Branch (11450:35): [True: 0, False: 0]
  ------------------
11451|      0|            error(loc, "shared block requires at least SPIR-V 1.4", "shared block", "");
11452|      0|        }
11453|      0|        profileRequires(loc, EEsProfile | ECoreProfile | ECompatibilityProfile, 0, E_GL_EXT_shared_memory_block, "shared block");
11454|      0|        break;
11455|      0|    case EvqPayload:
  ------------------
  |  Branch (11455:5): [True: 0, False: 63]
  ------------------
11456|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadNV block");
11457|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11458|      0|            "rayPayloadNV block");
11459|      0|        break;
11460|      0|    case EvqPayloadIn:
  ------------------
  |  Branch (11460:5): [True: 0, False: 63]
  ------------------
11461|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "rayPayloadInNV block");
11462|      0|        requireStage(loc, (EShLanguageMask)(EShLangAnyHitMask | EShLangClosestHitMask | EShLangMissMask),
11463|      0|            "rayPayloadInNV block");
11464|      0|        break;
11465|      0|    case EvqHitAttr:
  ------------------
  |  Branch (11465:5): [True: 0, False: 63]
  ------------------
11466|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "hitAttributeNV block");
11467|      0|        requireStage(loc, (EShLanguageMask)(EShLangIntersectMask | EShLangAnyHitMask | EShLangClosestHitMask), "hitAttributeNV block");
11468|      0|        break;
11469|      0|    case EvqCallableData:
  ------------------
  |  Branch (11469:5): [True: 0, False: 63]
  ------------------
11470|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataNV block");
11471|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask),
11472|      0|            "callableDataNV block");
11473|      0|        break;
11474|      0|    case EvqCallableDataIn:
  ------------------
  |  Branch (11474:5): [True: 0, False: 63]
  ------------------
11475|      0|        profileRequires(loc, ~EEsProfile, 460, 2, extsrt, "callableDataInNV block");
11476|      0|        requireStage(loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV block");
11477|      0|        break;
11478|      0|    case EvqHitObjectAttrNV:
  ------------------
  |  Branch (11478:5): [True: 0, False: 63]
  ------------------
11479|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV block");
11480|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeNV block");
11481|      0|        break;
11482|      0|    case EvqHitObjectAttrEXT:
  ------------------
  |  Branch (11482:5): [True: 0, False: 63]
  ------------------
11483|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT block");
11484|      0|        requireStage(loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask | EShLangMissMask), "hitObjectAttributeEXT block");
11485|      0|        break;
11486|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (11486:5): [True: 0, False: 63]
  ------------------
11487|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "resourceheap block");
11488|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "resourceheap block");
11489|      0|        break;
11490|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (11490:5): [True: 0, False: 63]
  ------------------
11491|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_structured_descriptor_heap, "samplerheap block");
11492|      0|        profileRequires(loc, ~EEsProfile, 460, E_GL_EXT_descriptor_heap, "samplerheap block");
11493|      0|        break;
11494|      0|    default:
  ------------------
  |  Branch (11494:5): [True: 0, False: 63]
  ------------------
11495|      0|        error(loc, "only uniform, buffer, in, or out blocks are supported", blockName->c_str(), "");
11496|      0|        break;
11497|     63|    }
11498|     63|}
_ZN7glslang13TParseContext19blockQualifierCheckERKNS_10TSourceLocERKNS_10TQualifierEb:
11502|     63|{
11503|       |    // The 4.5 specification says:
11504|       |    //
11505|       |    // interface-block :
11506|       |    //    layout-qualifieropt interface-qualifier  block-name { member-list } instance-nameopt ;
11507|       |    //
11508|       |    // interface-qualifier :
11509|       |    //    in
11510|       |    //    out
11511|       |    //    patch in
11512|       |    //    patch out
11513|       |    //    uniform
11514|       |    //    buffer
11515|       |    //
11516|       |    // Note however memory qualifiers aren't included, yet the specification also says
11517|       |    //
11518|       |    // "...memory qualifiers may also be used in the declaration of shader storage blocks..."
11519|       |
11520|     63|    if (qualifier.isInterpolation())
  ------------------
  |  Branch (11520:9): [True: 0, False: 63]
  ------------------
11521|      0|        error(loc, "cannot use interpolation qualifiers on an interface block", "flat/smooth/noperspective", "");
11522|     63|    if (qualifier.centroid)
  ------------------
  |  Branch (11522:9): [True: 0, False: 63]
  ------------------
11523|      0|        error(loc, "cannot use centroid qualifier on an interface block", "centroid", "");
11524|     63|    if (qualifier.isSample())
  ------------------
  |  Branch (11524:9): [True: 0, False: 63]
  ------------------
11525|      0|        error(loc, "cannot use sample qualifier on an interface block", "sample", "");
11526|     63|    if (qualifier.invariant)
  ------------------
  |  Branch (11526:9): [True: 0, False: 63]
  ------------------
11527|      0|        error(loc, "cannot use invariant qualifier on an interface block", "invariant", "");
11528|     63|    if (qualifier.isPushConstant())
  ------------------
  |  Branch (11528:9): [True: 0, False: 63]
  ------------------
11529|      0|        intermediate.addPushConstantCount();
11530|     63|    if (qualifier.isShaderRecord())
  ------------------
  |  Branch (11530:9): [True: 0, False: 63]
  ------------------
11531|      0|        intermediate.addShaderRecordCount();
11532|     63|    if (qualifier.isTaskMemory())
  ------------------
  |  Branch (11532:9): [True: 0, False: 63]
  ------------------
11533|      0|        intermediate.addTaskNVCount();
11534|     63|    if (qualifier.isBufferType()) {
  ------------------
  |  Branch (11534:9): [True: 0, False: 63]
  ------------------
11535|      0|        if (qualifier.storage != EvqUniform && qualifier.storage != EvqBuffer)
  ------------------
  |  Branch (11535:13): [True: 0, False: 0]
  |  Branch (11535:48): [True: 0, False: 0]
  ------------------
11536|      0|            error(loc, "can only be used with uniform or buffer", "buffer_type", "");
11537|      0|        if (instanceName)
  ------------------
  |  Branch (11537:13): [True: 0, False: 0]
  ------------------
11538|      0|            error(loc, "cannot have an instance name", "buffer_type", "");
11539|      0|        if (qualifier.hasSet())
  ------------------
  |  Branch (11539:13): [True: 0, False: 0]
  ------------------
11540|      0|            error(loc, "cannot be used with buffer_type", "set", "");
11541|      0|        if (qualifier.hasBinding())
  ------------------
  |  Branch (11541:13): [True: 0, False: 0]
  ------------------
11542|      0|            error(loc, "cannot be used with buffer_type", "binding", "");
11543|      0|    }
11544|     63|}
_ZN7glslang13TParseContext17fixBlockLocationsERKNS_10TSourceLocERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEEbb:
11554|     63|{
11555|       |    // "If a block has no block-level location layout qualifier, it is required that either all or none of its members
11556|       |    // have a location layout qualifier, or a compile-time error results."
11557|     63|    if (! qualifier.hasLocation() && memberWithLocation && memberWithoutLocation)
  ------------------
  |  Branch (11557:9): [True: 63, False: 0]
  |  Branch (11557:38): [True: 0, False: 63]
  |  Branch (11557:60): [True: 0, False: 0]
  ------------------
11558|      0|        error(loc, "either the block needs a location, or all members need a location, or no members have a location", "location", "");
11559|     63|    else {
11560|     63|        if (memberWithLocation) {
  ------------------
  |  Branch (11560:13): [True: 0, False: 63]
  ------------------
11561|       |            // remove any block-level location and make it per *every* member
11562|      0|            int nextLocation = 0;  // by the rule above, initial value is not relevant
11563|      0|            if (qualifier.hasAnyLocation()) {
  ------------------
  |  Branch (11563:17): [True: 0, False: 0]
  ------------------
11564|      0|                nextLocation = qualifier.layoutLocation;
11565|      0|                qualifier.layoutLocation = TQualifier::layoutLocationEnd;
11566|      0|                if (qualifier.hasComponent()) {
  ------------------
  |  Branch (11566:21): [True: 0, False: 0]
  ------------------
11567|       |                    // "It is a compile-time error to apply the *component* qualifier to a ... block"
11568|      0|                    error(loc, "cannot apply to a block", "component", "");
11569|      0|                }
11570|      0|                if (qualifier.hasIndex()) {
  ------------------
  |  Branch (11570:21): [True: 0, False: 0]
  ------------------
11571|      0|                    error(loc, "cannot apply to a block", "index", "");
11572|      0|                }
11573|      0|            }
11574|      0|            for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11574:43): [True: 0, False: 0]
  ------------------
11575|      0|                TQualifier& memberQualifier = typeList[member].type->getQualifier();
11576|      0|                const TSourceLoc& memberLoc = typeList[member].loc;
11577|      0|                if (! memberQualifier.hasLocation()) {
  ------------------
  |  Branch (11577:21): [True: 0, False: 0]
  ------------------
11578|      0|                    if (nextLocation >= (int)TQualifier::layoutLocationEnd)
  ------------------
  |  Branch (11578:25): [True: 0, False: 0]
  ------------------
11579|      0|                        error(memberLoc, "location is too large", "location", "");
11580|      0|                    memberQualifier.layoutLocation = nextLocation;
11581|      0|                    memberQualifier.layoutComponent = TQualifier::layoutComponentEnd;
11582|      0|                }
11583|      0|                nextLocation = memberQualifier.layoutLocation + intermediate.computeTypeLocationSize(
11584|      0|                                    *typeList[member].type, language);
11585|      0|            }
11586|      0|        }
11587|     63|    }
11588|     63|}
_ZN7glslang13TParseContext13fixXfbOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11591|     63|{
11592|       |    // "If a block is qualified with xfb_offset, all its
11593|       |    // members are assigned transform feedback buffer offsets. If a block is not qualified with xfb_offset, any
11594|       |    // members of that block not qualified with an xfb_offset will not be assigned transform feedback buffer
11595|       |    // offsets."
11596|       |
11597|     63|    if (! qualifier.hasXfbBuffer() || ! qualifier.hasXfbOffset())
  ------------------
  |  Branch (11597:9): [True: 63, False: 0]
  |  Branch (11597:39): [True: 0, False: 0]
  ------------------
11598|     63|        return;
11599|       |
11600|      0|    int nextOffset = qualifier.layoutXfbOffset;
11601|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11601:35): [True: 0, False: 0]
  ------------------
11602|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11603|      0|        bool contains64BitType = false;
11604|      0|        bool contains32BitType = false;
11605|      0|        bool contains16BitType = false;
11606|      0|        int memberSize = intermediate.computeTypeXfbSize(*typeList[member].type, contains64BitType, contains32BitType, contains16BitType);
11607|       |        // see if we need to auto-assign an offset to this member
11608|      0|        if (! memberQualifier.hasXfbOffset()) {
  ------------------
  |  Branch (11608:13): [True: 0, False: 0]
  ------------------
11609|       |            // "if applied to an aggregate containing a double or 64-bit integer, the offset must also be a multiple of 8"
11610|      0|            if (contains64BitType)
  ------------------
  |  Branch (11610:17): [True: 0, False: 0]
  ------------------
11611|      0|                RoundToPow2(nextOffset, 8);
11612|      0|            else if (contains32BitType)
  ------------------
  |  Branch (11612:22): [True: 0, False: 0]
  ------------------
11613|      0|                RoundToPow2(nextOffset, 4);
11614|      0|            else if (contains16BitType)
  ------------------
  |  Branch (11614:22): [True: 0, False: 0]
  ------------------
11615|      0|                RoundToPow2(nextOffset, 2);
11616|      0|            memberQualifier.layoutXfbOffset = nextOffset;
11617|      0|        } else
11618|      0|            nextOffset = memberQualifier.layoutXfbOffset;
11619|      0|        nextOffset += memberSize;
11620|      0|    }
11621|       |
11622|       |    // The above gave all block members an offset, so we can take it off the block now,
11623|       |    // which will avoid double counting the offset usage.
11624|      0|    qualifier.layoutXfbOffset = TQualifier::layoutXfbOffsetEnd;
11625|      0|}
_ZN7glslang13TParseContext22fixBlockUniformOffsetsERNS_10TQualifierERNS_7TVectorINS_8TTypeLocEEE:
11634|     63|{
11635|     63|    if (!storageCanHaveLayoutInBlock(qualifier.storage) && !qualifier.isTaskMemory())
  ------------------
  |  Branch (11635:9): [True: 63, False: 0]
  |  Branch (11635:60): [True: 63, False: 0]
  ------------------
11636|     63|        return;
11637|      0|    if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layoutPacking != ElpScalar)
  ------------------
  |  Branch (11637:9): [True: 0, False: 0]
  |  Branch (11637:49): [True: 0, False: 0]
  |  Branch (11637:89): [True: 0, False: 0]
  ------------------
11638|      0|        return;
11639|       |
11640|      0|    int offset = 0;
11641|      0|    int memberSize;
11642|      0|    for (unsigned int member = 0; member < typeList.size(); ++member) {
  ------------------
  |  Branch (11642:35): [True: 0, False: 0]
  ------------------
11643|      0|        TQualifier& memberQualifier = typeList[member].type->getQualifier();
11644|      0|        const TSourceLoc& memberLoc = typeList[member].loc;
11645|       |
11646|       |        // "When align is applied to an array, it effects only the start of the array, not the array's internal stride."
11647|       |
11648|       |        // modify just the children's view of matrix layout, if there is one for this member
11649|      0|        TLayoutMatrix subMatrixLayout = typeList[member].type->getQualifier().layoutMatrix;
11650|      0|        int dummyStride;
11651|      0|        int memberAlignment = intermediate.getMemberAlignment(*typeList[member].type, memberSize, dummyStride, qualifier.layoutPacking,
11652|      0|                                                              subMatrixLayout != ElmNone ? subMatrixLayout == ElmRowMajor : qualifier.layoutMatrix == ElmRowMajor);
  ------------------
  |  Branch (11652:63): [True: 0, False: 0]
  ------------------
11653|      0|        if (memberQualifier.hasOffset()) {
  ------------------
  |  Branch (11653:13): [True: 0, False: 0]
  ------------------
11654|       |            // "The specified offset must be a multiple
11655|       |            // of the base alignment of the type of the block member it qualifies, or a compile-time error results."
11656|      0|            if (! IsMultipleOfPow2(memberQualifier.layoutOffset, memberAlignment))
  ------------------
  |  Branch (11656:17): [True: 0, False: 0]
  ------------------
11657|      0|                error(memberLoc, "must be a multiple of the member's alignment", "offset",
11658|      0|                    "(layout offset = %d | member alignment = %d)", memberQualifier.layoutOffset, memberAlignment);
11659|       |
11660|       |            // GLSL: "It is a compile-time error to specify an offset that is smaller than the offset of the previous
11661|       |            // member in the block or that lies within the previous member of the block"
11662|      0|            if (spvVersion.spv == 0) {
  ------------------
  |  Branch (11662:17): [True: 0, False: 0]
  ------------------
11663|      0|                if (memberQualifier.layoutOffset < offset)
  ------------------
  |  Branch (11663:21): [True: 0, False: 0]
  ------------------
11664|      0|                    error(memberLoc, "cannot lie in previous members", "offset", "");
11665|       |
11666|       |                // "The offset qualifier forces the qualified member to start at or after the specified
11667|       |                // integral-constant expression, which will be its byte offset from the beginning of the buffer.
11668|       |                // "The actual offset of a member is computed as
11669|       |                // follows: If offset was declared, start with that offset, otherwise start with the next available offset."
11670|      0|                offset = std::max(offset, memberQualifier.layoutOffset);
11671|      0|            } else {
11672|       |                // TODO: Vulkan: "It is a compile-time error to have any offset, explicit or assigned,
11673|       |                // that lies within another member of the block."
11674|       |
11675|      0|                offset = memberQualifier.layoutOffset;
11676|      0|            }
11677|      0|        }
11678|       |
11679|       |        // "The actual alignment of a member will be the greater of the specified align alignment and the standard
11680|       |        // (e.g., std140) base alignment for the member's type."
11681|      0|        if (memberQualifier.hasAlign())
  ------------------
  |  Branch (11681:13): [True: 0, False: 0]
  ------------------
11682|      0|            memberAlignment = std::max(memberAlignment, memberQualifier.layoutAlign);
11683|       |
11684|       |        // "If the resulting offset is not a multiple of the actual alignment,
11685|       |        // increase it to the first offset that is a multiple of
11686|       |        // the actual alignment."
11687|      0|        RoundToPow2(offset, memberAlignment);
11688|      0|        typeList[member].type->getQualifier().layoutOffset = offset;
11689|      0|        offset += memberSize;
11690|      0|    }
11691|      0|}
_ZN7glslang13TParseContext27fixBlockUniformLayoutMatrixERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11699|     63|{
11700|     63|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11701|    406|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11701:35): [True: 343, False: 63]
  ------------------
11702|    343|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11702:13): [True: 0, False: 343]
  ------------------
11703|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11703:17): [True: 0, False: 0]
  ------------------
11704|      0|                if (((*originTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11704:22): [True: 0, False: 0]
  ------------------
11705|      0|                     (*originTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11705:22): [True: 0, False: 0]
  ------------------
11706|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11706:21): [True: 0, False: 0]
  ------------------
11707|      0|                    (*originTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11708|      0|                }
11709|      0|            } else {
11710|      0|                if (((*tmpTypeList)[member].type->isMatrix() ||
  ------------------
  |  Branch (11710:22): [True: 0, False: 0]
  ------------------
11711|      0|                     (*tmpTypeList)[member].type->getBasicType() == EbtStruct) &&
  ------------------
  |  Branch (11711:22): [True: 0, False: 0]
  ------------------
11712|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11712:21): [True: 0, False: 0]
  ------------------
11713|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutMatrix = qualifier.layoutMatrix;
11714|      0|                }
11715|      0|            }
11716|      0|        }
11717|       |
11718|    343|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11718:13): [True: 0, False: 343]
  ------------------
11719|      0|            TQualifier* memberQualifier = nullptr;
11720|       |            // block member can be declare a matrix style, so it should be update to the member's style
11721|      0|            if ((*originTypeList)[member].type->getQualifier().layoutMatrix == ElmNone) {
  ------------------
  |  Branch (11721:17): [True: 0, False: 0]
  ------------------
11722|      0|                memberQualifier = &qualifier;
11723|      0|            } else {
11724|      0|                memberQualifier = &((*originTypeList)[member].type->getQualifier());
11725|      0|            }
11726|       |
11727|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11727:36): [True: 0, False: 0]
  ------------------
11728|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11729|       |
11730|      0|            fixBlockUniformLayoutMatrix(*memberQualifier, (*originTypeList)[member].type->getWritableStruct(),
11731|      0|                                        tmpType->getWritableStruct());
11732|       |
11733|      0|            const TTypeList* structure = recordStructCopy(matrixFixRecord, (*originTypeList)[member].type, tmpType);
11734|       |
11735|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11735:17): [True: 0, False: 0]
  ------------------
11736|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11737|      0|            }
11738|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11738:17): [True: 0, False: 0]
  ------------------
11739|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11740|      0|            }
11741|      0|        }
11742|    343|    }
11743|     63|}
_ZN7glslang13TParseContext28fixBlockUniformLayoutPackingERNS_10TQualifierEPNS_7TVectorINS_8TTypeLocEEES6_:
11751|     63|{
11752|     63|    assert(tmpTypeList == nullptr || originTypeList->size() == tmpTypeList->size());
11753|    406|    for (unsigned int member = 0; member < originTypeList->size(); ++member) {
  ------------------
  |  Branch (11753:35): [True: 343, False: 63]
  ------------------
11754|    343|        if (qualifier.layoutPacking != ElpNone) {
  ------------------
  |  Branch (11754:13): [True: 0, False: 343]
  ------------------
11755|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11755:17): [True: 0, False: 0]
  ------------------
11756|      0|                if ((*originTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11756:21): [True: 0, False: 0]
  ------------------
11757|      0|                    !(*originTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11757:21): [True: 0, False: 0]
  ------------------
11758|      0|                    (*originTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11759|      0|                }
11760|      0|            } else {
11761|      0|                if ((*tmpTypeList)[member].type->getQualifier().layoutPacking == ElpNone &&
  ------------------
  |  Branch (11761:21): [True: 0, False: 0]
  ------------------
11762|      0|                    !(*tmpTypeList)[member].type->isScalarOrVector()) {
  ------------------
  |  Branch (11762:21): [True: 0, False: 0]
  ------------------
11763|      0|                    (*tmpTypeList)[member].type->getQualifier().layoutPacking = qualifier.layoutPacking;
11764|      0|                }
11765|      0|            }
11766|      0|        }
11767|       |
11768|    343|        if ((*originTypeList)[member].type->getBasicType() == EbtStruct) {
  ------------------
  |  Branch (11768:13): [True: 0, False: 343]
  ------------------
11769|       |            // Deep copy the type in pool.
11770|       |            // Because, struct use in different block may have different layout qualifier.
11771|       |            // We have to new a object to distinguish between them.
11772|      0|            const TType* tmpType = tmpTypeList == nullptr ?
  ------------------
  |  Branch (11772:36): [True: 0, False: 0]
  ------------------
11773|      0|                (*originTypeList)[member].type->clone() : (*tmpTypeList)[member].type;
11774|       |
11775|      0|            fixBlockUniformLayoutPacking(qualifier, (*originTypeList)[member].type->getWritableStruct(),
11776|      0|                                         tmpType->getWritableStruct());
11777|       |
11778|      0|            const TTypeList* structure = recordStructCopy(packingFixRecord, (*originTypeList)[member].type, tmpType);
11779|       |
11780|      0|            if (tmpTypeList == nullptr) {
  ------------------
  |  Branch (11780:17): [True: 0, False: 0]
  ------------------
11781|      0|                (*originTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11782|      0|            }
11783|      0|            if (tmpTypeList != nullptr) {
  ------------------
  |  Branch (11783:17): [True: 0, False: 0]
  ------------------
11784|      0|                (*tmpTypeList)[member].type->setStruct(const_cast<TTypeList*>(structure));
11785|      0|            }
11786|      0|        }
11787|    343|    }
11788|     63|}
_ZN7glslang13TParseContext14invariantCheckERKNS_10TSourceLocERKNS_10TQualifierE:
11877|  9.43k|{
11878|  9.43k|    if (! qualifier.invariant)
  ------------------
  |  Branch (11878:9): [True: 9.43k, False: 0]
  ------------------
11879|  9.43k|        return;
11880|       |
11881|      0|    bool pipeOut = qualifier.isPipeOutput();
11882|      0|    bool pipeIn = qualifier.isPipeInput();
11883|      0|    if ((version >= 300 && isEsProfile()) || (!isEsProfile() && version >= 420)) {
  ------------------
  |  Branch (11883:10): [True: 0, False: 0]
  |  Branch (11883:28): [True: 0, False: 0]
  |  Branch (11883:47): [True: 0, False: 0]
  |  Branch (11883:65): [True: 0, False: 0]
  ------------------
11884|      0|        if (! pipeOut)
  ------------------
  |  Branch (11884:13): [True: 0, False: 0]
  ------------------
11885|      0|            error(loc, "can only apply to an output", "invariant", "");
11886|      0|    } else {
11887|      0|        if ((language == EShLangVertex && pipeIn) || (! pipeOut && ! pipeIn))
  ------------------
  |  Branch (11887:14): [True: 0, False: 0]
  |  Branch (11887:43): [True: 0, False: 0]
  |  Branch (11887:55): [True: 0, False: 0]
  |  Branch (11887:68): [True: 0, False: 0]
  ------------------
11888|      0|            error(loc, "can only apply to an output, or to an input in a non-vertex stage\n", "invariant", "");
11889|      0|    }
11890|      0|}
ParseHelper.cpp:_ZN7glslangL27storageCanHaveLayoutInBlockENS_17TStorageQualifierE:
 8495|     63|{
 8496|     63|    switch (storage) {
 8497|      0|    case EvqUniform:
  ------------------
  |  Branch (8497:5): [True: 0, False: 63]
  ------------------
 8498|      0|    case EvqBuffer:
  ------------------
  |  Branch (8498:5): [True: 0, False: 63]
  ------------------
 8499|      0|    case EvqShared:
  ------------------
  |  Branch (8499:5): [True: 0, False: 63]
  ------------------
 8500|      0|    case EvqSamplerHeap:
  ------------------
  |  Branch (8500:5): [True: 0, False: 63]
  ------------------
 8501|      0|    case EvqResourceHeap:
  ------------------
  |  Branch (8501:5): [True: 0, False: 63]
  ------------------
 8502|      0|        return true;
 8503|     63|    default:
  ------------------
  |  Branch (8503:5): [True: 63, False: 0]
  ------------------
 8504|     63|        return false;
 8505|     63|    }
 8506|     63|}
ParseHelper.cpp:_ZN7glslangL30isResourceHeapBufferTypeMemberERKNS_10TQualifierES2_:
11055|    686|{
11056|    686|    return blockQualifier.storage == EvqResourceHeap && memberQualifier.isBufferType();
  ------------------
  |  Branch (11056:12): [True: 0, False: 686]
  |  Branch (11056:57): [True: 0, False: 0]
  ------------------
11057|    686|}

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

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

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

_ZNK7glslang5TType16buildMangledNameERNSt3__112basic_stringIcNS1_11char_traitsIcEENS_14pool_allocatorIcEEEE:
   57|  1.27M|{
   58|  1.27M|    if (isTensorARM())
  ------------------
  |  Branch (58:9): [True: 427, False: 1.27M]
  ------------------
   59|    427|        mangledName += 'T';
   60|  1.27M|    else if (isMatrix())
  ------------------
  |  Branch (60:14): [True: 422k, False: 857k]
  ------------------
   61|   422k|        mangledName += 'm';
   62|   857k|    else if (isVector())
  ------------------
  |  Branch (62:14): [True: 379k, False: 478k]
  ------------------
   63|   379k|        mangledName += 'v';
   64|       |
   65|  1.27M|    if (isCoopVecNV())
  ------------------
  |  Branch (65:9): [True: 5.50k, False: 1.27M]
  ------------------
   66|  5.50k|        mangledName += "coopvec";
   67|       |
   68|  1.27M|    switch (basicType) {
   69|   446k|    case EbtFloat:              mangledName += 'f';      break;
  ------------------
  |  Branch (69:5): [True: 446k, False: 833k]
  ------------------
   70|   307k|    case EbtInt:                mangledName += 'i';      break;
  ------------------
  |  Branch (70:5): [True: 307k, False: 972k]
  ------------------
   71|   222k|    case EbtUint:               mangledName += 'u';      break;
  ------------------
  |  Branch (71:5): [True: 222k, False: 1.05M]
  ------------------
   72|  14.9k|    case EbtBool:               mangledName += 'b';      break;
  ------------------
  |  Branch (72:5): [True: 14.9k, False: 1.26M]
  ------------------
   73|  31.1k|    case EbtDouble:             mangledName += 'd';      break;
  ------------------
  |  Branch (73:5): [True: 31.1k, False: 1.24M]
  ------------------
   74|  18.7k|    case EbtFloat16:            mangledName += "f16";    break;
  ------------------
  |  Branch (74:5): [True: 18.7k, False: 1.26M]
  ------------------
   75|    224|    case EbtBFloat16:           mangledName += "bf16";   break;
  ------------------
  |  Branch (75:5): [True: 224, False: 1.27M]
  ------------------
   76|    168|    case EbtFloatE5M2:          mangledName += "fe5m2";  break;
  ------------------
  |  Branch (76:5): [True: 168, False: 1.27M]
  ------------------
   77|    168|    case EbtFloatE4M3:          mangledName += "fe4m3";  break;
  ------------------
  |  Branch (77:5): [True: 168, False: 1.27M]
  ------------------
   78|     28|    case EbtFloatE2M1:          mangledName += "fe2m1";  break;
  ------------------
  |  Branch (78:5): [True: 28, False: 1.27M]
  ------------------
   79|     21|    case EbtFloatE3M2:          mangledName += "fe3m2";  break;
  ------------------
  |  Branch (79:5): [True: 21, False: 1.27M]
  ------------------
   80|     21|    case EbtFloatE2M3:          mangledName += "fe2m3";  break;
  ------------------
  |  Branch (80:5): [True: 21, False: 1.27M]
  ------------------
   81|     56|    case EbtFloatUE8M0:         mangledName += "fue8m0";  break;
  ------------------
  |  Branch (81:5): [True: 56, False: 1.27M]
  ------------------
   82|     56|    case EbtFloatMXINT8:        mangledName += "fmxint8";break;
  ------------------
  |  Branch (82:5): [True: 56, False: 1.27M]
  ------------------
   83|  3.89k|    case EbtInt8:               mangledName += "i8";     break;
  ------------------
  |  Branch (83:5): [True: 3.89k, False: 1.27M]
  ------------------
   84|  3.84k|    case EbtUint8:              mangledName += "u8";     break;
  ------------------
  |  Branch (84:5): [True: 3.84k, False: 1.27M]
  ------------------
   85|  4.96k|    case EbtInt16:              mangledName += "i16";    break;
  ------------------
  |  Branch (85:5): [True: 4.96k, False: 1.27M]
  ------------------
   86|  4.66k|    case EbtUint16:             mangledName += "u16";    break;
  ------------------
  |  Branch (86:5): [True: 4.66k, False: 1.27M]
  ------------------
   87|  6.25k|    case EbtInt64:              mangledName += "i64";    break;
  ------------------
  |  Branch (87:5): [True: 6.25k, False: 1.27M]
  ------------------
   88|  9.36k|    case EbtUint64:             mangledName += "u64";    break;
  ------------------
  |  Branch (88:5): [True: 9.36k, False: 1.27M]
  ------------------
   89|      0|    case EbtAtomicUint:         mangledName += "au";     break;
  ------------------
  |  Branch (89:5): [True: 0, False: 1.27M]
  ------------------
   90|      0|    case EbtAccStruct:          mangledName += "as";     break;
  ------------------
  |  Branch (90:5): [True: 0, False: 1.27M]
  ------------------
   91|      0|    case EbtRayQuery:           mangledName += "rq";     break;
  ------------------
  |  Branch (91:5): [True: 0, False: 1.27M]
  ------------------
   92|      0|    case EbtSpirvType:          mangledName += "spv-t";  break;
  ------------------
  |  Branch (92:5): [True: 0, False: 1.27M]
  ------------------
   93|      0|    case EbtHitObjectNV:        mangledName += "ho";     break;
  ------------------
  |  Branch (93:5): [True: 0, False: 1.27M]
  ------------------
   94|      0|    case EbtHitObjectEXT:       mangledName += "ho";     break;
  ------------------
  |  Branch (94:5): [True: 0, False: 1.27M]
  ------------------
   95|    259|    case EbtTensorLayoutNV:     mangledName += "tl";     break;
  ------------------
  |  Branch (95:5): [True: 259, False: 1.27M]
  ------------------
   96|    133|    case EbtTensorViewNV:       mangledName += "tv";     break;
  ------------------
  |  Branch (96:5): [True: 133, False: 1.27M]
  ------------------
   97|   194k|    case EbtSampler:
  ------------------
  |  Branch (97:5): [True: 194k, False: 1.08M]
  ------------------
   98|   194k|        switch (sampler.type) {
   99|  10.7k|        case EbtFloat16: mangledName += "f16"; break;
  ------------------
  |  Branch (99:9): [True: 10.7k, False: 183k]
  ------------------
  100|  35.9k|        case EbtInt:   mangledName += "i"; break;
  ------------------
  |  Branch (100:9): [True: 35.9k, False: 158k]
  ------------------
  101|  35.9k|        case EbtUint:  mangledName += "u"; break;
  ------------------
  |  Branch (101:9): [True: 35.9k, False: 158k]
  ------------------
  102|  1.82k|        case EbtInt64:   mangledName += "i64"; break;
  ------------------
  |  Branch (102:9): [True: 1.82k, False: 192k]
  ------------------
  103|  1.82k|        case EbtUint64:  mangledName += "u64"; break;
  ------------------
  |  Branch (103:9): [True: 1.82k, False: 192k]
  ------------------
  104|   107k|        default: break; // some compilers want this
  ------------------
  |  Branch (104:9): [True: 107k, False: 86.2k]
  ------------------
  105|   194k|        }
  106|   194k|        if (sampler.isImageClass())
  ------------------
  |  Branch (106:13): [True: 19.6k, False: 174k]
  ------------------
  107|  19.6k|            mangledName += "I";  // a normal image or subpass
  108|   174k|        else if (sampler.isPureSampler())
  ------------------
  |  Branch (108:18): [True: 69.8k, False: 104k]
  ------------------
  109|  69.8k|            mangledName += "p";  // a "pure" sampler
  110|   104k|        else if (!sampler.isCombined())
  ------------------
  |  Branch (110:18): [True: 83.7k, False: 20.8k]
  ------------------
  111|  83.7k|            mangledName += "t";  // a "pure" texture
  112|  20.8k|        else
  113|  20.8k|            mangledName += "s";  // traditional combined sampler
  114|   194k|        if (sampler.isArrayed())
  ------------------
  |  Branch (114:13): [True: 51.7k, False: 142k]
  ------------------
  115|  51.7k|            mangledName += "A";
  116|   194k|        if (sampler.isShadow())
  ------------------
  |  Branch (116:13): [True: 30.7k, False: 163k]
  ------------------
  117|  30.7k|            mangledName += "S";
  118|   194k|        if (sampler.isExternal())
  ------------------
  |  Branch (118:13): [True: 24, False: 194k]
  ------------------
  119|     24|            mangledName += "E";
  120|   194k|        if (sampler.isYuv())
  ------------------
  |  Branch (120:13): [True: 64, False: 194k]
  ------------------
  121|     64|            mangledName += "Y";
  122|   194k|        switch (sampler.dim) {
  123|  64.8k|        case Esd2D:       mangledName += "2";  break;
  ------------------
  |  Branch (123:9): [True: 64.8k, False: 129k]
  ------------------
  124|  9.63k|        case Esd3D:       mangledName += "3";  break;
  ------------------
  |  Branch (124:9): [True: 9.63k, False: 184k]
  ------------------
  125|  20.2k|        case EsdCube:     mangledName += "C";  break;
  ------------------
  |  Branch (125:9): [True: 20.2k, False: 173k]
  ------------------
  126|  21.1k|        case Esd1D:       mangledName += "1";  break;
  ------------------
  |  Branch (126:9): [True: 21.1k, False: 173k]
  ------------------
  127|  3.43k|        case EsdRect:     mangledName += "R2"; break;
  ------------------
  |  Branch (127:9): [True: 3.43k, False: 190k]
  ------------------
  128|  2.35k|        case EsdBuffer:   mangledName += "B";  break;
  ------------------
  |  Branch (128:9): [True: 2.35k, False: 191k]
  ------------------
  129|  2.68k|        case EsdSubpass:  mangledName += "P";  break;
  ------------------
  |  Branch (129:9): [True: 2.68k, False: 191k]
  ------------------
  130|  69.8k|        default: break; // some compilers want this
  ------------------
  |  Branch (130:9): [True: 69.8k, False: 124k]
  ------------------
  131|   194k|        }
  132|       |
  133|   194k|#ifdef ENABLE_HLSL
  134|   194k|        if (sampler.hasReturnStruct()) {
  ------------------
  |  Branch (134:13): [True: 0, False: 194k]
  ------------------
  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|   194k|        } else {
  142|   194k|            switch (sampler.getVectorSize()) {
  ------------------
  |  Branch (142:21): [True: 194k, False: 0]
  ------------------
  143|  17.4k|            case 1: mangledName += "1"; break;
  ------------------
  |  Branch (143:13): [True: 17.4k, False: 176k]
  ------------------
  144|  51.0k|            case 2: mangledName += "2"; break;
  ------------------
  |  Branch (144:13): [True: 51.0k, False: 143k]
  ------------------
  145|  7.05k|            case 3: mangledName += "3"; break;
  ------------------
  |  Branch (145:13): [True: 7.05k, False: 187k]
  ------------------
  146|   118k|            case 4: break; // default to prior name mangle behavior
  ------------------
  |  Branch (146:13): [True: 118k, False: 75.6k]
  ------------------
  147|   194k|            }
  148|   194k|        }
  149|   194k|#endif
  150|       |
  151|   194k|        if (sampler.isMultiSample())
  ------------------
  |  Branch (151:13): [True: 7.22k, False: 186k]
  ------------------
  152|  7.22k|            mangledName += "M";
  153|   194k|        break;
  154|     84|    case EbtStruct:
  ------------------
  |  Branch (154:5): [True: 84, False: 1.27M]
  ------------------
  155|     84|    case EbtBlock:
  ------------------
  |  Branch (155:5): [True: 0, False: 1.27M]
  ------------------
  156|     84|        if (basicType == EbtStruct)
  ------------------
  |  Branch (156:13): [True: 84, False: 0]
  ------------------
  157|     84|            mangledName += "struct-";
  158|      0|        else
  159|      0|            mangledName += "block-";
  160|     84|        if (typeName)
  ------------------
  |  Branch (160:13): [True: 84, False: 0]
  ------------------
  161|     84|            mangledName += *typeName;
  162|    504|        for (unsigned int i = 0; i < structure->size(); ++i) {
  ------------------
  |  Branch (162:34): [True: 420, False: 84]
  ------------------
  163|    420|            if ((*structure)[i].type->getBasicType() == EbtVoid)
  ------------------
  |  Branch (163:17): [True: 0, False: 420]
  ------------------
  164|      0|                continue;
  165|    420|            mangledName += '-';
  166|    420|            (*structure)[i].type->buildMangledName(mangledName);
  167|    420|        }
  168|     84|        break;
  169|  9.98k|    default:
  ------------------
  |  Branch (169:5): [True: 9.98k, False: 1.26M]
  ------------------
  170|  9.98k|        break;
  171|  1.27M|    }
  172|       |
  173|  1.27M|    if (getVectorSize() > 0)
  ------------------
  |  Branch (173:9): [True: 857k, False: 422k]
  ------------------
  174|   857k|        mangledName += static_cast<char>('0' + getVectorSize());
  175|   422k|    else {
  176|   422k|        mangledName += static_cast<char>('0' + getMatrixCols());
  177|   422k|        mangledName += static_cast<char>('0' + getMatrixRows());
  178|   422k|    }
  179|       |
  180|  1.27M|    if (typeParameters) {
  ------------------
  |  Branch (180:9): [True: 42, False: 1.27M]
  ------------------
  181|     42|        const int maxSize = 11;
  182|     42|        char buf[maxSize];
  183|     84|        for (int i = 0; i < typeParameters->arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (183:25): [True: 42, False: 42]
  ------------------
  184|     42|            if (typeParameters->arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (184:17): [True: 0, False: 42]
  ------------------
  185|      0|                if (typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (185:21): [True: 0, False: 0]
  ------------------
  186|      0|                    snprintf(buf, maxSize, "s%lld", typeParameters->arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  187|      0|                else
  188|      0|                    snprintf(buf, maxSize, "s%p", typeParameters->arraySizes->getDimNode(i));
  189|      0|            } else
  190|     42|                snprintf(buf, maxSize, "%d", typeParameters->arraySizes->getDimSize(i));
  191|     42|            mangledName += '<';
  192|     42|            mangledName += buf;
  193|     42|            mangledName += '>';
  194|     42|        }
  195|     42|    }
  196|       |
  197|  1.27M|    if (arraySizes) {
  ------------------
  |  Branch (197:9): [True: 9.59k, False: 1.27M]
  ------------------
  198|  9.59k|        const int maxSize = 11;
  199|  9.59k|        char buf[maxSize];
  200|  19.1k|        for (int i = 0; i < arraySizes->getNumDims(); ++i) {
  ------------------
  |  Branch (200:25): [True: 9.59k, False: 9.59k]
  ------------------
  201|  9.59k|            if (arraySizes->getDimNode(i)) {
  ------------------
  |  Branch (201:17): [True: 0, False: 9.59k]
  ------------------
  202|      0|                if (arraySizes->getDimNode(i)->getAsSymbolNode())
  ------------------
  |  Branch (202:21): [True: 0, False: 0]
  ------------------
  203|      0|                    snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
  204|      0|                else
  205|      0|                    snprintf(buf, maxSize, "s%p", (void*)(arraySizes->getDimNode(i)));
  206|      0|            } else
  207|  9.59k|                snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
  208|  9.59k|            mangledName += '[';
  209|  9.59k|            mangledName += buf;
  210|  9.59k|            mangledName += ']';
  211|  9.59k|        }
  212|  9.59k|    }
  213|  1.27M|}
_ZNK7glslang7TSymbol14dumpExtensionsER9TInfoSink:
  220|  72.1k|{
  221|  72.1k|    int numExtensions = getNumExtensions();
  222|  72.1k|    if (numExtensions) {
  ------------------
  |  Branch (222:9): [True: 14, False: 72.1k]
  ------------------
  223|     14|        infoSink.debug << " <";
  224|       |
  225|     28|        for (int i = 0; i < numExtensions; i++)
  ------------------
  |  Branch (225:25): [True: 14, False: 14]
  ------------------
  226|     14|            infoSink.debug << getExtensions()[i] << ",";
  227|       |
  228|     14|        infoSink.debug << ">";
  229|     14|    }
  230|  72.1k|}
_ZNK7glslang9TVariable4dumpER9TInfoSinkb:
  233|     28|{
  234|     28|    if (complete) {
  ------------------
  |  Branch (234:9): [True: 28, False: 0]
  ------------------
  235|     28|        infoSink.debug << getName().c_str() << ": " << type.getCompleteString();
  236|     28|        dumpExtensions(infoSink);
  237|     28|    } else {
  238|      0|        infoSink.debug << getName().c_str() << ": " << type.getStorageQualifierString() << " "
  239|      0|                       << type.getBasicTypeString();
  240|       |
  241|      0|        if (type.isArray())
  ------------------
  |  Branch (241:13): [True: 0, False: 0]
  ------------------
  242|      0|            infoSink.debug << "[0]";
  243|      0|    }
  244|       |
  245|     28|    infoSink.debug << "\n";
  246|     28|}
_ZNK7glslang9TFunction4dumpER9TInfoSinkb:
  249|  72.1k|{
  250|  72.1k|    if (complete) {
  ------------------
  |  Branch (250:9): [True: 72.1k, False: 0]
  ------------------
  251|  72.1k|        infoSink.debug << getName().c_str() << ": " << returnType.getCompleteString() << " " << getName().c_str()
  252|  72.1k|                       << "(";
  253|       |
  254|  72.1k|        int numParams = getParamCount();
  255|   233k|        for (int i = 0; i < numParams; i++) {
  ------------------
  |  Branch (255:25): [True: 161k, False: 72.1k]
  ------------------
  256|   161k|            const TParameter &param = parameters[i];
  257|   161k|            infoSink.debug << param.type->getCompleteString() << " "
  258|   161k|                           << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "")
  ------------------
  |  Branch (258:32): [True: 0, False: 161k]
  ------------------
  259|   161k|                           << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : "");
  ------------------
  |  Branch (259:32): [True: 26, False: 161k]
  |  Branch (259:67): [True: 90.0k, False: 71.5k]
  ------------------
  260|   161k|        }
  261|       |
  262|  72.1k|        infoSink.debug << ")";
  263|  72.1k|        dumpExtensions(infoSink);
  264|  72.1k|    } else {
  265|      0|        infoSink.debug << getName().c_str() << ": " << returnType.getBasicTypeString() << " "
  266|      0|                       << getMangledName().c_str() << "n";
  267|      0|    }
  268|       |
  269|  72.1k|    infoSink.debug << "\n";
  270|  72.1k|}
_ZNK7glslang17TSymbolTableLevel4dumpER9TInfoSinkb:
  279|     60|{
  280|     60|    tLevel::const_iterator it;
  281|  72.2k|    for (it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (281:30): [True: 72.1k, False: 60]
  ------------------
  282|  72.1k|        (*it).second->dump(infoSink, complete);
  283|     60|}
_ZNK7glslang12TSymbolTable4dumpER9TInfoSinkb:
  286|     20|{
  287|     80|    for (int level = currentLevel(); level >= 0; --level) {
  ------------------
  |  Branch (287:38): [True: 60, False: 20]
  ------------------
  288|     60|        infoSink.debug << "LEVEL " << level << "\n";
  289|     60|        table[level]->dump(infoSink, complete);
  290|     60|    }
  291|     20|}
_ZN7glslang9TFunctionD2Ev:
  297|   992k|{
  298|  3.26M|    for (TParamList::iterator i = parameters.begin(); i != parameters.end(); ++i)
  ------------------
  |  Branch (298:55): [True: 2.27M, False: 992k]
  ------------------
  299|  2.27M|        delete (*i).type;
  300|   992k|}
_ZN7glslang17TSymbolTableLevelD2Ev:
  306|  3.86k|{
  307|  1.00M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it) {
  ------------------
  |  Branch (307:47): [True: 996k, False: 3.86k]
  ------------------
  308|   996k|        const TString& name = it->first;
  309|   996k|        auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  310|   996k|                                      [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  311|   996k|        if (retargetIter == retargetedSymbols.end())
  ------------------
  |  Branch (311:13): [True: 996k, False: 0]
  ------------------
  312|   996k|            delete (*it).second;
  313|   996k|    }
  314|       |
  315|       |
  316|  3.86k|    delete [] defaultPrecision;
  317|  3.86k|}
_ZN7glslang17TSymbolTableLevel16relateToOperatorEPKcNS_9TOperatorE:
  324|   695k|{
  325|   695k|    tLevel::const_iterator candidate = level.lower_bound(name);
  326|  7.87M|    while (candidate != level.end()) {
  ------------------
  |  Branch (326:12): [True: 7.55M, False: 324k]
  ------------------
  327|  7.55M|        const TString& candidateName = (*candidate).first;
  328|  7.55M|        TString::size_type parenAt = candidateName.find_first_of('(');
  329|  7.55M|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (329:13): [True: 7.54M, False: 11.7k]
  |  Branch (329:46): [True: 7.18M, False: 358k]
  ------------------
  330|  7.18M|            TFunction* function = (*candidate).second->getAsFunction();
  331|  7.18M|            function->relateToOperator(op);
  332|  7.18M|        } else
  333|   370k|            break;
  334|  7.18M|        ++candidate;
  335|  7.18M|    }
  336|   695k|}
_ZN7glslang17TSymbolTableLevel21setFunctionExtensionsEPKciPKS2_:
  341|  4.45k|{
  342|  4.45k|    tLevel::const_iterator candidate = level.lower_bound(name);
  343|  15.2k|    while (candidate != level.end()) {
  ------------------
  |  Branch (343:12): [True: 14.3k, False: 855]
  ------------------
  344|  14.3k|        const TString& candidateName = (*candidate).first;
  345|  14.3k|        TString::size_type parenAt = candidateName.find_first_of('(');
  346|  14.3k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (346:13): [True: 13.9k, False: 425]
  |  Branch (346:46): [True: 10.7k, False: 3.17k]
  ------------------
  347|  10.7k|            TSymbol* symbol = candidate->second;
  348|  10.7k|            symbol->setExtensions(num, extensions);
  349|  10.7k|        } else
  350|  3.59k|            break;
  351|  10.7k|        ++candidate;
  352|  10.7k|    }
  353|  4.45k|}
_ZN7glslang17TSymbolTableLevel29setFunctionExtensionsCallbackEPKcRKNSt3__18functionIFNS3_6vectorIS2_NS3_9allocatorIS2_EEEES2_EEE:
  357|    140|{
  358|    140|    tLevel::const_iterator candidate = level.lower_bound(name);
  359|  4.81k|    while (candidate != level.end()) {
  ------------------
  |  Branch (359:12): [True: 4.81k, False: 0]
  ------------------
  360|  4.81k|        const TString& candidateName = (*candidate).first;
  361|  4.81k|        TString::size_type parenAt = candidateName.find_first_of('(');
  362|  4.81k|        if (parenAt != candidateName.npos && candidateName.compare(0, parenAt, name) == 0) {
  ------------------
  |  Branch (362:13): [True: 4.81k, False: 0]
  |  Branch (362:46): [True: 4.67k, False: 140]
  ------------------
  363|  4.67k|            TSymbol* symbol = candidate->second;
  364|       |
  365|  4.67k|            auto exts = func(candidateName.c_str());
  366|  4.67k|            symbol->setExtensions(exts.size(), exts.data());
  367|  4.67k|        } else
  368|    140|            break;
  369|  4.67k|        ++candidate;
  370|  4.67k|    }
  371|    140|}
_ZN7glslang17TSymbolTableLevel8readOnlyEv:
  387|  3.27k|{
  388|  6.69M|    for (tLevel::iterator it = level.begin(); it != level.end(); ++it)
  ------------------
  |  Branch (388:47): [True: 6.69M, False: 3.27k]
  ------------------
  389|  6.69M|        (*it).second->makeReadOnly();
  390|  3.27k|}
_ZN7glslang7TSymbolC2ERKS0_:
  396|   447k|{
  397|   447k|    name = NewPoolTString(copyOf.name->c_str());
  398|   447k|    mangledName = NewPoolTString(copyOf.mangledName->c_str());
  399|   447k|    uniqueId = copyOf.uniqueId;
  400|   447k|    writable = true;
  401|   447k|}
_ZN7glslang9TVariableC2ERKS0_:
  403|     48|TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf)
  404|     48|{
  405|     48|    type.deepCopy(copyOf.type);
  406|     48|    userType = copyOf.userType;
  407|       |
  408|       |    // we don't support specialization-constant subtrees in cloned tables, only extensions
  409|     48|    constSubtree = nullptr;
  410|     48|    extensions = nullptr;
  411|     48|    memberExtensions = nullptr;
  412|     48|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (412:9): [True: 8, False: 40]
  ------------------
  413|      8|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  414|     48|    if (copyOf.hasMemberExtensions()) {
  ------------------
  |  Branch (414:9): [True: 0, False: 48]
  ------------------
  415|      0|        for (int m = 0; m < (int)copyOf.type.getStruct()->size(); ++m) {
  ------------------
  |  Branch (415:25): [True: 0, False: 0]
  ------------------
  416|      0|            if (copyOf.getNumMemberExtensions(m) > 0)
  ------------------
  |  Branch (416:17): [True: 0, False: 0]
  ------------------
  417|      0|                setMemberExtensions(m, copyOf.getNumMemberExtensions(m), copyOf.getMemberExtensions(m));
  418|      0|        }
  419|      0|    }
  420|       |
  421|     48|    if (! copyOf.constArray.empty()) {
  ------------------
  |  Branch (421:9): [True: 0, False: 48]
  ------------------
  422|       |        assert(! copyOf.type.isStruct());
  423|      0|        TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size());
  424|      0|        constArray = newArray;
  425|      0|    }
  426|     48|}
_ZNK7glslang9TVariable5cloneEv:
  429|     48|{
  430|     48|    TVariable *variable = new TVariable(*this);
  431|       |
  432|     48|    return variable;
  433|     48|}
_ZN7glslang9TFunctionC2ERKS0_:
  435|   447k|TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
  436|   447k|{
  437|  1.45M|    for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
  ------------------
  |  Branch (437:30): [True: 1.00M, False: 447k]
  ------------------
  438|  1.00M|        TParameter param{};
  439|  1.00M|        parameters.push_back(param);
  440|  1.00M|        (void)parameters.back().copyParam(copyOf.parameters[i]);
  441|  1.00M|    }
  442|       |
  443|   447k|    extensions = nullptr;
  444|   447k|    if (copyOf.getNumExtensions() > 0)
  ------------------
  |  Branch (444:9): [True: 116, False: 447k]
  ------------------
  445|    116|        setExtensions(copyOf.getNumExtensions(), copyOf.getExtensions());
  446|   447k|    returnType.deepCopy(copyOf.returnType);
  447|   447k|    mangledName = copyOf.mangledName;
  448|   447k|    op = copyOf.op;
  449|   447k|    defined = copyOf.defined;
  450|   447k|    prototyped = copyOf.prototyped;
  451|   447k|    implicitThis = copyOf.implicitThis;
  452|   447k|    variadic = copyOf.variadic;
  453|   447k|    illegalImplicitThis = copyOf.illegalImplicitThis;
  454|   447k|    defaultParamCount = copyOf.defaultParamCount;
  455|   447k|    spirvInst = copyOf.spirvInst;
  456|   447k|    functionControl = copyOf.functionControl;
  457|   447k|}
_ZNK7glslang9TFunction5cloneEv:
  460|   447k|{
  461|   447k|    TFunction *function = new TFunction(*this);
  462|       |
  463|   447k|    return function;
  464|   447k|}
_ZNK7glslang17TSymbolTableLevel5cloneEv:
  477|  1.69k|{
  478|  1.69k|    TSymbolTableLevel *symTableLevel = new TSymbolTableLevel();
  479|  1.69k|    symTableLevel->anonId = anonId;
  480|  1.69k|    symTableLevel->thisLevel = thisLevel;
  481|  1.69k|    symTableLevel->retargetedSymbols.clear();
  482|  1.69k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (482:18): [True: 0, False: 1.69k]
  ------------------
  483|      0|        symTableLevel->retargetedSymbols.push_back({s.first, s.second});
  484|      0|    }
  485|  1.69k|    std::vector<bool> containerCopied(anonId, false);
  486|  1.69k|    tLevel::const_iterator iter;
  487|   449k|    for (iter = level.begin(); iter != level.end(); ++iter) {
  ------------------
  |  Branch (487:32): [True: 447k, False: 1.69k]
  ------------------
  488|   447k|        const TAnonMember* anon = iter->second->getAsAnonMember();
  489|   447k|        if (anon) {
  ------------------
  |  Branch (489:13): [True: 0, False: 447k]
  ------------------
  490|       |            // Insert all the anonymous members of this same container at once,
  491|       |            // avoid inserting the remaining members in the future, once this has been done,
  492|       |            // allowing them to all be part of the same new container.
  493|      0|            if (! containerCopied[anon->getAnonId()]) {
  ------------------
  |  Branch (493:17): [True: 0, False: 0]
  ------------------
  494|      0|                TVariable* container = anon->getAnonContainer().clone();
  495|      0|                container->changeName(NewPoolTString(""));
  496|       |                // insert the container and all its members
  497|      0|                symTableLevel->insert(*container, false);
  498|      0|                containerCopied[anon->getAnonId()] = true;
  499|      0|            }
  500|   447k|        } else {
  501|   447k|            const TString& name = iter->first;
  502|   447k|            auto retargetIter = std::find_if(retargetedSymbols.begin(), retargetedSymbols.end(),
  503|   447k|                                          [&name](const std::pair<TString, TString>& i) { return i.first == name; });
  504|   447k|            if (retargetIter != retargetedSymbols.end())
  ------------------
  |  Branch (504:17): [True: 0, False: 447k]
  ------------------
  505|      0|                continue;
  506|   447k|            symTableLevel->insert(*iter->second->clone(), false);
  507|   447k|        }
  508|   447k|    }
  509|       |    // Now point retargeted symbols to the newly created versions of them
  510|  1.69k|    for (auto &s : retargetedSymbols) {
  ------------------
  |  Branch (510:18): [True: 0, False: 1.69k]
  ------------------
  511|      0|        TSymbol* sym = symTableLevel->find(s.second);
  512|      0|        if (!sym)
  ------------------
  |  Branch (512:13): [True: 0, False: 0]
  ------------------
  513|      0|            continue;
  514|      0|        symTableLevel->insert(s.first, sym);
  515|      0|    }
  516|       |
  517|  1.69k|    return symTableLevel;
  518|  1.69k|}
_ZN7glslang12TSymbolTable9copyTableERKS0_:
  521|  1.69k|{
  522|  1.69k|    assert(adoptedLevels == copyOf.adoptedLevels);
  523|       |
  524|  1.69k|    uniqueId = copyOf.uniqueId;
  525|  1.69k|    noBuiltInRedeclarations = copyOf.noBuiltInRedeclarations;
  526|  1.69k|    separateNameSpaces = copyOf.separateNameSpaces;
  527|  3.39k|    for (unsigned int i = copyOf.adoptedLevels; i < copyOf.table.size(); ++i)
  ------------------
  |  Branch (527:49): [True: 1.69k, False: 1.69k]
  ------------------
  528|  1.69k|        table.push_back(copyOf.table[i]->clone());
  529|  1.69k|}

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

_Z7yyparsePN7glslang13TParseContextE:
 5637|    265|{
 5638|       |/* Lookahead token kind.  */
 5639|    265|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|    265|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  958|    265|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5646|    265|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  958|    265|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 5647|       |
 5648|       |    /* Number of syntax errors so far.  */
 5649|    265|    int yynerrs = 0;
 5650|       |
 5651|    265|    yy_state_fast_t yystate = 0;
 5652|       |    /* Number of tokens to shift before error messages enabled.  */
 5653|    265|    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|    265|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  865|    265|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 5321|    265|# define YYINITDEPTH 200
  ------------------
 5660|       |
 5661|       |    /* The state stack: array, bottom, top.  */
 5662|    265|    yy_state_t yyssa[YYINITDEPTH];
 5663|    265|    yy_state_t *yyss = yyssa;
 5664|    265|    yy_state_t *yyssp = yyss;
 5665|       |
 5666|       |    /* The semantic value stack: array, bottom, top.  */
 5667|    265|    YYSTYPE yyvsa[YYINITDEPTH];
 5668|    265|    YYSTYPE *yyvs = yyvsa;
 5669|    265|    YYSTYPE *yyvsp = yyvs;
 5670|       |
 5671|    265|  int yyn;
 5672|       |  /* The return value of yyparse.  */
 5673|    265|  int yyresult;
 5674|       |  /* Lookahead symbol kind.  */
 5675|    265|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 5676|       |  /* The variables used to return semantic value and location from the
 5677|       |     action routines.  */
 5678|    265|  YYSTYPE yyval;
 5679|       |
 5680|       |  /* Buffer for error messages, and its allocated size.  */
 5681|    265|  char yymsgbuf[128];
 5682|    265|  char *yymsg = yymsgbuf;
 5683|    265|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  865|    265|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5684|       |
 5685|    265|#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|    265|  int yylen = 0;
 5690|       |
 5691|    265|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 5199|    265|# define YYDPRINTF(Args)                        \
  |  | 5200|    265|do {                                            \
  |  | 5201|    265|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 265]
  |  |  ------------------
  |  | 5202|    265|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    265|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 265]
  |  |  ------------------
  ------------------
 5692|       |
 5693|    265|  yychar = YYEMPTY; /* Cause a token to be read.  */
 5694|       |
 5695|    265|  goto yysetstate;
 5696|       |
 5697|       |
 5698|       |/*------------------------------------------------------------.
 5699|       || yynewstate -- push a new state, which is found in yystate.  |
 5700|       |`------------------------------------------------------------*/
 5701|  4.06M|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|  4.06M|  yyssp++;
 5705|       |
 5706|       |
 5707|       |/*--------------------------------------------------------------------.
 5708|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 5709|       |`--------------------------------------------------------------------*/
 5710|  4.06M|yysetstate:
 5711|  4.06M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 5199|  4.06M|# define YYDPRINTF(Args)                        \
  |  | 5200|  4.06M|do {                                            \
  |  | 5201|  4.06M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 4.06M]
  |  |  ------------------
  |  | 5202|  4.06M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  4.06M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 4.06M]
  |  |  ------------------
  ------------------
 5712|  4.06M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  981|  4.06M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (981:31): [Folded, False: 4.06M]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  |  Branch (981:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5713|  4.06M|  YY_IGNORE_USELESS_CAST_BEGIN
 5714|  4.06M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  100|  4.06M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5715|  4.06M|  YY_IGNORE_USELESS_CAST_END
 5716|  4.06M|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|  4.06M|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|  4.06M|do {                                                            \
  |  | 5273|  4.06M|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 4.06M]
  |  |  ------------------
  |  | 5274|  4.06M|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|  4.06M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 4.06M]
  |  |  ------------------
  ------------------
 5717|       |
 5718|  4.06M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5718:7): [True: 0, False: 4.06M]
  ------------------
 5719|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 5720|       |    YYNOMEM;
 5721|       |#else
 5722|      0|    {
 5723|       |      /* Get the current used size of the three stacks, in elements.  */
 5724|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5725|       |
 5726|       |# if defined yyoverflow
 5727|       |      {
 5728|       |        /* Give user a chance to reallocate the stack.  Use copies of
 5729|       |           these so that the &'s don't force the real ones into
 5730|       |           memory.  */
 5731|       |        yy_state_t *yyss1 = yyss;
 5732|       |        YYSTYPE *yyvs1 = yyvs;
 5733|       |
 5734|       |        /* Each stack pointer address is followed by the size of the
 5735|       |           data in use in that stack, in bytes.  This used to be a
 5736|       |           conditional around just the two extra args, but that might
 5737|       |           be undefined if yyoverflow is a macro.  */
 5738|       |        yyoverflow (YY_("memory exhausted"),
 5739|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 5740|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 5741|       |                    &yystacksize);
 5742|       |        yyss = yyss1;
 5743|       |        yyvs = yyvs1;
 5744|       |      }
 5745|       |# else /* defined YYSTACK_RELOCATE */
 5746|       |      /* Extend the stack our own way.  */
 5747|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5747:11): [True: 0, False: 0]
  ------------------
 5748|      0|        YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5749|      0|      yystacksize *= 2;
 5750|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (5750:11): [True: 0, False: 0]
  ------------------
 5751|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 5332|      0|# define YYMAXDEPTH 10000
  ------------------
 5752|       |
 5753|      0|      {
 5754|      0|        yy_state_t *yyss1 = yyss;
 5755|      0|        union yyalloc *yyptr =
 5756|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5757|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 5758|      0|        if (! yyptr)
  ------------------
  |  Branch (5758:13): [True: 0, False: 0]
  ------------------
 5759|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5760|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5761|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1078|      0|    do                                                                  \
  |  | 1079|      0|      {                                                                 \
  |  | 1080|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  865|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1081|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1096|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1082|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1083|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1062|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1084|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  898|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1085|      0|      }                                                                 \
  |  | 1086|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1086:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5762|      0|#  undef YYSTACK_RELOCATE
 5763|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (5763:13): [True: 0, False: 0]
  ------------------
 5764|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
 5765|      0|      }
 5766|      0|# endif
 5767|       |
 5768|      0|      yyssp = yyss + yysize - 1;
 5769|      0|      yyvsp = yyvs + yysize - 1;
 5770|       |
 5771|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 5772|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 5199|      0|# define YYDPRINTF(Args)                        \
  |  | 5200|      0|do {                                            \
  |  | 5201|      0|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5202|      0|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5773|      0|                  YY_CAST (long, yystacksize)));
 5774|      0|      YY_IGNORE_USELESS_CAST_END
 5775|       |
 5776|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (5776:11): [True: 0, False: 0]
  ------------------
 5777|      0|        YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
 5778|      0|    }
 5779|  4.06M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 5780|       |
 5781|       |
 5782|  4.06M|  if (yystate == YYFINAL)
  ------------------
  |  | 1111|  4.06M|#define YYFINAL  496
  ------------------
  |  Branch (5782:7): [True: 153, False: 4.06M]
  ------------------
 5783|    153|    YYACCEPT;
  ------------------
  |  | 5161|    153|#define YYACCEPT        goto yyacceptlab
  ------------------
 5784|       |
 5785|  4.06M|  goto yybackup;
 5786|       |
 5787|       |
 5788|       |/*-----------.
 5789|       || yybackup.  |
 5790|       |`-----------*/
 5791|  4.06M|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|  4.06M|  yyn = yypact[yystate];
 5797|  4.06M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1490|  4.06M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|  4.06M|#define YYPACT_NINF (-901)
  |  |  ------------------
  |  |  |  Branch (1490:3): [True: 1.69M, False: 2.37M]
  |  |  ------------------
  ------------------
 5798|  1.69M|    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.37M|  if (yychar == YYEMPTY)
  ------------------
  |  Branch (5803:7): [True: 1.11M, False: 1.25M]
  ------------------
 5804|  1.11M|    {
 5805|  1.11M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 5199|  1.11M|# define YYDPRINTF(Args)                        \
  |  | 5200|  1.11M|do {                                            \
  |  | 5201|  1.11M|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 1.11M]
  |  |  ------------------
  |  | 5202|  1.11M|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|  1.11M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 1.11M]
  |  |  ------------------
  ------------------
 5806|  1.11M|      yychar = yylex (&yylval, parseContext);
  ------------------
  |  |  783|  1.11M|#define parseContext (*pParseContext)
  ------------------
 5807|  1.11M|    }
 5808|       |
 5809|  2.37M|  if (yychar <= YYEOF)
  ------------------
  |  Branch (5809:7): [True: 155, False: 2.37M]
  ------------------
 5810|    155|    {
 5811|    155|      yychar = YYEOF;
 5812|    155|      yytoken = YYSYMBOL_YYEOF;
 5813|    155|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 5199|    155|# define YYDPRINTF(Args)                        \
  |  | 5200|    155|do {                                            \
  |  | 5201|    155|  if (yydebug)                                  \
  |  |  ------------------
  |  |  |  Branch (5201:7): [True: 0, False: 155]
  |  |  ------------------
  |  | 5202|    155|    YYFPRINTF Args;                             \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5203|    155|} while (0)
  |  |  ------------------
  |  |  |  Branch (5203:10): [Folded, False: 155]
  |  |  ------------------
  ------------------
 5814|    155|    }
 5815|  2.37M|  else if (yychar == YYerror)
  ------------------
  |  Branch (5815:12): [True: 0, False: 2.37M]
  ------------------
 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.37M|  else
 5826|  2.37M|    {
 5827|  2.37M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|  2.37M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|  2.37M|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 2.37M, False: 0]
  |  |  |  Branch (1131:18): [True: 2.37M, False: 0]
  |  |  ------------------
  |  | 1132|  2.37M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|  2.37M|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|  2.37M|   : YYSYMBOL_YYUNDEF)
  ------------------
 5828|  2.37M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  2.37M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  2.37M|do {                                                                      \
  |  | 5210|  2.37M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 2.37M]
  |  |  ------------------
  |  | 5211|  2.37M|    {                                                                     \
  |  | 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.37M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 2.37M]
  |  |  ------------------
  ------------------
 5829|  2.37M|    }
 5830|       |
 5831|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 5832|       |     detect an error, take that action.  */
 5833|  2.37M|  yyn += yytoken;
 5834|  2.37M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1113|  2.37M|#define YYLAST   15602
  ------------------
  |  Branch (5834:7): [True: 327, False: 2.37M]
  |  Branch (5834:18): [True: 0, False: 2.37M]
  |  Branch (5834:34): [True: 1.25M, False: 1.11M]
  ------------------
 5835|  1.25M|    goto yydefault;
 5836|  1.11M|  yyn = yytable[yyn];
 5837|  1.11M|  if (yyn <= 0)
  ------------------
  |  Branch (5837:7): [True: 0, False: 1.11M]
  ------------------
 5838|      0|    {
 5839|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1495|      0|  0
  |  |  ------------------
  |  |  |  Branch (1495:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5840|      0|        goto yyerrlab;
 5841|      0|      yyn = -yyn;
 5842|      0|      goto yyreduce;
 5843|      0|    }
 5844|       |
 5845|       |  /* Count tokens shifted since error; after three, turn off error
 5846|       |     status.  */
 5847|  1.11M|  if (yyerrstatus)
  ------------------
  |  Branch (5847:7): [True: 0, False: 1.11M]
  ------------------
 5848|      0|    yyerrstatus--;
 5849|       |
 5850|       |  /* Shift the lookahead token.  */
 5851|  1.11M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  ------------------
  |  | 5208|  1.11M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  1.11M|do {                                                                      \
  |  | 5210|  1.11M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 1.11M]
  |  |  ------------------
  |  | 5211|  1.11M|    {                                                                     \
  |  | 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.11M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 1.11M]
  |  |  ------------------
  ------------------
 5852|  1.11M|  yystate = yyn;
 5853|  1.11M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5854|  1.11M|  *++yyvsp = yylval;
 5855|  1.11M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5856|       |
 5857|       |  /* Discard the shifted token.  */
 5858|  1.11M|  yychar = YYEMPTY;
 5859|  1.11M|  goto yynewstate;
 5860|       |
 5861|       |
 5862|       |/*-----------------------------------------------------------.
 5863|       || yydefault -- do the default action for the current state.  |
 5864|       |`-----------------------------------------------------------*/
 5865|  2.95M|yydefault:
 5866|  2.95M|  yyn = yydefact[yystate];
 5867|  2.95M|  if (yyn == 0)
  ------------------
  |  Branch (5867:7): [True: 112, False: 2.95M]
  ------------------
 5868|    112|    goto yyerrlab;
 5869|  2.95M|  goto yyreduce;
 5870|       |
 5871|       |
 5872|       |/*-----------------------------.
 5873|       || yyreduce -- do a reduction.  |
 5874|       |`-----------------------------*/
 5875|  2.95M|yyreduce:
 5876|       |  /* yyn is the number of a rule to reduce with.  */
 5877|  2.95M|  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.95M|  yyval = yyvsp[1-yylen];
 5888|       |
 5889|       |
 5890|  2.95M|  YY_REDUCE_PRINT (yyn);
  ------------------
  |  | 5302|  2.95M|# define YY_REDUCE_PRINT(Rule)          \
  |  | 5303|  2.95M|do {                                    \
  |  | 5304|  2.95M|  if (yydebug)                          \
  |  |  ------------------
  |  |  |  Branch (5304:7): [True: 0, False: 2.95M]
  |  |  ------------------
  |  | 5305|  2.95M|    yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
  |  | 5306|  2.95M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5306:10): [Folded, False: 2.95M]
  |  |  ------------------
  ------------------
 5891|  2.95M|  switch (yyn)
 5892|  2.95M|    {
 5893|      3|  case 2: /* variable_identifier: IDENTIFIER  */
  ------------------
  |  Branch (5893:3): [True: 3, False: 2.95M]
  ------------------
 5894|      3|#line 371 "MachineIndependent/glslang.y"
 5895|      3|                 {
 5896|      3|        (yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
  ------------------
  |  |  783|      3|#define parseContext (*pParseContext)
  ------------------
 5897|      3|    }
 5898|      3|#line 5899 "MachineIndependent/glslang_tab.cpp"
 5899|      3|    break;
 5900|       |
 5901|      3|  case 3: /* primary_expression: variable_identifier  */
  ------------------
  |  Branch (5901:3): [True: 3, False: 2.95M]
  ------------------
 5902|      3|#line 377 "MachineIndependent/glslang.y"
 5903|      3|                          {
 5904|      3|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 5905|      3|    }
 5906|      3|#line 5907 "MachineIndependent/glslang_tab.cpp"
 5907|      3|    break;
 5908|       |
 5909|      0|  case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN  */
  ------------------
  |  Branch (5909:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.24k|  case 6: /* primary_expression: INTCONSTANT  */
  ------------------
  |  Branch (5927:3): [True: 2.24k, False: 2.94M]
  ------------------
 5928|  2.24k|#line 388 "MachineIndependent/glslang.y"
 5929|  2.24k|                  {
 5930|  2.24k|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|  2.24k|#define parseContext (*pParseContext)
  ------------------
 5931|  2.24k|    }
 5932|  2.24k|#line 5933 "MachineIndependent/glslang_tab.cpp"
 5933|  2.24k|    break;
 5934|       |
 5935|    420|  case 7: /* primary_expression: UINTCONSTANT  */
  ------------------
  |  Branch (5935:3): [True: 420, False: 2.94M]
  ------------------
 5936|    420|#line 391 "MachineIndependent/glslang.y"
 5937|    420|                   {
 5938|    420|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
 5939|    420|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
 5940|    420|    }
 5941|    420|#line 5942 "MachineIndependent/glslang_tab.cpp"
 5942|    420|    break;
 5943|       |
 5944|      0|  case 8: /* primary_expression: BOOLCONSTANT  */
  ------------------
  |  Branch (5944:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.66k|  case 23: /* postfix_expression: primary_expression  */
  ------------------
  |  Branch (6079:3): [True: 2.66k, False: 2.94M]
  ------------------
 6080|  2.66k|#line 458 "MachineIndependent/glslang.y"
 6081|  2.66k|                         {
 6082|  2.66k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6083|  2.66k|    }
 6084|  2.66k|#line 6085 "MachineIndependent/glslang_tab.cpp"
 6085|  2.66k|    break;
 6086|       |
 6087|      1|  case 24: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (6087:3): [True: 1, False: 2.95M]
  ------------------
 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|     21|  case 25: /* postfix_expression: function_call  */
  ------------------
  |  Branch (6095:3): [True: 21, False: 2.95M]
  ------------------
 6096|     21|#line 464 "MachineIndependent/glslang.y"
 6097|     21|                    {
 6098|     21|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6099|     21|    }
 6100|     21|#line 6101 "MachineIndependent/glslang_tab.cpp"
 6101|     21|    break;
 6102|       |
 6103|      2|  case 26: /* postfix_expression: postfix_expression DOT IDENTIFIER  */
  ------------------
  |  Branch (6103:3): [True: 2, False: 2.95M]
  ------------------
 6104|      2|#line 467 "MachineIndependent/glslang.y"
 6105|      2|                                        {
 6106|      2|        (yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 6107|      2|    }
 6108|      2|#line 6109 "MachineIndependent/glslang_tab.cpp"
 6109|      2|    break;
 6110|       |
 6111|      2|  case 27: /* postfix_expression: postfix_expression INC_OP  */
  ------------------
  |  Branch (6111:3): [True: 2, False: 2.95M]
  ------------------
 6112|      2|#line 470 "MachineIndependent/glslang.y"
 6113|      2|                                {
 6114|      2|        parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 6115|      2|        parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 6116|      2|        (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 6117|      2|    }
 6118|      2|#line 6119 "MachineIndependent/glslang_tab.cpp"
 6119|      2|    break;
 6120|       |
 6121|      0|  case 28: /* postfix_expression: postfix_expression DEC_OP  */
  ------------------
  |  Branch (6121:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|     21|  case 30: /* function_call: function_call_or_method  */
  ------------------
  |  Branch (6140:3): [True: 21, False: 2.95M]
  ------------------
 6141|     21|#line 490 "MachineIndependent/glslang.y"
 6142|     21|                              {
 6143|     21|        (yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 6144|     21|        delete (yyvsp[0].interm).function;
 6145|     21|    }
 6146|     21|#line 6147 "MachineIndependent/glslang_tab.cpp"
 6147|     21|    break;
 6148|       |
 6149|     21|  case 31: /* function_call_or_method: function_call_generic  */
  ------------------
  |  Branch (6149:3): [True: 21, False: 2.95M]
  ------------------
 6150|     21|#line 497 "MachineIndependent/glslang.y"
 6151|     21|                            {
 6152|     21|        (yyval.interm) = (yyvsp[0].interm);
 6153|     21|    }
 6154|     21|#line 6155 "MachineIndependent/glslang_tab.cpp"
 6155|     21|    break;
 6156|       |
 6157|     21|  case 32: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6157:3): [True: 21, False: 2.95M]
  ------------------
 6158|     21|#line 503 "MachineIndependent/glslang.y"
 6159|     21|                                                       {
 6160|     21|        (yyval.interm) = (yyvsp[-1].interm);
 6161|     21|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6162|     21|    }
 6163|     21|#line 6164 "MachineIndependent/glslang_tab.cpp"
 6164|     21|    break;
 6165|       |
 6166|      0|  case 33: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN  */
  ------------------
  |  Branch (6166:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 6176|      0|#line 514 "MachineIndependent/glslang.y"
 6177|      0|                                {
 6178|      0|        (yyval.interm) = (yyvsp[-1].interm);
 6179|      0|    }
 6180|      0|#line 6181 "MachineIndependent/glslang_tab.cpp"
 6181|      0|    break;
 6182|       |
 6183|      0|  case 35: /* function_call_header_no_parameters: function_call_header  */
  ------------------
  |  Branch (6183:3): [True: 0, False: 2.95M]
  ------------------
 6184|      0|#line 517 "MachineIndependent/glslang.y"
 6185|      0|                           {
 6186|      0|        (yyval.interm) = (yyvsp[0].interm);
 6187|      0|    }
 6188|      0|#line 6189 "MachineIndependent/glslang_tab.cpp"
 6189|      0|    break;
 6190|       |
 6191|     21|  case 36: /* function_call_header_with_parameters: function_call_header assignment_expression  */
  ------------------
  |  Branch (6191:3): [True: 21, False: 2.95M]
  ------------------
 6192|     21|#line 523 "MachineIndependent/glslang.y"
 6193|     21|                                                 {
 6194|     21|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6194:13): [True: 21, False: 0]
  ------------------
 6195|     21|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6195:16): [True: 0, False: 21]
  ------------------
 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|     21|        else
 6202|     21|        {
 6203|     21|            TParameter param = { 0, new TType, {} };
 6204|     21|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6205|       |
 6206|     21|            (yyvsp[-1].interm).function->addParameter(param);
 6207|     21|            (yyval.interm).function = (yyvsp[-1].interm).function;
 6208|     21|            (yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
 6209|     21|        }
 6210|     21|    }
 6211|     21|#line 6212 "MachineIndependent/glslang_tab.cpp"
 6212|     21|    break;
 6213|       |
 6214|     42|  case 37: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression  */
  ------------------
  |  Branch (6214:3): [True: 42, False: 2.95M]
  ------------------
 6215|     42|#line 541 "MachineIndependent/glslang.y"
 6216|     42|                                                                       {
 6217|     42|        if (parseContext.spvVersion.vulkan > 0
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6217:13): [True: 42, False: 0]
  ------------------
 6218|     42|            && parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6218:16): [True: 0, False: 42]
  ------------------
 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|     42|        else
 6229|     42|        {
 6230|     42|            TParameter param = { 0, new TType, {} };
 6231|     42|            param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
 6232|       |
 6233|     42|            (yyvsp[-2].interm).function->addParameter(param);
 6234|     42|            (yyval.interm).function = (yyvsp[-2].interm).function;
 6235|     42|            (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 6236|     42|        }
 6237|     42|    }
 6238|     42|#line 6239 "MachineIndependent/glslang_tab.cpp"
 6239|     42|    break;
 6240|       |
 6241|     21|  case 38: /* function_call_header: function_identifier LEFT_PAREN  */
  ------------------
  |  Branch (6241:3): [True: 21, False: 2.95M]
  ------------------
 6242|     21|#line 566 "MachineIndependent/glslang.y"
 6243|     21|                                     {
 6244|     21|        (yyval.interm) = (yyvsp[-1].interm);
 6245|     21|    }
 6246|     21|#line 6247 "MachineIndependent/glslang_tab.cpp"
 6247|     21|    break;
 6248|       |
 6249|     21|  case 39: /* function_identifier: type_specifier  */
  ------------------
  |  Branch (6249:3): [True: 21, False: 2.95M]
  ------------------
 6250|     21|#line 574 "MachineIndependent/glslang.y"
 6251|     21|                     {
 6252|       |        // Constructor
 6253|     21|        (yyval.interm).intermNode = 0;
 6254|     21|        (yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 6255|     21|    }
 6256|     21|#line 6257 "MachineIndependent/glslang_tab.cpp"
 6257|     21|    break;
 6258|       |
 6259|      0|  case 40: /* function_identifier: postfix_expression  */
  ------------------
  |  Branch (6259:3): [True: 0, False: 2.95M]
  ------------------
 6260|      0|#line 579 "MachineIndependent/glslang.y"
 6261|      0|                         {
 6262|       |        //
 6263|       |        // Should be a method or subroutine call, but we haven't recognized the arguments yet.
 6264|       |        //
 6265|      0|        (yyval.interm).function = 0;
 6266|      0|        (yyval.interm).intermNode = 0;
 6267|       |
 6268|      0|        TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
 6269|      0|        if (method) {
  ------------------
  |  Branch (6269:13): [True: 0, False: 0]
  ------------------
 6270|      0|            (yyval.interm).function = new TFunction(&method->getMethodName(), method->getType(), EOpArrayLength);
 6271|      0|            (yyval.interm).intermNode = method->getObject();
 6272|      0|        } else {
 6273|      0|            TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
 6274|      0|            if (symbol) {
  ------------------
  |  Branch (6274:17): [True: 0, False: 0]
  ------------------
 6275|      0|                parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6276|      0|                TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
 6277|      0|                (yyval.interm).function = function;
 6278|      0|            } else
 6279|      0|                parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6280|      0|        }
 6281|       |
 6282|      0|        if ((yyval.interm).function == 0) {
  ------------------
  |  Branch (6282:13): [True: 0, False: 0]
  ------------------
 6283|       |            // error recover
 6284|      0|            TString* empty = NewPoolTString("");
 6285|      0|            (yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
 6286|      0|        }
 6287|      0|    }
 6288|      0|#line 6289 "MachineIndependent/glslang_tab.cpp"
 6289|      0|    break;
 6290|       |
 6291|      0|  case 41: /* function_identifier: non_uniform_qualifier  */
  ------------------
  |  Branch (6291:3): [True: 0, False: 2.95M]
  ------------------
 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.68k|  case 42: /* unary_expression: postfix_expression  */
  ------------------
  |  Branch (6301:3): [True: 2.68k, False: 2.94M]
  ------------------
 6302|  2.68k|#line 614 "MachineIndependent/glslang.y"
 6303|  2.68k|                         {
 6304|  2.68k|        parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|  2.68k|#define parseContext (*pParseContext)
  ------------------
 6305|  2.68k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6306|  2.68k|        if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
  ------------------
  |  Branch (6306:28): [True: 0, False: 2.68k]
  ------------------
 6307|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6308|  2.68k|    }
 6309|  2.68k|#line 6310 "MachineIndependent/glslang_tab.cpp"
 6310|  2.68k|    break;
 6311|       |
 6312|      0|  case 43: /* unary_expression: INC_OP unary_expression  */
  ------------------
  |  Branch (6312:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|      0|  case 45: /* unary_expression: unary_operator unary_expression  */
  ------------------
  |  Branch (6330:3): [True: 0, False: 2.95M]
  ------------------
 6331|      0|#line 628 "MachineIndependent/glslang.y"
 6332|      0|                                      {
 6333|      0|        if ((yyvsp[-1].interm).op != EOpNull) {
  ------------------
  |  Branch (6333:13): [True: 0, False: 0]
  ------------------
 6334|      0|            char errorOp[2] = {0, 0};
 6335|      0|            switch((yyvsp[-1].interm).op) {
 6336|      0|            case EOpNegative:   errorOp[0] = '-'; break;
  ------------------
  |  Branch (6336:13): [True: 0, False: 0]
  ------------------
 6337|      0|            case EOpLogicalNot: errorOp[0] = '!'; break;
  ------------------
  |  Branch (6337:13): [True: 0, False: 0]
  ------------------
 6338|      0|            case EOpBitwiseNot: errorOp[0] = '~'; break;
  ------------------
  |  Branch (6338:13): [True: 0, False: 0]
  ------------------
 6339|      0|            default: break; // some compilers want this
  ------------------
  |  Branch (6339:13): [True: 0, False: 0]
  ------------------
 6340|      0|            }
 6341|      0|            (yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6342|      0|        } else {
 6343|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6344|      0|            if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
  ------------------
  |  Branch (6344:17): [True: 0, False: 0]
  ------------------
 6345|      0|                (yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
 6346|      0|        }
 6347|      0|    }
 6348|      0|#line 6349 "MachineIndependent/glslang_tab.cpp"
 6349|      0|    break;
 6350|       |
 6351|      0|  case 46: /* unary_expression: LEFT_PAREN type_specifier_nonarray RIGHT_PAREN unary_expression  */
  ------------------
  |  Branch (6351:3): [True: 0, False: 2.95M]
  ------------------
 6352|      0|#line 644 "MachineIndependent/glslang.y"
 6353|      0|                                                                      {
 6354|      0|        (yyval.interm.intermTypedNode) = parseContext.handleTypeCast((yyvsp[-3].lex).loc, new TType((yyvsp[-2].interm.type)), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6355|      0|    }
 6356|      0|#line 6357 "MachineIndependent/glslang_tab.cpp"
 6357|      0|    break;
 6358|       |
 6359|      0|  case 47: /* unary_operator: PLUS  */
  ------------------
  |  Branch (6359:3): [True: 0, False: 2.95M]
  ------------------
 6360|      0|#line 651 "MachineIndependent/glslang.y"
 6361|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
 6362|      0|#line 6363 "MachineIndependent/glslang_tab.cpp"
 6363|      0|    break;
 6364|       |
 6365|      0|  case 48: /* unary_operator: DASH  */
  ------------------
  |  Branch (6365:3): [True: 0, False: 2.95M]
  ------------------
 6366|      0|#line 652 "MachineIndependent/glslang.y"
 6367|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
 6368|      0|#line 6369 "MachineIndependent/glslang_tab.cpp"
 6369|      0|    break;
 6370|       |
 6371|      0|  case 49: /* unary_operator: BANG  */
  ------------------
  |  Branch (6371:3): [True: 0, False: 2.95M]
  ------------------
 6372|      0|#line 653 "MachineIndependent/glslang.y"
 6373|      0|            { (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
 6374|      0|#line 6375 "MachineIndependent/glslang_tab.cpp"
 6375|      0|    break;
 6376|       |
 6377|      0|  case 50: /* unary_operator: TILDE  */
  ------------------
  |  Branch (6377:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 51: /* multiplicative_expression: unary_expression  */
  ------------------
  |  Branch (6384:3): [True: 2.60k, False: 2.94M]
  ------------------
 6385|  2.60k|#line 660 "MachineIndependent/glslang.y"
 6386|  2.60k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6387|  2.60k|#line 6388 "MachineIndependent/glslang_tab.cpp"
 6388|  2.60k|    break;
 6389|       |
 6390|      0|  case 52: /* multiplicative_expression: multiplicative_expression STAR unary_expression  */
  ------------------
  |  Branch (6390:3): [True: 0, False: 2.95M]
  ------------------
 6391|      0|#line 661 "MachineIndependent/glslang.y"
 6392|      0|                                                      {
 6393|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6394|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6394:13): [True: 0, False: 0]
  ------------------
 6395|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6396|      0|    }
 6397|      0|#line 6398 "MachineIndependent/glslang_tab.cpp"
 6398|      0|    break;
 6399|       |
 6400|      0|  case 53: /* multiplicative_expression: multiplicative_expression SLASH unary_expression  */
  ------------------
  |  Branch (6400:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.60k|  case 55: /* additive_expression: multiplicative_expression  */
  ------------------
  |  Branch (6421:3): [True: 2.60k, False: 2.94M]
  ------------------
 6422|  2.60k|#line 680 "MachineIndependent/glslang.y"
 6423|  2.60k|                                { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6424|  2.60k|#line 6425 "MachineIndependent/glslang_tab.cpp"
 6425|  2.60k|    break;
 6426|       |
 6427|      1|  case 56: /* additive_expression: additive_expression PLUS multiplicative_expression  */
  ------------------
  |  Branch (6427:3): [True: 1, False: 2.95M]
  ------------------
 6428|      1|#line 681 "MachineIndependent/glslang.y"
 6429|      1|                                                         {
 6430|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6431|      1|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6431:13): [True: 1, False: 0]
  ------------------
 6432|      1|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6433|      1|    }
 6434|      1|#line 6435 "MachineIndependent/glslang_tab.cpp"
 6435|      1|    break;
 6436|       |
 6437|      0|  case 57: /* additive_expression: additive_expression DASH multiplicative_expression  */
  ------------------
  |  Branch (6437:3): [True: 0, False: 2.95M]
  ------------------
 6438|      0|#line 686 "MachineIndependent/glslang.y"
 6439|      0|                                                         {
 6440|      0|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6441|      0|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6441:13): [True: 0, False: 0]
  ------------------
 6442|      0|            (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
 6443|      0|    }
 6444|      0|#line 6445 "MachineIndependent/glslang_tab.cpp"
 6445|      0|    break;
 6446|       |
 6447|  2.60k|  case 58: /* shift_expression: additive_expression  */
  ------------------
  |  Branch (6447:3): [True: 2.60k, False: 2.94M]
  ------------------
 6448|  2.60k|#line 694 "MachineIndependent/glslang.y"
 6449|  2.60k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6450|  2.60k|#line 6451 "MachineIndependent/glslang_tab.cpp"
 6451|  2.60k|    break;
 6452|       |
 6453|      0|  case 59: /* shift_expression: shift_expression LEFT_OP additive_expression  */
  ------------------
  |  Branch (6453:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.60k|  case 61: /* relational_expression: shift_expression  */
  ------------------
  |  Branch (6475:3): [True: 2.60k, False: 2.94M]
  ------------------
 6476|  2.60k|#line 710 "MachineIndependent/glslang.y"
 6477|  2.60k|                       { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6478|  2.60k|#line 6479 "MachineIndependent/glslang_tab.cpp"
 6479|  2.60k|    break;
 6480|       |
 6481|      0|  case 62: /* relational_expression: relational_expression LEFT_ANGLE shift_expression  */
  ------------------
  |  Branch (6481:3): [True: 0, False: 2.95M]
  ------------------
 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|      1|  case 63: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression  */
  ------------------
  |  Branch (6491:3): [True: 1, False: 2.95M]
  ------------------
 6492|      1|#line 716 "MachineIndependent/glslang.y"
 6493|      1|                                                          {
 6494|      1|        (yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6495|      1|        if ((yyval.interm.intermTypedNode) == 0)
  ------------------
  |  Branch (6495:13): [True: 1, False: 0]
  ------------------
 6496|      1|            (yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 6497|      1|    }
 6498|      1|#line 6499 "MachineIndependent/glslang_tab.cpp"
 6499|      1|    break;
 6500|       |
 6501|      0|  case 64: /* relational_expression: relational_expression LE_OP shift_expression  */
  ------------------
  |  Branch (6501:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.60k|  case 66: /* equality_expression: relational_expression  */
  ------------------
  |  Branch (6521:3): [True: 2.60k, False: 2.94M]
  ------------------
 6522|  2.60k|#line 734 "MachineIndependent/glslang.y"
 6523|  2.60k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6524|  2.60k|#line 6525 "MachineIndependent/glslang_tab.cpp"
 6525|  2.60k|    break;
 6526|       |
 6527|      0|  case 67: /* equality_expression: equality_expression EQ_OP relational_expression  */
  ------------------
  |  Branch (6527:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.60k|  case 69: /* and_expression: equality_expression  */
  ------------------
  |  Branch (6555:3): [True: 2.60k, False: 2.94M]
  ------------------
 6556|  2.60k|#line 756 "MachineIndependent/glslang.y"
 6557|  2.60k|                          { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6558|  2.60k|#line 6559 "MachineIndependent/glslang_tab.cpp"
 6559|  2.60k|    break;
 6560|       |
 6561|      0|  case 70: /* and_expression: and_expression AMPERSAND equality_expression  */
  ------------------
  |  Branch (6561:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 71: /* exclusive_or_expression: and_expression  */
  ------------------
  |  Branch (6572:3): [True: 2.60k, False: 2.94M]
  ------------------
 6573|  2.60k|#line 766 "MachineIndependent/glslang.y"
 6574|  2.60k|                     { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6575|  2.60k|#line 6576 "MachineIndependent/glslang_tab.cpp"
 6576|  2.60k|    break;
 6577|       |
 6578|      0|  case 72: /* exclusive_or_expression: exclusive_or_expression CARET and_expression  */
  ------------------
  |  Branch (6578:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 73: /* inclusive_or_expression: exclusive_or_expression  */
  ------------------
  |  Branch (6589:3): [True: 2.60k, False: 2.94M]
  ------------------
 6590|  2.60k|#line 776 "MachineIndependent/glslang.y"
 6591|  2.60k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6592|  2.60k|#line 6593 "MachineIndependent/glslang_tab.cpp"
 6593|  2.60k|    break;
 6594|       |
 6595|      0|  case 74: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression  */
  ------------------
  |  Branch (6595:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 75: /* logical_and_expression: inclusive_or_expression  */
  ------------------
  |  Branch (6606:3): [True: 2.60k, False: 2.94M]
  ------------------
 6607|  2.60k|#line 786 "MachineIndependent/glslang.y"
 6608|  2.60k|                              { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6609|  2.60k|#line 6610 "MachineIndependent/glslang_tab.cpp"
 6610|  2.60k|    break;
 6611|       |
 6612|      0|  case 76: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression  */
  ------------------
  |  Branch (6612:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 77: /* logical_xor_expression: logical_and_expression  */
  ------------------
  |  Branch (6622:3): [True: 2.60k, False: 2.94M]
  ------------------
 6623|  2.60k|#line 795 "MachineIndependent/glslang.y"
 6624|  2.60k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6625|  2.60k|#line 6626 "MachineIndependent/glslang_tab.cpp"
 6626|  2.60k|    break;
 6627|       |
 6628|      0|  case 78: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression  */
  ------------------
  |  Branch (6628:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 79: /* logical_or_expression: logical_xor_expression  */
  ------------------
  |  Branch (6638:3): [True: 2.60k, False: 2.94M]
  ------------------
 6639|  2.60k|#line 804 "MachineIndependent/glslang.y"
 6640|  2.60k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6641|  2.60k|#line 6642 "MachineIndependent/glslang_tab.cpp"
 6642|  2.60k|    break;
 6643|       |
 6644|      0|  case 80: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression  */
  ------------------
  |  Branch (6644:3): [True: 0, False: 2.95M]
  ------------------
 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.60k|  case 81: /* conditional_expression: logical_or_expression  */
  ------------------
  |  Branch (6654:3): [True: 2.60k, False: 2.94M]
  ------------------
 6655|  2.60k|#line 813 "MachineIndependent/glslang.y"
 6656|  2.60k|                            { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6657|  2.60k|#line 6658 "MachineIndependent/glslang_tab.cpp"
 6658|  2.60k|    break;
 6659|       |
 6660|      0|  case 82: /* $@1: %empty  */
  ------------------
  |  Branch (6660:3): [True: 0, False: 2.95M]
  ------------------
 6661|      0|#line 814 "MachineIndependent/glslang.y"
 6662|      0|                                     {
 6663|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6664|      0|    }
 6665|      0|#line 6666 "MachineIndependent/glslang_tab.cpp"
 6666|      0|    break;
 6667|       |
 6668|      0|  case 83: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression  */
  ------------------
  |  Branch (6668:3): [True: 0, False: 2.95M]
  ------------------
 6669|      0|#line 817 "MachineIndependent/glslang.y"
 6670|      0|                                             {
 6671|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6672|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6673|      0|        parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6674|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6675|      0|        parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6676|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6677|      0|        if ((yyval.interm.intermTypedNode) == 0) {
  ------------------
  |  Branch (6677:13): [True: 0, False: 0]
  ------------------
 6678|      0|            parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 6679|      0|            (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6680|      0|        }
 6681|      0|    }
 6682|      0|#line 6683 "MachineIndependent/glslang_tab.cpp"
 6683|      0|    break;
 6684|       |
 6685|  1.31k|  case 84: /* assignment_expression: conditional_expression  */
  ------------------
  |  Branch (6685:3): [True: 1.31k, False: 2.94M]
  ------------------
 6686|  1.31k|#line 832 "MachineIndependent/glslang.y"
 6687|  1.31k|                             { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
 6688|  1.31k|#line 6689 "MachineIndependent/glslang_tab.cpp"
 6689|  1.31k|    break;
 6690|       |
 6691|      0|  case 85: /* assignment_expression: unary_expression assignment_operator assignment_expression  */
  ------------------
  |  Branch (6691:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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|      1|  case 97: /* expression: assignment_expression  */
  ------------------
  |  Branch (6809:3): [True: 1, False: 2.95M]
  ------------------
 6810|      1|#line 897 "MachineIndependent/glslang.y"
 6811|      1|                            {
 6812|      1|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
 6813|      1|    }
 6814|      1|#line 6815 "MachineIndependent/glslang_tab.cpp"
 6815|      1|    break;
 6816|       |
 6817|      0|  case 98: /* expression: expression COMMA assignment_expression  */
  ------------------
  |  Branch (6817:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|  99.5k|  case 100: /* declaration: function_prototype SEMICOLON  */
  ------------------
  |  Branch (6839:3): [True: 99.5k, False: 2.85M]
  ------------------
 6840|  99.5k|#line 918 "MachineIndependent/glslang.y"
 6841|  99.5k|                                   {
 6842|  99.5k|        parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
  ------------------
  |  |  783|  99.5k|#define parseContext (*pParseContext)
  ------------------
 6843|  99.5k|        (yyval.interm.intermNode) = 0;
 6844|       |        // TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
 6845|  99.5k|    }
 6846|  99.5k|#line 6847 "MachineIndependent/glslang_tab.cpp"
 6847|  99.5k|    break;
 6848|       |
 6849|      0|  case 101: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON  */
  ------------------
  |  Branch (6849:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.76k|  case 103: /* declaration: init_declarator_list SEMICOLON  */
  ------------------
  |  Branch (6871:3): [True: 3.76k, False: 2.94M]
  ------------------
 6872|  3.76k|#line 935 "MachineIndependent/glslang.y"
 6873|  3.76k|                                     {
 6874|  3.76k|        if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
  ------------------
  |  Branch (6874:13): [True: 0, False: 3.76k]
  |  Branch (6874:46): [True: 0, False: 0]
  ------------------
 6875|      0|            (yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
 6876|  3.76k|        (yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
 6877|  3.76k|    }
 6878|  3.76k|#line 6879 "MachineIndependent/glslang_tab.cpp"
 6879|  3.76k|    break;
 6880|       |
 6881|      0|  case 104: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON  */
  ------------------
  |  Branch (6881:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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|     42|  case 107: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON  */
  ------------------
  |  Branch (6909:3): [True: 42, False: 2.95M]
  ------------------
 6910|     42|#line 953 "MachineIndependent/glslang.y"
 6911|     42|                                                           {
 6912|     42|        (yyval.interm.intermNode) = parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 6913|     42|    }
 6914|     42|#line 6915 "MachineIndependent/glslang_tab.cpp"
 6915|     42|    break;
 6916|       |
 6917|      0|  case 108: /* declaration: type_qualifier SEMICOLON  */
  ------------------
  |  Branch (6917:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|     63|  case 110: /* $@2: %empty  */
  ------------------
  |  Branch (6937:3): [True: 63, False: 2.95M]
  ------------------
 6938|     63|#line 969 "MachineIndependent/glslang.y"
 6939|     63|                                           { parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 6940|     63|#line 6941 "MachineIndependent/glslang_tab.cpp"
 6941|     63|    break;
 6942|       |
 6943|     63|  case 111: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (6943:3): [True: 63, False: 2.95M]
  ------------------
 6944|     63|#line 969 "MachineIndependent/glslang.y"
 6945|     63|                                                                                                                          {
 6946|     63|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 6947|     63|        parseContext.blockName = (yyvsp[-4].lex).string;
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 6948|     63|        parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 6949|     63|        parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 6950|     63|        parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
 6951|     63|        (yyval.interm).loc = (yyvsp[-5].interm.type).loc;
 6952|     63|        (yyval.interm).typeList = (yyvsp[-1].interm.typeList);
 6953|     63|    }
 6954|     63|#line 6955 "MachineIndependent/glslang_tab.cpp"
 6955|     63|    break;
 6956|       |
 6957|      0|  case 112: /* identifier_list: IDENTIFIER  */
  ------------------
  |  Branch (6957:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|  99.5k|  case 114: /* function_prototype: function_declarator RIGHT_PAREN  */
  ------------------
  |  Branch (6975:3): [True: 99.5k, False: 2.85M]
  ------------------
 6976|  99.5k|#line 992 "MachineIndependent/glslang.y"
 6977|  99.5k|                                       {
 6978|  99.5k|        (yyval.interm).function = (yyvsp[-1].interm.function);
 6979|  99.5k|        if (parseContext.compileOnly) (yyval.interm).function->setExport();
  ------------------
  |  |  783|  99.5k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (6979:13): [True: 0, False: 99.5k]
  ------------------
 6980|  99.5k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 6981|  99.5k|    }
 6982|  99.5k|#line 6983 "MachineIndependent/glslang_tab.cpp"
 6983|  99.5k|    break;
 6984|       |
 6985|      0|  case 115: /* function_prototype: function_declarator RIGHT_PAREN attribute  */
  ------------------
  |  Branch (6985:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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|    265|  case 118: /* function_declarator: function_header  */
  ------------------
  |  Branch (7025:3): [True: 265, False: 2.94M]
  ------------------
 7026|    265|#line 1025 "MachineIndependent/glslang.y"
 7027|    265|                      {
 7028|    265|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7029|    265|    }
 7030|    265|#line 7031 "MachineIndependent/glslang_tab.cpp"
 7031|    265|    break;
 7032|       |
 7033|  99.2k|  case 119: /* function_declarator: function_header_with_parameters  */
  ------------------
  |  Branch (7033:3): [True: 99.2k, False: 2.85M]
  ------------------
 7034|  99.2k|#line 1028 "MachineIndependent/glslang.y"
 7035|  99.2k|                                      {
 7036|  99.2k|        (yyval.interm.function) = (yyvsp[0].interm.function);
 7037|  99.2k|    }
 7038|  99.2k|#line 7039 "MachineIndependent/glslang_tab.cpp"
 7039|  99.2k|    break;
 7040|       |
 7041|  99.2k|  case 120: /* function_header_with_parameters: function_header parameter_declaration  */
  ------------------
  |  Branch (7041:3): [True: 99.2k, False: 2.85M]
  ------------------
 7042|  99.2k|#line 1035 "MachineIndependent/glslang.y"
 7043|  99.2k|                                            {
 7044|       |        // Add the parameter
 7045|  99.2k|        (yyval.interm.function) = (yyvsp[-1].interm.function);
 7046|  99.2k|        if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
  ------------------
  |  Branch (7046:13): [True: 99.2k, False: 8]
  ------------------
 7047|  99.2k|        {
 7048|  99.2k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  99.2k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|  97.1k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7048:19): [True: 97.1k, False: 2.05k]
  |  Branch (7048:57): [True: 0, False: 97.1k]
  ------------------
 7049|  99.2k|                (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|  99.2k|        }
 7053|      8|        else
 7054|      8|            delete (yyvsp[0].interm).param.type;
 7055|  99.2k|    }
 7056|  99.2k|#line 7057 "MachineIndependent/glslang_tab.cpp"
 7057|  99.2k|    break;
 7058|       |
 7059|   172k|  case 121: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration  */
  ------------------
  |  Branch (7059:3): [True: 172k, False: 2.77M]
  ------------------
 7060|   172k|#line 1048 "MachineIndependent/glslang.y"
 7061|   172k|                                                                  {
 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|   172k|        if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
  ------------------
  |  Branch (7066:13): [True: 0, False: 172k]
  ------------------
 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|   172k|        } else {
 7073|       |            // Add the parameter
 7074|   172k|            (yyval.interm.function) = (yyvsp[-2].interm.function);
 7075|   172k|            if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   172k|#define parseContext (*pParseContext)
  ------------------
                          if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
  ------------------
  |  |  783|   171k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7075:19): [True: 171k, False: 1.71k]
  |  Branch (7075:57): [True: 0, False: 171k]
  ------------------
 7076|   172k|                (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|   172k|        }
 7080|   172k|    }
 7081|   172k|#line 7082 "MachineIndependent/glslang_tab.cpp"
 7082|   172k|    break;
 7083|       |
 7084|    420|  case 122: /* function_header_with_parameters: function_header_with_parameters COMMA DOT DOT DOT  */
  ------------------
  |  Branch (7084:3): [True: 420, False: 2.94M]
  ------------------
 7085|    420|#line 1068 "MachineIndependent/glslang.y"
 7086|    420|                                                        {
 7087|    420|        (yyval.interm.function) = (yyvsp[-4].interm.function);
 7088|    420|        parseContext.makeVariadic((yyvsp[-4].interm.function), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
 7089|    420|    }
 7090|    420|#line 7091 "MachineIndependent/glslang_tab.cpp"
 7091|    420|    break;
 7092|       |
 7093|  99.5k|  case 123: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN  */
  ------------------
  |  Branch (7093:3): [True: 99.5k, False: 2.85M]
  ------------------
 7094|  99.5k|#line 1075 "MachineIndependent/glslang.y"
 7095|  99.5k|                                                 {
 7096|  99.5k|        if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
  ------------------
  |  Branch (7096:13): [True: 0, False: 99.5k]
  |  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|  99.5k|        if ((yyvsp[-2].interm.type).arraySizes)
  ------------------
  |  Branch (7100:13): [True: 0, False: 99.5k]
  ------------------
 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|  99.5k|        TFunction *function;
 7105|  99.5k|        TType type((yyvsp[-2].interm.type));
 7106|       |
 7107|       |        // Potentially rename shader entry point function.  No-op most of the time.
 7108|  99.5k|        parseContext.renameShaderFunction((yyvsp[-1].lex).string);
  ------------------
  |  |  783|  99.5k|#define parseContext (*pParseContext)
  ------------------
 7109|       |
 7110|       |        // Make the function
 7111|  99.5k|        function = new TFunction((yyvsp[-1].lex).string, type);
 7112|  99.5k|        (yyval.interm.function) = function;
 7113|  99.5k|    }
 7114|  99.5k|#line 7115 "MachineIndependent/glslang_tab.cpp"
 7115|  99.5k|    break;
 7116|       |
 7117|  54.2k|  case 124: /* parameter_declarator: type_specifier IDENTIFIER  */
  ------------------
  |  Branch (7117:3): [True: 54.2k, False: 2.89M]
  ------------------
 7118|  54.2k|#line 1098 "MachineIndependent/glslang.y"
 7119|  54.2k|                                {
 7120|  54.2k|        if ((yyvsp[-1].interm.type).arraySizes) {
  ------------------
  |  Branch (7120:13): [True: 6.82k, False: 47.4k]
  ------------------
 7121|  6.82k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|  6.82k|#define parseContext (*pParseContext)
  ------------------
 7122|  6.82k|            parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|  6.82k|#define parseContext (*pParseContext)
  ------------------
 7123|  6.82k|            parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
  ------------------
  |  |  783|  6.82k|#define parseContext (*pParseContext)
  ------------------
 7124|  6.82k|        }
 7125|  54.2k|        if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
  ------------------
  |  Branch (7125:13): [True: 0, False: 54.2k]
  ------------------
 7126|      0|            parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7127|      0|        }
 7128|  54.2k|        parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|  54.2k|#define parseContext (*pParseContext)
  ------------------
 7129|       |
 7130|  54.2k|        TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type)), {}};
 7131|  54.2k|        (yyval.interm).loc = (yyvsp[0].lex).loc;
 7132|  54.2k|        (yyval.interm).param = param;
 7133|  54.2k|    }
 7134|  54.2k|#line 7135 "MachineIndependent/glslang_tab.cpp"
 7135|  54.2k|    break;
 7136|       |
 7137|  1.52k|  case 125: /* parameter_declarator: type_specifier IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7137:3): [True: 1.52k, False: 2.94M]
  ------------------
 7138|  1.52k|#line 1113 "MachineIndependent/glslang.y"
 7139|  1.52k|                                                {
 7140|  1.52k|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (7140:13): [True: 0, False: 1.52k]
  ------------------
 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.52k|        TType* type = new TType((yyvsp[-2].interm.type));
 7146|  1.52k|        type->transferArraySizes((yyvsp[0].interm).arraySizes);
 7147|  1.52k|        type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
 7148|       |
 7149|  1.52k|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
  ------------------
  |  |  783|  1.52k|#define parseContext (*pParseContext)
  ------------------
 7150|  1.52k|        parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  1.52k|#define parseContext (*pParseContext)
  ------------------
 7151|  1.52k|        parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
  ------------------
  |  |  783|  1.52k|#define parseContext (*pParseContext)
  ------------------
 7152|       |
 7153|  1.52k|        TParameter param = { (yyvsp[-1].lex).string, type, {} };
 7154|       |
 7155|  1.52k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 7156|  1.52k|        (yyval.interm).param = param;
 7157|  1.52k|    }
 7158|  1.52k|#line 7159 "MachineIndependent/glslang_tab.cpp"
 7159|  1.52k|    break;
 7160|       |
 7161|    420|  case 126: /* parameter_declarator: type_specifier IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7161:3): [True: 420, False: 2.94M]
  ------------------
 7162|    420|#line 1132 "MachineIndependent/glslang.y"
 7163|    420|                                                  {
 7164|    420|        TParameter param = parseContext.getParamWithDefault((yyvsp[-3].interm.type), (yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
 7165|    420|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 7166|    420|        (yyval.interm).param = param;
 7167|    420|    }
 7168|    420|#line 7169 "MachineIndependent/glslang_tab.cpp"
 7169|    420|    break;
 7170|       |
 7171|  7.10k|  case 127: /* parameter_declaration: type_qualifier parameter_declarator  */
  ------------------
  |  Branch (7171:3): [True: 7.10k, False: 2.94M]
  ------------------
 7172|  7.10k|#line 1143 "MachineIndependent/glslang.y"
 7173|  7.10k|                                          {
 7174|  7.10k|        (yyval.interm) = (yyvsp[0].interm);
 7175|  7.10k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7175:13): [True: 238, False: 6.86k]
  ------------------
 7176|    238|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7177|  7.10k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  7.10k|#define parseContext (*pParseContext)
  ------------------
 7178|       |
 7179|  7.10k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  7.10k|#define parseContext (*pParseContext)
  ------------------
 7180|  7.10k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  7.10k|#define parseContext (*pParseContext)
  ------------------
 7181|  7.10k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  7.10k|#define parseContext (*pParseContext)
  ------------------
 7182|       |
 7183|  7.10k|    }
 7184|  7.10k|#line 7185 "MachineIndependent/glslang_tab.cpp"
 7185|  7.10k|    break;
 7186|       |
 7187|  49.1k|  case 128: /* parameter_declaration: parameter_declarator  */
  ------------------
  |  Branch (7187:3): [True: 49.1k, False: 2.90M]
  ------------------
 7188|  49.1k|#line 1154 "MachineIndependent/glslang.y"
 7189|  49.1k|                           {
 7190|  49.1k|        (yyval.interm) = (yyvsp[0].interm);
 7191|       |
 7192|  49.1k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|  49.1k|#define parseContext (*pParseContext)
  ------------------
 7193|  49.1k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|  49.1k|#define parseContext (*pParseContext)
  ------------------
 7194|  49.1k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  49.1k|#define parseContext (*pParseContext)
  ------------------
 7195|  49.1k|    }
 7196|  49.1k|#line 7197 "MachineIndependent/glslang_tab.cpp"
 7197|  49.1k|    break;
 7198|       |
 7199|  25.6k|  case 129: /* parameter_declaration: type_qualifier parameter_type_specifier  */
  ------------------
  |  Branch (7199:3): [True: 25.6k, False: 2.92M]
  ------------------
 7200|  25.6k|#line 1164 "MachineIndependent/glslang.y"
 7201|  25.6k|                                              {
 7202|  25.6k|        (yyval.interm) = (yyvsp[0].interm);
 7203|  25.6k|        if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
  ------------------
  |  Branch (7203:13): [True: 6.59k, False: 19.0k]
  ------------------
 7204|  6.59k|            (yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
 7205|  25.6k|        parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|  25.6k|#define parseContext (*pParseContext)
  ------------------
 7206|       |
 7207|  25.6k|        parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  25.6k|#define parseContext (*pParseContext)
  ------------------
 7208|  25.6k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
  ------------------
  |  |  783|  25.6k|#define parseContext (*pParseContext)
  ------------------
 7209|  25.6k|        parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
  ------------------
  |  |  783|  25.6k|#define parseContext (*pParseContext)
  ------------------
 7210|  25.6k|    }
 7211|  25.6k|#line 7212 "MachineIndependent/glslang_tab.cpp"
 7212|  25.6k|    break;
 7213|       |
 7214|   190k|  case 130: /* parameter_declaration: parameter_type_specifier  */
  ------------------
  |  Branch (7214:3): [True: 190k, False: 2.75M]
  ------------------
 7215|   190k|#line 1174 "MachineIndependent/glslang.y"
 7216|   190k|                               {
 7217|   190k|        (yyval.interm) = (yyvsp[0].interm);
 7218|       |
 7219|   190k|        parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
  ------------------
  |  |  783|   190k|#define parseContext (*pParseContext)
  ------------------
 7220|   190k|        parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
  ------------------
  |  |  783|   190k|#define parseContext (*pParseContext)
  ------------------
 7221|   190k|        parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier(), (yyval.interm).param.type->hasTypeParameter());
  ------------------
  |  |  783|   190k|#define parseContext (*pParseContext)
  ------------------
 7222|   190k|    }
 7223|   190k|#line 7224 "MachineIndependent/glslang_tab.cpp"
 7224|   190k|    break;
 7225|       |
 7226|   215k|  case 131: /* parameter_type_specifier: type_specifier  */
  ------------------
  |  Branch (7226:3): [True: 215k, False: 2.73M]
  ------------------
 7227|   215k|#line 1184 "MachineIndependent/glslang.y"
 7228|   215k|                     {
 7229|   215k|        TParameter param = { 0, new TType((yyvsp[0].interm.type)), {} };
 7230|   215k|        (yyval.interm).param = param;
 7231|   215k|        if ((yyvsp[0].interm.type).arraySizes)
  ------------------
  |  Branch (7231:13): [True: 1.24k, False: 214k]
  ------------------
 7232|  1.24k|            parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
  ------------------
  |  |  783|  1.24k|#define parseContext (*pParseContext)
  ------------------
 7233|   215k|    }
 7234|   215k|#line 7235 "MachineIndependent/glslang_tab.cpp"
 7235|   215k|    break;
 7236|       |
 7237|  3.87k|  case 132: /* init_declarator_list: single_declaration  */
  ------------------
  |  Branch (7237:3): [True: 3.87k, False: 2.94M]
  ------------------
 7238|  3.87k|#line 1193 "MachineIndependent/glslang.y"
 7239|  3.87k|                         {
 7240|  3.87k|        (yyval.interm) = (yyvsp[0].interm);
 7241|  3.87k|    }
 7242|  3.87k|#line 7243 "MachineIndependent/glslang_tab.cpp"
 7243|  3.87k|    break;
 7244|       |
 7245|     13|  case 133: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (7245:3): [True: 13, False: 2.95M]
  ------------------
 7246|     13|#line 1196 "MachineIndependent/glslang.y"
 7247|     13|                                            {
 7248|     13|        (yyval.interm) = (yyvsp[-2].interm);
 7249|     13|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
  ------------------
  |  |  783|     13|#define parseContext (*pParseContext)
  ------------------
 7250|     13|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|     13|#define parseContext (*pParseContext)
  ------------------
 7251|     13|    }
 7252|     13|#line 7253 "MachineIndependent/glslang_tab.cpp"
 7253|     13|    break;
 7254|       |
 7255|      1|  case 134: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7255:3): [True: 1, False: 2.95M]
  ------------------
 7256|      1|#line 1201 "MachineIndependent/glslang.y"
 7257|      1|                                                            {
 7258|      1|        (yyval.interm) = (yyvsp[-3].interm);
 7259|      1|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7260|      1|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-3].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      1|#define parseContext (*pParseContext)
  ------------------
 7261|      1|    }
 7262|      1|#line 7263 "MachineIndependent/glslang_tab.cpp"
 7263|      1|    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.95M]
  ------------------
 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|      2|  case 136: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7275:3): [True: 2, False: 2.95M]
  ------------------
 7276|      2|#line 1211 "MachineIndependent/glslang.y"
 7277|      2|                                                              {
 7278|      2|        (yyval.interm).type = (yyvsp[-4].interm).type;
 7279|      2|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7280|      2|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      2|#define parseContext (*pParseContext)
  ------------------
 7281|      2|    }
 7282|      2|#line 7283 "MachineIndependent/glslang_tab.cpp"
 7283|      2|    break;
 7284|       |
 7285|    138|  case 137: /* single_declaration: fully_specified_type  */
  ------------------
  |  Branch (7285:3): [True: 138, False: 2.94M]
  ------------------
 7286|    138|#line 1219 "MachineIndependent/glslang.y"
 7287|    138|                           {
 7288|    138|        (yyval.interm).type = (yyvsp[0].interm.type);
 7289|    138|        (yyval.interm).intermNode = 0;
 7290|    138|        parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
  ------------------
  |  |  783|    138|#define parseContext (*pParseContext)
  ------------------
 7291|    138|    }
 7292|    138|#line 7293 "MachineIndependent/glslang_tab.cpp"
 7293|    138|    break;
 7294|       |
 7295|  2.75k|  case 138: /* single_declaration: fully_specified_type IDENTIFIER  */
  ------------------
  |  Branch (7295:3): [True: 2.75k, False: 2.94M]
  ------------------
 7296|  2.75k|#line 1224 "MachineIndependent/glslang.y"
 7297|  2.75k|                                      {
 7298|  2.75k|        (yyval.interm).type = (yyvsp[-1].interm.type);
 7299|  2.75k|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
  ------------------
  |  |  783|  2.75k|#define parseContext (*pParseContext)
  ------------------
 7300|  2.75k|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[0].lex).loc);
  ------------------
  |  |  783|  2.75k|#define parseContext (*pParseContext)
  ------------------
 7301|       |
 7302|  2.75k|    }
 7303|  2.75k|#line 7304 "MachineIndependent/glslang_tab.cpp"
 7304|  2.75k|    break;
 7305|       |
 7306|    154|  case 139: /* single_declaration: fully_specified_type IDENTIFIER array_specifier  */
  ------------------
  |  Branch (7306:3): [True: 154, False: 2.94M]
  ------------------
 7307|    154|#line 1230 "MachineIndependent/glslang.y"
 7308|    154|                                                      {
 7309|    154|        (yyval.interm).type = (yyvsp[-2].interm.type);
 7310|    154|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
 7311|    154|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
 7312|    154|    }
 7313|    154|#line 7314 "MachineIndependent/glslang_tab.cpp"
 7314|    154|    break;
 7315|       |
 7316|      0|  case 140: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer  */
  ------------------
  |  Branch (7316:3): [True: 0, False: 2.95M]
  ------------------
 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|    827|  case 141: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (7326:3): [True: 827, False: 2.94M]
  ------------------
 7327|    827|#line 1240 "MachineIndependent/glslang.y"
 7328|    827|                                                        {
 7329|    827|        (yyval.interm).type = (yyvsp[-3].interm.type);
 7330|    827|        TIntermNode* declNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|    827|#define parseContext (*pParseContext)
  ------------------
 7331|    827|        (yyval.interm).intermNode = parseContext.intermediate.growAggregate(nullptr, declNode, (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|    827|#define parseContext (*pParseContext)
  ------------------
 7332|    827|    }
 7333|    827|#line 7334 "MachineIndependent/glslang_tab.cpp"
 7334|    827|    break;
 7335|       |
 7336|  94.3k|  case 142: /* fully_specified_type: type_specifier  */
  ------------------
  |  Branch (7336:3): [True: 94.3k, False: 2.85M]
  ------------------
 7337|  94.3k|#line 1249 "MachineIndependent/glslang.y"
 7338|  94.3k|                     {
 7339|  94.3k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7340|       |
 7341|  94.3k|        parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
  ------------------
  |  |  783|  94.3k|#define parseContext (*pParseContext)
  ------------------
 7342|  94.3k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7342:13): [True: 0, False: 94.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|  94.3k|        parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier, (yyval.interm.type).hasTypeParameter());
  ------------------
  |  |  783|  94.3k|#define parseContext (*pParseContext)
  ------------------
 7347|  94.3k|    }
 7348|  94.3k|#line 7349 "MachineIndependent/glslang_tab.cpp"
 7349|  94.3k|    break;
 7350|       |
 7351|  9.00k|  case 143: /* fully_specified_type: type_qualifier type_specifier  */
  ------------------
  |  Branch (7351:3): [True: 9.00k, False: 2.94M]
  ------------------
 7352|  9.00k|#line 1259 "MachineIndependent/glslang.y"
 7353|  9.00k|                                     {
 7354|  9.00k|        parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, false, &(yyvsp[0].interm.type));
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
 7355|  9.00k|        parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
 7356|       |
 7357|  9.00k|        if ((yyvsp[0].interm.type).arraySizes) {
  ------------------
  |  Branch (7357:13): [True: 0, False: 9.00k]
  ------------------
 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|  9.00k|        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: 9.00k]
  |  Branch (7362:50): [True: 0, False: 0]
  ------------------
 7363|      0|            (yyvsp[0].interm.type).arraySizes = nullptr;
 7364|       |
 7365|  9.00k|        parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
 7366|  9.00k|        (yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
 7367|  9.00k|        parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
 7368|  9.00k|        parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier, (yyvsp[0].interm.type).hasTypeParameter());
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
 7369|       |
 7370|  9.00k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7371|       |
 7372|  9.00k|        if (! (yyval.interm.type).qualifier.isInterpolation() &&
  ------------------
  |  Branch (7372:13): [True: 9.00k, False: 0]
  ------------------
 7373|  9.00k|            ((parseContext.language == EShLangVertex   && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
  ------------------
  |  |  783|  9.00k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7373:15): [True: 6.15k, False: 2.85k]
  |  Branch (7373:59): [True: 56, False: 6.09k]
  ------------------
 7374|  8.95k|             (parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
  ------------------
  |  |  783|  8.95k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7374:15): [True: 24, False: 8.92k]
  |  Branch (7374:59): [True: 0, False: 24]
  ------------------
 7375|     56|            (yyval.interm.type).qualifier.smooth = true;
 7376|  9.00k|    }
 7377|  9.00k|#line 7378 "MachineIndependent/glslang_tab.cpp"
 7378|  9.00k|    break;
 7379|       |
 7380|      0|  case 144: /* invariant_qualifier: INVARIANT  */
  ------------------
  |  Branch (7380:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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|      0|  case 146: /* interpolation_qualifier: FLAT  */
  ------------------
  |  Branch (7403:3): [True: 0, False: 2.95M]
  ------------------
 7404|      0|#line 1302 "MachineIndependent/glslang.y"
 7405|      0|           {
 7406|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7407|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7408|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7409|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7410|      0|        (yyval.interm.type).qualifier.flat = true;
 7411|      0|    }
 7412|      0|#line 7413 "MachineIndependent/glslang_tab.cpp"
 7413|      0|    break;
 7414|       |
 7415|      0|  case 147: /* interpolation_qualifier: NOPERSPECTIVE  */
  ------------------
  |  Branch (7415:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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|      7|  case 151: /* interpolation_qualifier: PERPRIMITIVENV  */
  ------------------
  |  Branch (7465:3): [True: 7, False: 2.95M]
  ------------------
 7466|      7|#line 1339 "MachineIndependent/glslang.y"
 7467|      7|                     {
 7468|       |        // No need for profile version or extension check. Shader stage already checks both.
 7469|      7|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 7470|      7|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveNV");
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 7471|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7472|      7|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7472:13): [True: 0, False: 7]
  ------------------
 7473|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7474|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7475|      7|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7476|      7|    }
 7477|      7|#line 7478 "MachineIndependent/glslang_tab.cpp"
 7478|      7|    break;
 7479|       |
 7480|      7|  case 152: /* interpolation_qualifier: PERPRIMITIVEEXT  */
  ------------------
  |  Branch (7480:3): [True: 7, False: 2.95M]
  ------------------
 7481|      7|#line 1349 "MachineIndependent/glslang.y"
 7482|      7|                      {
 7483|       |        // No need for profile version or extension check. Shader stage already checks both.
 7484|      7|        parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveEXT");
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 7485|      7|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshMask), "perprimitiveEXT");
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 7486|       |        // Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
 7487|      7|        if (parseContext.language == EShLangFragment)
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7487:13): [True: 0, False: 7]
  ------------------
 7488|      0|            parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_mesh_shader, "perprimitiveEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7489|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7490|      7|        (yyval.interm.type).qualifier.perPrimitiveNV = true;
 7491|      7|    }
 7492|      7|#line 7493 "MachineIndependent/glslang_tab.cpp"
 7493|      7|    break;
 7494|       |
 7495|     35|  case 153: /* interpolation_qualifier: PERVIEWNV  */
  ------------------
  |  Branch (7495:3): [True: 35, False: 2.95M]
  ------------------
 7496|     35|#line 1359 "MachineIndependent/glslang.y"
 7497|     35|                {
 7498|       |        // No need for profile version or extension check. Shader stage already checks both.
 7499|     35|        parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 7500|     35|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangMesh, "perviewNV");
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 7501|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7502|     35|        (yyval.interm.type).qualifier.perViewNV = true;
 7503|     35|    }
 7504|     35|#line 7505 "MachineIndependent/glslang_tab.cpp"
 7505|     35|    break;
 7506|       |
 7507|      0|  case 154: /* interpolation_qualifier: PERTASKNV  */
  ------------------
  |  Branch (7507:3): [True: 0, False: 2.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 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.95M]
  ------------------
 7536|      0|#line 1385 "MachineIndependent/glslang.y"
 7537|      0|                                                         {
 7538|      0|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 7539|      0|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7540|      0|        parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7541|      0|    }
 7542|      0|#line 7543 "MachineIndependent/glslang_tab.cpp"
 7543|      0|    break;
 7544|       |
 7545|      0|  case 158: /* layout_qualifier_id: IDENTIFIER  */
  ------------------
  |  Branch (7545:3): [True: 0, False: 2.95M]
  ------------------
 7546|      0|#line 1392 "MachineIndependent/glslang.y"
 7547|      0|                 {
 7548|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7549|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7550|      0|    }
 7551|      0|#line 7552 "MachineIndependent/glslang_tab.cpp"
 7552|      0|    break;
 7553|       |
 7554|      0|  case 159: /* layout_qualifier_id: IDENTIFIER EQUAL assignment_expression  */
  ------------------
  |  Branch (7554:3): [True: 0, False: 2.95M]
  ------------------
 7555|      0|#line 1396 "MachineIndependent/glslang.y"
 7556|      0|                                             {
 7557|      0|        (yyval.interm.type).init((yyvsp[-2].lex).loc);
 7558|      0|        parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7559|      0|    }
 7560|      0|#line 7561 "MachineIndependent/glslang_tab.cpp"
 7561|      0|    break;
 7562|       |
 7563|      0|  case 160: /* layout_qualifier_id: SHARED  */
  ------------------
  |  Branch (7563:3): [True: 0, False: 2.95M]
  ------------------
 7564|      0|#line 1400 "MachineIndependent/glslang.y"
 7565|      0|             { // because "shared" is both an identifier and a keyword
 7566|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7567|      0|        TString strShared("shared");
 7568|      0|        parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7569|      0|    }
 7570|      0|#line 7571 "MachineIndependent/glslang_tab.cpp"
 7571|      0|    break;
 7572|       |
 7573|      0|  case 161: /* precise_qualifier: PRECISE  */
  ------------------
  |  Branch (7573:3): [True: 0, False: 2.95M]
  ------------------
 7574|      0|#line 1408 "MachineIndependent/glslang.y"
 7575|      0|              {
 7576|      0|        parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7577|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7578|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7579|      0|        (yyval.interm.type).qualifier.noContraction = true;
 7580|      0|    }
 7581|      0|#line 7582 "MachineIndependent/glslang_tab.cpp"
 7582|      0|    break;
 7583|       |
 7584|  41.8k|  case 162: /* type_qualifier: single_type_qualifier  */
  ------------------
  |  Branch (7584:3): [True: 41.8k, False: 2.90M]
  ------------------
 7585|  41.8k|#line 1417 "MachineIndependent/glslang.y"
 7586|  41.8k|                            {
 7587|  41.8k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7588|  41.8k|    }
 7589|  41.8k|#line 7590 "MachineIndependent/glslang_tab.cpp"
 7590|  41.8k|    break;
 7591|       |
 7592|  35.3k|  case 163: /* type_qualifier: type_qualifier single_type_qualifier  */
  ------------------
  |  Branch (7592:3): [True: 35.3k, False: 2.91M]
  ------------------
 7593|  35.3k|#line 1420 "MachineIndependent/glslang.y"
 7594|  35.3k|                                           {
 7595|  35.3k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 7596|  35.3k|        if ((yyval.interm.type).basicType == EbtVoid)
  ------------------
  |  Branch (7596:13): [True: 35.3k, False: 0]
  ------------------
 7597|  35.3k|            (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
 7598|       |
 7599|  35.3k|        (yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
 7600|  35.3k|        parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
  ------------------
  |  |  783|  35.3k|#define parseContext (*pParseContext)
  ------------------
 7601|  35.3k|    }
 7602|  35.3k|#line 7603 "MachineIndependent/glslang_tab.cpp"
 7603|  35.3k|    break;
 7604|       |
 7605|  62.7k|  case 164: /* single_type_qualifier: storage_qualifier  */
  ------------------
  |  Branch (7605:3): [True: 62.7k, False: 2.88M]
  ------------------
 7606|  62.7k|#line 1431 "MachineIndependent/glslang.y"
 7607|  62.7k|                        {
 7608|  62.7k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7609|  62.7k|    }
 7610|  62.7k|#line 7611 "MachineIndependent/glslang_tab.cpp"
 7611|  62.7k|    break;
 7612|       |
 7613|      0|  case 165: /* single_type_qualifier: layout_qualifier  */
  ------------------
  |  Branch (7613:3): [True: 0, False: 2.95M]
  ------------------
 7614|      0|#line 1434 "MachineIndependent/glslang.y"
 7615|      0|                       {
 7616|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7617|      0|    }
 7618|      0|#line 7619 "MachineIndependent/glslang_tab.cpp"
 7619|      0|    break;
 7620|       |
 7621|  14.4k|  case 166: /* single_type_qualifier: precision_qualifier  */
  ------------------
  |  Branch (7621:3): [True: 14.4k, False: 2.93M]
  ------------------
 7622|  14.4k|#line 1437 "MachineIndependent/glslang.y"
 7623|  14.4k|                          {
 7624|  14.4k|        parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
  ------------------
  |  |  783|  14.4k|#define parseContext (*pParseContext)
  ------------------
 7625|  14.4k|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7626|  14.4k|    }
 7627|  14.4k|#line 7628 "MachineIndependent/glslang_tab.cpp"
 7628|  14.4k|    break;
 7629|       |
 7630|     49|  case 167: /* single_type_qualifier: interpolation_qualifier  */
  ------------------
  |  Branch (7630:3): [True: 49, False: 2.95M]
  ------------------
 7631|     49|#line 1441 "MachineIndependent/glslang.y"
 7632|     49|                              {
 7633|       |        // allow inheritance of storage qualifier from block declaration
 7634|     49|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7635|     49|    }
 7636|     49|#line 7637 "MachineIndependent/glslang_tab.cpp"
 7637|     49|    break;
 7638|       |
 7639|      0|  case 168: /* single_type_qualifier: invariant_qualifier  */
  ------------------
  |  Branch (7639:3): [True: 0, False: 2.95M]
  ------------------
 7640|      0|#line 1445 "MachineIndependent/glslang.y"
 7641|      0|                          {
 7642|       |        // allow inheritance of storage qualifier from block declaration
 7643|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7644|      0|    }
 7645|      0|#line 7646 "MachineIndependent/glslang_tab.cpp"
 7646|      0|    break;
 7647|       |
 7648|      0|  case 169: /* single_type_qualifier: precise_qualifier  */
  ------------------
  |  Branch (7648:3): [True: 0, False: 2.95M]
  ------------------
 7649|      0|#line 1449 "MachineIndependent/glslang.y"
 7650|      0|                        {
 7651|       |        // allow inheritance of storage qualifier from block declaration
 7652|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7653|      0|    }
 7654|      0|#line 7655 "MachineIndependent/glslang_tab.cpp"
 7655|      0|    break;
 7656|       |
 7657|      0|  case 170: /* single_type_qualifier: non_uniform_qualifier  */
  ------------------
  |  Branch (7657:3): [True: 0, False: 2.95M]
  ------------------
 7658|      0|#line 1453 "MachineIndependent/glslang.y"
 7659|      0|                            {
 7660|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7661|      0|    }
 7662|      0|#line 7663 "MachineIndependent/glslang_tab.cpp"
 7663|      0|    break;
 7664|       |
 7665|      0|  case 171: /* single_type_qualifier: spirv_storage_class_qualifier  */
  ------------------
  |  Branch (7665:3): [True: 0, False: 2.95M]
  ------------------
 7666|      0|#line 1456 "MachineIndependent/glslang.y"
 7667|      0|                                    {
 7668|      0|        parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7669|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7670|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7671|      0|    }
 7672|      0|#line 7673 "MachineIndependent/glslang_tab.cpp"
 7673|      0|    break;
 7674|       |
 7675|      0|  case 172: /* single_type_qualifier: spirv_decorate_qualifier  */
  ------------------
  |  Branch (7675:3): [True: 0, False: 2.95M]
  ------------------
 7676|      0|#line 1461 "MachineIndependent/glslang.y"
 7677|      0|                               {
 7678|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7679|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
 7680|      0|    }
 7681|      0|#line 7682 "MachineIndependent/glslang_tab.cpp"
 7682|      0|    break;
 7683|       |
 7684|      0|  case 173: /* single_type_qualifier: SPIRV_BY_REFERENCE  */
  ------------------
  |  Branch (7684:3): [True: 0, False: 2.95M]
  ------------------
 7685|      0|#line 1465 "MachineIndependent/glslang.y"
 7686|      0|                         {
 7687|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7688|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7689|      0|        (yyval.interm.type).qualifier.setSpirvByReference();
 7690|      0|    }
 7691|      0|#line 7692 "MachineIndependent/glslang_tab.cpp"
 7692|      0|    break;
 7693|       |
 7694|      0|  case 174: /* single_type_qualifier: SPIRV_LITERAL  */
  ------------------
  |  Branch (7694:3): [True: 0, False: 2.95M]
  ------------------
 7695|      0|#line 1470 "MachineIndependent/glslang.y"
 7696|      0|                    {
 7697|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7698|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7699|      0|        (yyval.interm.type).qualifier.setSpirvLiteral();
 7700|      0|    }
 7701|      0|#line 7702 "MachineIndependent/glslang_tab.cpp"
 7702|      0|    break;
 7703|       |
 7704|    827|  case 175: /* storage_qualifier: CONST  */
  ------------------
  |  Branch (7704:3): [True: 827, False: 2.94M]
  ------------------
 7705|    827|#line 1478 "MachineIndependent/glslang.y"
 7706|    827|            {
 7707|    827|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7708|    827|        (yyval.interm.type).qualifier.storage = EvqConst;  // will later turn into EvqConstReadOnly, if the initializer is not constant
 7709|    827|    }
 7710|    827|#line 7711 "MachineIndependent/glslang_tab.cpp"
 7711|    827|    break;
 7712|       |
 7713|    756|  case 176: /* storage_qualifier: INOUT  */
  ------------------
  |  Branch (7713:3): [True: 756, False: 2.94M]
  ------------------
 7714|    756|#line 1482 "MachineIndependent/glslang.y"
 7715|    756|            {
 7716|    756|        parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
  ------------------
  |  |  783|    756|#define parseContext (*pParseContext)
  ------------------
 7717|    756|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7718|    756|        (yyval.interm.type).qualifier.storage = EvqInOut;
 7719|    756|    }
 7720|    756|#line 7721 "MachineIndependent/glslang_tab.cpp"
 7721|    756|    break;
 7722|       |
 7723|  2.51k|  case 177: /* storage_qualifier: IN  */
  ------------------
  |  Branch (7723:3): [True: 2.51k, False: 2.94M]
  ------------------
 7724|  2.51k|#line 1487 "MachineIndependent/glslang.y"
 7725|  2.51k|         {
 7726|  2.51k|        parseContext.globalCheck((yyvsp[0].lex).loc, "in");
  ------------------
  |  |  783|  2.51k|#define parseContext (*pParseContext)
  ------------------
 7727|  2.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7728|       |        // whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
 7729|  2.51k|        (yyval.interm.type).qualifier.storage = EvqIn;
 7730|  2.51k|    }
 7731|  2.51k|#line 7732 "MachineIndependent/glslang_tab.cpp"
 7732|  2.51k|    break;
 7733|       |
 7734|  11.2k|  case 178: /* storage_qualifier: OUT  */
  ------------------
  |  Branch (7734:3): [True: 11.2k, False: 2.93M]
  ------------------
 7735|  11.2k|#line 1493 "MachineIndependent/glslang.y"
 7736|  11.2k|          {
 7737|  11.2k|        parseContext.globalCheck((yyvsp[0].lex).loc, "out");
  ------------------
  |  |  783|  11.2k|#define parseContext (*pParseContext)
  ------------------
 7738|  11.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7739|       |        // whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
 7740|  11.2k|        (yyval.interm.type).qualifier.storage = EvqOut;
 7741|  11.2k|    }
 7742|  11.2k|#line 7743 "MachineIndependent/glslang_tab.cpp"
 7743|  11.2k|    break;
 7744|       |
 7745|      0|  case 179: /* storage_qualifier: CENTROID  */
  ------------------
  |  Branch (7745:3): [True: 0, False: 2.95M]
  ------------------
 7746|      0|#line 1499 "MachineIndependent/glslang.y"
 7747|      0|               {
 7748|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7749|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7750|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7751|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7752|      0|        (yyval.interm.type).qualifier.centroid = true;
 7753|      0|    }
 7754|      0|#line 7755 "MachineIndependent/glslang_tab.cpp"
 7755|      0|    break;
 7756|       |
 7757|    106|  case 180: /* storage_qualifier: UNIFORM  */
  ------------------
  |  Branch (7757:3): [True: 106, False: 2.94M]
  ------------------
 7758|    106|#line 1506 "MachineIndependent/glslang.y"
 7759|    106|              {
 7760|    106|        parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
  ------------------
  |  |  783|    106|#define parseContext (*pParseContext)
  ------------------
 7761|    106|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7762|    106|        (yyval.interm.type).qualifier.storage = EvqUniform;
 7763|    106|    }
 7764|    106|#line 7765 "MachineIndependent/glslang_tab.cpp"
 7765|    106|    break;
 7766|       |
 7767|      0|  case 181: /* storage_qualifier: TILEIMAGEEXT  */
  ------------------
  |  Branch (7767:3): [True: 0, False: 2.95M]
  ------------------
 7768|      0|#line 1511 "MachineIndependent/glslang.y"
 7769|      0|                   {
 7770|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "tileImageEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7771|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7772|      0|        (yyval.interm.type).qualifier.storage = EvqTileImageEXT;
 7773|      0|    }
 7774|      0|#line 7775 "MachineIndependent/glslang_tab.cpp"
 7775|      0|    break;
 7776|       |
 7777|      0|  case 182: /* storage_qualifier: SHARED  */
  ------------------
  |  Branch (7777:3): [True: 0, False: 2.95M]
  ------------------
 7778|      0|#line 1516 "MachineIndependent/glslang.y"
 7779|      0|             {
 7780|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7781|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7782|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7783|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshMask | EShLangTaskMask), "shared");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7785|      0|        (yyval.interm.type).qualifier.storage = EvqShared;
 7786|      0|    }
 7787|      0|#line 7788 "MachineIndependent/glslang_tab.cpp"
 7788|      0|    break;
 7789|       |
 7790|      0|  case 183: /* storage_qualifier: BUFFER  */
  ------------------
  |  Branch (7790:3): [True: 0, False: 2.95M]
  ------------------
 7791|      0|#line 1524 "MachineIndependent/glslang.y"
 7792|      0|             {
 7793|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7794|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7795|      0|        (yyval.interm.type).qualifier.storage = EvqBuffer;
 7796|      0|    }
 7797|      0|#line 7798 "MachineIndependent/glslang_tab.cpp"
 7798|      0|    break;
 7799|       |
 7800|      0|  case 184: /* storage_qualifier: ATTRIBUTE  */
  ------------------
  |  Branch (7800:3): [True: 0, False: 2.95M]
  ------------------
 7801|      0|#line 1529 "MachineIndependent/glslang.y"
 7802|      0|                {
 7803|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7804|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7805|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7806|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7807|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7808|       |
 7809|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7810|       |
 7811|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7812|      0|        (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7813|      0|    }
 7814|      0|#line 7815 "MachineIndependent/glslang_tab.cpp"
 7815|      0|    break;
 7816|       |
 7817|      0|  case 185: /* storage_qualifier: VARYING  */
  ------------------
  |  Branch (7817:3): [True: 0, False: 2.95M]
  ------------------
 7818|      0|#line 1541 "MachineIndependent/glslang.y"
 7819|      0|              {
 7820|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7821|      0|        parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7822|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7823|      0|        parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7824|       |
 7825|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7826|       |
 7827|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7828|      0|        if (parseContext.language == EShLangVertex)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (7828:13): [True: 0, False: 0]
  ------------------
 7829|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingOut;
 7830|      0|        else
 7831|      0|            (yyval.interm.type).qualifier.storage = EvqVaryingIn;
 7832|      0|    }
 7833|      0|#line 7834 "MachineIndependent/glslang_tab.cpp"
 7834|      0|    break;
 7835|       |
 7836|     28|  case 186: /* storage_qualifier: PATCH  */
  ------------------
  |  Branch (7836:3): [True: 28, False: 2.95M]
  ------------------
 7837|     28|#line 1555 "MachineIndependent/glslang.y"
 7838|     28|            {
 7839|     28|        parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 7840|     28|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 7841|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7842|     28|        (yyval.interm.type).qualifier.patch = true;
 7843|     28|    }
 7844|     28|#line 7845 "MachineIndependent/glslang_tab.cpp"
 7845|     28|    break;
 7846|       |
 7847|      0|  case 187: /* storage_qualifier: SAMPLE  */
  ------------------
  |  Branch (7847:3): [True: 0, False: 2.95M]
  ------------------
 7848|      0|#line 1561 "MachineIndependent/glslang.y"
 7849|      0|             {
 7850|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7851|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7852|      0|        (yyval.interm.type).qualifier.sample = true;
 7853|      0|    }
 7854|      0|#line 7855 "MachineIndependent/glslang_tab.cpp"
 7855|      0|    break;
 7856|       |
 7857|      0|  case 188: /* storage_qualifier: RESOURCEHEAP  */
  ------------------
  |  Branch (7857:3): [True: 0, False: 2.95M]
  ------------------
 7858|      0|#line 1566 "MachineIndependent/glslang.y"
 7859|      0|                   {
 7860|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "resourceHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7862|      0|        (yyval.interm.type).qualifier.storage = EvqResourceHeap;
 7863|      0|    }
 7864|      0|#line 7865 "MachineIndependent/glslang_tab.cpp"
 7865|      0|    break;
 7866|       |
 7867|      0|  case 189: /* storage_qualifier: SAMPLERHEAP  */
  ------------------
  |  Branch (7867:3): [True: 0, False: 2.95M]
  ------------------
 7868|      0|#line 1571 "MachineIndependent/glslang.y"
 7869|      0|                  {
 7870|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "samplerHeap");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7871|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7872|      0|        (yyval.interm.type).qualifier.storage = EvqSamplerHeap;
 7873|      0|    }
 7874|      0|#line 7875 "MachineIndependent/glslang_tab.cpp"
 7875|      0|    break;
 7876|       |
 7877|      0|  case 190: /* storage_qualifier: HITATTRNV  */
  ------------------
  |  Branch (7877:3): [True: 0, False: 2.95M]
  ------------------
 7878|      0|#line 1576 "MachineIndependent/glslang.y"
 7879|      0|                {
 7880|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7881|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7882|      0|            | EShLangAnyHitMask), "hitAttributeNV");
 7883|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7884|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7885|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7886|      0|    }
 7887|      0|#line 7888 "MachineIndependent/glslang_tab.cpp"
 7888|      0|    break;
 7889|       |
 7890|      0|  case 191: /* storage_qualifier: HITOBJECTATTRNV  */
  ------------------
  |  Branch (7890:3): [True: 0, False: 2.95M]
  ------------------
 7891|      0|#line 1584 "MachineIndependent/glslang.y"
 7892|      0|                      {
 7893|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7894|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7895|      0|            | EShLangMissMask), "hitObjectAttributeNV");
 7896|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_shader_invocation_reorder, "hitObjectAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7897|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7898|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrNV;
 7899|      0|    }
 7900|      0|#line 7901 "MachineIndependent/glslang_tab.cpp"
 7901|      0|    break;
 7902|       |
 7903|      0|  case 192: /* storage_qualifier: HITOBJECTATTREXT  */
  ------------------
  |  Branch (7903:3): [True: 0, False: 2.95M]
  ------------------
 7904|      0|#line 1592 "MachineIndependent/glslang.y"
 7905|      0|                       {
 7906|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7907|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7908|      0|            | EShLangMissMask), "hitObjectAttributeEXT");
 7909|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_shader_invocation_reorder, "hitObjectAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7910|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7911|      0|        (yyval.interm.type).qualifier.storage = EvqHitObjectAttrEXT;
 7912|      0|    }
 7913|      0|#line 7914 "MachineIndependent/glslang_tab.cpp"
 7914|      0|    break;
 7915|       |
 7916|      0|  case 193: /* storage_qualifier: HITATTREXT  */
  ------------------
  |  Branch (7916:3): [True: 0, False: 2.95M]
  ------------------
 7917|      0|#line 1600 "MachineIndependent/glslang.y"
 7918|      0|                 {
 7919|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7920|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7921|      0|            | EShLangAnyHitMask), "hitAttributeEXT");
 7922|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7923|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7924|      0|        (yyval.interm.type).qualifier.storage = EvqHitAttr;
 7925|      0|    }
 7926|      0|#line 7927 "MachineIndependent/glslang_tab.cpp"
 7927|      0|    break;
 7928|       |
 7929|      0|  case 194: /* storage_qualifier: PAYLOADNV  */
  ------------------
  |  Branch (7929:3): [True: 0, False: 2.95M]
  ------------------
 7930|      0|#line 1608 "MachineIndependent/glslang.y"
 7931|      0|                {
 7932|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7933|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7934|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
 7935|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7936|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7937|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7938|      0|    }
 7939|      0|#line 7940 "MachineIndependent/glslang_tab.cpp"
 7940|      0|    break;
 7941|       |
 7942|      0|  case 195: /* storage_qualifier: PAYLOADEXT  */
  ------------------
  |  Branch (7942:3): [True: 0, False: 2.95M]
  ------------------
 7943|      0|#line 1616 "MachineIndependent/glslang.y"
 7944|      0|                 {
 7945|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7946|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7947|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
 7948|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7950|      0|        (yyval.interm.type).qualifier.storage = EvqPayload;
 7951|      0|    }
 7952|      0|#line 7953 "MachineIndependent/glslang_tab.cpp"
 7953|      0|    break;
 7954|       |
 7955|      0|  case 196: /* storage_qualifier: PAYLOADINNV  */
  ------------------
  |  Branch (7955:3): [True: 0, False: 2.95M]
  ------------------
 7956|      0|#line 1624 "MachineIndependent/glslang.y"
 7957|      0|                  {
 7958|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7959|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7960|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
 7961|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7962|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7963|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7964|      0|    }
 7965|      0|#line 7966 "MachineIndependent/glslang_tab.cpp"
 7966|      0|    break;
 7967|       |
 7968|      0|  case 197: /* storage_qualifier: PAYLOADINEXT  */
  ------------------
  |  Branch (7968:3): [True: 0, False: 2.95M]
  ------------------
 7969|      0|#line 1632 "MachineIndependent/glslang.y"
 7970|      0|                   {
 7971|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7972|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7973|      0|            EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
 7974|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7975|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7976|      0|        (yyval.interm.type).qualifier.storage = EvqPayloadIn;
 7977|      0|    }
 7978|      0|#line 7979 "MachineIndependent/glslang_tab.cpp"
 7979|      0|    break;
 7980|       |
 7981|      0|  case 198: /* storage_qualifier: CALLDATANV  */
  ------------------
  |  Branch (7981:3): [True: 0, False: 2.95M]
  ------------------
 7982|      0|#line 1640 "MachineIndependent/glslang.y"
 7983|      0|                 {
 7984|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7985|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7986|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
 7987|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7988|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 7989|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 7990|      0|    }
 7991|      0|#line 7992 "MachineIndependent/glslang_tab.cpp"
 7992|      0|    break;
 7993|       |
 7994|      0|  case 199: /* storage_qualifier: CALLDATAEXT  */
  ------------------
  |  Branch (7994:3): [True: 0, False: 2.95M]
  ------------------
 7995|      0|#line 1648 "MachineIndependent/glslang.y"
 7996|      0|                  {
 7997|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7998|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 7999|      0|            EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
 8000|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8001|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8002|      0|        (yyval.interm.type).qualifier.storage = EvqCallableData;
 8003|      0|    }
 8004|      0|#line 8005 "MachineIndependent/glslang_tab.cpp"
 8005|      0|    break;
 8006|       |
 8007|      0|  case 200: /* storage_qualifier: CALLDATAINNV  */
  ------------------
  |  Branch (8007:3): [True: 0, False: 2.95M]
  ------------------
 8008|      0|#line 1656 "MachineIndependent/glslang.y"
 8009|      0|                   {
 8010|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8011|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8012|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8013|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8014|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8015|      0|    }
 8016|      0|#line 8017 "MachineIndependent/glslang_tab.cpp"
 8017|      0|    break;
 8018|       |
 8019|      0|  case 201: /* storage_qualifier: CALLDATAINEXT  */
  ------------------
  |  Branch (8019:3): [True: 0, False: 2.95M]
  ------------------
 8020|      0|#line 1663 "MachineIndependent/glslang.y"
 8021|      0|                    {
 8022|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8023|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8024|      0|        parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8025|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8026|      0|        (yyval.interm.type).qualifier.storage = EvqCallableDataIn;
 8027|      0|    }
 8028|      0|#line 8029 "MachineIndependent/glslang_tab.cpp"
 8029|      0|    break;
 8030|       |
 8031|  14.6k|  case 202: /* storage_qualifier: COHERENT  */
  ------------------
  |  Branch (8031:3): [True: 14.6k, False: 2.93M]
  ------------------
 8032|  14.6k|#line 1670 "MachineIndependent/glslang.y"
 8033|  14.6k|               {
 8034|  14.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8035|  14.6k|        (yyval.interm.type).qualifier.coherent = true;
 8036|  14.6k|    }
 8037|  14.6k|#line 8038 "MachineIndependent/glslang_tab.cpp"
 8038|  14.6k|    break;
 8039|       |
 8040|      0|  case 203: /* storage_qualifier: DEVICECOHERENT  */
  ------------------
  |  Branch (8040:3): [True: 0, False: 2.95M]
  ------------------
 8041|      0|#line 1674 "MachineIndependent/glslang.y"
 8042|      0|                     {
 8043|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8044|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8045|      0|        (yyval.interm.type).qualifier.devicecoherent = true;
 8046|      0|    }
 8047|      0|#line 8048 "MachineIndependent/glslang_tab.cpp"
 8048|      0|    break;
 8049|       |
 8050|      0|  case 204: /* storage_qualifier: QUEUEFAMILYCOHERENT  */
  ------------------
  |  Branch (8050:3): [True: 0, False: 2.95M]
  ------------------
 8051|      0|#line 1679 "MachineIndependent/glslang.y"
 8052|      0|                          {
 8053|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8054|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8055|      0|        (yyval.interm.type).qualifier.queuefamilycoherent = true;
 8056|      0|    }
 8057|      0|#line 8058 "MachineIndependent/glslang_tab.cpp"
 8058|      0|    break;
 8059|       |
 8060|      0|  case 205: /* storage_qualifier: WORKGROUPCOHERENT  */
  ------------------
  |  Branch (8060:3): [True: 0, False: 2.95M]
  ------------------
 8061|      0|#line 1684 "MachineIndependent/glslang.y"
 8062|      0|                        {
 8063|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8064|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8065|      0|        (yyval.interm.type).qualifier.workgroupcoherent = true;
 8066|      0|    }
 8067|      0|#line 8068 "MachineIndependent/glslang_tab.cpp"
 8068|      0|    break;
 8069|       |
 8070|      0|  case 206: /* storage_qualifier: SUBGROUPCOHERENT  */
  ------------------
  |  Branch (8070:3): [True: 0, False: 2.95M]
  ------------------
 8071|      0|#line 1689 "MachineIndependent/glslang.y"
 8072|      0|                       {
 8073|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8074|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8075|      0|        (yyval.interm.type).qualifier.subgroupcoherent = true;
 8076|      0|    }
 8077|      0|#line 8078 "MachineIndependent/glslang_tab.cpp"
 8078|      0|    break;
 8079|       |
 8080|      0|  case 207: /* storage_qualifier: NONPRIVATE  */
  ------------------
  |  Branch (8080:3): [True: 0, False: 2.95M]
  ------------------
 8081|      0|#line 1694 "MachineIndependent/glslang.y"
 8082|      0|                 {
 8083|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8084|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8085|      0|        (yyval.interm.type).qualifier.nonprivate = true;
 8086|      0|    }
 8087|      0|#line 8088 "MachineIndependent/glslang_tab.cpp"
 8088|      0|    break;
 8089|       |
 8090|      0|  case 208: /* storage_qualifier: SHADERCALLCOHERENT  */
  ------------------
  |  Branch (8090:3): [True: 0, False: 2.95M]
  ------------------
 8091|      0|#line 1699 "MachineIndependent/glslang.y"
 8092|      0|                         {
 8093|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8094|      0|        parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8095|      0|        (yyval.interm.type).qualifier.shadercallcoherent = true;
 8096|      0|    }
 8097|      0|#line 8098 "MachineIndependent/glslang_tab.cpp"
 8098|      0|    break;
 8099|       |
 8100|  15.2k|  case 209: /* storage_qualifier: VOLATILE  */
  ------------------
  |  Branch (8100:3): [True: 15.2k, False: 2.93M]
  ------------------
 8101|  15.2k|#line 1704 "MachineIndependent/glslang.y"
 8102|  15.2k|               {
 8103|  15.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8104|  15.2k|        (yyval.interm.type).qualifier.volatil = true;
 8105|  15.2k|    }
 8106|  15.2k|#line 8107 "MachineIndependent/glslang_tab.cpp"
 8107|  15.2k|    break;
 8108|       |
 8109|      0|  case 210: /* storage_qualifier: RESTRICT  */
  ------------------
  |  Branch (8109:3): [True: 0, False: 2.95M]
  ------------------
 8110|      0|#line 1708 "MachineIndependent/glslang.y"
 8111|      0|               {
 8112|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8113|      0|        (yyval.interm.type).qualifier.restrict = true;
 8114|      0|    }
 8115|      0|#line 8116 "MachineIndependent/glslang_tab.cpp"
 8116|      0|    break;
 8117|       |
 8118|  2.21k|  case 211: /* storage_qualifier: READONLY  */
  ------------------
  |  Branch (8118:3): [True: 2.21k, False: 2.94M]
  ------------------
 8119|  2.21k|#line 1712 "MachineIndependent/glslang.y"
 8120|  2.21k|               {
 8121|  2.21k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8122|  2.21k|        (yyval.interm.type).qualifier.readonly = true;
 8123|  2.21k|    }
 8124|  2.21k|#line 8125 "MachineIndependent/glslang_tab.cpp"
 8125|  2.21k|    break;
 8126|       |
 8127|  1.67k|  case 212: /* storage_qualifier: WRITEONLY  */
  ------------------
  |  Branch (8127:3): [True: 1.67k, False: 2.94M]
  ------------------
 8128|  1.67k|#line 1716 "MachineIndependent/glslang.y"
 8129|  1.67k|                {
 8130|  1.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8131|  1.67k|        (yyval.interm.type).qualifier.writeonly = true;
 8132|  1.67k|    }
 8133|  1.67k|#line 8134 "MachineIndependent/glslang_tab.cpp"
 8134|  1.67k|    break;
 8135|       |
 8136|  13.4k|  case 213: /* storage_qualifier: NONTEMPORAL  */
  ------------------
  |  Branch (8136:3): [True: 13.4k, False: 2.93M]
  ------------------
 8137|  13.4k|#line 1720 "MachineIndependent/glslang.y"
 8138|  13.4k|                  {
 8139|  13.4k|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8140|  13.4k|        (yyval.interm.type).qualifier.nontemporal  = true;
 8141|  13.4k|    }
 8142|  13.4k|#line 8143 "MachineIndependent/glslang_tab.cpp"
 8143|  13.4k|    break;
 8144|       |
 8145|      0|  case 214: /* storage_qualifier: SUBROUTINE  */
  ------------------
  |  Branch (8145:3): [True: 0, False: 2.95M]
  ------------------
 8146|      0|#line 1724 "MachineIndependent/glslang.y"
 8147|      0|                 {
 8148|      0|        parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8149|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8150|      0|        parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8151|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8152|      0|    }
 8153|      0|#line 8154 "MachineIndependent/glslang_tab.cpp"
 8154|      0|    break;
 8155|       |
 8156|      0|  case 215: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN  */
  ------------------
  |  Branch (8156:3): [True: 0, False: 2.95M]
  ------------------
 8157|      0|#line 1730 "MachineIndependent/glslang.y"
 8158|      0|                                                       {
 8159|      0|        parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8160|      0|        parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8161|      0|        parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8162|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
 8163|      0|    }
 8164|      0|#line 8165 "MachineIndependent/glslang_tab.cpp"
 8165|      0|    break;
 8166|       |
 8167|      0|  case 216: /* storage_qualifier: TASKPAYLOADWORKGROUPEXT  */
  ------------------
  |  Branch (8167:3): [True: 0, False: 2.95M]
  ------------------
 8168|      0|#line 1736 "MachineIndependent/glslang.y"
 8169|      0|                              {
 8170|       |        // No need for profile version or extension check. Shader stage already checks both.
 8171|      0|        parseContext.globalCheck((yyvsp[0].lex).loc, "taskPayloadSharedEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8172|      0|        parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskMask | EShLangMeshMask), "taskPayloadSharedEXT  ");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8173|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8174|      0|        (yyval.interm.type).qualifier.storage = EvqtaskPayloadSharedEXT;
 8175|      0|    }
 8176|      0|#line 8177 "MachineIndependent/glslang_tab.cpp"
 8177|      0|    break;
 8178|       |
 8179|      0|  case 217: /* non_uniform_qualifier: NONUNIFORM  */
  ------------------
  |  Branch (8179:3): [True: 0, False: 2.95M]
  ------------------
 8180|      0|#line 1746 "MachineIndependent/glslang.y"
 8181|      0|                 {
 8182|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc);
 8183|      0|        (yyval.interm.type).qualifier.nonUniform = true;
 8184|      0|    }
 8185|      0|#line 8186 "MachineIndependent/glslang_tab.cpp"
 8186|      0|    break;
 8187|       |
 8188|      0|  case 218: /* type_name_list: IDENTIFIER  */
  ------------------
  |  Branch (8188:3): [True: 0, False: 2.95M]
  ------------------
 8189|      0|#line 1753 "MachineIndependent/glslang.y"
 8190|      0|                 {
 8191|       |        // TODO
 8192|      0|    }
 8193|      0|#line 8194 "MachineIndependent/glslang_tab.cpp"
 8194|      0|    break;
 8195|       |
 8196|      0|  case 219: /* type_name_list: type_name_list COMMA IDENTIFIER  */
  ------------------
  |  Branch (8196:3): [True: 0, False: 2.95M]
  ------------------
 8197|      0|#line 1756 "MachineIndependent/glslang.y"
 8198|      0|                                      {
 8199|       |        // TODO: 4.0 semantics: subroutines
 8200|       |        // 1) make sure each identifier is a type declared earlier with SUBROUTINE
 8201|       |        // 2) save all of the identifiers for future comparison with the declared function
 8202|      0|    }
 8203|      0|#line 8204 "MachineIndependent/glslang_tab.cpp"
 8204|      0|    break;
 8205|       |
 8206|   367k|  case 220: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt  */
  ------------------
  |  Branch (8206:3): [True: 367k, False: 2.58M]
  ------------------
 8207|   367k|#line 1764 "MachineIndependent/glslang.y"
 8208|   367k|                                                           {
 8209|   367k|        (yyval.interm.type) = (yyvsp[-1].interm.type);
 8210|   367k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|   367k|#define parseContext (*pParseContext)
  ------------------
 8211|   367k|        (yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
 8212|   367k|        parseContext.typeParametersCheck((yyvsp[-1].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|   367k|#define parseContext (*pParseContext)
  ------------------
 8213|       |
 8214|   367k|    }
 8215|   367k|#line 8216 "MachineIndependent/glslang_tab.cpp"
 8216|   367k|    break;
 8217|       |
 8218|  8.07k|  case 221: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier  */
  ------------------
  |  Branch (8218:3): [True: 8.07k, False: 2.94M]
  ------------------
 8219|  8.07k|#line 1771 "MachineIndependent/glslang.y"
 8220|  8.07k|                                                                           {
 8221|  8.07k|        parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|  8.07k|#define parseContext (*pParseContext)
  ------------------
 8222|  8.07k|        (yyval.interm.type) = (yyvsp[-2].interm.type);
 8223|  8.07k|        (yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
  ------------------
  |  |  783|  8.07k|#define parseContext (*pParseContext)
  ------------------
 8224|  8.07k|        (yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
 8225|  8.07k|        (yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
 8226|  8.07k|        parseContext.typeParametersCheck((yyvsp[-2].interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|  8.07k|#define parseContext (*pParseContext)
  ------------------
 8227|  8.07k|    }
 8228|  8.07k|#line 8229 "MachineIndependent/glslang_tab.cpp"
 8229|  8.07k|    break;
 8230|       |
 8231|  8.68k|  case 222: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8231:3): [True: 8.68k, False: 2.94M]
  ------------------
 8232|  8.68k|#line 1782 "MachineIndependent/glslang.y"
 8233|  8.68k|                                 {
 8234|  8.68k|        (yyval.interm).loc = (yyvsp[-1].lex).loc;
 8235|  8.68k|        (yyval.interm).arraySizes = new TArraySizes;
 8236|  8.68k|        (yyval.interm).arraySizes->addInnerSize();
 8237|  8.68k|    }
 8238|  8.68k|#line 8239 "MachineIndependent/glslang_tab.cpp"
 8239|  8.68k|    break;
 8240|       |
 8241|  1.28k|  case 223: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8241:3): [True: 1.28k, False: 2.94M]
  ------------------
 8242|  1.28k|#line 1787 "MachineIndependent/glslang.y"
 8243|  1.28k|                                                        {
 8244|  1.28k|        (yyval.interm).loc = (yyvsp[-2].lex).loc;
 8245|  1.28k|        (yyval.interm).arraySizes = new TArraySizes;
 8246|       |
 8247|  1.28k|        TArraySize size;
 8248|  1.28k|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|  1.28k|#define parseContext (*pParseContext)
  ------------------
 8249|  1.28k|        (yyval.interm).arraySizes->addInnerSize(size);
 8250|  1.28k|    }
 8251|  1.28k|#line 8252 "MachineIndependent/glslang_tab.cpp"
 8252|  1.28k|    break;
 8253|       |
 8254|     21|  case 224: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (8254:3): [True: 21, False: 2.95M]
  ------------------
 8255|     21|#line 1795 "MachineIndependent/glslang.y"
 8256|     21|                                                 {
 8257|     21|        (yyval.interm) = (yyvsp[-2].interm);
 8258|     21|        (yyval.interm).arraySizes->addInnerSize();
 8259|     21|    }
 8260|     21|#line 8261 "MachineIndependent/glslang_tab.cpp"
 8261|     21|    break;
 8262|       |
 8263|      0|  case 225: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET  */
  ------------------
  |  Branch (8263:3): [True: 0, False: 2.95M]
  ------------------
 8264|      0|#line 1799 "MachineIndependent/glslang.y"
 8265|      0|                                                                        {
 8266|      0|        (yyval.interm) = (yyvsp[-3].interm);
 8267|       |
 8268|      0|        TArraySize size;
 8269|      0|        parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8270|      0|        (yyval.interm).arraySizes->addInnerSize(size);
 8271|      0|    }
 8272|      0|#line 8273 "MachineIndependent/glslang_tab.cpp"
 8273|      0|    break;
 8274|       |
 8275|     85|  case 226: /* type_parameter_specifier_opt: type_parameter_specifier  */
  ------------------
  |  Branch (8275:3): [True: 85, False: 2.95M]
  ------------------
 8276|     85|#line 1809 "MachineIndependent/glslang.y"
 8277|     85|                               {
 8278|     85|        (yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
 8279|     85|    }
 8280|     85|#line 8281 "MachineIndependent/glslang_tab.cpp"
 8281|     85|    break;
 8282|       |
 8283|   375k|  case 227: /* type_parameter_specifier_opt: %empty  */
  ------------------
  |  Branch (8283:3): [True: 375k, False: 2.57M]
  ------------------
 8284|   375k|#line 1812 "MachineIndependent/glslang.y"
 8285|   375k|                        {
 8286|   375k|        (yyval.interm.typeParameters) = 0;
 8287|   375k|    }
 8288|   375k|#line 8289 "MachineIndependent/glslang_tab.cpp"
 8289|   375k|    break;
 8290|       |
 8291|     85|  case 228: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE  */
  ------------------
  |  Branch (8291:3): [True: 85, False: 2.95M]
  ------------------
 8292|     85|#line 1818 "MachineIndependent/glslang.y"
 8293|     85|                                                           {
 8294|     85|        (yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
 8295|     85|    }
 8296|     85|#line 8297 "MachineIndependent/glslang_tab.cpp"
 8297|     85|    break;
 8298|       |
 8299|     85|  case 229: /* type_parameter_specifier_list: type_specifier  */
  ------------------
  |  Branch (8299:3): [True: 85, False: 2.95M]
  ------------------
 8300|     85|#line 1824 "MachineIndependent/glslang.y"
 8301|     85|                     {
 8302|     85|        (yyval.interm.typeParameters) = new TTypeParameters;
 8303|     85|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8304|     85|        (yyval.interm.typeParameters)->spirvType = (yyvsp[0].interm.type).spirvType;
 8305|     85|        (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType;
 8306|     85|    }
 8307|     85|#line 8308 "MachineIndependent/glslang_tab.cpp"
 8308|     85|    break;
 8309|       |
 8310|      0|  case 230: /* type_parameter_specifier_list: unary_expression  */
  ------------------
  |  Branch (8310:3): [True: 0, False: 2.95M]
  ------------------
 8311|      0|#line 1830 "MachineIndependent/glslang.y"
 8312|      0|                       {
 8313|      0|        (yyval.interm.typeParameters) = new TTypeParameters;
 8314|      0|        (yyval.interm.typeParameters)->arraySizes = new TArraySizes;
 8315|       |
 8316|      0|        TArraySize size;
 8317|      0|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8318|      0|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8319|      0|    }
 8320|      0|#line 8321 "MachineIndependent/glslang_tab.cpp"
 8321|      0|    break;
 8322|       |
 8323|     84|  case 231: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression  */
  ------------------
  |  Branch (8323:3): [True: 84, False: 2.95M]
  ------------------
 8324|     84|#line 1838 "MachineIndependent/glslang.y"
 8325|     84|                                                           {
 8326|     84|        (yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
 8327|       |
 8328|     84|        TArraySize size;
 8329|     84|        parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter", true);
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
 8330|     84|        (yyval.interm.typeParameters)->arraySizes->addInnerSize(size);
 8331|     84|    }
 8332|     84|#line 8333 "MachineIndependent/glslang_tab.cpp"
 8333|     84|    break;
 8334|       |
 8335|  7.75k|  case 232: /* type_specifier_nonarray: VOID  */
  ------------------
  |  Branch (8335:3): [True: 7.75k, False: 2.94M]
  ------------------
 8336|  7.75k|#line 1848 "MachineIndependent/glslang.y"
 8337|  7.75k|           {
 8338|  7.75k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.75k|#define parseContext (*pParseContext)
  ------------------
 8339|  7.75k|        (yyval.interm.type).basicType = EbtVoid;
 8340|  7.75k|    }
 8341|  7.75k|#line 8342 "MachineIndependent/glslang_tab.cpp"
 8342|  7.75k|    break;
 8343|       |
 8344|  28.7k|  case 233: /* type_specifier_nonarray: FLOAT  */
  ------------------
  |  Branch (8344:3): [True: 28.7k, False: 2.92M]
  ------------------
 8345|  28.7k|#line 1852 "MachineIndependent/glslang.y"
 8346|  28.7k|            {
 8347|  28.7k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  28.7k|#define parseContext (*pParseContext)
  ------------------
 8348|  28.7k|        (yyval.interm.type).basicType = EbtFloat;
 8349|  28.7k|    }
 8350|  28.7k|#line 8351 "MachineIndependent/glslang_tab.cpp"
 8351|  28.7k|    break;
 8352|       |
 8353|  50.6k|  case 234: /* type_specifier_nonarray: INT  */
  ------------------
  |  Branch (8353:3): [True: 50.6k, False: 2.89M]
  ------------------
 8354|  50.6k|#line 1856 "MachineIndependent/glslang.y"
 8355|  50.6k|          {
 8356|  50.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  50.6k|#define parseContext (*pParseContext)
  ------------------
 8357|  50.6k|        (yyval.interm.type).basicType = EbtInt;
 8358|  50.6k|    }
 8359|  50.6k|#line 8360 "MachineIndependent/glslang_tab.cpp"
 8360|  50.6k|    break;
 8361|       |
 8362|  25.2k|  case 235: /* type_specifier_nonarray: UINT  */
  ------------------
  |  Branch (8362:3): [True: 25.2k, False: 2.92M]
  ------------------
 8363|  25.2k|#line 1860 "MachineIndependent/glslang.y"
 8364|  25.2k|           {
 8365|  25.2k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
  ------------------
  |  |  783|  25.2k|#define parseContext (*pParseContext)
  ------------------
 8366|  25.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  25.2k|#define parseContext (*pParseContext)
  ------------------
 8367|  25.2k|        (yyval.interm.type).basicType = EbtUint;
 8368|  25.2k|    }
 8369|  25.2k|#line 8370 "MachineIndependent/glslang_tab.cpp"
 8370|  25.2k|    break;
 8371|       |
 8372|  4.24k|  case 236: /* type_specifier_nonarray: BOOL  */
  ------------------
  |  Branch (8372:3): [True: 4.24k, False: 2.94M]
  ------------------
 8373|  4.24k|#line 1865 "MachineIndependent/glslang.y"
 8374|  4.24k|           {
 8375|  4.24k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.24k|#define parseContext (*pParseContext)
  ------------------
 8376|  4.24k|        (yyval.interm.type).basicType = EbtBool;
 8377|  4.24k|    }
 8378|  4.24k|#line 8379 "MachineIndependent/glslang_tab.cpp"
 8379|  4.24k|    break;
 8380|       |
 8381|  21.1k|  case 237: /* type_specifier_nonarray: VEC2  */
  ------------------
  |  Branch (8381:3): [True: 21.1k, False: 2.92M]
  ------------------
 8382|  21.1k|#line 1869 "MachineIndependent/glslang.y"
 8383|  21.1k|           {
 8384|  21.1k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  21.1k|#define parseContext (*pParseContext)
  ------------------
 8385|  21.1k|        (yyval.interm.type).basicType = EbtFloat;
 8386|  21.1k|        (yyval.interm.type).setVector(2);
 8387|  21.1k|    }
 8388|  21.1k|#line 8389 "MachineIndependent/glslang_tab.cpp"
 8389|  21.1k|    break;
 8390|       |
 8391|  19.3k|  case 238: /* type_specifier_nonarray: VEC3  */
  ------------------
  |  Branch (8391:3): [True: 19.3k, False: 2.93M]
  ------------------
 8392|  19.3k|#line 1874 "MachineIndependent/glslang.y"
 8393|  19.3k|           {
 8394|  19.3k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  19.3k|#define parseContext (*pParseContext)
  ------------------
 8395|  19.3k|        (yyval.interm.type).basicType = EbtFloat;
 8396|  19.3k|        (yyval.interm.type).setVector(3);
 8397|  19.3k|    }
 8398|  19.3k|#line 8399 "MachineIndependent/glslang_tab.cpp"
 8399|  19.3k|    break;
 8400|       |
 8401|  18.6k|  case 239: /* type_specifier_nonarray: VEC4  */
  ------------------
  |  Branch (8401:3): [True: 18.6k, False: 2.93M]
  ------------------
 8402|  18.6k|#line 1879 "MachineIndependent/glslang.y"
 8403|  18.6k|           {
 8404|  18.6k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  18.6k|#define parseContext (*pParseContext)
  ------------------
 8405|  18.6k|        (yyval.interm.type).basicType = EbtFloat;
 8406|  18.6k|        (yyval.interm.type).setVector(4);
 8407|  18.6k|    }
 8408|  18.6k|#line 8409 "MachineIndependent/glslang_tab.cpp"
 8409|  18.6k|    break;
 8410|       |
 8411|  2.84k|  case 240: /* type_specifier_nonarray: BVEC2  */
  ------------------
  |  Branch (8411:3): [True: 2.84k, False: 2.94M]
  ------------------
 8412|  2.84k|#line 1884 "MachineIndependent/glslang.y"
 8413|  2.84k|            {
 8414|  2.84k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.84k|#define parseContext (*pParseContext)
  ------------------
 8415|  2.84k|        (yyval.interm.type).basicType = EbtBool;
 8416|  2.84k|        (yyval.interm.type).setVector(2);
 8417|  2.84k|    }
 8418|  2.84k|#line 8419 "MachineIndependent/glslang_tab.cpp"
 8419|  2.84k|    break;
 8420|       |
 8421|  2.84k|  case 241: /* type_specifier_nonarray: BVEC3  */
  ------------------
  |  Branch (8421:3): [True: 2.84k, False: 2.94M]
  ------------------
 8422|  2.84k|#line 1889 "MachineIndependent/glslang.y"
 8423|  2.84k|            {
 8424|  2.84k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.84k|#define parseContext (*pParseContext)
  ------------------
 8425|  2.84k|        (yyval.interm.type).basicType = EbtBool;
 8426|  2.84k|        (yyval.interm.type).setVector(3);
 8427|  2.84k|    }
 8428|  2.84k|#line 8429 "MachineIndependent/glslang_tab.cpp"
 8429|  2.84k|    break;
 8430|       |
 8431|  2.84k|  case 242: /* type_specifier_nonarray: BVEC4  */
  ------------------
  |  Branch (8431:3): [True: 2.84k, False: 2.94M]
  ------------------
 8432|  2.84k|#line 1894 "MachineIndependent/glslang.y"
 8433|  2.84k|            {
 8434|  2.84k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.84k|#define parseContext (*pParseContext)
  ------------------
 8435|  2.84k|        (yyval.interm.type).basicType = EbtBool;
 8436|  2.84k|        (yyval.interm.type).setVector(4);
 8437|  2.84k|    }
 8438|  2.84k|#line 8439 "MachineIndependent/glslang_tab.cpp"
 8439|  2.84k|    break;
 8440|       |
 8441|  14.5k|  case 243: /* type_specifier_nonarray: IVEC2  */
  ------------------
  |  Branch (8441:3): [True: 14.5k, False: 2.93M]
  ------------------
 8442|  14.5k|#line 1899 "MachineIndependent/glslang.y"
 8443|  14.5k|            {
 8444|  14.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  14.5k|#define parseContext (*pParseContext)
  ------------------
 8445|  14.5k|        (yyval.interm.type).basicType = EbtInt;
 8446|  14.5k|        (yyval.interm.type).setVector(2);
 8447|  14.5k|    }
 8448|  14.5k|#line 8449 "MachineIndependent/glslang_tab.cpp"
 8449|  14.5k|    break;
 8450|       |
 8451|  10.2k|  case 244: /* type_specifier_nonarray: IVEC3  */
  ------------------
  |  Branch (8451:3): [True: 10.2k, False: 2.93M]
  ------------------
 8452|  10.2k|#line 1904 "MachineIndependent/glslang.y"
 8453|  10.2k|            {
 8454|  10.2k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  10.2k|#define parseContext (*pParseContext)
  ------------------
 8455|  10.2k|        (yyval.interm.type).basicType = EbtInt;
 8456|  10.2k|        (yyval.interm.type).setVector(3);
 8457|  10.2k|    }
 8458|  10.2k|#line 8459 "MachineIndependent/glslang_tab.cpp"
 8459|  10.2k|    break;
 8460|       |
 8461|  6.50k|  case 245: /* type_specifier_nonarray: IVEC4  */
  ------------------
  |  Branch (8461:3): [True: 6.50k, False: 2.94M]
  ------------------
 8462|  6.50k|#line 1909 "MachineIndependent/glslang.y"
 8463|  6.50k|            {
 8464|  6.50k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  6.50k|#define parseContext (*pParseContext)
  ------------------
 8465|  6.50k|        (yyval.interm.type).basicType = EbtInt;
 8466|  6.50k|        (yyval.interm.type).setVector(4);
 8467|  6.50k|    }
 8468|  6.50k|#line 8469 "MachineIndependent/glslang_tab.cpp"
 8469|  6.50k|    break;
 8470|       |
 8471|  2.18k|  case 246: /* type_specifier_nonarray: UVEC2  */
  ------------------
  |  Branch (8471:3): [True: 2.18k, False: 2.94M]
  ------------------
 8472|  2.18k|#line 1914 "MachineIndependent/glslang.y"
 8473|  2.18k|            {
 8474|  2.18k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  2.18k|#define parseContext (*pParseContext)
  ------------------
 8475|  2.18k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.18k|#define parseContext (*pParseContext)
  ------------------
 8476|  2.18k|        (yyval.interm.type).basicType = EbtUint;
 8477|  2.18k|        (yyval.interm.type).setVector(2);
 8478|  2.18k|    }
 8479|  2.18k|#line 8480 "MachineIndependent/glslang_tab.cpp"
 8480|  2.18k|    break;
 8481|       |
 8482|  2.13k|  case 247: /* type_specifier_nonarray: UVEC3  */
  ------------------
  |  Branch (8482:3): [True: 2.13k, False: 2.94M]
  ------------------
 8483|  2.13k|#line 1920 "MachineIndependent/glslang.y"
 8484|  2.13k|            {
 8485|  2.13k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  2.13k|#define parseContext (*pParseContext)
  ------------------
 8486|  2.13k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.13k|#define parseContext (*pParseContext)
  ------------------
 8487|  2.13k|        (yyval.interm.type).basicType = EbtUint;
 8488|  2.13k|        (yyval.interm.type).setVector(3);
 8489|  2.13k|    }
 8490|  2.13k|#line 8491 "MachineIndependent/glslang_tab.cpp"
 8491|  2.13k|    break;
 8492|       |
 8493|  12.5k|  case 248: /* type_specifier_nonarray: UVEC4  */
  ------------------
  |  Branch (8493:3): [True: 12.5k, False: 2.93M]
  ------------------
 8494|  12.5k|#line 1926 "MachineIndependent/glslang.y"
 8495|  12.5k|            {
 8496|  12.5k|        parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
  ------------------
  |  |  783|  12.5k|#define parseContext (*pParseContext)
  ------------------
 8497|  12.5k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  12.5k|#define parseContext (*pParseContext)
  ------------------
 8498|  12.5k|        (yyval.interm.type).basicType = EbtUint;
 8499|  12.5k|        (yyval.interm.type).setVector(4);
 8500|  12.5k|    }
 8501|  12.5k|#line 8502 "MachineIndependent/glslang_tab.cpp"
 8502|  12.5k|    break;
 8503|       |
 8504|    291|  case 249: /* type_specifier_nonarray: MAT2  */
  ------------------
  |  Branch (8504:3): [True: 291, False: 2.94M]
  ------------------
 8505|    291|#line 1932 "MachineIndependent/glslang.y"
 8506|    291|           {
 8507|    291|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    291|#define parseContext (*pParseContext)
  ------------------
 8508|    291|        (yyval.interm.type).basicType = EbtFloat;
 8509|    291|        (yyval.interm.type).setMatrix(2, 2);
 8510|    291|    }
 8511|    291|#line 8512 "MachineIndependent/glslang_tab.cpp"
 8512|    291|    break;
 8513|       |
 8514|    291|  case 250: /* type_specifier_nonarray: MAT3  */
  ------------------
  |  Branch (8514:3): [True: 291, False: 2.94M]
  ------------------
 8515|    291|#line 1937 "MachineIndependent/glslang.y"
 8516|    291|           {
 8517|    291|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    291|#define parseContext (*pParseContext)
  ------------------
 8518|    291|        (yyval.interm.type).basicType = EbtFloat;
 8519|    291|        (yyval.interm.type).setMatrix(3, 3);
 8520|    291|    }
 8521|    291|#line 8522 "MachineIndependent/glslang_tab.cpp"
 8522|    291|    break;
 8523|       |
 8524|    291|  case 251: /* type_specifier_nonarray: MAT4  */
  ------------------
  |  Branch (8524:3): [True: 291, False: 2.94M]
  ------------------
 8525|    291|#line 1942 "MachineIndependent/glslang.y"
 8526|    291|           {
 8527|    291|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    291|#define parseContext (*pParseContext)
  ------------------
 8528|    291|        (yyval.interm.type).basicType = EbtFloat;
 8529|    291|        (yyval.interm.type).setMatrix(4, 4);
 8530|    291|    }
 8531|    291|#line 8532 "MachineIndependent/glslang_tab.cpp"
 8532|    291|    break;
 8533|       |
 8534|      0|  case 252: /* type_specifier_nonarray: MAT2X2  */
  ------------------
  |  Branch (8534:3): [True: 0, False: 2.95M]
  ------------------
 8535|      0|#line 1947 "MachineIndependent/glslang.y"
 8536|      0|             {
 8537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8538|      0|        (yyval.interm.type).basicType = EbtFloat;
 8539|      0|        (yyval.interm.type).setMatrix(2, 2);
 8540|      0|    }
 8541|      0|#line 8542 "MachineIndependent/glslang_tab.cpp"
 8542|      0|    break;
 8543|       |
 8544|     42|  case 253: /* type_specifier_nonarray: MAT2X3  */
  ------------------
  |  Branch (8544:3): [True: 42, False: 2.95M]
  ------------------
 8545|     42|#line 1952 "MachineIndependent/glslang.y"
 8546|     42|             {
 8547|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8548|     42|        (yyval.interm.type).basicType = EbtFloat;
 8549|     42|        (yyval.interm.type).setMatrix(2, 3);
 8550|     42|    }
 8551|     42|#line 8552 "MachineIndependent/glslang_tab.cpp"
 8552|     42|    break;
 8553|       |
 8554|     42|  case 254: /* type_specifier_nonarray: MAT2X4  */
  ------------------
  |  Branch (8554:3): [True: 42, False: 2.95M]
  ------------------
 8555|     42|#line 1957 "MachineIndependent/glslang.y"
 8556|     42|             {
 8557|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8558|     42|        (yyval.interm.type).basicType = EbtFloat;
 8559|     42|        (yyval.interm.type).setMatrix(2, 4);
 8560|     42|    }
 8561|     42|#line 8562 "MachineIndependent/glslang_tab.cpp"
 8562|     42|    break;
 8563|       |
 8564|     42|  case 255: /* type_specifier_nonarray: MAT3X2  */
  ------------------
  |  Branch (8564:3): [True: 42, False: 2.95M]
  ------------------
 8565|     42|#line 1962 "MachineIndependent/glslang.y"
 8566|     42|             {
 8567|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8568|     42|        (yyval.interm.type).basicType = EbtFloat;
 8569|     42|        (yyval.interm.type).setMatrix(3, 2);
 8570|     42|    }
 8571|     42|#line 8572 "MachineIndependent/glslang_tab.cpp"
 8572|     42|    break;
 8573|       |
 8574|      0|  case 256: /* type_specifier_nonarray: MAT3X3  */
  ------------------
  |  Branch (8574:3): [True: 0, False: 2.95M]
  ------------------
 8575|      0|#line 1967 "MachineIndependent/glslang.y"
 8576|      0|             {
 8577|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8578|      0|        (yyval.interm.type).basicType = EbtFloat;
 8579|      0|        (yyval.interm.type).setMatrix(3, 3);
 8580|      0|    }
 8581|      0|#line 8582 "MachineIndependent/glslang_tab.cpp"
 8582|      0|    break;
 8583|       |
 8584|     42|  case 257: /* type_specifier_nonarray: MAT3X4  */
  ------------------
  |  Branch (8584:3): [True: 42, False: 2.95M]
  ------------------
 8585|     42|#line 1972 "MachineIndependent/glslang.y"
 8586|     42|             {
 8587|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8588|     42|        (yyval.interm.type).basicType = EbtFloat;
 8589|     42|        (yyval.interm.type).setMatrix(3, 4);
 8590|     42|    }
 8591|     42|#line 8592 "MachineIndependent/glslang_tab.cpp"
 8592|     42|    break;
 8593|       |
 8594|     42|  case 258: /* type_specifier_nonarray: MAT4X2  */
  ------------------
  |  Branch (8594:3): [True: 42, False: 2.95M]
  ------------------
 8595|     42|#line 1977 "MachineIndependent/glslang.y"
 8596|     42|             {
 8597|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8598|     42|        (yyval.interm.type).basicType = EbtFloat;
 8599|     42|        (yyval.interm.type).setMatrix(4, 2);
 8600|     42|    }
 8601|     42|#line 8602 "MachineIndependent/glslang_tab.cpp"
 8602|     42|    break;
 8603|       |
 8604|     42|  case 259: /* type_specifier_nonarray: MAT4X3  */
  ------------------
  |  Branch (8604:3): [True: 42, False: 2.95M]
  ------------------
 8605|     42|#line 1982 "MachineIndependent/glslang.y"
 8606|     42|             {
 8607|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8608|     42|        (yyval.interm.type).basicType = EbtFloat;
 8609|     42|        (yyval.interm.type).setMatrix(4, 3);
 8610|     42|    }
 8611|     42|#line 8612 "MachineIndependent/glslang_tab.cpp"
 8612|     42|    break;
 8613|       |
 8614|      0|  case 260: /* type_specifier_nonarray: MAT4X4  */
  ------------------
  |  Branch (8614:3): [True: 0, False: 2.95M]
  ------------------
 8615|      0|#line 1987 "MachineIndependent/glslang.y"
 8616|      0|             {
 8617|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8618|      0|        (yyval.interm.type).basicType = EbtFloat;
 8619|      0|        (yyval.interm.type).setMatrix(4, 4);
 8620|      0|    }
 8621|      0|#line 8622 "MachineIndependent/glslang_tab.cpp"
 8622|      0|    break;
 8623|       |
 8624|  1.99k|  case 261: /* type_specifier_nonarray: DOUBLE  */
  ------------------
  |  Branch (8624:3): [True: 1.99k, False: 2.94M]
  ------------------
 8625|  1.99k|#line 1992 "MachineIndependent/glslang.y"
 8626|  1.99k|             {
 8627|  1.99k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8628|  1.99k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8628:13): [True: 0, False: 1.99k]
  ------------------
 8629|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8630|  1.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8631|  1.99k|        (yyval.interm.type).basicType = EbtDouble;
 8632|  1.99k|    }
 8633|  1.99k|#line 8634 "MachineIndependent/glslang_tab.cpp"
 8634|  1.99k|    break;
 8635|       |
 8636|    126|  case 262: /* type_specifier_nonarray: BFLOAT16_T  */
  ------------------
  |  Branch (8636:3): [True: 126, False: 2.94M]
  ------------------
 8637|    126|#line 1999 "MachineIndependent/glslang.y"
 8638|    126|                 {
 8639|    126|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "bfloat16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
 8640|    126|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    126|#define parseContext (*pParseContext)
  ------------------
 8641|    126|        (yyval.interm.type).basicType = EbtBFloat16;
 8642|    126|    }
 8643|    126|#line 8644 "MachineIndependent/glslang_tab.cpp"
 8644|    126|    break;
 8645|       |
 8646|     84|  case 263: /* type_specifier_nonarray: FLOATE5M2_T  */
  ------------------
  |  Branch (8646:3): [True: 84, False: 2.95M]
  ------------------
 8647|     84|#line 2004 "MachineIndependent/glslang.y"
 8648|     84|                  {
 8649|     84|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate5m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
 8650|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
 8651|     84|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8652|     84|    }
 8653|     84|#line 8654 "MachineIndependent/glslang_tab.cpp"
 8654|     84|    break;
 8655|       |
 8656|     84|  case 264: /* type_specifier_nonarray: FLOATE4M3_T  */
  ------------------
  |  Branch (8656:3): [True: 84, False: 2.95M]
  ------------------
 8657|     84|#line 2009 "MachineIndependent/glslang.y"
 8658|     84|                  {
 8659|     84|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate4m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
 8660|     84|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     84|#define parseContext (*pParseContext)
  ------------------
 8661|     84|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8662|     84|    }
 8663|     84|#line 8664 "MachineIndependent/glslang_tab.cpp"
 8664|     84|    break;
 8665|       |
 8666|     35|  case 265: /* type_specifier_nonarray: FLOATE2M1_T  */
  ------------------
  |  Branch (8666:3): [True: 35, False: 2.95M]
  ------------------
 8667|     35|#line 2014 "MachineIndependent/glslang.y"
 8668|     35|                  {
 8669|     35|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m1_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8670|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8671|     35|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8672|     35|    }
 8673|     35|#line 8674 "MachineIndependent/glslang_tab.cpp"
 8674|     35|    break;
 8675|       |
 8676|     35|  case 266: /* type_specifier_nonarray: FLOATE3M2_T  */
  ------------------
  |  Branch (8676:3): [True: 35, False: 2.95M]
  ------------------
 8677|     35|#line 2019 "MachineIndependent/glslang.y"
 8678|     35|                  {
 8679|     35|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "floate3m2_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8680|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8681|     35|        (yyval.interm.type).basicType = EbtFloatE3M2;
 8682|     35|    }
 8683|     35|#line 8684 "MachineIndependent/glslang_tab.cpp"
 8684|     35|    break;
 8685|       |
 8686|     35|  case 267: /* type_specifier_nonarray: FLOATE2M3_T  */
  ------------------
  |  Branch (8686:3): [True: 35, False: 2.95M]
  ------------------
 8687|     35|#line 2024 "MachineIndependent/glslang.y"
 8688|     35|                  {
 8689|     35|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "floate2m3_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8690|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
 8691|     35|        (yyval.interm.type).basicType = EbtFloatE2M3;
 8692|     35|    }
 8693|     35|#line 8694 "MachineIndependent/glslang_tab.cpp"
 8694|     35|    break;
 8695|       |
 8696|     28|  case 268: /* type_specifier_nonarray: FLOATUE8M0_T  */
  ------------------
  |  Branch (8696:3): [True: 28, False: 2.95M]
  ------------------
 8697|     28|#line 2029 "MachineIndependent/glslang.y"
 8698|     28|                   {
 8699|     28|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "floatue8m0_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8700|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8701|     28|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 8702|     28|    }
 8703|     28|#line 8704 "MachineIndependent/glslang_tab.cpp"
 8704|     28|    break;
 8705|       |
 8706|     28|  case 269: /* type_specifier_nonarray: FLOATMXINT8_T  */
  ------------------
  |  Branch (8706:3): [True: 28, False: 2.95M]
  ------------------
 8707|     28|#line 2034 "MachineIndependent/glslang.y"
 8708|     28|                    {
 8709|     28|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "floatmxint8_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8710|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8711|     28|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 8712|     28|    }
 8713|     28|#line 8714 "MachineIndependent/glslang_tab.cpp"
 8714|     28|    break;
 8715|       |
 8716|  7.84k|  case 270: /* type_specifier_nonarray: FLOAT16_T  */
  ------------------
  |  Branch (8716:3): [True: 7.84k, False: 2.94M]
  ------------------
 8717|  7.84k|#line 2039 "MachineIndependent/glslang.y"
 8718|  7.84k|                {
 8719|  7.84k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.84k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  7.84k|#define parseContext (*pParseContext)
  ------------------
 8720|  7.84k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  7.84k|#define parseContext (*pParseContext)
  ------------------
 8721|  7.84k|        (yyval.interm.type).basicType = EbtFloat16;
 8722|  7.84k|    }
 8723|  7.84k|#line 8724 "MachineIndependent/glslang_tab.cpp"
 8724|  7.84k|    break;
 8725|       |
 8726|    532|  case 271: /* type_specifier_nonarray: FLOAT32_T  */
  ------------------
  |  Branch (8726:3): [True: 532, False: 2.94M]
  ------------------
 8727|    532|#line 2044 "MachineIndependent/glslang.y"
 8728|    532|                {
 8729|    532|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
 8730|    532|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    532|#define parseContext (*pParseContext)
  ------------------
 8731|    532|        (yyval.interm.type).basicType = EbtFloat;
 8732|    532|    }
 8733|    532|#line 8734 "MachineIndependent/glslang_tab.cpp"
 8734|    532|    break;
 8735|       |
 8736|    987|  case 272: /* type_specifier_nonarray: FLOAT64_T  */
  ------------------
  |  Branch (8736:3): [True: 987, False: 2.94M]
  ------------------
 8737|    987|#line 2049 "MachineIndependent/glslang.y"
 8738|    987|                {
 8739|    987|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    987|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    987|#define parseContext (*pParseContext)
  ------------------
 8740|    987|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    987|#define parseContext (*pParseContext)
  ------------------
 8741|    987|        (yyval.interm.type).basicType = EbtDouble;
 8742|    987|    }
 8743|    987|#line 8744 "MachineIndependent/glslang_tab.cpp"
 8744|    987|    break;
 8745|       |
 8746|  1.99k|  case 273: /* type_specifier_nonarray: INT8_T  */
  ------------------
  |  Branch (8746:3): [True: 1.99k, False: 2.94M]
  ------------------
 8747|  1.99k|#line 2054 "MachineIndependent/glslang.y"
 8748|  1.99k|             {
 8749|  1.99k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8750|  1.99k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.99k|#define parseContext (*pParseContext)
  ------------------
 8751|  1.99k|        (yyval.interm.type).basicType = EbtInt8;
 8752|  1.99k|    }
 8753|  1.99k|#line 8754 "MachineIndependent/glslang_tab.cpp"
 8754|  1.99k|    break;
 8755|       |
 8756|  1.86k|  case 274: /* type_specifier_nonarray: UINT8_T  */
  ------------------
  |  Branch (8756:3): [True: 1.86k, False: 2.94M]
  ------------------
 8757|  1.86k|#line 2059 "MachineIndependent/glslang.y"
 8758|  1.86k|              {
 8759|  1.86k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.86k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.86k|#define parseContext (*pParseContext)
  ------------------
 8760|  1.86k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.86k|#define parseContext (*pParseContext)
  ------------------
 8761|  1.86k|        (yyval.interm.type).basicType = EbtUint8;
 8762|  1.86k|    }
 8763|  1.86k|#line 8764 "MachineIndependent/glslang_tab.cpp"
 8764|  1.86k|    break;
 8765|       |
 8766|  2.42k|  case 275: /* type_specifier_nonarray: INT16_T  */
  ------------------
  |  Branch (8766:3): [True: 2.42k, False: 2.94M]
  ------------------
 8767|  2.42k|#line 2064 "MachineIndependent/glslang.y"
 8768|  2.42k|              {
 8769|  2.42k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.42k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.42k|#define parseContext (*pParseContext)
  ------------------
 8770|  2.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.42k|#define parseContext (*pParseContext)
  ------------------
 8771|  2.42k|        (yyval.interm.type).basicType = EbtInt16;
 8772|  2.42k|    }
 8773|  2.42k|#line 8774 "MachineIndependent/glslang_tab.cpp"
 8774|  2.42k|    break;
 8775|       |
 8776|  2.16k|  case 276: /* type_specifier_nonarray: UINT16_T  */
  ------------------
  |  Branch (8776:3): [True: 2.16k, False: 2.94M]
  ------------------
 8777|  2.16k|#line 2069 "MachineIndependent/glslang.y"
 8778|  2.16k|               {
 8779|  2.16k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.16k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8780|  2.16k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.16k|#define parseContext (*pParseContext)
  ------------------
 8781|  2.16k|        (yyval.interm.type).basicType = EbtUint16;
 8782|  2.16k|    }
 8783|  2.16k|#line 8784 "MachineIndependent/glslang_tab.cpp"
 8784|  2.16k|    break;
 8785|       |
 8786|    560|  case 277: /* type_specifier_nonarray: INT32_T  */
  ------------------
  |  Branch (8786:3): [True: 560, False: 2.94M]
  ------------------
 8787|    560|#line 2074 "MachineIndependent/glslang.y"
 8788|    560|              {
 8789|    560|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
 8790|    560|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    560|#define parseContext (*pParseContext)
  ------------------
 8791|    560|        (yyval.interm.type).basicType = EbtInt;
 8792|    560|    }
 8793|    560|#line 8794 "MachineIndependent/glslang_tab.cpp"
 8794|    560|    break;
 8795|       |
 8796|    574|  case 278: /* type_specifier_nonarray: UINT32_T  */
  ------------------
  |  Branch (8796:3): [True: 574, False: 2.94M]
  ------------------
 8797|    574|#line 2079 "MachineIndependent/glslang.y"
 8798|    574|               {
 8799|    574|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    574|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    574|#define parseContext (*pParseContext)
  ------------------
 8800|    574|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    574|#define parseContext (*pParseContext)
  ------------------
 8801|    574|        (yyval.interm.type).basicType = EbtUint;
 8802|    574|    }
 8803|    574|#line 8804 "MachineIndependent/glslang_tab.cpp"
 8804|    574|    break;
 8805|       |
 8806|  5.41k|  case 279: /* type_specifier_nonarray: INT64_T  */
  ------------------
  |  Branch (8806:3): [True: 5.41k, False: 2.94M]
  ------------------
 8807|  5.41k|#line 2084 "MachineIndependent/glslang.y"
 8808|  5.41k|              {
 8809|  5.41k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.41k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.41k|#define parseContext (*pParseContext)
  ------------------
 8810|  5.41k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  5.41k|#define parseContext (*pParseContext)
  ------------------
 8811|  5.41k|        (yyval.interm.type).basicType = EbtInt64;
 8812|  5.41k|    }
 8813|  5.41k|#line 8814 "MachineIndependent/glslang_tab.cpp"
 8814|  5.41k|    break;
 8815|       |
 8816|  8.91k|  case 280: /* type_specifier_nonarray: UINT64_T  */
  ------------------
  |  Branch (8816:3): [True: 8.91k, False: 2.94M]
  ------------------
 8817|  8.91k|#line 2089 "MachineIndependent/glslang.y"
 8818|  8.91k|               {
 8819|  8.91k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  8.91k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  8.91k|#define parseContext (*pParseContext)
  ------------------
 8820|  8.91k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  8.91k|#define parseContext (*pParseContext)
  ------------------
 8821|  8.91k|        (yyval.interm.type).basicType = EbtUint64;
 8822|  8.91k|    }
 8823|  8.91k|#line 8824 "MachineIndependent/glslang_tab.cpp"
 8824|  8.91k|    break;
 8825|       |
 8826|  1.62k|  case 281: /* type_specifier_nonarray: DVEC2  */
  ------------------
  |  Branch (8826:3): [True: 1.62k, False: 2.94M]
  ------------------
 8827|  1.62k|#line 2094 "MachineIndependent/glslang.y"
 8828|  1.62k|            {
 8829|  1.62k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8830|  1.62k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8830:13): [True: 0, False: 1.62k]
  ------------------
 8831|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8832|  1.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8833|  1.62k|        (yyval.interm.type).basicType = EbtDouble;
 8834|  1.62k|        (yyval.interm.type).setVector(2);
 8835|  1.62k|    }
 8836|  1.62k|#line 8837 "MachineIndependent/glslang_tab.cpp"
 8837|  1.62k|    break;
 8838|       |
 8839|  1.61k|  case 282: /* type_specifier_nonarray: DVEC3  */
  ------------------
  |  Branch (8839:3): [True: 1.61k, False: 2.94M]
  ------------------
 8840|  1.61k|#line 2102 "MachineIndependent/glslang.y"
 8841|  1.61k|            {
 8842|  1.61k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8843|  1.61k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8843:13): [True: 0, False: 1.61k]
  ------------------
 8844|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8845|  1.61k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
 8846|  1.61k|        (yyval.interm.type).basicType = EbtDouble;
 8847|  1.61k|        (yyval.interm.type).setVector(3);
 8848|  1.61k|    }
 8849|  1.61k|#line 8850 "MachineIndependent/glslang_tab.cpp"
 8850|  1.61k|    break;
 8851|       |
 8852|  1.62k|  case 283: /* type_specifier_nonarray: DVEC4  */
  ------------------
  |  Branch (8852:3): [True: 1.62k, False: 2.94M]
  ------------------
 8853|  1.62k|#line 2110 "MachineIndependent/glslang.y"
 8854|  1.62k|            {
 8855|  1.62k|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8856|  1.62k|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
  |  Branch (8856:13): [True: 0, False: 1.62k]
  ------------------
 8857|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 8858|  1.62k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.62k|#define parseContext (*pParseContext)
  ------------------
 8859|  1.62k|        (yyval.interm.type).basicType = EbtDouble;
 8860|  1.62k|        (yyval.interm.type).setVector(4);
 8861|  1.62k|    }
 8862|  1.62k|#line 8863 "MachineIndependent/glslang_tab.cpp"
 8863|  1.62k|    break;
 8864|       |
 8865|     70|  case 284: /* type_specifier_nonarray: BF16VEC2  */
  ------------------
  |  Branch (8865:3): [True: 70, False: 2.95M]
  ------------------
 8866|     70|#line 2118 "MachineIndependent/glslang.y"
 8867|     70|               {
 8868|     70|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 8869|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 8870|     70|        (yyval.interm.type).basicType = EbtBFloat16;
 8871|     70|        (yyval.interm.type).setVector(2);
 8872|     70|    }
 8873|     70|#line 8874 "MachineIndependent/glslang_tab.cpp"
 8874|     70|    break;
 8875|       |
 8876|     42|  case 285: /* type_specifier_nonarray: BF16VEC3  */
  ------------------
  |  Branch (8876:3): [True: 42, False: 2.95M]
  ------------------
 8877|     42|#line 2124 "MachineIndependent/glslang.y"
 8878|     42|               {
 8879|     42|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8880|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 8881|     42|        (yyval.interm.type).basicType = EbtBFloat16;
 8882|     42|        (yyval.interm.type).setVector(3);
 8883|     42|    }
 8884|     42|#line 8885 "MachineIndependent/glslang_tab.cpp"
 8885|     42|    break;
 8886|       |
 8887|     70|  case 286: /* type_specifier_nonarray: BF16VEC4  */
  ------------------
  |  Branch (8887:3): [True: 70, False: 2.95M]
  ------------------
 8888|     70|#line 2130 "MachineIndependent/glslang.y"
 8889|     70|               {
 8890|     70|        parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.bfloat16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 8891|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
 8892|     70|        (yyval.interm.type).basicType = EbtBFloat16;
 8893|     70|        (yyval.interm.type).setVector(4);
 8894|     70|    }
 8895|     70|#line 8896 "MachineIndependent/glslang_tab.cpp"
 8896|     70|    break;
 8897|       |
 8898|     56|  case 287: /* type_specifier_nonarray: FE5M2VEC2  */
  ------------------
  |  Branch (8898:3): [True: 56, False: 2.95M]
  ------------------
 8899|     56|#line 2136 "MachineIndependent/glslang.y"
 8900|     56|                {
 8901|     56|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8902|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8903|     56|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8904|     56|        (yyval.interm.type).setVector(2);
 8905|     56|    }
 8906|     56|#line 8907 "MachineIndependent/glslang_tab.cpp"
 8907|     56|    break;
 8908|       |
 8909|     28|  case 288: /* type_specifier_nonarray: FE5M2VEC3  */
  ------------------
  |  Branch (8909:3): [True: 28, False: 2.95M]
  ------------------
 8910|     28|#line 2142 "MachineIndependent/glslang.y"
 8911|     28|                {
 8912|     28|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8913|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8914|     28|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8915|     28|        (yyval.interm.type).setVector(3);
 8916|     28|    }
 8917|     28|#line 8918 "MachineIndependent/glslang_tab.cpp"
 8918|     28|    break;
 8919|       |
 8920|     56|  case 289: /* type_specifier_nonarray: FE5M2VEC4  */
  ------------------
  |  Branch (8920:3): [True: 56, False: 2.95M]
  ------------------
 8921|     56|#line 2148 "MachineIndependent/glslang.y"
 8922|     56|                {
 8923|     56|        parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate5m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe5m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8924|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8925|     56|        (yyval.interm.type).basicType = EbtFloatE5M2;
 8926|     56|        (yyval.interm.type).setVector(4);
 8927|     56|    }
 8928|     56|#line 8929 "MachineIndependent/glslang_tab.cpp"
 8929|     56|    break;
 8930|       |
 8931|     56|  case 290: /* type_specifier_nonarray: FE4M3VEC2  */
  ------------------
  |  Branch (8931:3): [True: 56, False: 2.95M]
  ------------------
 8932|     56|#line 2154 "MachineIndependent/glslang.y"
 8933|     56|                {
 8934|     56|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8935|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8936|     56|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8937|     56|        (yyval.interm.type).setVector(2);
 8938|     56|    }
 8939|     56|#line 8940 "MachineIndependent/glslang_tab.cpp"
 8940|     56|    break;
 8941|       |
 8942|     28|  case 291: /* type_specifier_nonarray: FE4M3VEC3  */
  ------------------
  |  Branch (8942:3): [True: 28, False: 2.95M]
  ------------------
 8943|     28|#line 2160 "MachineIndependent/glslang.y"
 8944|     28|                {
 8945|     28|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8946|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 8947|     28|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8948|     28|        (yyval.interm.type).setVector(3);
 8949|     28|    }
 8950|     28|#line 8951 "MachineIndependent/glslang_tab.cpp"
 8951|     28|    break;
 8952|       |
 8953|     56|  case 292: /* type_specifier_nonarray: FE4M3VEC4  */
  ------------------
  |  Branch (8953:3): [True: 56, False: 2.95M]
  ------------------
 8954|     56|#line 2166 "MachineIndependent/glslang.y"
 8955|     56|                {
 8956|     56|        parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate4m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe4m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8957|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 8958|     56|        (yyval.interm.type).basicType = EbtFloatE4M3;
 8959|     56|        (yyval.interm.type).setVector(4);
 8960|     56|    }
 8961|     56|#line 8962 "MachineIndependent/glslang_tab.cpp"
 8962|     56|    break;
 8963|       |
 8964|     21|  case 293: /* type_specifier_nonarray: FE2M1VEC2  */
  ------------------
  |  Branch (8964:3): [True: 21, False: 2.95M]
  ------------------
 8965|     21|#line 2172 "MachineIndependent/glslang.y"
 8966|     21|                {
 8967|     21|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 8968|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 8969|     21|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8970|     21|        (yyval.interm.type).setVector(2);
 8971|     21|    }
 8972|     21|#line 8973 "MachineIndependent/glslang_tab.cpp"
 8973|     21|    break;
 8974|       |
 8975|      7|  case 294: /* type_specifier_nonarray: FE2M1VEC3  */
  ------------------
  |  Branch (8975:3): [True: 7, False: 2.95M]
  ------------------
 8976|      7|#line 2178 "MachineIndependent/glslang.y"
 8977|      7|                {
 8978|      7|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 8979|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 8980|      7|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8981|      7|        (yyval.interm.type).setVector(3);
 8982|      7|    }
 8983|      7|#line 8984 "MachineIndependent/glslang_tab.cpp"
 8984|      7|    break;
 8985|       |
 8986|     21|  case 295: /* type_specifier_nonarray: FE2M1VEC4  */
  ------------------
  |  Branch (8986:3): [True: 21, False: 2.95M]
  ------------------
 8987|     21|#line 2184 "MachineIndependent/glslang.y"
 8988|     21|                {
 8989|     21|        parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m1ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m1 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 8990|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 8991|     21|        (yyval.interm.type).basicType = EbtFloatE2M1;
 8992|     21|        (yyval.interm.type).setVector(4);
 8993|     21|    }
 8994|     21|#line 8995 "MachineIndependent/glslang_tab.cpp"
 8995|     21|    break;
 8996|       |
 8997|      7|  case 296: /* type_specifier_nonarray: FE3M2VEC2  */
  ------------------
  |  Branch (8997:3): [True: 7, False: 2.95M]
  ------------------
 8998|      7|#line 2190 "MachineIndependent/glslang.y"
 8999|      7|                {
 9000|      7|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9001|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9002|      7|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9003|      7|        (yyval.interm.type).setVector(2);
 9004|      7|    }
 9005|      7|#line 9006 "MachineIndependent/glslang_tab.cpp"
 9006|      7|    break;
 9007|       |
 9008|      7|  case 297: /* type_specifier_nonarray: FE3M2VEC3  */
  ------------------
  |  Branch (9008:3): [True: 7, False: 2.95M]
  ------------------
 9009|      7|#line 2196 "MachineIndependent/glslang.y"
 9010|      7|                {
 9011|      7|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9012|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9013|      7|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9014|      7|        (yyval.interm.type).setVector(3);
 9015|      7|    }
 9016|      7|#line 9017 "MachineIndependent/glslang_tab.cpp"
 9017|      7|    break;
 9018|       |
 9019|     21|  case 298: /* type_specifier_nonarray: FE3M2VEC4  */
  ------------------
  |  Branch (9019:3): [True: 21, False: 2.95M]
  ------------------
 9020|     21|#line 2202 "MachineIndependent/glslang.y"
 9021|     21|                {
 9022|     21|        parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate3m2ScalarVectorCheck((yyvsp[0].lex).loc, "fe3m2 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 9023|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 9024|     21|        (yyval.interm.type).basicType = EbtFloatE3M2;
 9025|     21|        (yyval.interm.type).setVector(4);
 9026|     21|    }
 9027|     21|#line 9028 "MachineIndependent/glslang_tab.cpp"
 9028|     21|    break;
 9029|       |
 9030|      7|  case 299: /* type_specifier_nonarray: FE2M3VEC2  */
  ------------------
  |  Branch (9030:3): [True: 7, False: 2.95M]
  ------------------
 9031|      7|#line 2208 "MachineIndependent/glslang.y"
 9032|      7|                {
 9033|      7|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9034|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9035|      7|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9036|      7|        (yyval.interm.type).setVector(2);
 9037|      7|    }
 9038|      7|#line 9039 "MachineIndependent/glslang_tab.cpp"
 9039|      7|    break;
 9040|       |
 9041|      7|  case 300: /* type_specifier_nonarray: FE2M3VEC3  */
  ------------------
  |  Branch (9041:3): [True: 7, False: 2.95M]
  ------------------
 9042|      7|#line 2214 "MachineIndependent/glslang.y"
 9043|      7|                {
 9044|      7|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9045|      7|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      7|#define parseContext (*pParseContext)
  ------------------
 9046|      7|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9047|      7|        (yyval.interm.type).setVector(3);
 9048|      7|    }
 9049|      7|#line 9050 "MachineIndependent/glslang_tab.cpp"
 9050|      7|    break;
 9051|       |
 9052|     21|  case 301: /* type_specifier_nonarray: FE2M3VEC4  */
  ------------------
  |  Branch (9052:3): [True: 21, False: 2.95M]
  ------------------
 9053|     21|#line 2220 "MachineIndependent/glslang.y"
 9054|     21|                {
 9055|     21|        parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floate2m3ScalarVectorCheck((yyvsp[0].lex).loc, "fe2m3 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 9056|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
 9057|     21|        (yyval.interm.type).basicType = EbtFloatE2M3;
 9058|     21|        (yyval.interm.type).setVector(4);
 9059|     21|    }
 9060|     21|#line 9061 "MachineIndependent/glslang_tab.cpp"
 9061|     21|    break;
 9062|       |
 9063|     28|  case 302: /* type_specifier_nonarray: FUE8M0VEC2  */
  ------------------
  |  Branch (9063:3): [True: 28, False: 2.95M]
  ------------------
 9064|     28|#line 2226 "MachineIndependent/glslang.y"
 9065|     28|                 {
 9066|     28|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9067|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9068|     28|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9069|     28|        (yyval.interm.type).setVector(2);
 9070|     28|    }
 9071|     28|#line 9072 "MachineIndependent/glslang_tab.cpp"
 9072|     28|    break;
 9073|       |
 9074|     28|  case 303: /* type_specifier_nonarray: FUE8M0VEC3  */
  ------------------
  |  Branch (9074:3): [True: 28, False: 2.95M]
  ------------------
 9075|     28|#line 2232 "MachineIndependent/glslang.y"
 9076|     28|                 {
 9077|     28|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9078|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9079|     28|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9080|     28|        (yyval.interm.type).setVector(3);
 9081|     28|    }
 9082|     28|#line 9083 "MachineIndependent/glslang_tab.cpp"
 9083|     28|    break;
 9084|       |
 9085|     28|  case 304: /* type_specifier_nonarray: FUE8M0VEC4  */
  ------------------
  |  Branch (9085:3): [True: 28, False: 2.95M]
  ------------------
 9086|     28|#line 2238 "MachineIndependent/glslang.y"
 9087|     28|                 {
 9088|     28|        parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatue8m0ScalarVectorCheck((yyvsp[0].lex).loc, "fue8m0 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9089|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9090|     28|        (yyval.interm.type).basicType = EbtFloatUE8M0;
 9091|     28|        (yyval.interm.type).setVector(4);
 9092|     28|    }
 9093|     28|#line 9094 "MachineIndependent/glslang_tab.cpp"
 9094|     28|    break;
 9095|       |
 9096|     28|  case 305: /* type_specifier_nonarray: FMXINT8VEC2  */
  ------------------
  |  Branch (9096:3): [True: 28, False: 2.95M]
  ------------------
 9097|     28|#line 2244 "MachineIndependent/glslang.y"
 9098|     28|                  {
 9099|     28|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9100|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9101|     28|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9102|     28|        (yyval.interm.type).setVector(2);
 9103|     28|    }
 9104|     28|#line 9105 "MachineIndependent/glslang_tab.cpp"
 9105|     28|    break;
 9106|       |
 9107|     28|  case 306: /* type_specifier_nonarray: FMXINT8VEC3  */
  ------------------
  |  Branch (9107:3): [True: 28, False: 2.95M]
  ------------------
 9108|     28|#line 2250 "MachineIndependent/glslang.y"
 9109|     28|                  {
 9110|     28|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9111|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9112|     28|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9113|     28|        (yyval.interm.type).setVector(3);
 9114|     28|    }
 9115|     28|#line 9116 "MachineIndependent/glslang_tab.cpp"
 9116|     28|    break;
 9117|       |
 9118|     28|  case 307: /* type_specifier_nonarray: FMXINT8VEC4  */
  ------------------
  |  Branch (9118:3): [True: 28, False: 2.95M]
  ------------------
 9119|     28|#line 2256 "MachineIndependent/glslang.y"
 9120|     28|                  {
 9121|     28|        parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.floatmxint8ScalarVectorCheck((yyvsp[0].lex).loc, "fmxint8 vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9122|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9123|     28|        (yyval.interm.type).basicType = EbtFloatMXINT8;
 9124|     28|        (yyval.interm.type).setVector(4);
 9125|     28|    }
 9126|     28|#line 9127 "MachineIndependent/glslang_tab.cpp"
 9127|     28|    break;
 9128|       |
 9129|  6.31k|  case 308: /* type_specifier_nonarray: F16VEC2  */
  ------------------
  |  Branch (9129:3): [True: 6.31k, False: 2.94M]
  ------------------
 9130|  6.31k|#line 2262 "MachineIndependent/glslang.y"
 9131|  6.31k|              {
 9132|  6.31k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  6.31k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  6.31k|#define parseContext (*pParseContext)
  ------------------
 9133|  6.31k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  6.31k|#define parseContext (*pParseContext)
  ------------------
 9134|  6.31k|        (yyval.interm.type).basicType = EbtFloat16;
 9135|  6.31k|        (yyval.interm.type).setVector(2);
 9136|  6.31k|    }
 9137|  6.31k|#line 9138 "MachineIndependent/glslang_tab.cpp"
 9138|  6.31k|    break;
 9139|       |
 9140|  4.27k|  case 309: /* type_specifier_nonarray: F16VEC3  */
  ------------------
  |  Branch (9140:3): [True: 4.27k, False: 2.94M]
  ------------------
 9141|  4.27k|#line 2268 "MachineIndependent/glslang.y"
 9142|  4.27k|              {
 9143|  4.27k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.27k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.27k|#define parseContext (*pParseContext)
  ------------------
 9144|  4.27k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.27k|#define parseContext (*pParseContext)
  ------------------
 9145|  4.27k|        (yyval.interm.type).basicType = EbtFloat16;
 9146|  4.27k|        (yyval.interm.type).setVector(3);
 9147|  4.27k|    }
 9148|  4.27k|#line 9149 "MachineIndependent/glslang_tab.cpp"
 9149|  4.27k|    break;
 9150|       |
 9151|  10.8k|  case 310: /* type_specifier_nonarray: F16VEC4  */
  ------------------
  |  Branch (9151:3): [True: 10.8k, False: 2.93M]
  ------------------
 9152|  10.8k|#line 2274 "MachineIndependent/glslang.y"
 9153|  10.8k|              {
 9154|  10.8k|        parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  10.8k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  10.8k|#define parseContext (*pParseContext)
  ------------------
 9155|  10.8k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  10.8k|#define parseContext (*pParseContext)
  ------------------
 9156|  10.8k|        (yyval.interm.type).basicType = EbtFloat16;
 9157|  10.8k|        (yyval.interm.type).setVector(4);
 9158|  10.8k|    }
 9159|  10.8k|#line 9160 "MachineIndependent/glslang_tab.cpp"
 9160|  10.8k|    break;
 9161|       |
 9162|     28|  case 311: /* type_specifier_nonarray: F32VEC2  */
  ------------------
  |  Branch (9162:3): [True: 28, False: 2.95M]
  ------------------
 9163|     28|#line 2280 "MachineIndependent/glslang.y"
 9164|     28|              {
 9165|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9166|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9167|     28|        (yyval.interm.type).basicType = EbtFloat;
 9168|     28|        (yyval.interm.type).setVector(2);
 9169|     28|    }
 9170|     28|#line 9171 "MachineIndependent/glslang_tab.cpp"
 9171|     28|    break;
 9172|       |
 9173|     28|  case 312: /* type_specifier_nonarray: F32VEC3  */
  ------------------
  |  Branch (9173:3): [True: 28, False: 2.95M]
  ------------------
 9174|     28|#line 2286 "MachineIndependent/glslang.y"
 9175|     28|              {
 9176|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9177|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9178|     28|        (yyval.interm.type).basicType = EbtFloat;
 9179|     28|        (yyval.interm.type).setVector(3);
 9180|     28|    }
 9181|     28|#line 9182 "MachineIndependent/glslang_tab.cpp"
 9182|     28|    break;
 9183|       |
 9184|     28|  case 313: /* type_specifier_nonarray: F32VEC4  */
  ------------------
  |  Branch (9184:3): [True: 28, False: 2.95M]
  ------------------
 9185|     28|#line 2292 "MachineIndependent/glslang.y"
 9186|     28|              {
 9187|     28|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9188|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9189|     28|        (yyval.interm.type).basicType = EbtFloat;
 9190|     28|        (yyval.interm.type).setVector(4);
 9191|     28|    }
 9192|     28|#line 9193 "MachineIndependent/glslang_tab.cpp"
 9193|     28|    break;
 9194|       |
 9195|    630|  case 314: /* type_specifier_nonarray: F64VEC2  */
  ------------------
  |  Branch (9195:3): [True: 630, False: 2.94M]
  ------------------
 9196|    630|#line 2298 "MachineIndependent/glslang.y"
 9197|    630|              {
 9198|    630|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    630|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    630|#define parseContext (*pParseContext)
  ------------------
 9199|    630|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    630|#define parseContext (*pParseContext)
  ------------------
 9200|    630|        (yyval.interm.type).basicType = EbtDouble;
 9201|    630|        (yyval.interm.type).setVector(2);
 9202|    630|    }
 9203|    630|#line 9204 "MachineIndependent/glslang_tab.cpp"
 9204|    630|    break;
 9205|       |
 9206|    602|  case 315: /* type_specifier_nonarray: F64VEC3  */
  ------------------
  |  Branch (9206:3): [True: 602, False: 2.94M]
  ------------------
 9207|    602|#line 2304 "MachineIndependent/glslang.y"
 9208|    602|              {
 9209|    602|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
 9210|    602|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
 9211|    602|        (yyval.interm.type).basicType = EbtDouble;
 9212|    602|        (yyval.interm.type).setVector(3);
 9213|    602|    }
 9214|    602|#line 9215 "MachineIndependent/glslang_tab.cpp"
 9215|    602|    break;
 9216|       |
 9217|    602|  case 316: /* type_specifier_nonarray: F64VEC4  */
  ------------------
  |  Branch (9217:3): [True: 602, False: 2.94M]
  ------------------
 9218|    602|#line 2310 "MachineIndependent/glslang.y"
 9219|    602|              {
 9220|    602|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
 9221|    602|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    602|#define parseContext (*pParseContext)
  ------------------
 9222|    602|        (yyval.interm.type).basicType = EbtDouble;
 9223|    602|        (yyval.interm.type).setVector(4);
 9224|    602|    }
 9225|    602|#line 9226 "MachineIndependent/glslang_tab.cpp"
 9226|    602|    break;
 9227|       |
 9228|  1.42k|  case 317: /* type_specifier_nonarray: I8VEC2  */
  ------------------
  |  Branch (9228:3): [True: 1.42k, False: 2.94M]
  ------------------
 9229|  1.42k|#line 2316 "MachineIndependent/glslang.y"
 9230|  1.42k|             {
 9231|  1.42k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
 9232|  1.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
 9233|  1.42k|        (yyval.interm.type).basicType = EbtInt8;
 9234|  1.42k|        (yyval.interm.type).setVector(2);
 9235|  1.42k|    }
 9236|  1.42k|#line 9237 "MachineIndependent/glslang_tab.cpp"
 9237|  1.42k|    break;
 9238|       |
 9239|  1.38k|  case 318: /* type_specifier_nonarray: I8VEC3  */
  ------------------
  |  Branch (9239:3): [True: 1.38k, False: 2.94M]
  ------------------
 9240|  1.38k|#line 2322 "MachineIndependent/glslang.y"
 9241|  1.38k|             {
 9242|  1.38k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.38k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.38k|#define parseContext (*pParseContext)
  ------------------
 9243|  1.38k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.38k|#define parseContext (*pParseContext)
  ------------------
 9244|  1.38k|        (yyval.interm.type).basicType = EbtInt8;
 9245|  1.38k|        (yyval.interm.type).setVector(3);
 9246|  1.38k|    }
 9247|  1.38k|#line 9248 "MachineIndependent/glslang_tab.cpp"
 9248|  1.38k|    break;
 9249|       |
 9250|  1.42k|  case 319: /* type_specifier_nonarray: I8VEC4  */
  ------------------
  |  Branch (9250:3): [True: 1.42k, False: 2.94M]
  ------------------
 9251|  1.42k|#line 2328 "MachineIndependent/glslang.y"
 9252|  1.42k|             {
 9253|  1.42k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
 9254|  1.42k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.42k|#define parseContext (*pParseContext)
  ------------------
 9255|  1.42k|        (yyval.interm.type).basicType = EbtInt8;
 9256|  1.42k|        (yyval.interm.type).setVector(4);
 9257|  1.42k|    }
 9258|  1.42k|#line 9259 "MachineIndependent/glslang_tab.cpp"
 9259|  1.42k|    break;
 9260|       |
 9261|  1.87k|  case 320: /* type_specifier_nonarray: I16VEC2  */
  ------------------
  |  Branch (9261:3): [True: 1.87k, False: 2.94M]
  ------------------
 9262|  1.87k|#line 2334 "MachineIndependent/glslang.y"
 9263|  1.87k|              {
 9264|  1.87k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
 9265|  1.87k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
 9266|  1.87k|        (yyval.interm.type).basicType = EbtInt16;
 9267|  1.87k|        (yyval.interm.type).setVector(2);
 9268|  1.87k|    }
 9269|  1.87k|#line 9270 "MachineIndependent/glslang_tab.cpp"
 9270|  1.87k|    break;
 9271|       |
 9272|  1.82k|  case 321: /* type_specifier_nonarray: I16VEC3  */
  ------------------
  |  Branch (9272:3): [True: 1.82k, False: 2.94M]
  ------------------
 9273|  1.82k|#line 2340 "MachineIndependent/glslang.y"
 9274|  1.82k|              {
 9275|  1.82k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.82k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.82k|#define parseContext (*pParseContext)
  ------------------
 9276|  1.82k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.82k|#define parseContext (*pParseContext)
  ------------------
 9277|  1.82k|        (yyval.interm.type).basicType = EbtInt16;
 9278|  1.82k|        (yyval.interm.type).setVector(3);
 9279|  1.82k|    }
 9280|  1.82k|#line 9281 "MachineIndependent/glslang_tab.cpp"
 9281|  1.82k|    break;
 9282|       |
 9283|  1.87k|  case 322: /* type_specifier_nonarray: I16VEC4  */
  ------------------
  |  Branch (9283:3): [True: 1.87k, False: 2.94M]
  ------------------
 9284|  1.87k|#line 2346 "MachineIndependent/glslang.y"
 9285|  1.87k|              {
 9286|  1.87k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
 9287|  1.87k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.87k|#define parseContext (*pParseContext)
  ------------------
 9288|  1.87k|        (yyval.interm.type).basicType = EbtInt16;
 9289|  1.87k|        (yyval.interm.type).setVector(4);
 9290|  1.87k|    }
 9291|  1.87k|#line 9292 "MachineIndependent/glslang_tab.cpp"
 9292|  1.87k|    break;
 9293|       |
 9294|     42|  case 323: /* type_specifier_nonarray: I32VEC2  */
  ------------------
  |  Branch (9294:3): [True: 42, False: 2.95M]
  ------------------
 9295|     42|#line 2352 "MachineIndependent/glslang.y"
 9296|     42|              {
 9297|     42|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9298|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9299|     42|        (yyval.interm.type).basicType = EbtInt;
 9300|     42|        (yyval.interm.type).setVector(2);
 9301|     42|    }
 9302|     42|#line 9303 "MachineIndependent/glslang_tab.cpp"
 9303|     42|    break;
 9304|       |
 9305|     28|  case 324: /* type_specifier_nonarray: I32VEC3  */
  ------------------
  |  Branch (9305:3): [True: 28, False: 2.95M]
  ------------------
 9306|     28|#line 2358 "MachineIndependent/glslang.y"
 9307|     28|              {
 9308|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9309|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9310|     28|        (yyval.interm.type).basicType = EbtInt;
 9311|     28|        (yyval.interm.type).setVector(3);
 9312|     28|    }
 9313|     28|#line 9314 "MachineIndependent/glslang_tab.cpp"
 9314|     28|    break;
 9315|       |
 9316|     28|  case 325: /* type_specifier_nonarray: I32VEC4  */
  ------------------
  |  Branch (9316:3): [True: 28, False: 2.95M]
  ------------------
 9317|     28|#line 2364 "MachineIndependent/glslang.y"
 9318|     28|              {
 9319|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9320|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9321|     28|        (yyval.interm.type).basicType = EbtInt;
 9322|     28|        (yyval.interm.type).setVector(4);
 9323|     28|    }
 9324|     28|#line 9325 "MachineIndependent/glslang_tab.cpp"
 9325|     28|    break;
 9326|       |
 9327|  1.67k|  case 326: /* type_specifier_nonarray: I64VEC2  */
  ------------------
  |  Branch (9327:3): [True: 1.67k, False: 2.94M]
  ------------------
 9328|  1.67k|#line 2370 "MachineIndependent/glslang.y"
 9329|  1.67k|              {
 9330|  1.67k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.67k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.67k|#define parseContext (*pParseContext)
  ------------------
 9331|  1.67k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.67k|#define parseContext (*pParseContext)
  ------------------
 9332|  1.67k|        (yyval.interm.type).basicType = EbtInt64;
 9333|  1.67k|        (yyval.interm.type).setVector(2);
 9334|  1.67k|    }
 9335|  1.67k|#line 9336 "MachineIndependent/glslang_tab.cpp"
 9336|  1.67k|    break;
 9337|       |
 9338|  1.64k|  case 327: /* type_specifier_nonarray: I64VEC3  */
  ------------------
  |  Branch (9338:3): [True: 1.64k, False: 2.94M]
  ------------------
 9339|  1.64k|#line 2376 "MachineIndependent/glslang.y"
 9340|  1.64k|              {
 9341|  1.64k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.64k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.64k|#define parseContext (*pParseContext)
  ------------------
 9342|  1.64k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.64k|#define parseContext (*pParseContext)
  ------------------
 9343|  1.64k|        (yyval.interm.type).basicType = EbtInt64;
 9344|  1.64k|        (yyval.interm.type).setVector(3);
 9345|  1.64k|    }
 9346|  1.64k|#line 9347 "MachineIndependent/glslang_tab.cpp"
 9347|  1.64k|    break;
 9348|       |
 9349|  2.01k|  case 328: /* type_specifier_nonarray: I64VEC4  */
  ------------------
  |  Branch (9349:3): [True: 2.01k, False: 2.94M]
  ------------------
 9350|  2.01k|#line 2382 "MachineIndependent/glslang.y"
 9351|  2.01k|              {
 9352|  2.01k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.01k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  2.01k|#define parseContext (*pParseContext)
  ------------------
 9353|  2.01k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  2.01k|#define parseContext (*pParseContext)
  ------------------
 9354|  2.01k|        (yyval.interm.type).basicType = EbtInt64;
 9355|  2.01k|        (yyval.interm.type).setVector(4);
 9356|  2.01k|    }
 9357|  2.01k|#line 9358 "MachineIndependent/glslang_tab.cpp"
 9358|  2.01k|    break;
 9359|       |
 9360|  1.37k|  case 329: /* type_specifier_nonarray: U8VEC2  */
  ------------------
  |  Branch (9360:3): [True: 1.37k, False: 2.94M]
  ------------------
 9361|  1.37k|#line 2388 "MachineIndependent/glslang.y"
 9362|  1.37k|             {
 9363|  1.37k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
 9364|  1.37k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
 9365|  1.37k|        (yyval.interm.type).basicType = EbtUint8;
 9366|  1.37k|        (yyval.interm.type).setVector(2);
 9367|  1.37k|    }
 9368|  1.37k|#line 9369 "MachineIndependent/glslang_tab.cpp"
 9369|  1.37k|    break;
 9370|       |
 9371|  1.36k|  case 330: /* type_specifier_nonarray: U8VEC3  */
  ------------------
  |  Branch (9371:3): [True: 1.36k, False: 2.94M]
  ------------------
 9372|  1.36k|#line 2394 "MachineIndependent/glslang.y"
 9373|  1.36k|             {
 9374|  1.36k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.36k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.36k|#define parseContext (*pParseContext)
  ------------------
 9375|  1.36k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.36k|#define parseContext (*pParseContext)
  ------------------
 9376|  1.36k|        (yyval.interm.type).basicType = EbtUint8;
 9377|  1.36k|        (yyval.interm.type).setVector(3);
 9378|  1.36k|    }
 9379|  1.36k|#line 9380 "MachineIndependent/glslang_tab.cpp"
 9380|  1.36k|    break;
 9381|       |
 9382|  1.37k|  case 331: /* type_specifier_nonarray: U8VEC4  */
  ------------------
  |  Branch (9382:3): [True: 1.37k, False: 2.94M]
  ------------------
 9383|  1.37k|#line 2400 "MachineIndependent/glslang.y"
 9384|  1.37k|             {
 9385|  1.37k|        parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
 9386|  1.37k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.37k|#define parseContext (*pParseContext)
  ------------------
 9387|  1.37k|        (yyval.interm.type).basicType = EbtUint8;
 9388|  1.37k|        (yyval.interm.type).setVector(4);
 9389|  1.37k|    }
 9390|  1.37k|#line 9391 "MachineIndependent/glslang_tab.cpp"
 9391|  1.37k|    break;
 9392|       |
 9393|  1.80k|  case 332: /* type_specifier_nonarray: U16VEC2  */
  ------------------
  |  Branch (9393:3): [True: 1.80k, False: 2.94M]
  ------------------
 9394|  1.80k|#line 2406 "MachineIndependent/glslang.y"
 9395|  1.80k|              {
 9396|  1.80k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
 9397|  1.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
 9398|  1.80k|        (yyval.interm.type).basicType = EbtUint16;
 9399|  1.80k|        (yyval.interm.type).setVector(2);
 9400|  1.80k|    }
 9401|  1.80k|#line 9402 "MachineIndependent/glslang_tab.cpp"
 9402|  1.80k|    break;
 9403|       |
 9404|  1.77k|  case 333: /* type_specifier_nonarray: U16VEC3  */
  ------------------
  |  Branch (9404:3): [True: 1.77k, False: 2.94M]
  ------------------
 9405|  1.77k|#line 2412 "MachineIndependent/glslang.y"
 9406|  1.77k|              {
 9407|  1.77k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.77k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.77k|#define parseContext (*pParseContext)
  ------------------
 9408|  1.77k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.77k|#define parseContext (*pParseContext)
  ------------------
 9409|  1.77k|        (yyval.interm.type).basicType = EbtUint16;
 9410|  1.77k|        (yyval.interm.type).setVector(3);
 9411|  1.77k|    }
 9412|  1.77k|#line 9413 "MachineIndependent/glslang_tab.cpp"
 9413|  1.77k|    break;
 9414|       |
 9415|  1.80k|  case 334: /* type_specifier_nonarray: U16VEC4  */
  ------------------
  |  Branch (9415:3): [True: 1.80k, False: 2.94M]
  ------------------
 9416|  1.80k|#line 2418 "MachineIndependent/glslang.y"
 9417|  1.80k|              {
 9418|  1.80k|        parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
 9419|  1.80k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.80k|#define parseContext (*pParseContext)
  ------------------
 9420|  1.80k|        (yyval.interm.type).basicType = EbtUint16;
 9421|  1.80k|        (yyval.interm.type).setVector(4);
 9422|  1.80k|    }
 9423|  1.80k|#line 9424 "MachineIndependent/glslang_tab.cpp"
 9424|  1.80k|    break;
 9425|       |
 9426|     56|  case 335: /* type_specifier_nonarray: U32VEC2  */
  ------------------
  |  Branch (9426:3): [True: 56, False: 2.95M]
  ------------------
 9427|     56|#line 2424 "MachineIndependent/glslang.y"
 9428|     56|              {
 9429|     56|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 9430|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 9431|     56|        (yyval.interm.type).basicType = EbtUint;
 9432|     56|        (yyval.interm.type).setVector(2);
 9433|     56|    }
 9434|     56|#line 9435 "MachineIndependent/glslang_tab.cpp"
 9435|     56|    break;
 9436|       |
 9437|     56|  case 336: /* type_specifier_nonarray: U32VEC3  */
  ------------------
  |  Branch (9437:3): [True: 56, False: 2.95M]
  ------------------
 9438|     56|#line 2430 "MachineIndependent/glslang.y"
 9439|     56|              {
 9440|     56|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 9441|     56|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     56|#define parseContext (*pParseContext)
  ------------------
 9442|     56|        (yyval.interm.type).basicType = EbtUint;
 9443|     56|        (yyval.interm.type).setVector(3);
 9444|     56|    }
 9445|     56|#line 9446 "MachineIndependent/glslang_tab.cpp"
 9446|     56|    break;
 9447|       |
 9448|     28|  case 337: /* type_specifier_nonarray: U32VEC4  */
  ------------------
  |  Branch (9448:3): [True: 28, False: 2.95M]
  ------------------
 9449|     28|#line 2436 "MachineIndependent/glslang.y"
 9450|     28|              {
 9451|     28|        parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9452|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
 9453|     28|        (yyval.interm.type).basicType = EbtUint;
 9454|     28|        (yyval.interm.type).setVector(4);
 9455|     28|    }
 9456|     28|#line 9457 "MachineIndependent/glslang_tab.cpp"
 9457|     28|    break;
 9458|       |
 9459|  1.61k|  case 338: /* type_specifier_nonarray: U64VEC2  */
  ------------------
  |  Branch (9459:3): [True: 1.61k, False: 2.94M]
  ------------------
 9460|  1.61k|#line 2442 "MachineIndependent/glslang.y"
 9461|  1.61k|              {
 9462|  1.61k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
 9463|  1.61k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.61k|#define parseContext (*pParseContext)
  ------------------
 9464|  1.61k|        (yyval.interm.type).basicType = EbtUint64;
 9465|  1.61k|        (yyval.interm.type).setVector(2);
 9466|  1.61k|    }
 9467|  1.61k|#line 9468 "MachineIndependent/glslang_tab.cpp"
 9468|  1.61k|    break;
 9469|       |
 9470|  1.58k|  case 339: /* type_specifier_nonarray: U64VEC3  */
  ------------------
  |  Branch (9470:3): [True: 1.58k, False: 2.94M]
  ------------------
 9471|  1.58k|#line 2448 "MachineIndependent/glslang.y"
 9472|  1.58k|              {
 9473|  1.58k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
 9474|  1.58k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.58k|#define parseContext (*pParseContext)
  ------------------
 9475|  1.58k|        (yyval.interm.type).basicType = EbtUint64;
 9476|  1.58k|        (yyval.interm.type).setVector(3);
 9477|  1.58k|    }
 9478|  1.58k|#line 9479 "MachineIndependent/glslang_tab.cpp"
 9479|  1.58k|    break;
 9480|       |
 9481|  1.96k|  case 340: /* type_specifier_nonarray: U64VEC4  */
  ------------------
  |  Branch (9481:3): [True: 1.96k, False: 2.94M]
  ------------------
 9482|  1.96k|#line 2454 "MachineIndependent/glslang.y"
 9483|  1.96k|              {
 9484|  1.96k|        parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.96k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9485|  1.96k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.96k|#define parseContext (*pParseContext)
  ------------------
 9486|  1.96k|        (yyval.interm.type).basicType = EbtUint64;
 9487|  1.96k|        (yyval.interm.type).setVector(4);
 9488|  1.96k|    }
 9489|  1.96k|#line 9490 "MachineIndependent/glslang_tab.cpp"
 9490|  1.96k|    break;
 9491|       |
 9492|     63|  case 341: /* type_specifier_nonarray: DMAT2  */
  ------------------
  |  Branch (9492:3): [True: 63, False: 2.95M]
  ------------------
 9493|     63|#line 2460 "MachineIndependent/glslang.y"
 9494|     63|            {
 9495|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9496|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9496:13): [True: 0, False: 63]
  ------------------
 9497|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9498|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9499|     63|        (yyval.interm.type).basicType = EbtDouble;
 9500|     63|        (yyval.interm.type).setMatrix(2, 2);
 9501|     63|    }
 9502|     63|#line 9503 "MachineIndependent/glslang_tab.cpp"
 9503|     63|    break;
 9504|       |
 9505|     63|  case 342: /* type_specifier_nonarray: DMAT3  */
  ------------------
  |  Branch (9505:3): [True: 63, False: 2.95M]
  ------------------
 9506|     63|#line 2468 "MachineIndependent/glslang.y"
 9507|     63|            {
 9508|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9509|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9509:13): [True: 0, False: 63]
  ------------------
 9510|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9511|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9512|     63|        (yyval.interm.type).basicType = EbtDouble;
 9513|     63|        (yyval.interm.type).setMatrix(3, 3);
 9514|     63|    }
 9515|     63|#line 9516 "MachineIndependent/glslang_tab.cpp"
 9516|     63|    break;
 9517|       |
 9518|     63|  case 343: /* type_specifier_nonarray: DMAT4  */
  ------------------
  |  Branch (9518:3): [True: 63, False: 2.95M]
  ------------------
 9519|     63|#line 2476 "MachineIndependent/glslang.y"
 9520|     63|            {
 9521|     63|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9522|     63|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9522:13): [True: 0, False: 63]
  ------------------
 9523|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9524|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9525|     63|        (yyval.interm.type).basicType = EbtDouble;
 9526|     63|        (yyval.interm.type).setMatrix(4, 4);
 9527|     63|    }
 9528|     63|#line 9529 "MachineIndependent/glslang_tab.cpp"
 9529|     63|    break;
 9530|       |
 9531|      0|  case 344: /* type_specifier_nonarray: DMAT2X2  */
  ------------------
  |  Branch (9531:3): [True: 0, False: 2.95M]
  ------------------
 9532|      0|#line 2484 "MachineIndependent/glslang.y"
 9533|      0|              {
 9534|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9535|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9535:13): [True: 0, False: 0]
  ------------------
 9536|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9537|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9538|      0|        (yyval.interm.type).basicType = EbtDouble;
 9539|      0|        (yyval.interm.type).setMatrix(2, 2);
 9540|      0|    }
 9541|      0|#line 9542 "MachineIndependent/glslang_tab.cpp"
 9542|      0|    break;
 9543|       |
 9544|     42|  case 345: /* type_specifier_nonarray: DMAT2X3  */
  ------------------
  |  Branch (9544:3): [True: 42, False: 2.95M]
  ------------------
 9545|     42|#line 2492 "MachineIndependent/glslang.y"
 9546|     42|              {
 9547|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9548|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9548:13): [True: 0, False: 42]
  ------------------
 9549|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9550|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9551|     42|        (yyval.interm.type).basicType = EbtDouble;
 9552|     42|        (yyval.interm.type).setMatrix(2, 3);
 9553|     42|    }
 9554|     42|#line 9555 "MachineIndependent/glslang_tab.cpp"
 9555|     42|    break;
 9556|       |
 9557|     42|  case 346: /* type_specifier_nonarray: DMAT2X4  */
  ------------------
  |  Branch (9557:3): [True: 42, False: 2.95M]
  ------------------
 9558|     42|#line 2500 "MachineIndependent/glslang.y"
 9559|     42|              {
 9560|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9561|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9561:13): [True: 0, False: 42]
  ------------------
 9562|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9563|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9564|     42|        (yyval.interm.type).basicType = EbtDouble;
 9565|     42|        (yyval.interm.type).setMatrix(2, 4);
 9566|     42|    }
 9567|     42|#line 9568 "MachineIndependent/glslang_tab.cpp"
 9568|     42|    break;
 9569|       |
 9570|     42|  case 347: /* type_specifier_nonarray: DMAT3X2  */
  ------------------
  |  Branch (9570:3): [True: 42, False: 2.95M]
  ------------------
 9571|     42|#line 2508 "MachineIndependent/glslang.y"
 9572|     42|              {
 9573|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9574|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9574:13): [True: 0, False: 42]
  ------------------
 9575|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9576|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9577|     42|        (yyval.interm.type).basicType = EbtDouble;
 9578|     42|        (yyval.interm.type).setMatrix(3, 2);
 9579|     42|    }
 9580|     42|#line 9581 "MachineIndependent/glslang_tab.cpp"
 9581|     42|    break;
 9582|       |
 9583|      0|  case 348: /* type_specifier_nonarray: DMAT3X3  */
  ------------------
  |  Branch (9583:3): [True: 0, False: 2.95M]
  ------------------
 9584|      0|#line 2516 "MachineIndependent/glslang.y"
 9585|      0|              {
 9586|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9587|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9587:13): [True: 0, False: 0]
  ------------------
 9588|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9589|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9590|      0|        (yyval.interm.type).basicType = EbtDouble;
 9591|      0|        (yyval.interm.type).setMatrix(3, 3);
 9592|      0|    }
 9593|      0|#line 9594 "MachineIndependent/glslang_tab.cpp"
 9594|      0|    break;
 9595|       |
 9596|     42|  case 349: /* type_specifier_nonarray: DMAT3X4  */
  ------------------
  |  Branch (9596:3): [True: 42, False: 2.95M]
  ------------------
 9597|     42|#line 2524 "MachineIndependent/glslang.y"
 9598|     42|              {
 9599|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9600|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9600:13): [True: 0, False: 42]
  ------------------
 9601|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9602|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9603|     42|        (yyval.interm.type).basicType = EbtDouble;
 9604|     42|        (yyval.interm.type).setMatrix(3, 4);
 9605|     42|    }
 9606|     42|#line 9607 "MachineIndependent/glslang_tab.cpp"
 9607|     42|    break;
 9608|       |
 9609|     42|  case 350: /* type_specifier_nonarray: DMAT4X2  */
  ------------------
  |  Branch (9609:3): [True: 42, False: 2.95M]
  ------------------
 9610|     42|#line 2532 "MachineIndependent/glslang.y"
 9611|     42|              {
 9612|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9613|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9613:13): [True: 0, False: 42]
  ------------------
 9614|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9615|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9616|     42|        (yyval.interm.type).basicType = EbtDouble;
 9617|     42|        (yyval.interm.type).setMatrix(4, 2);
 9618|     42|    }
 9619|     42|#line 9620 "MachineIndependent/glslang_tab.cpp"
 9620|     42|    break;
 9621|       |
 9622|     42|  case 351: /* type_specifier_nonarray: DMAT4X3  */
  ------------------
  |  Branch (9622:3): [True: 42, False: 2.95M]
  ------------------
 9623|     42|#line 2540 "MachineIndependent/glslang.y"
 9624|     42|              {
 9625|     42|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9626|     42|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9626:13): [True: 0, False: 42]
  ------------------
 9627|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9628|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9629|     42|        (yyval.interm.type).basicType = EbtDouble;
 9630|     42|        (yyval.interm.type).setMatrix(4, 3);
 9631|     42|    }
 9632|     42|#line 9633 "MachineIndependent/glslang_tab.cpp"
 9633|     42|    break;
 9634|       |
 9635|      0|  case 352: /* type_specifier_nonarray: DMAT4X4  */
  ------------------
  |  Branch (9635:3): [True: 0, False: 2.95M]
  ------------------
 9636|      0|#line 2548 "MachineIndependent/glslang.y"
 9637|      0|              {
 9638|      0|        parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9639|      0|        if (! parseContext.symbolTable.atBuiltInLevel())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (9639:13): [True: 0, False: 0]
  ------------------
 9640|      0|            parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9641|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9642|      0|        (yyval.interm.type).basicType = EbtDouble;
 9643|      0|        (yyval.interm.type).setMatrix(4, 4);
 9644|      0|    }
 9645|      0|#line 9646 "MachineIndependent/glslang_tab.cpp"
 9646|      0|    break;
 9647|       |
 9648|     63|  case 353: /* type_specifier_nonarray: F16MAT2  */
  ------------------
  |  Branch (9648:3): [True: 63, False: 2.95M]
  ------------------
 9649|     63|#line 2556 "MachineIndependent/glslang.y"
 9650|     63|              {
 9651|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9652|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9653|     63|        (yyval.interm.type).basicType = EbtFloat16;
 9654|     63|        (yyval.interm.type).setMatrix(2, 2);
 9655|     63|    }
 9656|     63|#line 9657 "MachineIndependent/glslang_tab.cpp"
 9657|     63|    break;
 9658|       |
 9659|     63|  case 354: /* type_specifier_nonarray: F16MAT3  */
  ------------------
  |  Branch (9659:3): [True: 63, False: 2.95M]
  ------------------
 9660|     63|#line 2562 "MachineIndependent/glslang.y"
 9661|     63|              {
 9662|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9663|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9664|     63|        (yyval.interm.type).basicType = EbtFloat16;
 9665|     63|        (yyval.interm.type).setMatrix(3, 3);
 9666|     63|    }
 9667|     63|#line 9668 "MachineIndependent/glslang_tab.cpp"
 9668|     63|    break;
 9669|       |
 9670|     63|  case 355: /* type_specifier_nonarray: F16MAT4  */
  ------------------
  |  Branch (9670:3): [True: 63, False: 2.95M]
  ------------------
 9671|     63|#line 2568 "MachineIndependent/glslang.y"
 9672|     63|              {
 9673|     63|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9674|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
 9675|     63|        (yyval.interm.type).basicType = EbtFloat16;
 9676|     63|        (yyval.interm.type).setMatrix(4, 4);
 9677|     63|    }
 9678|     63|#line 9679 "MachineIndependent/glslang_tab.cpp"
 9679|     63|    break;
 9680|       |
 9681|      0|  case 356: /* type_specifier_nonarray: F16MAT2X2  */
  ------------------
  |  Branch (9681:3): [True: 0, False: 2.95M]
  ------------------
 9682|      0|#line 2574 "MachineIndependent/glslang.y"
 9683|      0|                {
 9684|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9685|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9686|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9687|      0|        (yyval.interm.type).setMatrix(2, 2);
 9688|      0|    }
 9689|      0|#line 9690 "MachineIndependent/glslang_tab.cpp"
 9690|      0|    break;
 9691|       |
 9692|     42|  case 357: /* type_specifier_nonarray: F16MAT2X3  */
  ------------------
  |  Branch (9692:3): [True: 42, False: 2.95M]
  ------------------
 9693|     42|#line 2580 "MachineIndependent/glslang.y"
 9694|     42|                {
 9695|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9696|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9697|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9698|     42|        (yyval.interm.type).setMatrix(2, 3);
 9699|     42|    }
 9700|     42|#line 9701 "MachineIndependent/glslang_tab.cpp"
 9701|     42|    break;
 9702|       |
 9703|     42|  case 358: /* type_specifier_nonarray: F16MAT2X4  */
  ------------------
  |  Branch (9703:3): [True: 42, False: 2.95M]
  ------------------
 9704|     42|#line 2586 "MachineIndependent/glslang.y"
 9705|     42|                {
 9706|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9707|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9708|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9709|     42|        (yyval.interm.type).setMatrix(2, 4);
 9710|     42|    }
 9711|     42|#line 9712 "MachineIndependent/glslang_tab.cpp"
 9712|     42|    break;
 9713|       |
 9714|     42|  case 359: /* type_specifier_nonarray: F16MAT3X2  */
  ------------------
  |  Branch (9714:3): [True: 42, False: 2.95M]
  ------------------
 9715|     42|#line 2592 "MachineIndependent/glslang.y"
 9716|     42|                {
 9717|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9718|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9719|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9720|     42|        (yyval.interm.type).setMatrix(3, 2);
 9721|     42|    }
 9722|     42|#line 9723 "MachineIndependent/glslang_tab.cpp"
 9723|     42|    break;
 9724|       |
 9725|      0|  case 360: /* type_specifier_nonarray: F16MAT3X3  */
  ------------------
  |  Branch (9725:3): [True: 0, False: 2.95M]
  ------------------
 9726|      0|#line 2598 "MachineIndependent/glslang.y"
 9727|      0|                {
 9728|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9729|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9730|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9731|      0|        (yyval.interm.type).setMatrix(3, 3);
 9732|      0|    }
 9733|      0|#line 9734 "MachineIndependent/glslang_tab.cpp"
 9734|      0|    break;
 9735|       |
 9736|     42|  case 361: /* type_specifier_nonarray: F16MAT3X4  */
  ------------------
  |  Branch (9736:3): [True: 42, False: 2.95M]
  ------------------
 9737|     42|#line 2604 "MachineIndependent/glslang.y"
 9738|     42|                {
 9739|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9740|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9741|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9742|     42|        (yyval.interm.type).setMatrix(3, 4);
 9743|     42|    }
 9744|     42|#line 9745 "MachineIndependent/glslang_tab.cpp"
 9745|     42|    break;
 9746|       |
 9747|     42|  case 362: /* type_specifier_nonarray: F16MAT4X2  */
  ------------------
  |  Branch (9747:3): [True: 42, False: 2.95M]
  ------------------
 9748|     42|#line 2610 "MachineIndependent/glslang.y"
 9749|     42|                {
 9750|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9751|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9752|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9753|     42|        (yyval.interm.type).setMatrix(4, 2);
 9754|     42|    }
 9755|     42|#line 9756 "MachineIndependent/glslang_tab.cpp"
 9756|     42|    break;
 9757|       |
 9758|     42|  case 363: /* type_specifier_nonarray: F16MAT4X3  */
  ------------------
  |  Branch (9758:3): [True: 42, False: 2.95M]
  ------------------
 9759|     42|#line 2616 "MachineIndependent/glslang.y"
 9760|     42|                {
 9761|     42|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9762|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
 9763|     42|        (yyval.interm.type).basicType = EbtFloat16;
 9764|     42|        (yyval.interm.type).setMatrix(4, 3);
 9765|     42|    }
 9766|     42|#line 9767 "MachineIndependent/glslang_tab.cpp"
 9767|     42|    break;
 9768|       |
 9769|      0|  case 364: /* type_specifier_nonarray: F16MAT4X4  */
  ------------------
  |  Branch (9769:3): [True: 0, False: 2.95M]
  ------------------
 9770|      0|#line 2622 "MachineIndependent/glslang.y"
 9771|      0|                {
 9772|      0|        parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9773|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9774|      0|        (yyval.interm.type).basicType = EbtFloat16;
 9775|      0|        (yyval.interm.type).setMatrix(4, 4);
 9776|      0|    }
 9777|      0|#line 9778 "MachineIndependent/glslang_tab.cpp"
 9778|      0|    break;
 9779|       |
 9780|      0|  case 365: /* type_specifier_nonarray: F32MAT2  */
  ------------------
  |  Branch (9780:3): [True: 0, False: 2.95M]
  ------------------
 9781|      0|#line 2628 "MachineIndependent/glslang.y"
 9782|      0|              {
 9783|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9784|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9785|      0|        (yyval.interm.type).basicType = EbtFloat;
 9786|      0|        (yyval.interm.type).setMatrix(2, 2);
 9787|      0|    }
 9788|      0|#line 9789 "MachineIndependent/glslang_tab.cpp"
 9789|      0|    break;
 9790|       |
 9791|      0|  case 366: /* type_specifier_nonarray: F32MAT3  */
  ------------------
  |  Branch (9791:3): [True: 0, False: 2.95M]
  ------------------
 9792|      0|#line 2634 "MachineIndependent/glslang.y"
 9793|      0|              {
 9794|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9795|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9796|      0|        (yyval.interm.type).basicType = EbtFloat;
 9797|      0|        (yyval.interm.type).setMatrix(3, 3);
 9798|      0|    }
 9799|      0|#line 9800 "MachineIndependent/glslang_tab.cpp"
 9800|      0|    break;
 9801|       |
 9802|      0|  case 367: /* type_specifier_nonarray: F32MAT4  */
  ------------------
  |  Branch (9802:3): [True: 0, False: 2.95M]
  ------------------
 9803|      0|#line 2640 "MachineIndependent/glslang.y"
 9804|      0|              {
 9805|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9806|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9807|      0|        (yyval.interm.type).basicType = EbtFloat;
 9808|      0|        (yyval.interm.type).setMatrix(4, 4);
 9809|      0|    }
 9810|      0|#line 9811 "MachineIndependent/glslang_tab.cpp"
 9811|      0|    break;
 9812|       |
 9813|      0|  case 368: /* type_specifier_nonarray: F32MAT2X2  */
  ------------------
  |  Branch (9813:3): [True: 0, False: 2.95M]
  ------------------
 9814|      0|#line 2646 "MachineIndependent/glslang.y"
 9815|      0|                {
 9816|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9817|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9818|      0|        (yyval.interm.type).basicType = EbtFloat;
 9819|      0|        (yyval.interm.type).setMatrix(2, 2);
 9820|      0|    }
 9821|      0|#line 9822 "MachineIndependent/glslang_tab.cpp"
 9822|      0|    break;
 9823|       |
 9824|      0|  case 369: /* type_specifier_nonarray: F32MAT2X3  */
  ------------------
  |  Branch (9824:3): [True: 0, False: 2.95M]
  ------------------
 9825|      0|#line 2652 "MachineIndependent/glslang.y"
 9826|      0|                {
 9827|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9828|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9829|      0|        (yyval.interm.type).basicType = EbtFloat;
 9830|      0|        (yyval.interm.type).setMatrix(2, 3);
 9831|      0|    }
 9832|      0|#line 9833 "MachineIndependent/glslang_tab.cpp"
 9833|      0|    break;
 9834|       |
 9835|      0|  case 370: /* type_specifier_nonarray: F32MAT2X4  */
  ------------------
  |  Branch (9835:3): [True: 0, False: 2.95M]
  ------------------
 9836|      0|#line 2658 "MachineIndependent/glslang.y"
 9837|      0|                {
 9838|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9839|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9840|      0|        (yyval.interm.type).basicType = EbtFloat;
 9841|      0|        (yyval.interm.type).setMatrix(2, 4);
 9842|      0|    }
 9843|      0|#line 9844 "MachineIndependent/glslang_tab.cpp"
 9844|      0|    break;
 9845|       |
 9846|      0|  case 371: /* type_specifier_nonarray: F32MAT3X2  */
  ------------------
  |  Branch (9846:3): [True: 0, False: 2.95M]
  ------------------
 9847|      0|#line 2664 "MachineIndependent/glslang.y"
 9848|      0|                {
 9849|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9850|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9851|      0|        (yyval.interm.type).basicType = EbtFloat;
 9852|      0|        (yyval.interm.type).setMatrix(3, 2);
 9853|      0|    }
 9854|      0|#line 9855 "MachineIndependent/glslang_tab.cpp"
 9855|      0|    break;
 9856|       |
 9857|      0|  case 372: /* type_specifier_nonarray: F32MAT3X3  */
  ------------------
  |  Branch (9857:3): [True: 0, False: 2.95M]
  ------------------
 9858|      0|#line 2670 "MachineIndependent/glslang.y"
 9859|      0|                {
 9860|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9861|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9862|      0|        (yyval.interm.type).basicType = EbtFloat;
 9863|      0|        (yyval.interm.type).setMatrix(3, 3);
 9864|      0|    }
 9865|      0|#line 9866 "MachineIndependent/glslang_tab.cpp"
 9866|      0|    break;
 9867|       |
 9868|      0|  case 373: /* type_specifier_nonarray: F32MAT3X4  */
  ------------------
  |  Branch (9868:3): [True: 0, False: 2.95M]
  ------------------
 9869|      0|#line 2676 "MachineIndependent/glslang.y"
 9870|      0|                {
 9871|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9872|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9873|      0|        (yyval.interm.type).basicType = EbtFloat;
 9874|      0|        (yyval.interm.type).setMatrix(3, 4);
 9875|      0|    }
 9876|      0|#line 9877 "MachineIndependent/glslang_tab.cpp"
 9877|      0|    break;
 9878|       |
 9879|      0|  case 374: /* type_specifier_nonarray: F32MAT4X2  */
  ------------------
  |  Branch (9879:3): [True: 0, False: 2.95M]
  ------------------
 9880|      0|#line 2682 "MachineIndependent/glslang.y"
 9881|      0|                {
 9882|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9883|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9884|      0|        (yyval.interm.type).basicType = EbtFloat;
 9885|      0|        (yyval.interm.type).setMatrix(4, 2);
 9886|      0|    }
 9887|      0|#line 9888 "MachineIndependent/glslang_tab.cpp"
 9888|      0|    break;
 9889|       |
 9890|      0|  case 375: /* type_specifier_nonarray: F32MAT4X3  */
  ------------------
  |  Branch (9890:3): [True: 0, False: 2.95M]
  ------------------
 9891|      0|#line 2688 "MachineIndependent/glslang.y"
 9892|      0|                {
 9893|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9894|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9895|      0|        (yyval.interm.type).basicType = EbtFloat;
 9896|      0|        (yyval.interm.type).setMatrix(4, 3);
 9897|      0|    }
 9898|      0|#line 9899 "MachineIndependent/glslang_tab.cpp"
 9899|      0|    break;
 9900|       |
 9901|      0|  case 376: /* type_specifier_nonarray: F32MAT4X4  */
  ------------------
  |  Branch (9901:3): [True: 0, False: 2.95M]
  ------------------
 9902|      0|#line 2694 "MachineIndependent/glslang.y"
 9903|      0|                {
 9904|      0|        parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9905|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9906|      0|        (yyval.interm.type).basicType = EbtFloat;
 9907|      0|        (yyval.interm.type).setMatrix(4, 4);
 9908|      0|    }
 9909|      0|#line 9910 "MachineIndependent/glslang_tab.cpp"
 9910|      0|    break;
 9911|       |
 9912|      0|  case 377: /* type_specifier_nonarray: F64MAT2  */
  ------------------
  |  Branch (9912:3): [True: 0, False: 2.95M]
  ------------------
 9913|      0|#line 2700 "MachineIndependent/glslang.y"
 9914|      0|              {
 9915|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9916|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9917|      0|        (yyval.interm.type).basicType = EbtDouble;
 9918|      0|        (yyval.interm.type).setMatrix(2, 2);
 9919|      0|    }
 9920|      0|#line 9921 "MachineIndependent/glslang_tab.cpp"
 9921|      0|    break;
 9922|       |
 9923|      0|  case 378: /* type_specifier_nonarray: F64MAT3  */
  ------------------
  |  Branch (9923:3): [True: 0, False: 2.95M]
  ------------------
 9924|      0|#line 2706 "MachineIndependent/glslang.y"
 9925|      0|              {
 9926|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9927|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9928|      0|        (yyval.interm.type).basicType = EbtDouble;
 9929|      0|        (yyval.interm.type).setMatrix(3, 3);
 9930|      0|    }
 9931|      0|#line 9932 "MachineIndependent/glslang_tab.cpp"
 9932|      0|    break;
 9933|       |
 9934|      0|  case 379: /* type_specifier_nonarray: F64MAT4  */
  ------------------
  |  Branch (9934:3): [True: 0, False: 2.95M]
  ------------------
 9935|      0|#line 2712 "MachineIndependent/glslang.y"
 9936|      0|              {
 9937|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9938|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9939|      0|        (yyval.interm.type).basicType = EbtDouble;
 9940|      0|        (yyval.interm.type).setMatrix(4, 4);
 9941|      0|    }
 9942|      0|#line 9943 "MachineIndependent/glslang_tab.cpp"
 9943|      0|    break;
 9944|       |
 9945|      0|  case 380: /* type_specifier_nonarray: F64MAT2X2  */
  ------------------
  |  Branch (9945:3): [True: 0, False: 2.95M]
  ------------------
 9946|      0|#line 2718 "MachineIndependent/glslang.y"
 9947|      0|                {
 9948|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9949|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9950|      0|        (yyval.interm.type).basicType = EbtDouble;
 9951|      0|        (yyval.interm.type).setMatrix(2, 2);
 9952|      0|    }
 9953|      0|#line 9954 "MachineIndependent/glslang_tab.cpp"
 9954|      0|    break;
 9955|       |
 9956|      0|  case 381: /* type_specifier_nonarray: F64MAT2X3  */
  ------------------
  |  Branch (9956:3): [True: 0, False: 2.95M]
  ------------------
 9957|      0|#line 2724 "MachineIndependent/glslang.y"
 9958|      0|                {
 9959|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9960|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9961|      0|        (yyval.interm.type).basicType = EbtDouble;
 9962|      0|        (yyval.interm.type).setMatrix(2, 3);
 9963|      0|    }
 9964|      0|#line 9965 "MachineIndependent/glslang_tab.cpp"
 9965|      0|    break;
 9966|       |
 9967|      0|  case 382: /* type_specifier_nonarray: F64MAT2X4  */
  ------------------
  |  Branch (9967:3): [True: 0, False: 2.95M]
  ------------------
 9968|      0|#line 2730 "MachineIndependent/glslang.y"
 9969|      0|                {
 9970|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9971|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9972|      0|        (yyval.interm.type).basicType = EbtDouble;
 9973|      0|        (yyval.interm.type).setMatrix(2, 4);
 9974|      0|    }
 9975|      0|#line 9976 "MachineIndependent/glslang_tab.cpp"
 9976|      0|    break;
 9977|       |
 9978|      0|  case 383: /* type_specifier_nonarray: F64MAT3X2  */
  ------------------
  |  Branch (9978:3): [True: 0, False: 2.95M]
  ------------------
 9979|      0|#line 2736 "MachineIndependent/glslang.y"
 9980|      0|                {
 9981|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9982|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9983|      0|        (yyval.interm.type).basicType = EbtDouble;
 9984|      0|        (yyval.interm.type).setMatrix(3, 2);
 9985|      0|    }
 9986|      0|#line 9987 "MachineIndependent/glslang_tab.cpp"
 9987|      0|    break;
 9988|       |
 9989|      0|  case 384: /* type_specifier_nonarray: F64MAT3X3  */
  ------------------
  |  Branch (9989:3): [True: 0, False: 2.95M]
  ------------------
 9990|      0|#line 2742 "MachineIndependent/glslang.y"
 9991|      0|                {
 9992|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9993|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
 9994|      0|        (yyval.interm.type).basicType = EbtDouble;
 9995|      0|        (yyval.interm.type).setMatrix(3, 3);
 9996|      0|    }
 9997|      0|#line 9998 "MachineIndependent/glslang_tab.cpp"
 9998|      0|    break;
 9999|       |
10000|      0|  case 385: /* type_specifier_nonarray: F64MAT3X4  */
  ------------------
  |  Branch (10000:3): [True: 0, False: 2.95M]
  ------------------
10001|      0|#line 2748 "MachineIndependent/glslang.y"
10002|      0|                {
10003|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10004|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10005|      0|        (yyval.interm.type).basicType = EbtDouble;
10006|      0|        (yyval.interm.type).setMatrix(3, 4);
10007|      0|    }
10008|      0|#line 10009 "MachineIndependent/glslang_tab.cpp"
10009|      0|    break;
10010|       |
10011|      0|  case 386: /* type_specifier_nonarray: F64MAT4X2  */
  ------------------
  |  Branch (10011:3): [True: 0, False: 2.95M]
  ------------------
10012|      0|#line 2754 "MachineIndependent/glslang.y"
10013|      0|                {
10014|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10015|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10016|      0|        (yyval.interm.type).basicType = EbtDouble;
10017|      0|        (yyval.interm.type).setMatrix(4, 2);
10018|      0|    }
10019|      0|#line 10020 "MachineIndependent/glslang_tab.cpp"
10020|      0|    break;
10021|       |
10022|      0|  case 387: /* type_specifier_nonarray: F64MAT4X3  */
  ------------------
  |  Branch (10022:3): [True: 0, False: 2.95M]
  ------------------
10023|      0|#line 2760 "MachineIndependent/glslang.y"
10024|      0|                {
10025|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10026|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10027|      0|        (yyval.interm.type).basicType = EbtDouble;
10028|      0|        (yyval.interm.type).setMatrix(4, 3);
10029|      0|    }
10030|      0|#line 10031 "MachineIndependent/glslang_tab.cpp"
10031|      0|    break;
10032|       |
10033|      0|  case 388: /* type_specifier_nonarray: F64MAT4X4  */
  ------------------
  |  Branch (10033:3): [True: 0, False: 2.95M]
  ------------------
10034|      0|#line 2766 "MachineIndependent/glslang.y"
10035|      0|                {
10036|      0|        parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10037|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10038|      0|        (yyval.interm.type).basicType = EbtDouble;
10039|      0|        (yyval.interm.type).setMatrix(4, 4);
10040|      0|    }
10041|      0|#line 10042 "MachineIndependent/glslang_tab.cpp"
10042|      0|    break;
10043|       |
10044|      0|  case 389: /* type_specifier_nonarray: ACCSTRUCTNV  */
  ------------------
  |  Branch (10044:3): [True: 0, False: 2.95M]
  ------------------
10045|      0|#line 2772 "MachineIndependent/glslang.y"
10046|      0|                  {
10047|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10048|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10049|      0|    }
10050|      0|#line 10051 "MachineIndependent/glslang_tab.cpp"
10051|      0|    break;
10052|       |
10053|      0|  case 390: /* type_specifier_nonarray: ACCSTRUCTEXT  */
  ------------------
  |  Branch (10053:3): [True: 0, False: 2.95M]
  ------------------
10054|      0|#line 2776 "MachineIndependent/glslang.y"
10055|      0|                   {
10056|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10057|      0|       (yyval.interm.type).basicType = EbtAccStruct;
10058|      0|    }
10059|      0|#line 10060 "MachineIndependent/glslang_tab.cpp"
10060|      0|    break;
10061|       |
10062|      0|  case 391: /* type_specifier_nonarray: RAYQUERYEXT  */
  ------------------
  |  Branch (10062:3): [True: 0, False: 2.95M]
  ------------------
10063|      0|#line 2780 "MachineIndependent/glslang.y"
10064|      0|                  {
10065|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10066|      0|       (yyval.interm.type).basicType = EbtRayQuery;
10067|      0|    }
10068|      0|#line 10069 "MachineIndependent/glslang_tab.cpp"
10069|      0|    break;
10070|       |
10071|      0|  case 392: /* type_specifier_nonarray: ATOMIC_UINT  */
  ------------------
  |  Branch (10071:3): [True: 0, False: 2.95M]
  ------------------
10072|      0|#line 2784 "MachineIndependent/glslang.y"
10073|      0|                  {
10074|      0|        parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10075|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10076|      0|        (yyval.interm.type).basicType = EbtAtomicUint;
10077|      0|    }
10078|      0|#line 10079 "MachineIndependent/glslang_tab.cpp"
10079|      0|    break;
10080|       |
10081|    336|  case 393: /* type_specifier_nonarray: SAMPLER1D  */
  ------------------
  |  Branch (10081:3): [True: 336, False: 2.94M]
  ------------------
10082|    336|#line 2789 "MachineIndependent/glslang.y"
10083|    336|                {
10084|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
10085|    336|        (yyval.interm.type).basicType = EbtSampler;
10086|    336|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D);
10087|    336|    }
10088|    336|#line 10089 "MachineIndependent/glslang_tab.cpp"
10089|    336|    break;
10090|       |
10091|  1.20k|  case 394: /* type_specifier_nonarray: SAMPLER2D  */
  ------------------
  |  Branch (10091:3): [True: 1.20k, False: 2.94M]
  ------------------
10092|  1.20k|#line 2794 "MachineIndependent/glslang.y"
10093|  1.20k|                {
10094|  1.20k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.20k|#define parseContext (*pParseContext)
  ------------------
10095|  1.20k|        (yyval.interm.type).basicType = EbtSampler;
10096|  1.20k|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
10097|  1.20k|    }
10098|  1.20k|#line 10099 "MachineIndependent/glslang_tab.cpp"
10099|  1.20k|    break;
10100|       |
10101|    520|  case 395: /* type_specifier_nonarray: SAMPLER3D  */
  ------------------
  |  Branch (10101:3): [True: 520, False: 2.94M]
  ------------------
10102|    520|#line 2799 "MachineIndependent/glslang.y"
10103|    520|                {
10104|    520|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    520|#define parseContext (*pParseContext)
  ------------------
10105|    520|        (yyval.interm.type).basicType = EbtSampler;
10106|    520|        (yyval.interm.type).sampler.set(EbtFloat, Esd3D);
10107|    520|    }
10108|    520|#line 10109 "MachineIndependent/glslang_tab.cpp"
10109|    520|    break;
10110|       |
10111|    314|  case 396: /* type_specifier_nonarray: SAMPLERCUBE  */
  ------------------
  |  Branch (10111:3): [True: 314, False: 2.94M]
  ------------------
10112|    314|#line 2804 "MachineIndependent/glslang.y"
10113|    314|                  {
10114|    314|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    314|#define parseContext (*pParseContext)
  ------------------
10115|    314|        (yyval.interm.type).basicType = EbtSampler;
10116|    314|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube);
10117|    314|    }
10118|    314|#line 10119 "MachineIndependent/glslang_tab.cpp"
10119|    314|    break;
10120|       |
10121|    366|  case 397: /* type_specifier_nonarray: SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10121:3): [True: 366, False: 2.94M]
  ------------------
10122|    366|#line 2809 "MachineIndependent/glslang.y"
10123|    366|                      {
10124|    366|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    366|#define parseContext (*pParseContext)
  ------------------
10125|    366|        (yyval.interm.type).basicType = EbtSampler;
10126|    366|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
10127|    366|    }
10128|    366|#line 10129 "MachineIndependent/glslang_tab.cpp"
10129|    366|    break;
10130|       |
10131|    161|  case 398: /* type_specifier_nonarray: SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10131:3): [True: 161, False: 2.94M]
  ------------------
10132|    161|#line 2814 "MachineIndependent/glslang.y"
10133|    161|                        {
10134|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
10135|    161|        (yyval.interm.type).basicType = EbtSampler;
10136|    161|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
10137|    161|    }
10138|    161|#line 10139 "MachineIndependent/glslang_tab.cpp"
10139|    161|    break;
10140|       |
10141|    721|  case 399: /* type_specifier_nonarray: SAMPLER2DARRAY  */
  ------------------
  |  Branch (10141:3): [True: 721, False: 2.94M]
  ------------------
10142|    721|#line 2819 "MachineIndependent/glslang.y"
10143|    721|                     {
10144|    721|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    721|#define parseContext (*pParseContext)
  ------------------
10145|    721|        (yyval.interm.type).basicType = EbtSampler;
10146|    721|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
10147|    721|    }
10148|    721|#line 10149 "MachineIndependent/glslang_tab.cpp"
10149|    721|    break;
10150|       |
10151|    238|  case 400: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10151:3): [True: 238, False: 2.94M]
  ------------------
10152|    238|#line 2824 "MachineIndependent/glslang.y"
10153|    238|                           {
10154|    238|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    238|#define parseContext (*pParseContext)
  ------------------
10155|    238|        (yyval.interm.type).basicType = EbtSampler;
10156|    238|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
10157|    238|    }
10158|    238|#line 10159 "MachineIndependent/glslang_tab.cpp"
10159|    238|    break;
10160|       |
10161|    210|  case 401: /* type_specifier_nonarray: SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10161:3): [True: 210, False: 2.94M]
  ------------------
10162|    210|#line 2829 "MachineIndependent/glslang.y"
10163|    210|                      {
10164|    210|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    210|#define parseContext (*pParseContext)
  ------------------
10165|    210|        (yyval.interm.type).basicType = EbtSampler;
10166|    210|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
10167|    210|    }
10168|    210|#line 10169 "MachineIndependent/glslang_tab.cpp"
10169|    210|    break;
10170|       |
10171|    189|  case 402: /* type_specifier_nonarray: SAMPLER1DARRAY  */
  ------------------
  |  Branch (10171:3): [True: 189, False: 2.94M]
  ------------------
10172|    189|#line 2834 "MachineIndependent/glslang.y"
10173|    189|                     {
10174|    189|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    189|#define parseContext (*pParseContext)
  ------------------
10175|    189|        (yyval.interm.type).basicType = EbtSampler;
10176|    189|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
10177|    189|    }
10178|    189|#line 10179 "MachineIndependent/glslang_tab.cpp"
10179|    189|    break;
10180|       |
10181|    154|  case 403: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10181:3): [True: 154, False: 2.94M]
  ------------------
10182|    154|#line 2839 "MachineIndependent/glslang.y"
10183|    154|                           {
10184|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
10185|    154|        (yyval.interm.type).basicType = EbtSampler;
10186|    154|        (yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
10187|    154|    }
10188|    154|#line 10189 "MachineIndependent/glslang_tab.cpp"
10189|    154|    break;
10190|       |
10191|    252|  case 404: /* type_specifier_nonarray: SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10191:3): [True: 252, False: 2.94M]
  ------------------
10192|    252|#line 2844 "MachineIndependent/glslang.y"
10193|    252|                       {
10194|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10195|    252|        (yyval.interm.type).basicType = EbtSampler;
10196|    252|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
10197|    252|    }
10198|    252|#line 10199 "MachineIndependent/glslang_tab.cpp"
10199|    252|    break;
10200|       |
10201|    140|  case 405: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10201:3): [True: 140, False: 2.94M]
  ------------------
10202|    140|#line 2849 "MachineIndependent/glslang.y"
10203|    140|                             {
10204|    140|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    140|#define parseContext (*pParseContext)
  ------------------
10205|    140|        (yyval.interm.type).basicType = EbtSampler;
10206|    140|        (yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
10207|    140|    }
10208|    140|#line 10209 "MachineIndependent/glslang_tab.cpp"
10209|    140|    break;
10210|       |
10211|    616|  case 406: /* type_specifier_nonarray: F16SAMPLER1D  */
  ------------------
  |  Branch (10211:3): [True: 616, False: 2.94M]
  ------------------
10212|    616|#line 2854 "MachineIndependent/glslang.y"
10213|    616|                   {
10214|    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)
  ------------------
10215|    616|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    616|#define parseContext (*pParseContext)
  ------------------
10216|    616|        (yyval.interm.type).basicType = EbtSampler;
10217|    616|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
10218|    616|    }
10219|    616|#line 10220 "MachineIndependent/glslang_tab.cpp"
10220|    616|    break;
10221|       |
10222|  1.45k|  case 407: /* type_specifier_nonarray: F16SAMPLER2D  */
  ------------------
  |  Branch (10222:3): [True: 1.45k, False: 2.94M]
  ------------------
10223|  1.45k|#line 2860 "MachineIndependent/glslang.y"
10224|  1.45k|                   {
10225|  1.45k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.45k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.45k|#define parseContext (*pParseContext)
  ------------------
10226|  1.45k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.45k|#define parseContext (*pParseContext)
  ------------------
10227|  1.45k|        (yyval.interm.type).basicType = EbtSampler;
10228|  1.45k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
10229|  1.45k|    }
10230|  1.45k|#line 10231 "MachineIndependent/glslang_tab.cpp"
10231|  1.45k|    break;
10232|       |
10233|    714|  case 408: /* type_specifier_nonarray: F16SAMPLER3D  */
  ------------------
  |  Branch (10233:3): [True: 714, False: 2.94M]
  ------------------
10234|    714|#line 2866 "MachineIndependent/glslang.y"
10235|    714|                   {
10236|    714|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    714|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    714|#define parseContext (*pParseContext)
  ------------------
10237|    714|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    714|#define parseContext (*pParseContext)
  ------------------
10238|    714|        (yyval.interm.type).basicType = EbtSampler;
10239|    714|        (yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
10240|    714|    }
10241|    714|#line 10242 "MachineIndependent/glslang_tab.cpp"
10242|    714|    break;
10243|       |
10244|    448|  case 409: /* type_specifier_nonarray: F16SAMPLERCUBE  */
  ------------------
  |  Branch (10244:3): [True: 448, False: 2.94M]
  ------------------
10245|    448|#line 2872 "MachineIndependent/glslang.y"
10246|    448|                     {
10247|    448|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
10248|    448|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
10249|    448|        (yyval.interm.type).basicType = EbtSampler;
10250|    448|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
10251|    448|    }
10252|    448|#line 10253 "MachineIndependent/glslang_tab.cpp"
10253|    448|    break;
10254|       |
10255|    364|  case 410: /* type_specifier_nonarray: F16SAMPLER1DSHADOW  */
  ------------------
  |  Branch (10255:3): [True: 364, False: 2.94M]
  ------------------
10256|    364|#line 2878 "MachineIndependent/glslang.y"
10257|    364|                         {
10258|    364|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
10259|    364|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
10260|    364|        (yyval.interm.type).basicType = EbtSampler;
10261|    364|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
10262|    364|    }
10263|    364|#line 10264 "MachineIndependent/glslang_tab.cpp"
10264|    364|    break;
10265|       |
10266|    644|  case 411: /* type_specifier_nonarray: F16SAMPLER2DSHADOW  */
  ------------------
  |  Branch (10266:3): [True: 644, False: 2.94M]
  ------------------
10267|    644|#line 2884 "MachineIndependent/glslang.y"
10268|    644|                         {
10269|    644|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    644|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    644|#define parseContext (*pParseContext)
  ------------------
10270|    644|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    644|#define parseContext (*pParseContext)
  ------------------
10271|    644|        (yyval.interm.type).basicType = EbtSampler;
10272|    644|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
10273|    644|    }
10274|    644|#line 10275 "MachineIndependent/glslang_tab.cpp"
10275|    644|    break;
10276|       |
10277|    252|  case 412: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW  */
  ------------------
  |  Branch (10277:3): [True: 252, False: 2.94M]
  ------------------
10278|    252|#line 2890 "MachineIndependent/glslang.y"
10279|    252|                           {
10280|    252|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10281|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10282|    252|        (yyval.interm.type).basicType = EbtSampler;
10283|    252|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
10284|    252|    }
10285|    252|#line 10286 "MachineIndependent/glslang_tab.cpp"
10286|    252|    break;
10287|       |
10288|    308|  case 413: /* type_specifier_nonarray: F16SAMPLER1DARRAY  */
  ------------------
  |  Branch (10288:3): [True: 308, False: 2.94M]
  ------------------
10289|    308|#line 2896 "MachineIndependent/glslang.y"
10290|    308|                        {
10291|    308|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
10292|    308|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    308|#define parseContext (*pParseContext)
  ------------------
10293|    308|        (yyval.interm.type).basicType = EbtSampler;
10294|    308|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
10295|    308|    }
10296|    308|#line 10297 "MachineIndependent/glslang_tab.cpp"
10297|    308|    break;
10298|       |
10299|  1.14k|  case 414: /* type_specifier_nonarray: F16SAMPLER2DARRAY  */
  ------------------
  |  Branch (10299:3): [True: 1.14k, False: 2.94M]
  ------------------
10300|  1.14k|#line 2902 "MachineIndependent/glslang.y"
10301|  1.14k|                        {
10302|  1.14k|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.14k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.14k|#define parseContext (*pParseContext)
  ------------------
10303|  1.14k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.14k|#define parseContext (*pParseContext)
  ------------------
10304|  1.14k|        (yyval.interm.type).basicType = EbtSampler;
10305|  1.14k|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
10306|  1.14k|    }
10307|  1.14k|#line 10308 "MachineIndependent/glslang_tab.cpp"
10308|  1.14k|    break;
10309|       |
10310|    252|  case 415: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW  */
  ------------------
  |  Branch (10310:3): [True: 252, False: 2.94M]
  ------------------
10311|    252|#line 2908 "MachineIndependent/glslang.y"
10312|    252|                              {
10313|    252|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10314|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10315|    252|        (yyval.interm.type).basicType = EbtSampler;
10316|    252|        (yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
10317|    252|    }
10318|    252|#line 10319 "MachineIndependent/glslang_tab.cpp"
10319|    252|    break;
10320|       |
10321|    364|  case 416: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW  */
  ------------------
  |  Branch (10321:3): [True: 364, False: 2.94M]
  ------------------
10322|    364|#line 2914 "MachineIndependent/glslang.y"
10323|    364|                              {
10324|    364|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
10325|    364|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    364|#define parseContext (*pParseContext)
  ------------------
10326|    364|        (yyval.interm.type).basicType = EbtSampler;
10327|    364|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
10328|    364|    }
10329|    364|#line 10330 "MachineIndependent/glslang_tab.cpp"
10330|    364|    break;
10331|       |
10332|    448|  case 417: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10332:3): [True: 448, False: 2.94M]
  ------------------
10333|    448|#line 2920 "MachineIndependent/glslang.y"
10334|    448|                          {
10335|    448|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
10336|    448|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    448|#define parseContext (*pParseContext)
  ------------------
10337|    448|        (yyval.interm.type).basicType = EbtSampler;
10338|    448|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
10339|    448|    }
10340|    448|#line 10341 "MachineIndependent/glslang_tab.cpp"
10341|    448|    break;
10342|       |
10343|    196|  case 418: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW  */
  ------------------
  |  Branch (10343:3): [True: 196, False: 2.94M]
  ------------------
10344|    196|#line 2926 "MachineIndependent/glslang.y"
10345|    196|                                {
10346|    196|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
10347|    196|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
10348|    196|        (yyval.interm.type).basicType = EbtSampler;
10349|    196|        (yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
10350|    196|    }
10351|    196|#line 10352 "MachineIndependent/glslang_tab.cpp"
10352|    196|    break;
10353|       |
10354|    336|  case 419: /* type_specifier_nonarray: ISAMPLER1D  */
  ------------------
  |  Branch (10354:3): [True: 336, False: 2.94M]
  ------------------
10355|    336|#line 2932 "MachineIndependent/glslang.y"
10356|    336|                 {
10357|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
10358|    336|        (yyval.interm.type).basicType = EbtSampler;
10359|    336|        (yyval.interm.type).sampler.set(EbtInt, Esd1D);
10360|    336|    }
10361|    336|#line 10362 "MachineIndependent/glslang_tab.cpp"
10362|    336|    break;
10363|       |
10364|    868|  case 420: /* type_specifier_nonarray: ISAMPLER2D  */
  ------------------
  |  Branch (10364:3): [True: 868, False: 2.94M]
  ------------------
10365|    868|#line 2937 "MachineIndependent/glslang.y"
10366|    868|                 {
10367|    868|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    868|#define parseContext (*pParseContext)
  ------------------
10368|    868|        (yyval.interm.type).basicType = EbtSampler;
10369|    868|        (yyval.interm.type).sampler.set(EbtInt, Esd2D);
10370|    868|    }
10371|    868|#line 10372 "MachineIndependent/glslang_tab.cpp"
10372|    868|    break;
10373|       |
10374|    385|  case 421: /* type_specifier_nonarray: ISAMPLER3D  */
  ------------------
  |  Branch (10374:3): [True: 385, False: 2.94M]
  ------------------
10375|    385|#line 2942 "MachineIndependent/glslang.y"
10376|    385|                 {
10377|    385|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    385|#define parseContext (*pParseContext)
  ------------------
10378|    385|        (yyval.interm.type).basicType = EbtSampler;
10379|    385|        (yyval.interm.type).sampler.set(EbtInt, Esd3D);
10380|    385|    }
10381|    385|#line 10382 "MachineIndependent/glslang_tab.cpp"
10382|    385|    break;
10383|       |
10384|    252|  case 422: /* type_specifier_nonarray: ISAMPLERCUBE  */
  ------------------
  |  Branch (10384:3): [True: 252, False: 2.94M]
  ------------------
10385|    252|#line 2947 "MachineIndependent/glslang.y"
10386|    252|                   {
10387|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10388|    252|        (yyval.interm.type).basicType = EbtSampler;
10389|    252|        (yyval.interm.type).sampler.set(EbtInt, EsdCube);
10390|    252|    }
10391|    252|#line 10392 "MachineIndependent/glslang_tab.cpp"
10392|    252|    break;
10393|       |
10394|    714|  case 423: /* type_specifier_nonarray: ISAMPLER2DARRAY  */
  ------------------
  |  Branch (10394:3): [True: 714, False: 2.94M]
  ------------------
10395|    714|#line 2952 "MachineIndependent/glslang.y"
10396|    714|                      {
10397|    714|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    714|#define parseContext (*pParseContext)
  ------------------
10398|    714|        (yyval.interm.type).basicType = EbtSampler;
10399|    714|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
10400|    714|    }
10401|    714|#line 10402 "MachineIndependent/glslang_tab.cpp"
10402|    714|    break;
10403|       |
10404|    868|  case 424: /* type_specifier_nonarray: USAMPLER2D  */
  ------------------
  |  Branch (10404:3): [True: 868, False: 2.94M]
  ------------------
10405|    868|#line 2957 "MachineIndependent/glslang.y"
10406|    868|                 {
10407|    868|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    868|#define parseContext (*pParseContext)
  ------------------
10408|    868|        (yyval.interm.type).basicType = EbtSampler;
10409|    868|        (yyval.interm.type).sampler.set(EbtUint, Esd2D);
10410|    868|    }
10411|    868|#line 10412 "MachineIndependent/glslang_tab.cpp"
10412|    868|    break;
10413|       |
10414|    385|  case 425: /* type_specifier_nonarray: USAMPLER3D  */
  ------------------
  |  Branch (10414:3): [True: 385, False: 2.94M]
  ------------------
10415|    385|#line 2962 "MachineIndependent/glslang.y"
10416|    385|                 {
10417|    385|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    385|#define parseContext (*pParseContext)
  ------------------
10418|    385|        (yyval.interm.type).basicType = EbtSampler;
10419|    385|        (yyval.interm.type).sampler.set(EbtUint, Esd3D);
10420|    385|    }
10421|    385|#line 10422 "MachineIndependent/glslang_tab.cpp"
10422|    385|    break;
10423|       |
10424|    252|  case 426: /* type_specifier_nonarray: USAMPLERCUBE  */
  ------------------
  |  Branch (10424:3): [True: 252, False: 2.94M]
  ------------------
10425|    252|#line 2967 "MachineIndependent/glslang.y"
10426|    252|                   {
10427|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10428|    252|        (yyval.interm.type).basicType = EbtSampler;
10429|    252|        (yyval.interm.type).sampler.set(EbtUint, EsdCube);
10430|    252|    }
10431|    252|#line 10432 "MachineIndependent/glslang_tab.cpp"
10432|    252|    break;
10433|       |
10434|    182|  case 427: /* type_specifier_nonarray: ISAMPLER1DARRAY  */
  ------------------
  |  Branch (10434:3): [True: 182, False: 2.94M]
  ------------------
10435|    182|#line 2972 "MachineIndependent/glslang.y"
10436|    182|                      {
10437|    182|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    182|#define parseContext (*pParseContext)
  ------------------
10438|    182|        (yyval.interm.type).basicType = EbtSampler;
10439|    182|        (yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
10440|    182|    }
10441|    182|#line 10442 "MachineIndependent/glslang_tab.cpp"
10442|    182|    break;
10443|       |
10444|    252|  case 428: /* type_specifier_nonarray: ISAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10444:3): [True: 252, False: 2.94M]
  ------------------
10445|    252|#line 2977 "MachineIndependent/glslang.y"
10446|    252|                        {
10447|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10448|    252|        (yyval.interm.type).basicType = EbtSampler;
10449|    252|        (yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
10450|    252|    }
10451|    252|#line 10452 "MachineIndependent/glslang_tab.cpp"
10452|    252|    break;
10453|       |
10454|    336|  case 429: /* type_specifier_nonarray: USAMPLER1D  */
  ------------------
  |  Branch (10454:3): [True: 336, False: 2.94M]
  ------------------
10455|    336|#line 2982 "MachineIndependent/glslang.y"
10456|    336|                 {
10457|    336|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    336|#define parseContext (*pParseContext)
  ------------------
10458|    336|        (yyval.interm.type).basicType = EbtSampler;
10459|    336|        (yyval.interm.type).sampler.set(EbtUint, Esd1D);
10460|    336|    }
10461|    336|#line 10462 "MachineIndependent/glslang_tab.cpp"
10462|    336|    break;
10463|       |
10464|    182|  case 430: /* type_specifier_nonarray: USAMPLER1DARRAY  */
  ------------------
  |  Branch (10464:3): [True: 182, False: 2.94M]
  ------------------
10465|    182|#line 2987 "MachineIndependent/glslang.y"
10466|    182|                      {
10467|    182|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    182|#define parseContext (*pParseContext)
  ------------------
10468|    182|        (yyval.interm.type).basicType = EbtSampler;
10469|    182|        (yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
10470|    182|    }
10471|    182|#line 10472 "MachineIndependent/glslang_tab.cpp"
10472|    182|    break;
10473|       |
10474|    252|  case 431: /* type_specifier_nonarray: USAMPLERCUBEARRAY  */
  ------------------
  |  Branch (10474:3): [True: 252, False: 2.94M]
  ------------------
10475|    252|#line 2992 "MachineIndependent/glslang.y"
10476|    252|                        {
10477|    252|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    252|#define parseContext (*pParseContext)
  ------------------
10478|    252|        (yyval.interm.type).basicType = EbtSampler;
10479|    252|        (yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
10480|    252|    }
10481|    252|#line 10482 "MachineIndependent/glslang_tab.cpp"
10482|    252|    break;
10483|       |
10484|     14|  case 432: /* type_specifier_nonarray: TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10484:3): [True: 14, False: 2.95M]
  ------------------
10485|     14|#line 2997 "MachineIndependent/glslang.y"
10486|     14|                       {
10487|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10488|     14|        (yyval.interm.type).basicType = EbtSampler;
10489|     14|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
10490|     14|    }
10491|     14|#line 10492 "MachineIndependent/glslang_tab.cpp"
10492|     14|    break;
10493|       |
10494|     14|  case 433: /* type_specifier_nonarray: ITEXTURECUBEARRAY  */
  ------------------
  |  Branch (10494:3): [True: 14, False: 2.95M]
  ------------------
10495|     14|#line 3002 "MachineIndependent/glslang.y"
10496|     14|                        {
10497|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10498|     14|        (yyval.interm.type).basicType = EbtSampler;
10499|     14|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
10500|     14|    }
10501|     14|#line 10502 "MachineIndependent/glslang_tab.cpp"
10502|     14|    break;
10503|       |
10504|     14|  case 434: /* type_specifier_nonarray: UTEXTURECUBEARRAY  */
  ------------------
  |  Branch (10504:3): [True: 14, False: 2.95M]
  ------------------
10505|     14|#line 3007 "MachineIndependent/glslang.y"
10506|     14|                        {
10507|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10508|     14|        (yyval.interm.type).basicType = EbtSampler;
10509|     14|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
10510|     14|    }
10511|     14|#line 10512 "MachineIndependent/glslang_tab.cpp"
10512|     14|    break;
10513|       |
10514|    714|  case 435: /* type_specifier_nonarray: USAMPLER2DARRAY  */
  ------------------
  |  Branch (10514:3): [True: 714, False: 2.94M]
  ------------------
10515|    714|#line 3012 "MachineIndependent/glslang.y"
10516|    714|                      {
10517|    714|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    714|#define parseContext (*pParseContext)
  ------------------
10518|    714|        (yyval.interm.type).basicType = EbtSampler;
10519|    714|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
10520|    714|    }
10521|    714|#line 10522 "MachineIndependent/glslang_tab.cpp"
10522|    714|    break;
10523|       |
10524|     42|  case 436: /* type_specifier_nonarray: TEXTURE2D  */
  ------------------
  |  Branch (10524:3): [True: 42, False: 2.95M]
  ------------------
10525|     42|#line 3017 "MachineIndependent/glslang.y"
10526|     42|                {
10527|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10528|     42|        (yyval.interm.type).basicType = EbtSampler;
10529|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
10530|     42|    }
10531|     42|#line 10532 "MachineIndependent/glslang_tab.cpp"
10532|     42|    break;
10533|       |
10534|     42|  case 437: /* type_specifier_nonarray: TEXTURE3D  */
  ------------------
  |  Branch (10534:3): [True: 42, False: 2.95M]
  ------------------
10535|     42|#line 3022 "MachineIndependent/glslang.y"
10536|     42|                {
10537|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10538|     42|        (yyval.interm.type).basicType = EbtSampler;
10539|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
10540|     42|    }
10541|     42|#line 10542 "MachineIndependent/glslang_tab.cpp"
10542|     42|    break;
10543|       |
10544|     42|  case 438: /* type_specifier_nonarray: TEXTURE2DARRAY  */
  ------------------
  |  Branch (10544:3): [True: 42, False: 2.95M]
  ------------------
10545|     42|#line 3027 "MachineIndependent/glslang.y"
10546|     42|                     {
10547|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10548|     42|        (yyval.interm.type).basicType = EbtSampler;
10549|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
10550|     42|    }
10551|     42|#line 10552 "MachineIndependent/glslang_tab.cpp"
10552|     42|    break;
10553|       |
10554|     14|  case 439: /* type_specifier_nonarray: TEXTURECUBE  */
  ------------------
  |  Branch (10554:3): [True: 14, False: 2.95M]
  ------------------
10555|     14|#line 3032 "MachineIndependent/glslang.y"
10556|     14|                  {
10557|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10558|     14|        (yyval.interm.type).basicType = EbtSampler;
10559|     14|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
10560|     14|    }
10561|     14|#line 10562 "MachineIndependent/glslang_tab.cpp"
10562|     14|    break;
10563|       |
10564|     42|  case 440: /* type_specifier_nonarray: ITEXTURE2D  */
  ------------------
  |  Branch (10564:3): [True: 42, False: 2.95M]
  ------------------
10565|     42|#line 3037 "MachineIndependent/glslang.y"
10566|     42|                 {
10567|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10568|     42|        (yyval.interm.type).basicType = EbtSampler;
10569|     42|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
10570|     42|    }
10571|     42|#line 10572 "MachineIndependent/glslang_tab.cpp"
10572|     42|    break;
10573|       |
10574|     42|  case 441: /* type_specifier_nonarray: ITEXTURE3D  */
  ------------------
  |  Branch (10574:3): [True: 42, False: 2.95M]
  ------------------
10575|     42|#line 3042 "MachineIndependent/glslang.y"
10576|     42|                 {
10577|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10578|     42|        (yyval.interm.type).basicType = EbtSampler;
10579|     42|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
10580|     42|    }
10581|     42|#line 10582 "MachineIndependent/glslang_tab.cpp"
10582|     42|    break;
10583|       |
10584|     14|  case 442: /* type_specifier_nonarray: ITEXTURECUBE  */
  ------------------
  |  Branch (10584:3): [True: 14, False: 2.95M]
  ------------------
10585|     14|#line 3047 "MachineIndependent/glslang.y"
10586|     14|                   {
10587|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10588|     14|        (yyval.interm.type).basicType = EbtSampler;
10589|     14|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
10590|     14|    }
10591|     14|#line 10592 "MachineIndependent/glslang_tab.cpp"
10592|     14|    break;
10593|       |
10594|     42|  case 443: /* type_specifier_nonarray: ITEXTURE2DARRAY  */
  ------------------
  |  Branch (10594:3): [True: 42, False: 2.95M]
  ------------------
10595|     42|#line 3052 "MachineIndependent/glslang.y"
10596|     42|                      {
10597|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10598|     42|        (yyval.interm.type).basicType = EbtSampler;
10599|     42|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
10600|     42|    }
10601|     42|#line 10602 "MachineIndependent/glslang_tab.cpp"
10602|     42|    break;
10603|       |
10604|     42|  case 444: /* type_specifier_nonarray: UTEXTURE2D  */
  ------------------
  |  Branch (10604:3): [True: 42, False: 2.95M]
  ------------------
10605|     42|#line 3057 "MachineIndependent/glslang.y"
10606|     42|                 {
10607|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10608|     42|        (yyval.interm.type).basicType = EbtSampler;
10609|     42|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
10610|     42|    }
10611|     42|#line 10612 "MachineIndependent/glslang_tab.cpp"
10612|     42|    break;
10613|       |
10614|     42|  case 445: /* type_specifier_nonarray: UTEXTURE3D  */
  ------------------
  |  Branch (10614:3): [True: 42, False: 2.95M]
  ------------------
10615|     42|#line 3062 "MachineIndependent/glslang.y"
10616|     42|                 {
10617|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10618|     42|        (yyval.interm.type).basicType = EbtSampler;
10619|     42|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
10620|     42|    }
10621|     42|#line 10622 "MachineIndependent/glslang_tab.cpp"
10622|     42|    break;
10623|       |
10624|     14|  case 446: /* type_specifier_nonarray: UTEXTURECUBE  */
  ------------------
  |  Branch (10624:3): [True: 14, False: 2.95M]
  ------------------
10625|     14|#line 3067 "MachineIndependent/glslang.y"
10626|     14|                   {
10627|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10628|     14|        (yyval.interm.type).basicType = EbtSampler;
10629|     14|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
10630|     14|    }
10631|     14|#line 10632 "MachineIndependent/glslang_tab.cpp"
10632|     14|    break;
10633|       |
10634|     42|  case 447: /* type_specifier_nonarray: UTEXTURE2DARRAY  */
  ------------------
  |  Branch (10634:3): [True: 42, False: 2.95M]
  ------------------
10635|     42|#line 3072 "MachineIndependent/glslang.y"
10636|     42|                      {
10637|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10638|     42|        (yyval.interm.type).basicType = EbtSampler;
10639|     42|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
10640|     42|    }
10641|     42|#line 10642 "MachineIndependent/glslang_tab.cpp"
10642|     42|    break;
10643|       |
10644|      0|  case 448: /* type_specifier_nonarray: SAMPLER  */
  ------------------
  |  Branch (10644:3): [True: 0, False: 2.95M]
  ------------------
10645|      0|#line 3077 "MachineIndependent/glslang.y"
10646|      0|              {
10647|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10648|      0|        (yyval.interm.type).basicType = EbtSampler;
10649|      0|        (yyval.interm.type).sampler.setPureSampler(false);
10650|      0|    }
10651|      0|#line 10652 "MachineIndependent/glslang_tab.cpp"
10652|      0|    break;
10653|       |
10654|      0|  case 449: /* type_specifier_nonarray: SAMPLERSHADOW  */
  ------------------
  |  Branch (10654:3): [True: 0, False: 2.95M]
  ------------------
10655|      0|#line 3082 "MachineIndependent/glslang.y"
10656|      0|                    {
10657|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
10658|      0|        (yyval.interm.type).basicType = EbtSampler;
10659|      0|        (yyval.interm.type).sampler.setPureSampler(true);
10660|      0|    }
10661|      0|#line 10662 "MachineIndependent/glslang_tab.cpp"
10662|      0|    break;
10663|       |
10664|    357|  case 450: /* type_specifier_nonarray: SAMPLER2DRECT  */
  ------------------
  |  Branch (10664:3): [True: 357, False: 2.94M]
  ------------------
10665|    357|#line 3087 "MachineIndependent/glslang.y"
10666|    357|                    {
10667|    357|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    357|#define parseContext (*pParseContext)
  ------------------
10668|    357|        (yyval.interm.type).basicType = EbtSampler;
10669|    357|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect);
10670|    357|    }
10671|    357|#line 10672 "MachineIndependent/glslang_tab.cpp"
10672|    357|    break;
10673|       |
10674|    189|  case 451: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10674:3): [True: 189, False: 2.94M]
  ------------------
10675|    189|#line 3092 "MachineIndependent/glslang.y"
10676|    189|                          {
10677|    189|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    189|#define parseContext (*pParseContext)
  ------------------
10678|    189|        (yyval.interm.type).basicType = EbtSampler;
10679|    189|        (yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
10680|    189|    }
10681|    189|#line 10682 "MachineIndependent/glslang_tab.cpp"
10682|    189|    break;
10683|       |
10684|    707|  case 452: /* type_specifier_nonarray: F16SAMPLER2DRECT  */
  ------------------
  |  Branch (10684:3): [True: 707, False: 2.94M]
  ------------------
10685|    707|#line 3097 "MachineIndependent/glslang.y"
10686|    707|                       {
10687|    707|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    707|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    707|#define parseContext (*pParseContext)
  ------------------
10688|    707|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    707|#define parseContext (*pParseContext)
  ------------------
10689|    707|        (yyval.interm.type).basicType = EbtSampler;
10690|    707|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
10691|    707|    }
10692|    707|#line 10693 "MachineIndependent/glslang_tab.cpp"
10693|    707|    break;
10694|       |
10695|    371|  case 453: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW  */
  ------------------
  |  Branch (10695:3): [True: 371, False: 2.94M]
  ------------------
10696|    371|#line 3103 "MachineIndependent/glslang.y"
10697|    371|                             {
10698|    371|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    371|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    371|#define parseContext (*pParseContext)
  ------------------
10699|    371|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    371|#define parseContext (*pParseContext)
  ------------------
10700|    371|        (yyval.interm.type).basicType = EbtSampler;
10701|    371|        (yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
10702|    371|    }
10703|    371|#line 10704 "MachineIndependent/glslang_tab.cpp"
10704|    371|    break;
10705|       |
10706|    357|  case 454: /* type_specifier_nonarray: ISAMPLER2DRECT  */
  ------------------
  |  Branch (10706:3): [True: 357, False: 2.94M]
  ------------------
10707|    357|#line 3109 "MachineIndependent/glslang.y"
10708|    357|                     {
10709|    357|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    357|#define parseContext (*pParseContext)
  ------------------
10710|    357|        (yyval.interm.type).basicType = EbtSampler;
10711|    357|        (yyval.interm.type).sampler.set(EbtInt, EsdRect);
10712|    357|    }
10713|    357|#line 10714 "MachineIndependent/glslang_tab.cpp"
10714|    357|    break;
10715|       |
10716|    357|  case 455: /* type_specifier_nonarray: USAMPLER2DRECT  */
  ------------------
  |  Branch (10716:3): [True: 357, False: 2.94M]
  ------------------
10717|    357|#line 3114 "MachineIndependent/glslang.y"
10718|    357|                     {
10719|    357|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    357|#define parseContext (*pParseContext)
  ------------------
10720|    357|        (yyval.interm.type).basicType = EbtSampler;
10721|    357|        (yyval.interm.type).sampler.set(EbtUint, EsdRect);
10722|    357|    }
10723|    357|#line 10724 "MachineIndependent/glslang_tab.cpp"
10724|    357|    break;
10725|       |
10726|     14|  case 456: /* type_specifier_nonarray: SAMPLERBUFFER  */
  ------------------
  |  Branch (10726:3): [True: 14, False: 2.95M]
  ------------------
10727|     14|#line 3119 "MachineIndependent/glslang.y"
10728|     14|                    {
10729|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10730|     14|        (yyval.interm.type).basicType = EbtSampler;
10731|     14|        (yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
10732|     14|    }
10733|     14|#line 10734 "MachineIndependent/glslang_tab.cpp"
10734|     14|    break;
10735|       |
10736|     21|  case 457: /* type_specifier_nonarray: F16SAMPLERBUFFER  */
  ------------------
  |  Branch (10736:3): [True: 21, False: 2.95M]
  ------------------
10737|     21|#line 3124 "MachineIndependent/glslang.y"
10738|     21|                       {
10739|     21|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
10740|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
10741|     21|        (yyval.interm.type).basicType = EbtSampler;
10742|     21|        (yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
10743|     21|    }
10744|     21|#line 10745 "MachineIndependent/glslang_tab.cpp"
10745|     21|    break;
10746|       |
10747|     14|  case 458: /* type_specifier_nonarray: ISAMPLERBUFFER  */
  ------------------
  |  Branch (10747:3): [True: 14, False: 2.95M]
  ------------------
10748|     14|#line 3130 "MachineIndependent/glslang.y"
10749|     14|                     {
10750|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10751|     14|        (yyval.interm.type).basicType = EbtSampler;
10752|     14|        (yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
10753|     14|    }
10754|     14|#line 10755 "MachineIndependent/glslang_tab.cpp"
10755|     14|    break;
10756|       |
10757|     14|  case 459: /* type_specifier_nonarray: USAMPLERBUFFER  */
  ------------------
  |  Branch (10757:3): [True: 14, False: 2.95M]
  ------------------
10758|     14|#line 3135 "MachineIndependent/glslang.y"
10759|     14|                     {
10760|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10761|     14|        (yyval.interm.type).basicType = EbtSampler;
10762|     14|        (yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
10763|     14|    }
10764|     14|#line 10765 "MachineIndependent/glslang_tab.cpp"
10765|     14|    break;
10766|       |
10767|     42|  case 460: /* type_specifier_nonarray: SAMPLER2DMS  */
  ------------------
  |  Branch (10767:3): [True: 42, False: 2.95M]
  ------------------
10768|     42|#line 3140 "MachineIndependent/glslang.y"
10769|     42|                  {
10770|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10771|     42|        (yyval.interm.type).basicType = EbtSampler;
10772|     42|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
10773|     42|    }
10774|     42|#line 10775 "MachineIndependent/glslang_tab.cpp"
10775|     42|    break;
10776|       |
10777|     42|  case 461: /* type_specifier_nonarray: F16SAMPLER2DMS  */
  ------------------
  |  Branch (10777:3): [True: 42, False: 2.95M]
  ------------------
10778|     42|#line 3145 "MachineIndependent/glslang.y"
10779|     42|                     {
10780|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10781|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10782|     42|        (yyval.interm.type).basicType = EbtSampler;
10783|     42|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
10784|     42|    }
10785|     42|#line 10786 "MachineIndependent/glslang_tab.cpp"
10786|     42|    break;
10787|       |
10788|     42|  case 462: /* type_specifier_nonarray: ISAMPLER2DMS  */
  ------------------
  |  Branch (10788:3): [True: 42, False: 2.95M]
  ------------------
10789|     42|#line 3151 "MachineIndependent/glslang.y"
10790|     42|                   {
10791|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10792|     42|        (yyval.interm.type).basicType = EbtSampler;
10793|     42|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
10794|     42|    }
10795|     42|#line 10796 "MachineIndependent/glslang_tab.cpp"
10796|     42|    break;
10797|       |
10798|     42|  case 463: /* type_specifier_nonarray: USAMPLER2DMS  */
  ------------------
  |  Branch (10798:3): [True: 42, False: 2.95M]
  ------------------
10799|     42|#line 3156 "MachineIndependent/glslang.y"
10800|     42|                   {
10801|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10802|     42|        (yyval.interm.type).basicType = EbtSampler;
10803|     42|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
10804|     42|    }
10805|     42|#line 10806 "MachineIndependent/glslang_tab.cpp"
10806|     42|    break;
10807|       |
10808|     42|  case 464: /* type_specifier_nonarray: SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10808:3): [True: 42, False: 2.95M]
  ------------------
10809|     42|#line 3161 "MachineIndependent/glslang.y"
10810|     42|                       {
10811|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10812|     42|        (yyval.interm.type).basicType = EbtSampler;
10813|     42|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
10814|     42|    }
10815|     42|#line 10816 "MachineIndependent/glslang_tab.cpp"
10816|     42|    break;
10817|       |
10818|     42|  case 465: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10818:3): [True: 42, False: 2.95M]
  ------------------
10819|     42|#line 3166 "MachineIndependent/glslang.y"
10820|     42|                          {
10821|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10822|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10823|     42|        (yyval.interm.type).basicType = EbtSampler;
10824|     42|        (yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
10825|     42|    }
10826|     42|#line 10827 "MachineIndependent/glslang_tab.cpp"
10827|     42|    break;
10828|       |
10829|     42|  case 466: /* type_specifier_nonarray: ISAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10829:3): [True: 42, False: 2.95M]
  ------------------
10830|     42|#line 3172 "MachineIndependent/glslang.y"
10831|     42|                        {
10832|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10833|     42|        (yyval.interm.type).basicType = EbtSampler;
10834|     42|        (yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
10835|     42|    }
10836|     42|#line 10837 "MachineIndependent/glslang_tab.cpp"
10837|     42|    break;
10838|       |
10839|     42|  case 467: /* type_specifier_nonarray: USAMPLER2DMSARRAY  */
  ------------------
  |  Branch (10839:3): [True: 42, False: 2.95M]
  ------------------
10840|     42|#line 3177 "MachineIndependent/glslang.y"
10841|     42|                        {
10842|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10843|     42|        (yyval.interm.type).basicType = EbtSampler;
10844|     42|        (yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
10845|     42|    }
10846|     42|#line 10847 "MachineIndependent/glslang_tab.cpp"
10847|     42|    break;
10848|       |
10849|     28|  case 468: /* type_specifier_nonarray: TEXTURE1D  */
  ------------------
  |  Branch (10849:3): [True: 28, False: 2.95M]
  ------------------
10850|     28|#line 3182 "MachineIndependent/glslang.y"
10851|     28|                {
10852|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10853|     28|        (yyval.interm.type).basicType = EbtSampler;
10854|     28|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
10855|     28|    }
10856|     28|#line 10857 "MachineIndependent/glslang_tab.cpp"
10857|     28|    break;
10858|       |
10859|     42|  case 469: /* type_specifier_nonarray: F16TEXTURE1D  */
  ------------------
  |  Branch (10859:3): [True: 42, False: 2.95M]
  ------------------
10860|     42|#line 3187 "MachineIndependent/glslang.y"
10861|     42|                   {
10862|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10863|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10864|     42|        (yyval.interm.type).basicType = EbtSampler;
10865|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
10866|     42|    }
10867|     42|#line 10868 "MachineIndependent/glslang_tab.cpp"
10868|     42|    break;
10869|       |
10870|     70|  case 470: /* type_specifier_nonarray: F16TEXTURE2D  */
  ------------------
  |  Branch (10870:3): [True: 70, False: 2.95M]
  ------------------
10871|     70|#line 3193 "MachineIndependent/glslang.y"
10872|     70|                   {
10873|     70|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10874|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10875|     70|        (yyval.interm.type).basicType = EbtSampler;
10876|     70|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
10877|     70|    }
10878|     70|#line 10879 "MachineIndependent/glslang_tab.cpp"
10879|     70|    break;
10880|       |
10881|     70|  case 471: /* type_specifier_nonarray: F16TEXTURE3D  */
  ------------------
  |  Branch (10881:3): [True: 70, False: 2.95M]
  ------------------
10882|     70|#line 3199 "MachineIndependent/glslang.y"
10883|     70|                   {
10884|     70|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10885|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10886|     70|        (yyval.interm.type).basicType = EbtSampler;
10887|     70|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
10888|     70|    }
10889|     70|#line 10890 "MachineIndependent/glslang_tab.cpp"
10890|     70|    break;
10891|       |
10892|     14|  case 472: /* type_specifier_nonarray: F16TEXTURECUBE  */
  ------------------
  |  Branch (10892:3): [True: 14, False: 2.95M]
  ------------------
10893|     14|#line 3205 "MachineIndependent/glslang.y"
10894|     14|                     {
10895|     14|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10896|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10897|     14|        (yyval.interm.type).basicType = EbtSampler;
10898|     14|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
10899|     14|    }
10900|     14|#line 10901 "MachineIndependent/glslang_tab.cpp"
10901|     14|    break;
10902|       |
10903|     28|  case 473: /* type_specifier_nonarray: TEXTURE1DARRAY  */
  ------------------
  |  Branch (10903:3): [True: 28, False: 2.95M]
  ------------------
10904|     28|#line 3211 "MachineIndependent/glslang.y"
10905|     28|                     {
10906|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10907|     28|        (yyval.interm.type).basicType = EbtSampler;
10908|     28|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
10909|     28|    }
10910|     28|#line 10911 "MachineIndependent/glslang_tab.cpp"
10911|     28|    break;
10912|       |
10913|     42|  case 474: /* type_specifier_nonarray: F16TEXTURE1DARRAY  */
  ------------------
  |  Branch (10913:3): [True: 42, False: 2.95M]
  ------------------
10914|     42|#line 3216 "MachineIndependent/glslang.y"
10915|     42|                        {
10916|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10917|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
10918|     42|        (yyval.interm.type).basicType = EbtSampler;
10919|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
10920|     42|    }
10921|     42|#line 10922 "MachineIndependent/glslang_tab.cpp"
10922|     42|    break;
10923|       |
10924|     70|  case 475: /* type_specifier_nonarray: F16TEXTURE2DARRAY  */
  ------------------
  |  Branch (10924:3): [True: 70, False: 2.95M]
  ------------------
10925|     70|#line 3222 "MachineIndependent/glslang.y"
10926|     70|                        {
10927|     70|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10928|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
10929|     70|        (yyval.interm.type).basicType = EbtSampler;
10930|     70|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
10931|     70|    }
10932|     70|#line 10933 "MachineIndependent/glslang_tab.cpp"
10933|     70|    break;
10934|       |
10935|     14|  case 476: /* type_specifier_nonarray: F16TEXTURECUBEARRAY  */
  ------------------
  |  Branch (10935:3): [True: 14, False: 2.95M]
  ------------------
10936|     14|#line 3228 "MachineIndependent/glslang.y"
10937|     14|                          {
10938|     14|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10939|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
10940|     14|        (yyval.interm.type).basicType = EbtSampler;
10941|     14|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
10942|     14|    }
10943|     14|#line 10944 "MachineIndependent/glslang_tab.cpp"
10944|     14|    break;
10945|       |
10946|     28|  case 477: /* type_specifier_nonarray: ITEXTURE1D  */
  ------------------
  |  Branch (10946:3): [True: 28, False: 2.95M]
  ------------------
10947|     28|#line 3234 "MachineIndependent/glslang.y"
10948|     28|                 {
10949|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10950|     28|        (yyval.interm.type).basicType = EbtSampler;
10951|     28|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
10952|     28|    }
10953|     28|#line 10954 "MachineIndependent/glslang_tab.cpp"
10954|     28|    break;
10955|       |
10956|     28|  case 478: /* type_specifier_nonarray: ITEXTURE1DARRAY  */
  ------------------
  |  Branch (10956:3): [True: 28, False: 2.95M]
  ------------------
10957|     28|#line 3239 "MachineIndependent/glslang.y"
10958|     28|                      {
10959|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10960|     28|        (yyval.interm.type).basicType = EbtSampler;
10961|     28|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
10962|     28|    }
10963|     28|#line 10964 "MachineIndependent/glslang_tab.cpp"
10964|     28|    break;
10965|       |
10966|     28|  case 479: /* type_specifier_nonarray: UTEXTURE1D  */
  ------------------
  |  Branch (10966:3): [True: 28, False: 2.95M]
  ------------------
10967|     28|#line 3244 "MachineIndependent/glslang.y"
10968|     28|                 {
10969|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10970|     28|        (yyval.interm.type).basicType = EbtSampler;
10971|     28|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
10972|     28|    }
10973|     28|#line 10974 "MachineIndependent/glslang_tab.cpp"
10974|     28|    break;
10975|       |
10976|     28|  case 480: /* type_specifier_nonarray: UTEXTURE1DARRAY  */
  ------------------
  |  Branch (10976:3): [True: 28, False: 2.95M]
  ------------------
10977|     28|#line 3249 "MachineIndependent/glslang.y"
10978|     28|                      {
10979|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
10980|     28|        (yyval.interm.type).basicType = EbtSampler;
10981|     28|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
10982|     28|    }
10983|     28|#line 10984 "MachineIndependent/glslang_tab.cpp"
10984|     28|    break;
10985|       |
10986|     35|  case 481: /* type_specifier_nonarray: TEXTURE2DRECT  */
  ------------------
  |  Branch (10986:3): [True: 35, False: 2.95M]
  ------------------
10987|     35|#line 3254 "MachineIndependent/glslang.y"
10988|     35|                    {
10989|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
10990|     35|        (yyval.interm.type).basicType = EbtSampler;
10991|     35|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
10992|     35|    }
10993|     35|#line 10994 "MachineIndependent/glslang_tab.cpp"
10994|     35|    break;
10995|       |
10996|     63|  case 482: /* type_specifier_nonarray: F16TEXTURE2DRECT  */
  ------------------
  |  Branch (10996:3): [True: 63, False: 2.95M]
  ------------------
10997|     63|#line 3259 "MachineIndependent/glslang.y"
10998|     63|                       {
10999|     63|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
11000|     63|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     63|#define parseContext (*pParseContext)
  ------------------
11001|     63|        (yyval.interm.type).basicType = EbtSampler;
11002|     63|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
11003|     63|    }
11004|     63|#line 11005 "MachineIndependent/glslang_tab.cpp"
11005|     63|    break;
11006|       |
11007|     35|  case 483: /* type_specifier_nonarray: ITEXTURE2DRECT  */
  ------------------
  |  Branch (11007:3): [True: 35, False: 2.95M]
  ------------------
11008|     35|#line 3265 "MachineIndependent/glslang.y"
11009|     35|                     {
11010|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
11011|     35|        (yyval.interm.type).basicType = EbtSampler;
11012|     35|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
11013|     35|    }
11014|     35|#line 11015 "MachineIndependent/glslang_tab.cpp"
11015|     35|    break;
11016|       |
11017|     35|  case 484: /* type_specifier_nonarray: UTEXTURE2DRECT  */
  ------------------
  |  Branch (11017:3): [True: 35, False: 2.95M]
  ------------------
11018|     35|#line 3270 "MachineIndependent/glslang.y"
11019|     35|                     {
11020|     35|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     35|#define parseContext (*pParseContext)
  ------------------
11021|     35|        (yyval.interm.type).basicType = EbtSampler;
11022|     35|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
11023|     35|    }
11024|     35|#line 11025 "MachineIndependent/glslang_tab.cpp"
11025|     35|    break;
11026|       |
11027|     14|  case 485: /* type_specifier_nonarray: TEXTUREBUFFER  */
  ------------------
  |  Branch (11027:3): [True: 14, False: 2.95M]
  ------------------
11028|     14|#line 3275 "MachineIndependent/glslang.y"
11029|     14|                    {
11030|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
11031|     14|        (yyval.interm.type).basicType = EbtSampler;
11032|     14|        (yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
11033|     14|    }
11034|     14|#line 11035 "MachineIndependent/glslang_tab.cpp"
11035|     14|    break;
11036|       |
11037|     21|  case 486: /* type_specifier_nonarray: F16TEXTUREBUFFER  */
  ------------------
  |  Branch (11037:3): [True: 21, False: 2.95M]
  ------------------
11038|     21|#line 3280 "MachineIndependent/glslang.y"
11039|     21|                       {
11040|     21|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11041|     21|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     21|#define parseContext (*pParseContext)
  ------------------
11042|     21|        (yyval.interm.type).basicType = EbtSampler;
11043|     21|        (yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
11044|     21|    }
11045|     21|#line 11046 "MachineIndependent/glslang_tab.cpp"
11046|     21|    break;
11047|       |
11048|     14|  case 487: /* type_specifier_nonarray: ITEXTUREBUFFER  */
  ------------------
  |  Branch (11048:3): [True: 14, False: 2.95M]
  ------------------
11049|     14|#line 3286 "MachineIndependent/glslang.y"
11050|     14|                     {
11051|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
11052|     14|        (yyval.interm.type).basicType = EbtSampler;
11053|     14|        (yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
11054|     14|    }
11055|     14|#line 11056 "MachineIndependent/glslang_tab.cpp"
11056|     14|    break;
11057|       |
11058|     14|  case 488: /* type_specifier_nonarray: UTEXTUREBUFFER  */
  ------------------
  |  Branch (11058:3): [True: 14, False: 2.95M]
  ------------------
11059|     14|#line 3291 "MachineIndependent/glslang.y"
11060|     14|                     {
11061|     14|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     14|#define parseContext (*pParseContext)
  ------------------
11062|     14|        (yyval.interm.type).basicType = EbtSampler;
11063|     14|        (yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
11064|     14|    }
11065|     14|#line 11066 "MachineIndependent/glslang_tab.cpp"
11066|     14|    break;
11067|       |
11068|     28|  case 489: /* type_specifier_nonarray: TEXTURE2DMS  */
  ------------------
  |  Branch (11068:3): [True: 28, False: 2.95M]
  ------------------
11069|     28|#line 3296 "MachineIndependent/glslang.y"
11070|     28|                  {
11071|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11072|     28|        (yyval.interm.type).basicType = EbtSampler;
11073|     28|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
11074|     28|    }
11075|     28|#line 11076 "MachineIndependent/glslang_tab.cpp"
11076|     28|    break;
11077|       |
11078|     42|  case 490: /* type_specifier_nonarray: F16TEXTURE2DMS  */
  ------------------
  |  Branch (11078:3): [True: 42, False: 2.95M]
  ------------------
11079|     42|#line 3301 "MachineIndependent/glslang.y"
11080|     42|                     {
11081|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11082|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11083|     42|        (yyval.interm.type).basicType = EbtSampler;
11084|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
11085|     42|    }
11086|     42|#line 11087 "MachineIndependent/glslang_tab.cpp"
11087|     42|    break;
11088|       |
11089|     28|  case 491: /* type_specifier_nonarray: ITEXTURE2DMS  */
  ------------------
  |  Branch (11089:3): [True: 28, False: 2.95M]
  ------------------
11090|     28|#line 3307 "MachineIndependent/glslang.y"
11091|     28|                   {
11092|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11093|     28|        (yyval.interm.type).basicType = EbtSampler;
11094|     28|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
11095|     28|    }
11096|     28|#line 11097 "MachineIndependent/glslang_tab.cpp"
11097|     28|    break;
11098|       |
11099|     28|  case 492: /* type_specifier_nonarray: UTEXTURE2DMS  */
  ------------------
  |  Branch (11099:3): [True: 28, False: 2.95M]
  ------------------
11100|     28|#line 3312 "MachineIndependent/glslang.y"
11101|     28|                   {
11102|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11103|     28|        (yyval.interm.type).basicType = EbtSampler;
11104|     28|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
11105|     28|    }
11106|     28|#line 11107 "MachineIndependent/glslang_tab.cpp"
11107|     28|    break;
11108|       |
11109|     28|  case 493: /* type_specifier_nonarray: TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11109:3): [True: 28, False: 2.95M]
  ------------------
11110|     28|#line 3317 "MachineIndependent/glslang.y"
11111|     28|                       {
11112|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11113|     28|        (yyval.interm.type).basicType = EbtSampler;
11114|     28|        (yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
11115|     28|    }
11116|     28|#line 11117 "MachineIndependent/glslang_tab.cpp"
11117|     28|    break;
11118|       |
11119|     42|  case 494: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11119:3): [True: 42, False: 2.95M]
  ------------------
11120|     42|#line 3322 "MachineIndependent/glslang.y"
11121|     42|                          {
11122|     42|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11123|     42|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     42|#define parseContext (*pParseContext)
  ------------------
11124|     42|        (yyval.interm.type).basicType = EbtSampler;
11125|     42|        (yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
11126|     42|    }
11127|     42|#line 11128 "MachineIndependent/glslang_tab.cpp"
11128|     42|    break;
11129|       |
11130|     28|  case 495: /* type_specifier_nonarray: ITEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11130:3): [True: 28, False: 2.95M]
  ------------------
11131|     28|#line 3328 "MachineIndependent/glslang.y"
11132|     28|                        {
11133|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11134|     28|        (yyval.interm.type).basicType = EbtSampler;
11135|     28|        (yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
11136|     28|    }
11137|     28|#line 11138 "MachineIndependent/glslang_tab.cpp"
11138|     28|    break;
11139|       |
11140|     28|  case 496: /* type_specifier_nonarray: UTEXTURE2DMSARRAY  */
  ------------------
  |  Branch (11140:3): [True: 28, False: 2.95M]
  ------------------
11141|     28|#line 3333 "MachineIndependent/glslang.y"
11142|     28|                        {
11143|     28|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     28|#define parseContext (*pParseContext)
  ------------------
11144|     28|        (yyval.interm.type).basicType = EbtSampler;
11145|     28|        (yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
11146|     28|    }
11147|     28|#line 11148 "MachineIndependent/glslang_tab.cpp"
11148|     28|    break;
11149|       |
11150|    161|  case 497: /* type_specifier_nonarray: IMAGE1D  */
  ------------------
  |  Branch (11150:3): [True: 161, False: 2.94M]
  ------------------
11151|    161|#line 3338 "MachineIndependent/glslang.y"
11152|    161|              {
11153|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11154|    161|        (yyval.interm.type).basicType = EbtSampler;
11155|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
11156|    161|    }
11157|    161|#line 11158 "MachineIndependent/glslang_tab.cpp"
11158|    161|    break;
11159|       |
11160|    161|  case 498: /* type_specifier_nonarray: F16IMAGE1D  */
  ------------------
  |  Branch (11160:3): [True: 161, False: 2.94M]
  ------------------
11161|    161|#line 3343 "MachineIndependent/glslang.y"
11162|    161|                 {
11163|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11164|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11165|    161|        (yyval.interm.type).basicType = EbtSampler;
11166|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
11167|    161|    }
11168|    161|#line 11169 "MachineIndependent/glslang_tab.cpp"
11169|    161|    break;
11170|       |
11171|    161|  case 499: /* type_specifier_nonarray: IIMAGE1D  */
  ------------------
  |  Branch (11171:3): [True: 161, False: 2.94M]
  ------------------
11172|    161|#line 3349 "MachineIndependent/glslang.y"
11173|    161|               {
11174|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11175|    161|        (yyval.interm.type).basicType = EbtSampler;
11176|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
11177|    161|    }
11178|    161|#line 11179 "MachineIndependent/glslang_tab.cpp"
11179|    161|    break;
11180|       |
11181|    161|  case 500: /* type_specifier_nonarray: UIMAGE1D  */
  ------------------
  |  Branch (11181:3): [True: 161, False: 2.94M]
  ------------------
11182|    161|#line 3354 "MachineIndependent/glslang.y"
11183|    161|               {
11184|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11185|    161|        (yyval.interm.type).basicType = EbtSampler;
11186|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
11187|    161|    }
11188|    161|#line 11189 "MachineIndependent/glslang_tab.cpp"
11189|    161|    break;
11190|       |
11191|    175|  case 501: /* type_specifier_nonarray: IMAGE2D  */
  ------------------
  |  Branch (11191:3): [True: 175, False: 2.94M]
  ------------------
11192|    175|#line 3359 "MachineIndependent/glslang.y"
11193|    175|              {
11194|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11195|    175|        (yyval.interm.type).basicType = EbtSampler;
11196|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
11197|    175|    }
11198|    175|#line 11199 "MachineIndependent/glslang_tab.cpp"
11199|    175|    break;
11200|       |
11201|    175|  case 502: /* type_specifier_nonarray: F16IMAGE2D  */
  ------------------
  |  Branch (11201:3): [True: 175, False: 2.94M]
  ------------------
11202|    175|#line 3364 "MachineIndependent/glslang.y"
11203|    175|                 {
11204|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11205|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11206|    175|        (yyval.interm.type).basicType = EbtSampler;
11207|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
11208|    175|    }
11209|    175|#line 11210 "MachineIndependent/glslang_tab.cpp"
11210|    175|    break;
11211|       |
11212|    175|  case 503: /* type_specifier_nonarray: IIMAGE2D  */
  ------------------
  |  Branch (11212:3): [True: 175, False: 2.94M]
  ------------------
11213|    175|#line 3370 "MachineIndependent/glslang.y"
11214|    175|               {
11215|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11216|    175|        (yyval.interm.type).basicType = EbtSampler;
11217|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
11218|    175|    }
11219|    175|#line 11220 "MachineIndependent/glslang_tab.cpp"
11220|    175|    break;
11221|       |
11222|    175|  case 504: /* type_specifier_nonarray: UIMAGE2D  */
  ------------------
  |  Branch (11222:3): [True: 175, False: 2.94M]
  ------------------
11223|    175|#line 3375 "MachineIndependent/glslang.y"
11224|    175|               {
11225|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11226|    175|        (yyval.interm.type).basicType = EbtSampler;
11227|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
11228|    175|    }
11229|    175|#line 11230 "MachineIndependent/glslang_tab.cpp"
11230|    175|    break;
11231|       |
11232|    175|  case 505: /* type_specifier_nonarray: IMAGE3D  */
  ------------------
  |  Branch (11232:3): [True: 175, False: 2.94M]
  ------------------
11233|    175|#line 3380 "MachineIndependent/glslang.y"
11234|    175|              {
11235|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11236|    175|        (yyval.interm.type).basicType = EbtSampler;
11237|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
11238|    175|    }
11239|    175|#line 11240 "MachineIndependent/glslang_tab.cpp"
11240|    175|    break;
11241|       |
11242|    175|  case 506: /* type_specifier_nonarray: F16IMAGE3D  */
  ------------------
  |  Branch (11242:3): [True: 175, False: 2.94M]
  ------------------
11243|    175|#line 3385 "MachineIndependent/glslang.y"
11244|    175|                 {
11245|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11246|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11247|    175|        (yyval.interm.type).basicType = EbtSampler;
11248|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
11249|    175|    }
11250|    175|#line 11251 "MachineIndependent/glslang_tab.cpp"
11251|    175|    break;
11252|       |
11253|    175|  case 507: /* type_specifier_nonarray: IIMAGE3D  */
  ------------------
  |  Branch (11253:3): [True: 175, False: 2.94M]
  ------------------
11254|    175|#line 3391 "MachineIndependent/glslang.y"
11255|    175|               {
11256|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11257|    175|        (yyval.interm.type).basicType = EbtSampler;
11258|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
11259|    175|    }
11260|    175|#line 11261 "MachineIndependent/glslang_tab.cpp"
11261|    175|    break;
11262|       |
11263|    175|  case 508: /* type_specifier_nonarray: UIMAGE3D  */
  ------------------
  |  Branch (11263:3): [True: 175, False: 2.94M]
  ------------------
11264|    175|#line 3396 "MachineIndependent/glslang.y"
11265|    175|               {
11266|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11267|    175|        (yyval.interm.type).basicType = EbtSampler;
11268|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
11269|    175|    }
11270|    175|#line 11271 "MachineIndependent/glslang_tab.cpp"
11271|    175|    break;
11272|       |
11273|    154|  case 509: /* type_specifier_nonarray: IMAGE2DRECT  */
  ------------------
  |  Branch (11273:3): [True: 154, False: 2.94M]
  ------------------
11274|    154|#line 3401 "MachineIndependent/glslang.y"
11275|    154|                  {
11276|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11277|    154|        (yyval.interm.type).basicType = EbtSampler;
11278|    154|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
11279|    154|    }
11280|    154|#line 11281 "MachineIndependent/glslang_tab.cpp"
11281|    154|    break;
11282|       |
11283|    154|  case 510: /* type_specifier_nonarray: F16IMAGE2DRECT  */
  ------------------
  |  Branch (11283:3): [True: 154, False: 2.94M]
  ------------------
11284|    154|#line 3406 "MachineIndependent/glslang.y"
11285|    154|                     {
11286|    154|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11287|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11288|    154|        (yyval.interm.type).basicType = EbtSampler;
11289|    154|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
11290|    154|    }
11291|    154|#line 11292 "MachineIndependent/glslang_tab.cpp"
11292|    154|    break;
11293|       |
11294|    154|  case 511: /* type_specifier_nonarray: IIMAGE2DRECT  */
  ------------------
  |  Branch (11294:3): [True: 154, False: 2.94M]
  ------------------
11295|    154|#line 3412 "MachineIndependent/glslang.y"
11296|    154|                   {
11297|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11298|    154|        (yyval.interm.type).basicType = EbtSampler;
11299|    154|        (yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
11300|    154|    }
11301|    154|#line 11302 "MachineIndependent/glslang_tab.cpp"
11302|    154|    break;
11303|       |
11304|    154|  case 512: /* type_specifier_nonarray: UIMAGE2DRECT  */
  ------------------
  |  Branch (11304:3): [True: 154, False: 2.94M]
  ------------------
11305|    154|#line 3417 "MachineIndependent/glslang.y"
11306|    154|                   {
11307|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11308|    154|        (yyval.interm.type).basicType = EbtSampler;
11309|    154|        (yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
11310|    154|    }
11311|    154|#line 11312 "MachineIndependent/glslang_tab.cpp"
11312|    154|    break;
11313|       |
11314|    175|  case 513: /* type_specifier_nonarray: IMAGECUBE  */
  ------------------
  |  Branch (11314:3): [True: 175, False: 2.94M]
  ------------------
11315|    175|#line 3422 "MachineIndependent/glslang.y"
11316|    175|                {
11317|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11318|    175|        (yyval.interm.type).basicType = EbtSampler;
11319|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
11320|    175|    }
11321|    175|#line 11322 "MachineIndependent/glslang_tab.cpp"
11322|    175|    break;
11323|       |
11324|    175|  case 514: /* type_specifier_nonarray: F16IMAGECUBE  */
  ------------------
  |  Branch (11324:3): [True: 175, False: 2.94M]
  ------------------
11325|    175|#line 3427 "MachineIndependent/glslang.y"
11326|    175|                   {
11327|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11328|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11329|    175|        (yyval.interm.type).basicType = EbtSampler;
11330|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
11331|    175|    }
11332|    175|#line 11333 "MachineIndependent/glslang_tab.cpp"
11333|    175|    break;
11334|       |
11335|    175|  case 515: /* type_specifier_nonarray: IIMAGECUBE  */
  ------------------
  |  Branch (11335:3): [True: 175, False: 2.94M]
  ------------------
11336|    175|#line 3433 "MachineIndependent/glslang.y"
11337|    175|                 {
11338|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11339|    175|        (yyval.interm.type).basicType = EbtSampler;
11340|    175|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
11341|    175|    }
11342|    175|#line 11343 "MachineIndependent/glslang_tab.cpp"
11343|    175|    break;
11344|       |
11345|    175|  case 516: /* type_specifier_nonarray: UIMAGECUBE  */
  ------------------
  |  Branch (11345:3): [True: 175, False: 2.94M]
  ------------------
11346|    175|#line 3438 "MachineIndependent/glslang.y"
11347|    175|                 {
11348|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11349|    175|        (yyval.interm.type).basicType = EbtSampler;
11350|    175|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
11351|    175|    }
11352|    175|#line 11353 "MachineIndependent/glslang_tab.cpp"
11353|    175|    break;
11354|       |
11355|    147|  case 517: /* type_specifier_nonarray: IMAGEBUFFER  */
  ------------------
  |  Branch (11355:3): [True: 147, False: 2.94M]
  ------------------
11356|    147|#line 3443 "MachineIndependent/glslang.y"
11357|    147|                  {
11358|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11359|    147|        (yyval.interm.type).basicType = EbtSampler;
11360|    147|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
11361|    147|    }
11362|    147|#line 11363 "MachineIndependent/glslang_tab.cpp"
11363|    147|    break;
11364|       |
11365|    147|  case 518: /* type_specifier_nonarray: F16IMAGEBUFFER  */
  ------------------
  |  Branch (11365:3): [True: 147, False: 2.94M]
  ------------------
11366|    147|#line 3448 "MachineIndependent/glslang.y"
11367|    147|                     {
11368|    147|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11369|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11370|    147|        (yyval.interm.type).basicType = EbtSampler;
11371|    147|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
11372|    147|    }
11373|    147|#line 11374 "MachineIndependent/glslang_tab.cpp"
11374|    147|    break;
11375|       |
11376|    147|  case 519: /* type_specifier_nonarray: IIMAGEBUFFER  */
  ------------------
  |  Branch (11376:3): [True: 147, False: 2.94M]
  ------------------
11377|    147|#line 3454 "MachineIndependent/glslang.y"
11378|    147|                   {
11379|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11380|    147|        (yyval.interm.type).basicType = EbtSampler;
11381|    147|        (yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
11382|    147|    }
11383|    147|#line 11384 "MachineIndependent/glslang_tab.cpp"
11384|    147|    break;
11385|       |
11386|    147|  case 520: /* type_specifier_nonarray: UIMAGEBUFFER  */
  ------------------
  |  Branch (11386:3): [True: 147, False: 2.94M]
  ------------------
11387|    147|#line 3459 "MachineIndependent/glslang.y"
11388|    147|                   {
11389|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11390|    147|        (yyval.interm.type).basicType = EbtSampler;
11391|    147|        (yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
11392|    147|    }
11393|    147|#line 11394 "MachineIndependent/glslang_tab.cpp"
11394|    147|    break;
11395|       |
11396|    161|  case 521: /* type_specifier_nonarray: IMAGE1DARRAY  */
  ------------------
  |  Branch (11396:3): [True: 161, False: 2.94M]
  ------------------
11397|    161|#line 3464 "MachineIndependent/glslang.y"
11398|    161|                   {
11399|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11400|    161|        (yyval.interm.type).basicType = EbtSampler;
11401|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
11402|    161|    }
11403|    161|#line 11404 "MachineIndependent/glslang_tab.cpp"
11404|    161|    break;
11405|       |
11406|    161|  case 522: /* type_specifier_nonarray: F16IMAGE1DARRAY  */
  ------------------
  |  Branch (11406:3): [True: 161, False: 2.94M]
  ------------------
11407|    161|#line 3469 "MachineIndependent/glslang.y"
11408|    161|                      {
11409|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11410|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11411|    161|        (yyval.interm.type).basicType = EbtSampler;
11412|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
11413|    161|    }
11414|    161|#line 11415 "MachineIndependent/glslang_tab.cpp"
11415|    161|    break;
11416|       |
11417|    161|  case 523: /* type_specifier_nonarray: IIMAGE1DARRAY  */
  ------------------
  |  Branch (11417:3): [True: 161, False: 2.94M]
  ------------------
11418|    161|#line 3475 "MachineIndependent/glslang.y"
11419|    161|                    {
11420|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11421|    161|        (yyval.interm.type).basicType = EbtSampler;
11422|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
11423|    161|    }
11424|    161|#line 11425 "MachineIndependent/glslang_tab.cpp"
11425|    161|    break;
11426|       |
11427|    161|  case 524: /* type_specifier_nonarray: UIMAGE1DARRAY  */
  ------------------
  |  Branch (11427:3): [True: 161, False: 2.94M]
  ------------------
11428|    161|#line 3480 "MachineIndependent/glslang.y"
11429|    161|                    {
11430|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11431|    161|        (yyval.interm.type).basicType = EbtSampler;
11432|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
11433|    161|    }
11434|    161|#line 11435 "MachineIndependent/glslang_tab.cpp"
11435|    161|    break;
11436|       |
11437|    175|  case 525: /* type_specifier_nonarray: IMAGE2DARRAY  */
  ------------------
  |  Branch (11437:3): [True: 175, False: 2.94M]
  ------------------
11438|    175|#line 3485 "MachineIndependent/glslang.y"
11439|    175|                   {
11440|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11441|    175|        (yyval.interm.type).basicType = EbtSampler;
11442|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
11443|    175|    }
11444|    175|#line 11445 "MachineIndependent/glslang_tab.cpp"
11445|    175|    break;
11446|       |
11447|    175|  case 526: /* type_specifier_nonarray: F16IMAGE2DARRAY  */
  ------------------
  |  Branch (11447:3): [True: 175, False: 2.94M]
  ------------------
11448|    175|#line 3490 "MachineIndependent/glslang.y"
11449|    175|                      {
11450|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11451|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11452|    175|        (yyval.interm.type).basicType = EbtSampler;
11453|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
11454|    175|    }
11455|    175|#line 11456 "MachineIndependent/glslang_tab.cpp"
11456|    175|    break;
11457|       |
11458|    175|  case 527: /* type_specifier_nonarray: IIMAGE2DARRAY  */
  ------------------
  |  Branch (11458:3): [True: 175, False: 2.94M]
  ------------------
11459|    175|#line 3496 "MachineIndependent/glslang.y"
11460|    175|                    {
11461|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11462|    175|        (yyval.interm.type).basicType = EbtSampler;
11463|    175|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
11464|    175|    }
11465|    175|#line 11466 "MachineIndependent/glslang_tab.cpp"
11466|    175|    break;
11467|       |
11468|    175|  case 528: /* type_specifier_nonarray: UIMAGE2DARRAY  */
  ------------------
  |  Branch (11468:3): [True: 175, False: 2.94M]
  ------------------
11469|    175|#line 3501 "MachineIndependent/glslang.y"
11470|    175|                    {
11471|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11472|    175|        (yyval.interm.type).basicType = EbtSampler;
11473|    175|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
11474|    175|    }
11475|    175|#line 11476 "MachineIndependent/glslang_tab.cpp"
11476|    175|    break;
11477|       |
11478|    175|  case 529: /* type_specifier_nonarray: IMAGECUBEARRAY  */
  ------------------
  |  Branch (11478:3): [True: 175, False: 2.94M]
  ------------------
11479|    175|#line 3506 "MachineIndependent/glslang.y"
11480|    175|                     {
11481|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11482|    175|        (yyval.interm.type).basicType = EbtSampler;
11483|    175|        (yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
11484|    175|    }
11485|    175|#line 11486 "MachineIndependent/glslang_tab.cpp"
11486|    175|    break;
11487|       |
11488|    175|  case 530: /* type_specifier_nonarray: F16IMAGECUBEARRAY  */
  ------------------
  |  Branch (11488:3): [True: 175, False: 2.94M]
  ------------------
11489|    175|#line 3511 "MachineIndependent/glslang.y"
11490|    175|                        {
11491|    175|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11492|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11493|    175|        (yyval.interm.type).basicType = EbtSampler;
11494|    175|        (yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
11495|    175|    }
11496|    175|#line 11497 "MachineIndependent/glslang_tab.cpp"
11497|    175|    break;
11498|       |
11499|    175|  case 531: /* type_specifier_nonarray: IIMAGECUBEARRAY  */
  ------------------
  |  Branch (11499:3): [True: 175, False: 2.94M]
  ------------------
11500|    175|#line 3517 "MachineIndependent/glslang.y"
11501|    175|                      {
11502|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11503|    175|        (yyval.interm.type).basicType = EbtSampler;
11504|    175|        (yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
11505|    175|    }
11506|    175|#line 11507 "MachineIndependent/glslang_tab.cpp"
11507|    175|    break;
11508|       |
11509|    175|  case 532: /* type_specifier_nonarray: UIMAGECUBEARRAY  */
  ------------------
  |  Branch (11509:3): [True: 175, False: 2.94M]
  ------------------
11510|    175|#line 3522 "MachineIndependent/glslang.y"
11511|    175|                      {
11512|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11513|    175|        (yyval.interm.type).basicType = EbtSampler;
11514|    175|        (yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
11515|    175|    }
11516|    175|#line 11517 "MachineIndependent/glslang_tab.cpp"
11517|    175|    break;
11518|       |
11519|    161|  case 533: /* type_specifier_nonarray: IMAGE2DMS  */
  ------------------
  |  Branch (11519:3): [True: 161, False: 2.94M]
  ------------------
11520|    161|#line 3527 "MachineIndependent/glslang.y"
11521|    161|                {
11522|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11523|    161|        (yyval.interm.type).basicType = EbtSampler;
11524|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
11525|    161|    }
11526|    161|#line 11527 "MachineIndependent/glslang_tab.cpp"
11527|    161|    break;
11528|       |
11529|    161|  case 534: /* type_specifier_nonarray: F16IMAGE2DMS  */
  ------------------
  |  Branch (11529:3): [True: 161, False: 2.94M]
  ------------------
11530|    161|#line 3532 "MachineIndependent/glslang.y"
11531|    161|                   {
11532|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11533|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11534|    161|        (yyval.interm.type).basicType = EbtSampler;
11535|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
11536|    161|    }
11537|    161|#line 11538 "MachineIndependent/glslang_tab.cpp"
11538|    161|    break;
11539|       |
11540|    161|  case 535: /* type_specifier_nonarray: IIMAGE2DMS  */
  ------------------
  |  Branch (11540:3): [True: 161, False: 2.94M]
  ------------------
11541|    161|#line 3538 "MachineIndependent/glslang.y"
11542|    161|                 {
11543|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11544|    161|        (yyval.interm.type).basicType = EbtSampler;
11545|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
11546|    161|    }
11547|    161|#line 11548 "MachineIndependent/glslang_tab.cpp"
11548|    161|    break;
11549|       |
11550|    161|  case 536: /* type_specifier_nonarray: UIMAGE2DMS  */
  ------------------
  |  Branch (11550:3): [True: 161, False: 2.94M]
  ------------------
11551|    161|#line 3543 "MachineIndependent/glslang.y"
11552|    161|                 {
11553|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11554|    161|        (yyval.interm.type).basicType = EbtSampler;
11555|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
11556|    161|    }
11557|    161|#line 11558 "MachineIndependent/glslang_tab.cpp"
11558|    161|    break;
11559|       |
11560|    161|  case 537: /* type_specifier_nonarray: IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11560:3): [True: 161, False: 2.94M]
  ------------------
11561|    161|#line 3548 "MachineIndependent/glslang.y"
11562|    161|                     {
11563|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11564|    161|        (yyval.interm.type).basicType = EbtSampler;
11565|    161|        (yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
11566|    161|    }
11567|    161|#line 11568 "MachineIndependent/glslang_tab.cpp"
11568|    161|    break;
11569|       |
11570|    161|  case 538: /* type_specifier_nonarray: F16IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11570:3): [True: 161, False: 2.94M]
  ------------------
11571|    161|#line 3553 "MachineIndependent/glslang.y"
11572|    161|                        {
11573|    161|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11574|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11575|    161|        (yyval.interm.type).basicType = EbtSampler;
11576|    161|        (yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
11577|    161|    }
11578|    161|#line 11579 "MachineIndependent/glslang_tab.cpp"
11579|    161|    break;
11580|       |
11581|    161|  case 539: /* type_specifier_nonarray: IIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11581:3): [True: 161, False: 2.94M]
  ------------------
11582|    161|#line 3559 "MachineIndependent/glslang.y"
11583|    161|                      {
11584|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11585|    161|        (yyval.interm.type).basicType = EbtSampler;
11586|    161|        (yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
11587|    161|    }
11588|    161|#line 11589 "MachineIndependent/glslang_tab.cpp"
11589|    161|    break;
11590|       |
11591|    161|  case 540: /* type_specifier_nonarray: UIMAGE2DMSARRAY  */
  ------------------
  |  Branch (11591:3): [True: 161, False: 2.94M]
  ------------------
11592|    161|#line 3564 "MachineIndependent/glslang.y"
11593|    161|                      {
11594|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11595|    161|        (yyval.interm.type).basicType = EbtSampler;
11596|    161|        (yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
11597|    161|    }
11598|    161|#line 11599 "MachineIndependent/glslang_tab.cpp"
11599|    161|    break;
11600|       |
11601|    161|  case 541: /* type_specifier_nonarray: I64IMAGE1D  */
  ------------------
  |  Branch (11601:3): [True: 161, False: 2.94M]
  ------------------
11602|    161|#line 3569 "MachineIndependent/glslang.y"
11603|    161|                 {
11604|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11605|    161|        (yyval.interm.type).basicType = EbtSampler;
11606|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
11607|    161|    }
11608|    161|#line 11609 "MachineIndependent/glslang_tab.cpp"
11609|    161|    break;
11610|       |
11611|    161|  case 542: /* type_specifier_nonarray: U64IMAGE1D  */
  ------------------
  |  Branch (11611:3): [True: 161, False: 2.94M]
  ------------------
11612|    161|#line 3574 "MachineIndependent/glslang.y"
11613|    161|                 {
11614|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11615|    161|        (yyval.interm.type).basicType = EbtSampler;
11616|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
11617|    161|    }
11618|    161|#line 11619 "MachineIndependent/glslang_tab.cpp"
11619|    161|    break;
11620|       |
11621|    175|  case 543: /* type_specifier_nonarray: I64IMAGE2D  */
  ------------------
  |  Branch (11621:3): [True: 175, False: 2.94M]
  ------------------
11622|    175|#line 3579 "MachineIndependent/glslang.y"
11623|    175|                 {
11624|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11625|    175|        (yyval.interm.type).basicType = EbtSampler;
11626|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
11627|    175|    }
11628|    175|#line 11629 "MachineIndependent/glslang_tab.cpp"
11629|    175|    break;
11630|       |
11631|    175|  case 544: /* type_specifier_nonarray: U64IMAGE2D  */
  ------------------
  |  Branch (11631:3): [True: 175, False: 2.94M]
  ------------------
11632|    175|#line 3584 "MachineIndependent/glslang.y"
11633|    175|                 {
11634|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11635|    175|        (yyval.interm.type).basicType = EbtSampler;
11636|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
11637|    175|    }
11638|    175|#line 11639 "MachineIndependent/glslang_tab.cpp"
11639|    175|    break;
11640|       |
11641|    175|  case 545: /* type_specifier_nonarray: I64IMAGE3D  */
  ------------------
  |  Branch (11641:3): [True: 175, False: 2.94M]
  ------------------
11642|    175|#line 3589 "MachineIndependent/glslang.y"
11643|    175|                 {
11644|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11645|    175|        (yyval.interm.type).basicType = EbtSampler;
11646|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
11647|    175|    }
11648|    175|#line 11649 "MachineIndependent/glslang_tab.cpp"
11649|    175|    break;
11650|       |
11651|    175|  case 546: /* type_specifier_nonarray: U64IMAGE3D  */
  ------------------
  |  Branch (11651:3): [True: 175, False: 2.94M]
  ------------------
11652|    175|#line 3594 "MachineIndependent/glslang.y"
11653|    175|                 {
11654|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11655|    175|        (yyval.interm.type).basicType = EbtSampler;
11656|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
11657|    175|    }
11658|    175|#line 11659 "MachineIndependent/glslang_tab.cpp"
11659|    175|    break;
11660|       |
11661|    154|  case 547: /* type_specifier_nonarray: I64IMAGE2DRECT  */
  ------------------
  |  Branch (11661:3): [True: 154, False: 2.94M]
  ------------------
11662|    154|#line 3599 "MachineIndependent/glslang.y"
11663|    154|                     {
11664|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11665|    154|        (yyval.interm.type).basicType = EbtSampler;
11666|    154|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
11667|    154|    }
11668|    154|#line 11669 "MachineIndependent/glslang_tab.cpp"
11669|    154|    break;
11670|       |
11671|    154|  case 548: /* type_specifier_nonarray: U64IMAGE2DRECT  */
  ------------------
  |  Branch (11671:3): [True: 154, False: 2.94M]
  ------------------
11672|    154|#line 3604 "MachineIndependent/glslang.y"
11673|    154|                     {
11674|    154|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    154|#define parseContext (*pParseContext)
  ------------------
11675|    154|        (yyval.interm.type).basicType = EbtSampler;
11676|    154|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
11677|    154|    }
11678|    154|#line 11679 "MachineIndependent/glslang_tab.cpp"
11679|    154|    break;
11680|       |
11681|    175|  case 549: /* type_specifier_nonarray: I64IMAGECUBE  */
  ------------------
  |  Branch (11681:3): [True: 175, False: 2.94M]
  ------------------
11682|    175|#line 3609 "MachineIndependent/glslang.y"
11683|    175|                   {
11684|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11685|    175|        (yyval.interm.type).basicType = EbtSampler;
11686|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
11687|    175|    }
11688|    175|#line 11689 "MachineIndependent/glslang_tab.cpp"
11689|    175|    break;
11690|       |
11691|    175|  case 550: /* type_specifier_nonarray: U64IMAGECUBE  */
  ------------------
  |  Branch (11691:3): [True: 175, False: 2.94M]
  ------------------
11692|    175|#line 3614 "MachineIndependent/glslang.y"
11693|    175|                   {
11694|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11695|    175|        (yyval.interm.type).basicType = EbtSampler;
11696|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
11697|    175|    }
11698|    175|#line 11699 "MachineIndependent/glslang_tab.cpp"
11699|    175|    break;
11700|       |
11701|    147|  case 551: /* type_specifier_nonarray: I64IMAGEBUFFER  */
  ------------------
  |  Branch (11701:3): [True: 147, False: 2.94M]
  ------------------
11702|    147|#line 3619 "MachineIndependent/glslang.y"
11703|    147|                     {
11704|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11705|    147|        (yyval.interm.type).basicType = EbtSampler;
11706|    147|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
11707|    147|    }
11708|    147|#line 11709 "MachineIndependent/glslang_tab.cpp"
11709|    147|    break;
11710|       |
11711|    147|  case 552: /* type_specifier_nonarray: U64IMAGEBUFFER  */
  ------------------
  |  Branch (11711:3): [True: 147, False: 2.94M]
  ------------------
11712|    147|#line 3624 "MachineIndependent/glslang.y"
11713|    147|                     {
11714|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11715|    147|        (yyval.interm.type).basicType = EbtSampler;
11716|    147|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
11717|    147|    }
11718|    147|#line 11719 "MachineIndependent/glslang_tab.cpp"
11719|    147|    break;
11720|       |
11721|    161|  case 553: /* type_specifier_nonarray: I64IMAGE1DARRAY  */
  ------------------
  |  Branch (11721:3): [True: 161, False: 2.94M]
  ------------------
11722|    161|#line 3629 "MachineIndependent/glslang.y"
11723|    161|                      {
11724|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11725|    161|        (yyval.interm.type).basicType = EbtSampler;
11726|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
11727|    161|    }
11728|    161|#line 11729 "MachineIndependent/glslang_tab.cpp"
11729|    161|    break;
11730|       |
11731|    161|  case 554: /* type_specifier_nonarray: U64IMAGE1DARRAY  */
  ------------------
  |  Branch (11731:3): [True: 161, False: 2.94M]
  ------------------
11732|    161|#line 3634 "MachineIndependent/glslang.y"
11733|    161|                      {
11734|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11735|    161|        (yyval.interm.type).basicType = EbtSampler;
11736|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
11737|    161|    }
11738|    161|#line 11739 "MachineIndependent/glslang_tab.cpp"
11739|    161|    break;
11740|       |
11741|    175|  case 555: /* type_specifier_nonarray: I64IMAGE2DARRAY  */
  ------------------
  |  Branch (11741:3): [True: 175, False: 2.94M]
  ------------------
11742|    175|#line 3639 "MachineIndependent/glslang.y"
11743|    175|                      {
11744|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11745|    175|        (yyval.interm.type).basicType = EbtSampler;
11746|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
11747|    175|    }
11748|    175|#line 11749 "MachineIndependent/glslang_tab.cpp"
11749|    175|    break;
11750|       |
11751|    175|  case 556: /* type_specifier_nonarray: U64IMAGE2DARRAY  */
  ------------------
  |  Branch (11751:3): [True: 175, False: 2.94M]
  ------------------
11752|    175|#line 3644 "MachineIndependent/glslang.y"
11753|    175|                      {
11754|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11755|    175|        (yyval.interm.type).basicType = EbtSampler;
11756|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
11757|    175|    }
11758|    175|#line 11759 "MachineIndependent/glslang_tab.cpp"
11759|    175|    break;
11760|       |
11761|    175|  case 557: /* type_specifier_nonarray: I64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11761:3): [True: 175, False: 2.94M]
  ------------------
11762|    175|#line 3649 "MachineIndependent/glslang.y"
11763|    175|                        {
11764|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11765|    175|        (yyval.interm.type).basicType = EbtSampler;
11766|    175|        (yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
11767|    175|    }
11768|    175|#line 11769 "MachineIndependent/glslang_tab.cpp"
11769|    175|    break;
11770|       |
11771|    175|  case 558: /* type_specifier_nonarray: U64IMAGECUBEARRAY  */
  ------------------
  |  Branch (11771:3): [True: 175, False: 2.94M]
  ------------------
11772|    175|#line 3654 "MachineIndependent/glslang.y"
11773|    175|                        {
11774|    175|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
11775|    175|        (yyval.interm.type).basicType = EbtSampler;
11776|    175|        (yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
11777|    175|    }
11778|    175|#line 11779 "MachineIndependent/glslang_tab.cpp"
11779|    175|    break;
11780|       |
11781|    161|  case 559: /* type_specifier_nonarray: I64IMAGE2DMS  */
  ------------------
  |  Branch (11781:3): [True: 161, False: 2.94M]
  ------------------
11782|    161|#line 3659 "MachineIndependent/glslang.y"
11783|    161|                   {
11784|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11785|    161|        (yyval.interm.type).basicType = EbtSampler;
11786|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
11787|    161|    }
11788|    161|#line 11789 "MachineIndependent/glslang_tab.cpp"
11789|    161|    break;
11790|       |
11791|    161|  case 560: /* type_specifier_nonarray: U64IMAGE2DMS  */
  ------------------
  |  Branch (11791:3): [True: 161, False: 2.94M]
  ------------------
11792|    161|#line 3664 "MachineIndependent/glslang.y"
11793|    161|                   {
11794|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11795|    161|        (yyval.interm.type).basicType = EbtSampler;
11796|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
11797|    161|    }
11798|    161|#line 11799 "MachineIndependent/glslang_tab.cpp"
11799|    161|    break;
11800|       |
11801|    161|  case 561: /* type_specifier_nonarray: I64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11801:3): [True: 161, False: 2.94M]
  ------------------
11802|    161|#line 3669 "MachineIndependent/glslang.y"
11803|    161|                        {
11804|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11805|    161|        (yyval.interm.type).basicType = EbtSampler;
11806|    161|        (yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
11807|    161|    }
11808|    161|#line 11809 "MachineIndependent/glslang_tab.cpp"
11809|    161|    break;
11810|       |
11811|    161|  case 562: /* type_specifier_nonarray: U64IMAGE2DMSARRAY  */
  ------------------
  |  Branch (11811:3): [True: 161, False: 2.94M]
  ------------------
11812|    161|#line 3674 "MachineIndependent/glslang.y"
11813|    161|                        {
11814|    161|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    161|#define parseContext (*pParseContext)
  ------------------
11815|    161|        (yyval.interm.type).basicType = EbtSampler;
11816|    161|        (yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
11817|    161|    }
11818|    161|#line 11819 "MachineIndependent/glslang_tab.cpp"
11819|    161|    break;
11820|       |
11821|     24|  case 563: /* type_specifier_nonarray: SAMPLEREXTERNALOES  */
  ------------------
  |  Branch (11821:3): [True: 24, False: 2.95M]
  ------------------
11822|     24|#line 3679 "MachineIndependent/glslang.y"
11823|     24|                         {  // GL_OES_EGL_image_external
11824|     24|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     24|#define parseContext (*pParseContext)
  ------------------
11825|     24|        (yyval.interm.type).basicType = EbtSampler;
11826|     24|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11827|     24|        (yyval.interm.type).sampler.external = true;
11828|     24|    }
11829|     24|#line 11830 "MachineIndependent/glslang_tab.cpp"
11830|     24|    break;
11831|       |
11832|     64|  case 564: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT  */
  ------------------
  |  Branch (11832:3): [True: 64, False: 2.95M]
  ------------------
11833|     64|#line 3685 "MachineIndependent/glslang.y"
11834|     64|                              { // GL_EXT_YUV_target
11835|     64|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     64|#define parseContext (*pParseContext)
  ------------------
11836|     64|        (yyval.interm.type).basicType = EbtSampler;
11837|     64|        (yyval.interm.type).sampler.set(EbtFloat, Esd2D);
11838|     64|        (yyval.interm.type).sampler.yuv = true;
11839|     64|    }
11840|     64|#line 11841 "MachineIndependent/glslang_tab.cpp"
11841|     64|    break;
11842|       |
11843|      0|  case 565: /* type_specifier_nonarray: ATTACHMENTEXT  */
  ------------------
  |  Branch (11843:3): [True: 0, False: 2.95M]
  ------------------
11844|      0|#line 3691 "MachineIndependent/glslang.y"
11845|      0|                    {
11846|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11847|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11848|      0|        (yyval.interm.type).basicType = EbtSampler;
11849|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtFloat);
11850|      0|    }
11851|      0|#line 11852 "MachineIndependent/glslang_tab.cpp"
11852|      0|    break;
11853|       |
11854|      0|  case 566: /* type_specifier_nonarray: IATTACHMENTEXT  */
  ------------------
  |  Branch (11854:3): [True: 0, False: 2.95M]
  ------------------
11855|      0|#line 3697 "MachineIndependent/glslang.y"
11856|      0|                     {
11857|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11858|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11859|      0|        (yyval.interm.type).basicType = EbtSampler;
11860|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtInt);
11861|      0|    }
11862|      0|#line 11863 "MachineIndependent/glslang_tab.cpp"
11863|      0|    break;
11864|       |
11865|      0|  case 567: /* type_specifier_nonarray: UATTACHMENTEXT  */
  ------------------
  |  Branch (11865:3): [True: 0, False: 2.95M]
  ------------------
11866|      0|#line 3703 "MachineIndependent/glslang.y"
11867|      0|                     {
11868|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "attachmentEXT input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11869|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11870|      0|        (yyval.interm.type).basicType = EbtSampler;
11871|      0|        (yyval.interm.type).sampler.setAttachmentEXT(EbtUint);
11872|      0|    }
11873|      0|#line 11874 "MachineIndependent/glslang_tab.cpp"
11874|      0|    break;
11875|       |
11876|      0|  case 568: /* type_specifier_nonarray: SUBPASSINPUT  */
  ------------------
  |  Branch (11876:3): [True: 0, False: 2.95M]
  ------------------
11877|      0|#line 3709 "MachineIndependent/glslang.y"
11878|      0|                   {
11879|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11880|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11881|      0|        (yyval.interm.type).basicType = EbtSampler;
11882|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat);
11883|      0|    }
11884|      0|#line 11885 "MachineIndependent/glslang_tab.cpp"
11885|      0|    break;
11886|       |
11887|      0|  case 569: /* type_specifier_nonarray: SUBPASSINPUTMS  */
  ------------------
  |  Branch (11887:3): [True: 0, False: 2.95M]
  ------------------
11888|      0|#line 3715 "MachineIndependent/glslang.y"
11889|      0|                     {
11890|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11891|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11892|      0|        (yyval.interm.type).basicType = EbtSampler;
11893|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat, true);
11894|      0|    }
11895|      0|#line 11896 "MachineIndependent/glslang_tab.cpp"
11896|      0|    break;
11897|       |
11898|      0|  case 570: /* type_specifier_nonarray: F16SUBPASSINPUT  */
  ------------------
  |  Branch (11898:3): [True: 0, False: 2.95M]
  ------------------
11899|      0|#line 3721 "MachineIndependent/glslang.y"
11900|      0|                      {
11901|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11902|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11903|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11904|      0|        (yyval.interm.type).basicType = EbtSampler;
11905|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16);
11906|      0|    }
11907|      0|#line 11908 "MachineIndependent/glslang_tab.cpp"
11908|      0|    break;
11909|       |
11910|      0|  case 571: /* type_specifier_nonarray: F16SUBPASSINPUTMS  */
  ------------------
  |  Branch (11910:3): [True: 0, False: 2.95M]
  ------------------
11911|      0|#line 3728 "MachineIndependent/glslang.y"
11912|      0|                        {
11913|      0|        parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11914|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11915|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11916|      0|        (yyval.interm.type).basicType = EbtSampler;
11917|      0|        (yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
11918|      0|    }
11919|      0|#line 11920 "MachineIndependent/glslang_tab.cpp"
11920|      0|    break;
11921|       |
11922|      0|  case 572: /* type_specifier_nonarray: ISUBPASSINPUT  */
  ------------------
  |  Branch (11922:3): [True: 0, False: 2.95M]
  ------------------
11923|      0|#line 3735 "MachineIndependent/glslang.y"
11924|      0|                    {
11925|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11926|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11927|      0|        (yyval.interm.type).basicType = EbtSampler;
11928|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt);
11929|      0|    }
11930|      0|#line 11931 "MachineIndependent/glslang_tab.cpp"
11931|      0|    break;
11932|       |
11933|      0|  case 573: /* type_specifier_nonarray: ISUBPASSINPUTMS  */
  ------------------
  |  Branch (11933:3): [True: 0, False: 2.95M]
  ------------------
11934|      0|#line 3741 "MachineIndependent/glslang.y"
11935|      0|                      {
11936|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11937|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11938|      0|        (yyval.interm.type).basicType = EbtSampler;
11939|      0|        (yyval.interm.type).sampler.setSubpass(EbtInt, true);
11940|      0|    }
11941|      0|#line 11942 "MachineIndependent/glslang_tab.cpp"
11942|      0|    break;
11943|       |
11944|      0|  case 574: /* type_specifier_nonarray: USUBPASSINPUT  */
  ------------------
  |  Branch (11944:3): [True: 0, False: 2.95M]
  ------------------
11945|      0|#line 3747 "MachineIndependent/glslang.y"
11946|      0|                    {
11947|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11948|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11949|      0|        (yyval.interm.type).basicType = EbtSampler;
11950|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint);
11951|      0|    }
11952|      0|#line 11953 "MachineIndependent/glslang_tab.cpp"
11953|      0|    break;
11954|       |
11955|      0|  case 575: /* type_specifier_nonarray: USUBPASSINPUTMS  */
  ------------------
  |  Branch (11955:3): [True: 0, False: 2.95M]
  ------------------
11956|      0|#line 3753 "MachineIndependent/glslang.y"
11957|      0|                      {
11958|      0|        parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11959|      0|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
11960|      0|        (yyval.interm.type).basicType = EbtSampler;
11961|      0|        (yyval.interm.type).sampler.setSubpass(EbtUint, true);
11962|      0|    }
11963|      0|#line 11964 "MachineIndependent/glslang_tab.cpp"
11964|      0|    break;
11965|       |
11966|    147|  case 576: /* type_specifier_nonarray: FCOOPMATNV  */
  ------------------
  |  Branch (11966:3): [True: 147, False: 2.94M]
  ------------------
11967|    147|#line 3759 "MachineIndependent/glslang.y"
11968|    147|                 {
11969|    147|        parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
                      parseContext.fcoopmatCheckNV((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11970|    147|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    147|#define parseContext (*pParseContext)
  ------------------
11971|    147|        (yyval.interm.type).basicType = EbtFloat;
11972|    147|        (yyval.interm.type).coopmatNV = true;
11973|    147|        (yyval.interm.type).coopmatKHR = false;
11974|    147|    }
11975|    147|#line 11976 "MachineIndependent/glslang_tab.cpp"
11976|    147|    break;
11977|       |
11978|    196|  case 577: /* type_specifier_nonarray: ICOOPMATNV  */
  ------------------
  |  Branch (11978:3): [True: 196, False: 2.94M]
  ------------------
11979|    196|#line 3766 "MachineIndependent/glslang.y"
11980|    196|                 {
11981|    196|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
11982|    196|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
11983|    196|        (yyval.interm.type).basicType = EbtInt;
11984|    196|        (yyval.interm.type).coopmatNV = true;
11985|    196|        (yyval.interm.type).coopmatKHR = false;
11986|    196|    }
11987|    196|#line 11988 "MachineIndependent/glslang_tab.cpp"
11988|    196|    break;
11989|       |
11990|    196|  case 578: /* type_specifier_nonarray: UCOOPMATNV  */
  ------------------
  |  Branch (11990:3): [True: 196, False: 2.94M]
  ------------------
11991|    196|#line 3773 "MachineIndependent/glslang.y"
11992|    196|                 {
11993|    196|        parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
                      parseContext.intcoopmatCheckNV((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
11994|    196|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    196|#define parseContext (*pParseContext)
  ------------------
11995|    196|        (yyval.interm.type).basicType = EbtUint;
11996|    196|        (yyval.interm.type).coopmatNV = true;
11997|    196|        (yyval.interm.type).coopmatKHR = false;
11998|    196|    }
11999|    196|#line 12000 "MachineIndependent/glslang_tab.cpp"
12000|    196|    break;
12001|       |
12002|  1.51k|  case 579: /* type_specifier_nonarray: COOPMAT  */
  ------------------
  |  Branch (12002:3): [True: 1.51k, False: 2.94M]
  ------------------
12003|  1.51k|#line 3780 "MachineIndependent/glslang.y"
12004|  1.51k|              {
12005|  1.51k|        parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopmatCheck((yyvsp[0].lex).loc, "coopmat", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
12006|  1.51k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  1.51k|#define parseContext (*pParseContext)
  ------------------
12007|  1.51k|        (yyval.interm.type).basicType = EbtCoopmat;
12008|  1.51k|        (yyval.interm.type).coopmatNV = false;
12009|  1.51k|        (yyval.interm.type).coopmatKHR = true;
12010|  1.51k|    }
12011|  1.51k|#line 12012 "MachineIndependent/glslang_tab.cpp"
12012|  1.51k|    break;
12013|       |
12014|    420|  case 580: /* type_specifier_nonarray: TENSORLAYOUTNV  */
  ------------------
  |  Branch (12014:3): [True: 420, False: 2.94M]
  ------------------
12015|    420|#line 3787 "MachineIndependent/glslang.y"
12016|    420|                     {
12017|    420|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorLayoutNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
12018|    420|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    420|#define parseContext (*pParseContext)
  ------------------
12019|    420|        (yyval.interm.type).basicType = EbtTensorLayoutNV;
12020|    420|    }
12021|    420|#line 12022 "MachineIndependent/glslang_tab.cpp"
12022|    420|    break;
12023|       |
12024|    259|  case 581: /* type_specifier_nonarray: TENSORVIEWNV  */
  ------------------
  |  Branch (12024:3): [True: 259, False: 2.94M]
  ------------------
12025|    259|#line 3792 "MachineIndependent/glslang.y"
12026|    259|                   {
12027|    259|        parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    259|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorLayoutViewCheck((yyvsp[0].lex).loc, "tensorViewNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    259|#define parseContext (*pParseContext)
  ------------------
12028|    259|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    259|#define parseContext (*pParseContext)
  ------------------
12029|    259|        (yyval.interm.type).basicType = EbtTensorViewNV;
12030|    259|    }
12031|    259|#line 12032 "MachineIndependent/glslang_tab.cpp"
12032|    259|    break;
12033|       |
12034|     98|  case 582: /* type_specifier_nonarray: FUNCTION  */
  ------------------
  |  Branch (12034:3): [True: 98, False: 2.94M]
  ------------------
12035|     98|#line 3797 "MachineIndependent/glslang.y"
12036|     98|               {
12037|     98|        (yyval.interm.type).init((yyvsp[0].lex).loc);
12038|     98|        (yyval.interm.type).basicType = EbtFunction;
12039|     98|    }
12040|     98|#line 12041 "MachineIndependent/glslang_tab.cpp"
12041|     98|    break;
12042|       |
12043|  5.56k|  case 583: /* type_specifier_nonarray: COOPVECNV  */
  ------------------
  |  Branch (12043:3): [True: 5.56k, False: 2.94M]
  ------------------
12044|  5.56k|#line 3801 "MachineIndependent/glslang.y"
12045|  5.56k|                {
12046|  5.56k|        parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.56k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.coopvecCheck((yyvsp[0].lex).loc, "coopvecNV", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  5.56k|#define parseContext (*pParseContext)
  ------------------
12047|  5.56k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  5.56k|#define parseContext (*pParseContext)
  ------------------
12048|  5.56k|        (yyval.interm.type).basicType = EbtCoopvecNV;
12049|  5.56k|        (yyval.interm.type).coopvecNV = true;
12050|  5.56k|    }
12051|  5.56k|#line 12052 "MachineIndependent/glslang_tab.cpp"
12052|  5.56k|    break;
12053|       |
12054|    427|  case 584: /* type_specifier_nonarray: TENSORARM  */
  ------------------
  |  Branch (12054:3): [True: 427, False: 2.94M]
  ------------------
12055|    427|#line 3807 "MachineIndependent/glslang.y"
12056|    427|                {
12057|    427|        parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    427|#define parseContext (*pParseContext)
  ------------------
                      parseContext.tensorCheckARM((yyvsp[0].lex).loc, "tensorARM", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|    427|#define parseContext (*pParseContext)
  ------------------
12058|    427|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    427|#define parseContext (*pParseContext)
  ------------------
12059|    427|        (yyval.interm.type).tensorRankARM = 1; // placeholder value
12060|    427|        (yyval.interm.type).basicType = EbtTensorARM;
12061|    427|    }
12062|    427|#line 12063 "MachineIndependent/glslang_tab.cpp"
12063|    427|    break;
12064|       |
12065|  4.36k|  case 585: /* type_specifier_nonarray: VECTOR  */
  ------------------
  |  Branch (12065:3): [True: 4.36k, False: 2.94M]
  ------------------
12066|  4.36k|#line 3813 "MachineIndependent/glslang.y"
12067|  4.36k|             {
12068|  4.36k|        parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.36k|#define parseContext (*pParseContext)
  ------------------
                      parseContext.longVectorCheck((yyvsp[0].lex).loc, "vector", parseContext.symbolTable.atBuiltInLevel());
  ------------------
  |  |  783|  4.36k|#define parseContext (*pParseContext)
  ------------------
12069|  4.36k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  4.36k|#define parseContext (*pParseContext)
  ------------------
12070|  4.36k|        (yyval.interm.type).basicType = EbtLongVector;
12071|  4.36k|        (yyval.interm.type).longVector = true;
12072|  4.36k|    }
12073|  4.36k|#line 12074 "MachineIndependent/glslang_tab.cpp"
12074|  4.36k|    break;
12075|       |
12076|      0|  case 586: /* type_specifier_nonarray: spirv_type_specifier  */
  ------------------
  |  Branch (12076:3): [True: 0, False: 2.95M]
  ------------------
12077|      0|#line 3819 "MachineIndependent/glslang.y"
12078|      0|                           {
12079|      0|        parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12080|      0|        (yyval.interm.type) = (yyvsp[0].interm.type);
12081|      0|    }
12082|      0|#line 12083 "MachineIndependent/glslang_tab.cpp"
12083|      0|    break;
12084|       |
12085|      0|  case 587: /* type_specifier_nonarray: HITOBJECTNV  */
  ------------------
  |  Branch (12085:3): [True: 0, False: 2.95M]
  ------------------
12086|      0|#line 3823 "MachineIndependent/glslang.y"
12087|      0|                  {
12088|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12089|      0|       (yyval.interm.type).basicType = EbtHitObjectNV;
12090|      0|    }
12091|      0|#line 12092 "MachineIndependent/glslang_tab.cpp"
12092|      0|    break;
12093|       |
12094|      0|  case 588: /* type_specifier_nonarray: HITOBJECTEXT  */
  ------------------
  |  Branch (12094:3): [True: 0, False: 2.95M]
  ------------------
12095|      0|#line 3827 "MachineIndependent/glslang.y"
12096|      0|                   {
12097|      0|       (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12098|      0|       (yyval.interm.type).basicType = EbtHitObjectEXT;
12099|      0|    }
12100|      0|#line 12101 "MachineIndependent/glslang_tab.cpp"
12101|      0|    break;
12102|       |
12103|     29|  case 589: /* type_specifier_nonarray: struct_specifier  */
  ------------------
  |  Branch (12103:3): [True: 29, False: 2.95M]
  ------------------
12104|     29|#line 3831 "MachineIndependent/glslang.y"
12105|     29|                       {
12106|     29|        (yyval.interm.type) = (yyvsp[0].interm.type);
12107|     29|        (yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12107:49): [True: 29, False: 0]
  ------------------
12108|     29|        parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
12109|     29|    }
12110|     29|#line 12111 "MachineIndependent/glslang_tab.cpp"
12111|     29|    break;
12112|       |
12113|     99|  case 590: /* type_specifier_nonarray: TYPE_NAME  */
  ------------------
  |  Branch (12113:3): [True: 99, False: 2.94M]
  ------------------
12114|     99|#line 3836 "MachineIndependent/glslang.y"
12115|     99|                {
12116|       |        //
12117|       |        // This is for user defined type names.  The lexical phase looked up the
12118|       |        // type.
12119|       |        //
12120|     99|        if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
  ------------------
  |  Branch (12120:30): [True: 99, False: 0]
  ------------------
12121|     99|            const TType& structure = variable->getType();
12122|     99|            (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     99|#define parseContext (*pParseContext)
  ------------------
12123|     99|            (yyval.interm.type).basicType = EbtStruct;
12124|     99|            (yyval.interm.type).userDef = &structure;
12125|     99|            if (structure.getQualifier().isBufferType())
  ------------------
  |  Branch (12125:17): [True: 0, False: 99]
  ------------------
12126|      0|                (yyval.interm.type).qualifier = structure.getQualifier();
12127|     99|        } else
12128|      0|            parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12129|     99|    }
12130|     99|#line 12131 "MachineIndependent/glslang_tab.cpp"
12131|     99|    break;
12132|       |
12133|  14.0k|  case 591: /* precision_qualifier: HIGH_PRECISION  */
  ------------------
  |  Branch (12133:3): [True: 14.0k, False: 2.93M]
  ------------------
12134|  14.0k|#line 3854 "MachineIndependent/glslang.y"
12135|  14.0k|                     {
12136|  14.0k|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
  ------------------
  |  |  783|  14.0k|#define parseContext (*pParseContext)
  ------------------
12137|  14.0k|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|  14.0k|#define parseContext (*pParseContext)
  ------------------
12138|  14.0k|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
  ------------------
  |  |  783|  14.0k|#define parseContext (*pParseContext)
  ------------------
12139|  14.0k|    }
12140|  14.0k|#line 12141 "MachineIndependent/glslang_tab.cpp"
12141|  14.0k|    break;
12142|       |
12143|    268|  case 592: /* precision_qualifier: MEDIUM_PRECISION  */
  ------------------
  |  Branch (12143:3): [True: 268, False: 2.94M]
  ------------------
12144|    268|#line 3859 "MachineIndependent/glslang.y"
12145|    268|                       {
12146|    268|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
12147|    268|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
12148|    268|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
  ------------------
  |  |  783|    268|#define parseContext (*pParseContext)
  ------------------
12149|    268|    }
12150|    268|#line 12151 "MachineIndependent/glslang_tab.cpp"
12151|    268|    break;
12152|       |
12153|     70|  case 593: /* precision_qualifier: LOW_PRECISION  */
  ------------------
  |  Branch (12153:3): [True: 70, False: 2.95M]
  ------------------
12154|     70|#line 3864 "MachineIndependent/glslang.y"
12155|     70|                    {
12156|     70|        parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
12157|     70|        (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
12158|     70|        parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
  ------------------
  |  |  783|     70|#define parseContext (*pParseContext)
  ------------------
12159|     70|    }
12160|     70|#line 12161 "MachineIndependent/glslang_tab.cpp"
12161|     70|    break;
12162|       |
12163|     29|  case 594: /* $@3: %empty  */
  ------------------
  |  Branch (12163:3): [True: 29, False: 2.95M]
  ------------------
12164|     29|#line 3872 "MachineIndependent/glslang.y"
12165|     29|                                   { parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
12166|     29|#line 12167 "MachineIndependent/glslang_tab.cpp"
12167|     29|    break;
12168|       |
12169|     29|  case 595: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12169:3): [True: 29, False: 2.95M]
  ------------------
12170|     29|#line 3872 "MachineIndependent/glslang.y"
12171|     29|                                                                                                                   {
12172|     29|        TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
12173|     29|        parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
12174|       |
12175|     29|        TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
12176|     29|        if (! parseContext.symbolTable.insert(*userTypeDef))
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12176:13): [True: 0, False: 29]
  ------------------
12177|      0|            parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12178|     29|        else if (parseContext.spvVersion.vulkanRelaxed
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12178:18): [True: 0, False: 29]
  ------------------
12179|      0|                 && structure->containsOpaque())
  ------------------
  |  Branch (12179:21): [True: 0, False: 0]
  ------------------
12180|      0|            parseContext.relaxedSymbols.push_back(structure->getTypeName());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12181|       |
12182|     29|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
12183|     29|        (yyval.interm.type).basicType = EbtStruct;
12184|     29|        (yyval.interm.type).userDef = structure;
12185|     29|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|     29|#define parseContext (*pParseContext)
  ------------------
12186|     29|    }
12187|     29|#line 12188 "MachineIndependent/glslang_tab.cpp"
12188|     29|    break;
12189|       |
12190|      0|  case 596: /* $@4: %empty  */
  ------------------
  |  Branch (12190:3): [True: 0, False: 2.95M]
  ------------------
12191|      0|#line 3888 "MachineIndependent/glslang.y"
12192|      0|                        { parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12193|      0|#line 12194 "MachineIndependent/glslang_tab.cpp"
12194|      0|    break;
12195|       |
12196|      0|  case 597: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE  */
  ------------------
  |  Branch (12196:3): [True: 0, False: 2.95M]
  ------------------
12197|      0|#line 3888 "MachineIndependent/glslang.y"
12198|      0|                                                                                                        {
12199|      0|        TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
12200|      0|        (yyval.interm.type).init((yyvsp[-4].lex).loc);
12201|      0|        (yyval.interm.type).basicType = EbtStruct;
12202|      0|        (yyval.interm.type).userDef = structure;
12203|      0|        --parseContext.structNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12204|      0|    }
12205|      0|#line 12206 "MachineIndependent/glslang_tab.cpp"
12206|      0|    break;
12207|       |
12208|     92|  case 598: /* struct_declaration_list: struct_declaration  */
  ------------------
  |  Branch (12208:3): [True: 92, False: 2.94M]
  ------------------
12209|     92|#line 3898 "MachineIndependent/glslang.y"
12210|     92|                         {
12211|     92|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12212|     92|    }
12213|     92|#line 12214 "MachineIndependent/glslang_tab.cpp"
12214|     92|    break;
12215|       |
12216|    366|  case 599: /* struct_declaration_list: struct_declaration_list struct_declaration  */
  ------------------
  |  Branch (12216:3): [True: 366, False: 2.94M]
  ------------------
12217|    366|#line 3901 "MachineIndependent/glslang.y"
12218|    366|                                                 {
12219|    366|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12220|    732|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12220:34): [True: 366, False: 366]
  ------------------
12221|  1.39k|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12221:38): [True: 1.03k, False: 366]
  ------------------
12222|  1.03k|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12222:21): [True: 0, False: 1.03k]
  ------------------
12223|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12224|  1.03k|            }
12225|    366|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12226|    366|        }
12227|    366|    }
12228|    366|#line 12229 "MachineIndependent/glslang_tab.cpp"
12229|    366|    break;
12230|       |
12231|    458|  case 600: /* struct_declaration: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12231:3): [True: 458, False: 2.94M]
  ------------------
12232|    458|#line 3914 "MachineIndependent/glslang.y"
12233|    458|                                         {
12234|    458|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12235|    458|    }
12236|    458|#line 12237 "MachineIndependent/glslang_tab.cpp"
12237|    458|    break;
12238|       |
12239|      0|  case 601: /* struct_declaration: block_heap_inner_structure struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12239:3): [True: 0, False: 2.95M]
  ------------------
12240|      0|#line 3917 "MachineIndependent/glslang.y"
12241|      0|                                                                  {
12242|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12243|      0|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12244|      0|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12245|       |
12246|      0|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12246:34): [True: 0, False: 0]
  ------------------
12247|      0|            TType type((yyvsp[-2].interm.type));
12248|      0|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12249|      0|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12250|      0|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12251|      0|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12252|      0|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12253|      0|        }
12254|      0|    }
12255|      0|#line 12256 "MachineIndependent/glslang_tab.cpp"
12256|      0|    break;
12257|       |
12258|      0|  case 602: /* $@5: %empty  */
  ------------------
  |  Branch (12258:3): [True: 0, False: 2.95M]
  ------------------
12259|      0|#line 3934 "MachineIndependent/glslang.y"
12260|      0|                                { parseContext.nestedBlockCheck((yyvsp[-1].interm.type).loc, true); }
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12261|      0|#line 12262 "MachineIndependent/glslang_tab.cpp"
12262|      0|    break;
12263|       |
12264|      0|  case 603: /* block_heap_inner_structure: type_qualifier LEFT_BRACE $@5 struct_declaration_no_inline_block_list RIGHT_BRACE  */
  ------------------
  |  Branch (12264:3): [True: 0, False: 2.95M]
  ------------------
12265|      0|#line 3934 "MachineIndependent/glslang.y"
12266|      0|                                                                                                                                     {
12267|      0|        --parseContext.blockNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12268|      0|        parseContext.globalQualifierFixCheck((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).qualifier);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12269|      0|        parseContext.checkNoShaderLayouts((yyvsp[-4].interm.type).loc, (yyvsp[-4].interm.type).shaderQualifiers);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12270|      0|        (yyval.interm.type).init((yyvsp[-4].interm.type).loc);
12271|      0|        TType* innerStructure = new TType((yyvsp[-1].interm.typeList), TString(""), (yyvsp[-4].interm.type).qualifier);
12272|      0|        if (! (yyvsp[-4].interm.type).qualifier.hasBufferReference())
  ------------------
  |  Branch (12272:13): [True: 0, False: 0]
  ------------------
12273|      0|            parseContext.error((yyvsp[-4].interm.type).loc, "only buffer_reference blocks can be declared inline inside a heap block", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12274|      0|        TType* referenceType = new TType(EbtReference, *innerStructure, TString(""));
12275|      0|        (yyval.interm.type).basicType = EbtReference;
12276|      0|        (yyval.interm.type).userDef = referenceType;
12277|      0|        (yyval.interm.type).qualifier.layoutDescriptorHeap = true;
12278|      0|    }
12279|      0|#line 12280 "MachineIndependent/glslang_tab.cpp"
12280|      0|    break;
12281|       |
12282|      0|  case 604: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12282:3): [True: 0, False: 2.95M]
  ------------------
12283|      0|#line 3950 "MachineIndependent/glslang.y"
12284|      0|                                         {
12285|      0|        (yyval.interm.typeList) = (yyvsp[0].interm.typeList);
12286|      0|    }
12287|      0|#line 12288 "MachineIndependent/glslang_tab.cpp"
12288|      0|    break;
12289|       |
12290|      0|  case 605: /* struct_declaration_no_inline_block_list: struct_declaration_no_inline_block_list struct_declaration_no_inline_block  */
  ------------------
  |  Branch (12290:3): [True: 0, False: 2.95M]
  ------------------
12291|      0|#line 3953 "MachineIndependent/glslang.y"
12292|      0|                                                                                 {
12293|      0|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12294|      0|        for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12294:34): [True: 0, False: 0]
  ------------------
12295|      0|            for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
  ------------------
  |  Branch (12295:38): [True: 0, False: 0]
  ------------------
12296|      0|                if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
  ------------------
  |  Branch (12296:21): [True: 0, False: 0]
  ------------------
12297|      0|                    parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12298|      0|            }
12299|      0|            (yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
12300|      0|        }
12301|      0|    }
12302|      0|#line 12303 "MachineIndependent/glslang_tab.cpp"
12303|      0|    break;
12304|       |
12305|    399|  case 606: /* struct_declaration_no_inline_block: type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12305:3): [True: 399, False: 2.94M]
  ------------------
12306|    399|#line 3966 "MachineIndependent/glslang.y"
12307|    399|                                                      {
12308|    399|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12308:13): [True: 0, False: 399]
  ------------------
12309|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12310|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12311|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12311:17): [True: 0, False: 0]
  ------------------
12312|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12313|      0|        }
12314|       |
12315|    399|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12316|       |
12317|    399|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|    399|#define parseContext (*pParseContext)
  ------------------
12318|    399|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|    399|#define parseContext (*pParseContext)
  ------------------
12319|       |
12320|    798|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12320:34): [True: 399, False: 399]
  ------------------
12321|    399|            TType type((yyvsp[-2].interm.type));
12322|    399|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12323|    399|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12324|    399|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12325|    399|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|    399|#define parseContext (*pParseContext)
  ------------------
12326|    399|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12327|    399|        }
12328|    399|    }
12329|    399|#line 12330 "MachineIndependent/glslang_tab.cpp"
12330|    399|    break;
12331|       |
12332|     59|  case 607: /* struct_declaration_no_inline_block: type_qualifier type_specifier struct_declarator_list SEMICOLON  */
  ------------------
  |  Branch (12332:3): [True: 59, False: 2.95M]
  ------------------
12333|     59|#line 3988 "MachineIndependent/glslang.y"
12334|     59|                                                                     {
12335|     59|        if ((yyvsp[-2].interm.type).arraySizes) {
  ------------------
  |  Branch (12335:13): [True: 0, False: 59]
  ------------------
12336|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12337|      0|            parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12338|      0|            if (parseContext.isEsProfile())
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12338:17): [True: 0, False: 0]
  ------------------
12339|      0|                parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12340|      0|        }
12341|       |
12342|     59|        (yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
12343|       |
12344|     59|        parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12345|     59|        parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12346|     59|        parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12347|     59|        parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier, (yyvsp[-2].interm.type).hasTypeParameter());
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12348|       |
12349|    118|        for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
  ------------------
  |  Branch (12349:34): [True: 59, False: 59]
  ------------------
12350|     59|            TType type((yyvsp[-2].interm.type));
12351|     59|            type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
12352|     59|            type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
12353|     59|            type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
12354|     59|            parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
  ------------------
  |  |  783|     59|#define parseContext (*pParseContext)
  ------------------
12355|     59|            (*(yyval.interm.typeList))[i].type->shallowCopy(type);
12356|     59|        }
12357|     59|    }
12358|     59|#line 12359 "MachineIndependent/glslang_tab.cpp"
12359|     59|    break;
12360|       |
12361|    458|  case 608: /* struct_declarator_list: struct_declarator  */
  ------------------
  |  Branch (12361:3): [True: 458, False: 2.94M]
  ------------------
12362|    458|#line 4015 "MachineIndependent/glslang.y"
12363|    458|                        {
12364|    458|        (yyval.interm.typeList) = new TTypeList;
12365|    458|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12366|    458|    }
12367|    458|#line 12368 "MachineIndependent/glslang_tab.cpp"
12368|    458|    break;
12369|       |
12370|      0|  case 609: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator  */
  ------------------
  |  Branch (12370:3): [True: 0, False: 2.95M]
  ------------------
12371|      0|#line 4019 "MachineIndependent/glslang.y"
12372|      0|                                                     {
12373|      0|        (yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
12374|      0|    }
12375|      0|#line 12376 "MachineIndependent/glslang_tab.cpp"
12376|      0|    break;
12377|       |
12378|    283|  case 610: /* struct_declarator: IDENTIFIER  */
  ------------------
  |  Branch (12378:3): [True: 283, False: 2.94M]
  ------------------
12379|    283|#line 4025 "MachineIndependent/glslang.y"
12380|    283|                 {
12381|    283|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12382|    283|        (yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
12383|    283|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
12384|    283|    }
12385|    283|#line 12386 "MachineIndependent/glslang_tab.cpp"
12386|    283|    break;
12387|       |
12388|    175|  case 611: /* struct_declarator: IDENTIFIER array_specifier  */
  ------------------
  |  Branch (12388:3): [True: 175, False: 2.94M]
  ------------------
12389|    175|#line 4030 "MachineIndependent/glslang.y"
12390|    175|                                 {
12391|    175|        parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
  ------------------
  |  |  783|    175|#define parseContext (*pParseContext)
  ------------------
12392|       |
12393|    175|        (yyval.interm.typeLine).type = new TType(EbtVoid);
12394|    175|        (yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
12395|    175|        (yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
12396|    175|        (yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
12397|    175|    }
12398|    175|#line 12399 "MachineIndependent/glslang_tab.cpp"
12399|    175|    break;
12400|       |
12401|  1.24k|  case 612: /* initializer: assignment_expression  */
  ------------------
  |  Branch (12401:3): [True: 1.24k, False: 2.94M]
  ------------------
12402|  1.24k|#line 4041 "MachineIndependent/glslang.y"
12403|  1.24k|                            {
12404|  1.24k|        (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
12405|  1.24k|    }
12406|  1.24k|#line 12407 "MachineIndependent/glslang_tab.cpp"
12407|  1.24k|    break;
12408|       |
12409|      0|  case 613: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE  */
  ------------------
  |  Branch (12409:3): [True: 0, False: 2.95M]
  ------------------
12410|      0|#line 4044 "MachineIndependent/glslang.y"
12411|      0|                                              {
12412|      0|        const char* initFeature = "{ } style initializers";
12413|      0|        parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12414|      0|        parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12415|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
12416|      0|    }
12417|      0|#line 12418 "MachineIndependent/glslang_tab.cpp"
12418|      0|    break;
12419|       |
12420|      0|  case 614: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE  */
  ------------------
  |  Branch (12420:3): [True: 0, False: 2.95M]
  ------------------
12421|      0|#line 4050 "MachineIndependent/glslang.y"
12422|      0|                                                    {
12423|      0|        const char* initFeature = "{ } style initializers";
12424|      0|        parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12425|      0|        parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12426|      0|        (yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
12427|      0|    }
12428|      0|#line 12429 "MachineIndependent/glslang_tab.cpp"
12429|      0|    break;
12430|       |
12431|      0|  case 615: /* initializer: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12431:3): [True: 0, False: 2.95M]
  ------------------
12432|      0|#line 4056 "MachineIndependent/glslang.y"
12433|      0|                             {
12434|      0|        const char* initFeature = "empty { } initializer";
12435|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12436|      0|        parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12437|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12438|      0|    }
12439|      0|#line 12440 "MachineIndependent/glslang_tab.cpp"
12440|      0|    break;
12441|       |
12442|      0|  case 616: /* initializer_list: initializer  */
  ------------------
  |  Branch (12442:3): [True: 0, False: 2.95M]
  ------------------
12443|      0|#line 4065 "MachineIndependent/glslang.y"
12444|      0|                  {
12445|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12446|      0|    }
12447|      0|#line 12448 "MachineIndependent/glslang_tab.cpp"
12448|      0|    break;
12449|       |
12450|      0|  case 617: /* initializer_list: initializer_list COMMA initializer  */
  ------------------
  |  Branch (12450:3): [True: 0, False: 2.95M]
  ------------------
12451|      0|#line 4068 "MachineIndependent/glslang.y"
12452|      0|                                         {
12453|      0|        (yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12454|      0|    }
12455|      0|#line 12456 "MachineIndependent/glslang_tab.cpp"
12456|      0|    break;
12457|       |
12458|      0|  case 618: /* declaration_statement: declaration  */
  ------------------
  |  Branch (12458:3): [True: 0, False: 2.95M]
  ------------------
12459|      0|#line 4074 "MachineIndependent/glslang.y"
12460|      0|                  { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12461|      0|#line 12462 "MachineIndependent/glslang_tab.cpp"
12462|      0|    break;
12463|       |
12464|      0|  case 619: /* statement: compound_statement  */
  ------------------
  |  Branch (12464:3): [True: 0, False: 2.95M]
  ------------------
12465|      0|#line 4078 "MachineIndependent/glslang.y"
12466|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12467|      0|#line 12468 "MachineIndependent/glslang_tab.cpp"
12468|      0|    break;
12469|       |
12470|      0|  case 620: /* statement: simple_statement  */
  ------------------
  |  Branch (12470:3): [True: 0, False: 2.95M]
  ------------------
12471|      0|#line 4079 "MachineIndependent/glslang.y"
12472|      0|                          { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12473|      0|#line 12474 "MachineIndependent/glslang_tab.cpp"
12474|      0|    break;
12475|       |
12476|      0|  case 621: /* simple_statement: declaration_statement  */
  ------------------
  |  Branch (12476:3): [True: 0, False: 2.95M]
  ------------------
12477|      0|#line 4085 "MachineIndependent/glslang.y"
12478|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12479|      0|#line 12480 "MachineIndependent/glslang_tab.cpp"
12480|      0|    break;
12481|       |
12482|      0|  case 622: /* simple_statement: expression_statement  */
  ------------------
  |  Branch (12482:3): [True: 0, False: 2.95M]
  ------------------
12483|      0|#line 4086 "MachineIndependent/glslang.y"
12484|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12485|      0|#line 12486 "MachineIndependent/glslang_tab.cpp"
12486|      0|    break;
12487|       |
12488|      0|  case 623: /* simple_statement: selection_statement  */
  ------------------
  |  Branch (12488:3): [True: 0, False: 2.95M]
  ------------------
12489|      0|#line 4087 "MachineIndependent/glslang.y"
12490|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12491|      0|#line 12492 "MachineIndependent/glslang_tab.cpp"
12492|      0|    break;
12493|       |
12494|      0|  case 624: /* simple_statement: switch_statement  */
  ------------------
  |  Branch (12494:3): [True: 0, False: 2.95M]
  ------------------
12495|      0|#line 4088 "MachineIndependent/glslang.y"
12496|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12497|      0|#line 12498 "MachineIndependent/glslang_tab.cpp"
12498|      0|    break;
12499|       |
12500|      0|  case 625: /* simple_statement: case_label  */
  ------------------
  |  Branch (12500:3): [True: 0, False: 2.95M]
  ------------------
12501|      0|#line 4089 "MachineIndependent/glslang.y"
12502|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12503|      0|#line 12504 "MachineIndependent/glslang_tab.cpp"
12504|      0|    break;
12505|       |
12506|      0|  case 626: /* simple_statement: iteration_statement  */
  ------------------
  |  Branch (12506:3): [True: 0, False: 2.95M]
  ------------------
12507|      0|#line 4090 "MachineIndependent/glslang.y"
12508|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12509|      0|#line 12510 "MachineIndependent/glslang_tab.cpp"
12510|      0|    break;
12511|       |
12512|      0|  case 627: /* simple_statement: jump_statement  */
  ------------------
  |  Branch (12512:3): [True: 0, False: 2.95M]
  ------------------
12513|      0|#line 4091 "MachineIndependent/glslang.y"
12514|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12515|      0|#line 12516 "MachineIndependent/glslang_tab.cpp"
12516|      0|    break;
12517|       |
12518|      0|  case 628: /* simple_statement: demote_statement  */
  ------------------
  |  Branch (12518:3): [True: 0, False: 2.95M]
  ------------------
12519|      0|#line 4092 "MachineIndependent/glslang.y"
12520|      0|                            { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12521|      0|#line 12522 "MachineIndependent/glslang_tab.cpp"
12522|      0|    break;
12523|       |
12524|      0|  case 629: /* demote_statement: DEMOTE SEMICOLON  */
  ------------------
  |  Branch (12524:3): [True: 0, False: 2.95M]
  ------------------
12525|      0|#line 4096 "MachineIndependent/glslang.y"
12526|      0|                       {
12527|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12528|      0|        parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12529|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12530|      0|    }
12531|      0|#line 12532 "MachineIndependent/glslang_tab.cpp"
12532|      0|    break;
12533|       |
12534|      0|  case 630: /* compound_statement: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12534:3): [True: 0, False: 2.95M]
  ------------------
12535|      0|#line 4104 "MachineIndependent/glslang.y"
12536|      0|                             { (yyval.interm.intermNode) = 0; }
12537|      0|#line 12538 "MachineIndependent/glslang_tab.cpp"
12538|      0|    break;
12539|       |
12540|      0|  case 631: /* $@6: %empty  */
  ------------------
  |  Branch (12540:3): [True: 0, False: 2.95M]
  ------------------
12541|      0|#line 4105 "MachineIndependent/glslang.y"
12542|      0|                 {
12543|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12544|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12545|      0|    }
12546|      0|#line 12547 "MachineIndependent/glslang_tab.cpp"
12547|      0|    break;
12548|       |
12549|      0|  case 632: /* $@7: %empty  */
  ------------------
  |  Branch (12549:3): [True: 0, False: 2.95M]
  ------------------
12550|      0|#line 4109 "MachineIndependent/glslang.y"
12551|      0|                     {
12552|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12553|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12554|      0|    }
12555|      0|#line 12556 "MachineIndependent/glslang_tab.cpp"
12556|      0|    break;
12557|       |
12558|      0|  case 633: /* compound_statement: LEFT_BRACE $@6 statement_list $@7 RIGHT_BRACE  */
  ------------------
  |  Branch (12558:3): [True: 0, False: 2.95M]
  ------------------
12559|      0|#line 4113 "MachineIndependent/glslang.y"
12560|      0|                  {
12561|      0|        if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12561:13): [True: 0, False: 0]
  |  Branch (12561:46): [True: 0, False: 0]
  ------------------
12562|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12562:74): [True: 0, False: 0]
  ------------------
12563|      0|            (yyvsp[-2].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12564|      0|        }
12565|      0|        (yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
12566|      0|    }
12567|      0|#line 12568 "MachineIndependent/glslang_tab.cpp"
12568|      0|    break;
12569|       |
12570|      0|  case 634: /* statement_no_new_scope: compound_statement_no_new_scope  */
  ------------------
  |  Branch (12570:3): [True: 0, False: 2.95M]
  ------------------
12571|      0|#line 4123 "MachineIndependent/glslang.y"
12572|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12573|      0|#line 12574 "MachineIndependent/glslang_tab.cpp"
12574|      0|    break;
12575|       |
12576|      0|  case 635: /* statement_no_new_scope: simple_statement  */
  ------------------
  |  Branch (12576:3): [True: 0, False: 2.95M]
  ------------------
12577|      0|#line 4124 "MachineIndependent/glslang.y"
12578|      0|                                      { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
12579|      0|#line 12580 "MachineIndependent/glslang_tab.cpp"
12580|      0|    break;
12581|       |
12582|      0|  case 636: /* $@8: %empty  */
  ------------------
  |  Branch (12582:3): [True: 0, False: 2.95M]
  ------------------
12583|      0|#line 4128 "MachineIndependent/glslang.y"
12584|      0|      {
12585|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12586|      0|    }
12587|      0|#line 12588 "MachineIndependent/glslang_tab.cpp"
12588|      0|    break;
12589|       |
12590|      0|  case 637: /* statement_scoped: $@8 compound_statement  */
  ------------------
  |  Branch (12590:3): [True: 0, False: 2.95M]
  ------------------
12591|      0|#line 4131 "MachineIndependent/glslang.y"
12592|      0|                          {
12593|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12594|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12595|      0|    }
12596|      0|#line 12597 "MachineIndependent/glslang_tab.cpp"
12597|      0|    break;
12598|       |
12599|      0|  case 638: /* $@9: %empty  */
  ------------------
  |  Branch (12599:3): [True: 0, False: 2.95M]
  ------------------
12600|      0|#line 4135 "MachineIndependent/glslang.y"
12601|      0|      {
12602|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12603|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12604|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12605|      0|    }
12606|      0|#line 12607 "MachineIndependent/glslang_tab.cpp"
12607|      0|    break;
12608|       |
12609|      0|  case 639: /* statement_scoped: $@9 simple_statement  */
  ------------------
  |  Branch (12609:3): [True: 0, False: 2.95M]
  ------------------
12610|      0|#line 4140 "MachineIndependent/glslang.y"
12611|      0|                       {
12612|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12613|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12614|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12615|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12616|      0|    }
12617|      0|#line 12618 "MachineIndependent/glslang_tab.cpp"
12618|      0|    break;
12619|       |
12620|      0|  case 640: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE  */
  ------------------
  |  Branch (12620:3): [True: 0, False: 2.95M]
  ------------------
12621|      0|#line 4149 "MachineIndependent/glslang.y"
12622|      0|                             {
12623|      0|        (yyval.interm.intermNode) = 0;
12624|      0|    }
12625|      0|#line 12626 "MachineIndependent/glslang_tab.cpp"
12626|      0|    break;
12627|       |
12628|      0|  case 641: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12628:3): [True: 0, False: 2.95M]
  ------------------
12629|      0|#line 4152 "MachineIndependent/glslang.y"
12630|      0|                                            {
12631|      0|        if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate()) {
  ------------------
  |  Branch (12631:13): [True: 0, False: 0]
  |  Branch (12631:46): [True: 0, False: 0]
  ------------------
12632|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
12633|      0|            (yyvsp[-1].interm.intermNode)->getAsAggregate()->setEndLoc((yyvsp[0].lex).loc);
12634|      0|        }
12635|      0|        (yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
12636|      0|    }
12637|      0|#line 12638 "MachineIndependent/glslang_tab.cpp"
12638|      0|    break;
12639|       |
12640|      0|  case 642: /* statement_list: statement  */
  ------------------
  |  Branch (12640:3): [True: 0, False: 2.95M]
  ------------------
12641|      0|#line 4162 "MachineIndependent/glslang.y"
12642|      0|                {
12643|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12644|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12644:13): [True: 0, False: 0]
  |  Branch (12644:45): [True: 0, False: 0]
  |  Branch (12644:97): [True: 0, False: 0]
  ------------------
12645|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12645:45): [True: 0, False: 0]
  ------------------
12646|      0|            parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12647|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12648|      0|        }
12649|      0|    }
12650|      0|#line 12651 "MachineIndependent/glslang_tab.cpp"
12651|      0|    break;
12652|       |
12653|      0|  case 643: /* statement_list: statement_list statement  */
  ------------------
  |  Branch (12653:3): [True: 0, False: 2.95M]
  ------------------
12654|      0|#line 4170 "MachineIndependent/glslang.y"
12655|      0|                               {
12656|      0|        if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
  ------------------
  |  Branch (12656:13): [True: 0, False: 0]
  |  Branch (12656:45): [True: 0, False: 0]
  |  Branch (12656:97): [True: 0, False: 0]
  ------------------
12657|      0|                                            (yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
  ------------------
  |  Branch (12657:45): [True: 0, False: 0]
  ------------------
12658|      0|            parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12658:50): [True: 0, False: 0]
  ------------------
12659|      0|            (yyval.interm.intermNode) = 0;  // start a fresh subsequence for what's after this case
12660|      0|        } else
12661|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12662|      0|    }
12663|      0|#line 12664 "MachineIndependent/glslang_tab.cpp"
12664|      0|    break;
12665|       |
12666|      0|  case 644: /* expression_statement: SEMICOLON  */
  ------------------
  |  Branch (12666:3): [True: 0, False: 2.95M]
  ------------------
12667|      0|#line 4181 "MachineIndependent/glslang.y"
12668|      0|                 { (yyval.interm.intermNode) = 0; }
12669|      0|#line 12670 "MachineIndependent/glslang_tab.cpp"
12670|      0|    break;
12671|       |
12672|      0|  case 645: /* expression_statement: expression SEMICOLON  */
  ------------------
  |  Branch (12672:3): [True: 0, False: 2.95M]
  ------------------
12673|      0|#line 4182 "MachineIndependent/glslang.y"
12674|      0|                            { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
12675|      0|#line 12676 "MachineIndependent/glslang_tab.cpp"
12676|      0|    break;
12677|       |
12678|      0|  case 646: /* selection_statement: selection_statement_nonattributed  */
  ------------------
  |  Branch (12678:3): [True: 0, False: 2.95M]
  ------------------
12679|      0|#line 4186 "MachineIndependent/glslang.y"
12680|      0|                                        {
12681|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12682|      0|    }
12683|      0|#line 12684 "MachineIndependent/glslang_tab.cpp"
12684|      0|    break;
12685|       |
12686|      0|  case 647: /* selection_statement: attribute selection_statement_nonattributed  */
  ------------------
  |  Branch (12686:3): [True: 0, False: 2.95M]
  ------------------
12687|      0|#line 4189 "MachineIndependent/glslang.y"
12688|      0|                                                  {
12689|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12690|      0|        parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12691|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12692|      0|    }
12693|      0|#line 12694 "MachineIndependent/glslang_tab.cpp"
12694|      0|    break;
12695|       |
12696|      0|  case 648: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement  */
  ------------------
  |  Branch (12696:3): [True: 0, False: 2.95M]
  ------------------
12697|      0|#line 4196 "MachineIndependent/glslang.y"
12698|      0|                                                                    {
12699|      0|        parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12700|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12701|      0|    }
12702|      0|#line 12703 "MachineIndependent/glslang_tab.cpp"
12703|      0|    break;
12704|       |
12705|      0|  case 649: /* selection_rest_statement: statement_scoped ELSE statement_scoped  */
  ------------------
  |  Branch (12705:3): [True: 0, False: 2.95M]
  ------------------
12706|      0|#line 4203 "MachineIndependent/glslang.y"
12707|      0|                                             {
12708|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12709|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
12710|      0|    }
12711|      0|#line 12712 "MachineIndependent/glslang_tab.cpp"
12712|      0|    break;
12713|       |
12714|      0|  case 650: /* selection_rest_statement: statement_scoped  */
  ------------------
  |  Branch (12714:3): [True: 0, False: 2.95M]
  ------------------
12715|      0|#line 4207 "MachineIndependent/glslang.y"
12716|      0|                       {
12717|      0|        (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
12718|      0|        (yyval.interm.nodePair).node2 = 0;
12719|      0|    }
12720|      0|#line 12721 "MachineIndependent/glslang_tab.cpp"
12721|      0|    break;
12722|       |
12723|      0|  case 651: /* condition: expression  */
  ------------------
  |  Branch (12723:3): [True: 0, False: 2.95M]
  ------------------
12724|      0|#line 4215 "MachineIndependent/glslang.y"
12725|      0|                 {
12726|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
12727|      0|        parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12728|      0|    }
12729|      0|#line 12730 "MachineIndependent/glslang_tab.cpp"
12730|      0|    break;
12731|       |
12732|      0|  case 652: /* condition: fully_specified_type IDENTIFIER EQUAL initializer  */
  ------------------
  |  Branch (12732:3): [True: 0, False: 2.95M]
  ------------------
12733|      0|#line 4219 "MachineIndependent/glslang.y"
12734|      0|                                                        {
12735|      0|        parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12736|       |
12737|      0|        TType type((yyvsp[-3].interm.type));
12738|      0|        (yyval.interm.intermNode) = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12739|      0|    }
12740|      0|#line 12741 "MachineIndependent/glslang_tab.cpp"
12741|      0|    break;
12742|       |
12743|      0|  case 653: /* switch_statement: switch_statement_nonattributed  */
  ------------------
  |  Branch (12743:3): [True: 0, False: 2.95M]
  ------------------
12744|      0|#line 4228 "MachineIndependent/glslang.y"
12745|      0|                                     {
12746|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12747|      0|    }
12748|      0|#line 12749 "MachineIndependent/glslang_tab.cpp"
12749|      0|    break;
12750|       |
12751|      0|  case 654: /* switch_statement: attribute switch_statement_nonattributed  */
  ------------------
  |  Branch (12751:3): [True: 0, False: 2.95M]
  ------------------
12752|      0|#line 4231 "MachineIndependent/glslang.y"
12753|      0|                                               {
12754|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12755|      0|        parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12756|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12757|      0|    }
12758|      0|#line 12759 "MachineIndependent/glslang_tab.cpp"
12759|      0|    break;
12760|       |
12761|      0|  case 655: /* $@10: %empty  */
  ------------------
  |  Branch (12761:3): [True: 0, False: 2.95M]
  ------------------
12762|      0|#line 4238 "MachineIndependent/glslang.y"
12763|      0|                                               {
12764|       |        // start new switch sequence on the switch stack
12765|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12766|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12767|      0|        parseContext.switchSequenceStack.push_back(new TIntermSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12768|      0|        parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12769|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12770|      0|    }
12771|      0|#line 12772 "MachineIndependent/glslang_tab.cpp"
12772|      0|    break;
12773|       |
12774|      0|  case 656: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@10 LEFT_BRACE switch_statement_list RIGHT_BRACE  */
  ------------------
  |  Branch (12774:3): [True: 0, False: 2.95M]
  ------------------
12775|      0|#line 4246 "MachineIndependent/glslang.y"
12776|      0|                                                 {
12777|      0|        (yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12777:117): [True: 0, False: 0]
  ------------------
12778|      0|        delete parseContext.switchSequenceStack.back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12779|      0|        parseContext.switchSequenceStack.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12780|      0|        parseContext.switchLevel.pop_back();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12781|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12782|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12783|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12784|      0|    }
12785|      0|#line 12786 "MachineIndependent/glslang_tab.cpp"
12786|      0|    break;
12787|       |
12788|      0|  case 657: /* switch_statement_list: %empty  */
  ------------------
  |  Branch (12788:3): [True: 0, False: 2.95M]
  ------------------
12789|      0|#line 4258 "MachineIndependent/glslang.y"
12790|      0|                    {
12791|      0|        (yyval.interm.intermNode) = 0;
12792|      0|    }
12793|      0|#line 12794 "MachineIndependent/glslang_tab.cpp"
12794|      0|    break;
12795|       |
12796|      0|  case 658: /* switch_statement_list: statement_list  */
  ------------------
  |  Branch (12796:3): [True: 0, False: 2.95M]
  ------------------
12797|      0|#line 4261 "MachineIndependent/glslang.y"
12798|      0|                     {
12799|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12800|      0|    }
12801|      0|#line 12802 "MachineIndependent/glslang_tab.cpp"
12802|      0|    break;
12803|       |
12804|      0|  case 659: /* case_label: CASE expression COLON  */
  ------------------
  |  Branch (12804:3): [True: 0, False: 2.95M]
  ------------------
12805|      0|#line 4267 "MachineIndependent/glslang.y"
12806|      0|                            {
12807|      0|        (yyval.interm.intermNode) = 0;
12808|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12808:13): [True: 0, False: 0]
  ------------------
12809|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12810|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12810:18): [True: 0, False: 0]
  ------------------
12811|      0|            parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12812|      0|        else {
12813|      0|            parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12814|      0|            parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12815|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12816|      0|        }
12817|      0|    }
12818|      0|#line 12819 "MachineIndependent/glslang_tab.cpp"
12819|      0|    break;
12820|       |
12821|      0|  case 660: /* case_label: DEFAULT COLON  */
  ------------------
  |  Branch (12821:3): [True: 0, False: 2.95M]
  ------------------
12822|      0|#line 4279 "MachineIndependent/glslang.y"
12823|      0|                    {
12824|      0|        (yyval.interm.intermNode) = 0;
12825|      0|        if (parseContext.switchLevel.size() == 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12825:13): [True: 0, False: 0]
  ------------------
12826|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12827|      0|        else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12827:18): [True: 0, False: 0]
  ------------------
12828|      0|            parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12829|      0|        else
12830|      0|            (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12831|      0|    }
12832|      0|#line 12833 "MachineIndependent/glslang_tab.cpp"
12833|      0|    break;
12834|       |
12835|      0|  case 661: /* iteration_statement: iteration_statement_nonattributed  */
  ------------------
  |  Branch (12835:3): [True: 0, False: 2.95M]
  ------------------
12836|      0|#line 4291 "MachineIndependent/glslang.y"
12837|      0|                                        {
12838|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12839|      0|    }
12840|      0|#line 12841 "MachineIndependent/glslang_tab.cpp"
12841|      0|    break;
12842|       |
12843|      0|  case 662: /* iteration_statement: attribute iteration_statement_nonattributed  */
  ------------------
  |  Branch (12843:3): [True: 0, False: 2.95M]
  ------------------
12844|      0|#line 4294 "MachineIndependent/glslang.y"
12845|      0|                                                  {
12846|      0|        const char * extensions[3] = { E_GL_EXT_control_flow_attributes, E_GL_EXT_control_flow_attributes2, E_GL_QCOM_multiple_wait_queues };
12847|      0|        parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 3, extensions, "attribute");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12848|      0|        parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12849|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12850|      0|    }
12851|      0|#line 12852 "MachineIndependent/glslang_tab.cpp"
12852|      0|    break;
12853|       |
12854|      0|  case 663: /* $@11: %empty  */
  ------------------
  |  Branch (12854:3): [True: 0, False: 2.95M]
  ------------------
12855|      0|#line 4302 "MachineIndependent/glslang.y"
12856|      0|                       {
12857|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12857:13): [True: 0, False: 0]
  ------------------
12858|      0|            parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12859|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12860|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12861|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12862|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12863|      0|    }
12864|      0|#line 12865 "MachineIndependent/glslang_tab.cpp"
12865|      0|    break;
12866|       |
12867|      0|  case 664: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@11 condition RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12867:3): [True: 0, False: 2.95M]
  ------------------
12868|      0|#line 4310 "MachineIndependent/glslang.y"
12869|      0|                                                   {
12870|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12871|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermNode), 0, true, (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12872|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12872:13): [True: 0, False: 0]
  ------------------
12873|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12874|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12875|      0|        }
12876|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12877|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12878|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12879|      0|    }
12880|      0|#line 12881 "MachineIndependent/glslang_tab.cpp"
12881|      0|    break;
12882|       |
12883|      0|  case 665: /* $@12: %empty  */
  ------------------
  |  Branch (12883:3): [True: 0, False: 2.95M]
  ------------------
12884|      0|#line 4321 "MachineIndependent/glslang.y"
12885|      0|         {
12886|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12887|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12888|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12889|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12890|      0|    }
12891|      0|#line 12892 "MachineIndependent/glslang_tab.cpp"
12892|      0|    break;
12893|       |
12894|      0|  case 666: /* iteration_statement_nonattributed: DO $@12 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON  */
  ------------------
  |  Branch (12894:3): [True: 0, False: 2.95M]
  ------------------
12895|      0|#line 4327 "MachineIndependent/glslang.y"
12896|      0|                                                                  {
12897|      0|        if (! parseContext.limits.whileLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12897:13): [True: 0, False: 0]
  ------------------
12898|      0|            parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12899|       |
12900|      0|        parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12901|       |
12902|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12903|      0|        if (parseContext.intermediate.getDebugInfo()) {
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12903:13): [True: 0, False: 0]
  ------------------
12904|      0|            (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyval.interm.intermNode), (yyvsp[-4].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12905|      0|            (yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpScope);
12906|      0|        }
12907|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12908|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12909|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12910|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12911|      0|    }
12912|      0|#line 12913 "MachineIndependent/glslang_tab.cpp"
12913|      0|    break;
12914|       |
12915|      0|  case 667: /* $@13: %empty  */
  ------------------
  |  Branch (12915:3): [True: 0, False: 2.95M]
  ------------------
12916|      0|#line 4343 "MachineIndependent/glslang.y"
12917|      0|                     {
12918|      0|        parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12919|      0|        ++parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12920|      0|        ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12921|      0|        ++parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12922|      0|    }
12923|      0|#line 12924 "MachineIndependent/glslang_tab.cpp"
12924|      0|    break;
12925|       |
12926|      0|  case 668: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@13 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope  */
  ------------------
  |  Branch (12926:3): [True: 0, False: 2.95M]
  ------------------
12927|      0|#line 4349 "MachineIndependent/glslang.y"
12928|      0|                                                                               {
12929|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12930|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12931|      0|        TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12932|      0|        if (! parseContext.limits.nonInductiveForLoops)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12932:13): [True: 0, False: 0]
  ------------------
12933|      0|            parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12934|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12935|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12935:66): [True: 0, False: 0]
  ------------------
12936|      0|        --parseContext.loopNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12937|      0|        --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12938|      0|        --parseContext.controlFlowNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12939|      0|    }
12940|      0|#line 12941 "MachineIndependent/glslang_tab.cpp"
12941|      0|    break;
12942|       |
12943|      0|  case 669: /* for_init_statement: expression_statement  */
  ------------------
  |  Branch (12943:3): [True: 0, False: 2.95M]
  ------------------
12944|      0|#line 4364 "MachineIndependent/glslang.y"
12945|      0|                           {
12946|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12947|      0|    }
12948|      0|#line 12949 "MachineIndependent/glslang_tab.cpp"
12949|      0|    break;
12950|       |
12951|      0|  case 670: /* for_init_statement: declaration_statement  */
  ------------------
  |  Branch (12951:3): [True: 0, False: 2.95M]
  ------------------
12952|      0|#line 4367 "MachineIndependent/glslang.y"
12953|      0|                            {
12954|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12955|      0|    }
12956|      0|#line 12957 "MachineIndependent/glslang_tab.cpp"
12957|      0|    break;
12958|       |
12959|      0|  case 671: /* conditionopt: condition  */
  ------------------
  |  Branch (12959:3): [True: 0, False: 2.95M]
  ------------------
12960|      0|#line 4373 "MachineIndependent/glslang.y"
12961|      0|                {
12962|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
12963|      0|    }
12964|      0|#line 12965 "MachineIndependent/glslang_tab.cpp"
12965|      0|    break;
12966|       |
12967|      0|  case 672: /* conditionopt: %empty  */
  ------------------
  |  Branch (12967:3): [True: 0, False: 2.95M]
  ------------------
12968|      0|#line 4376 "MachineIndependent/glslang.y"
12969|      0|                        {
12970|      0|        (yyval.interm.intermNode) = 0;
12971|      0|    }
12972|      0|#line 12973 "MachineIndependent/glslang_tab.cpp"
12973|      0|    break;
12974|       |
12975|      0|  case 673: /* for_rest_statement: conditionopt SEMICOLON  */
  ------------------
  |  Branch (12975:3): [True: 0, False: 2.95M]
  ------------------
12976|      0|#line 4382 "MachineIndependent/glslang.y"
12977|      0|                             {
12978|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode);
12979|      0|        (yyval.interm.nodePair).node2 = 0;
12980|      0|    }
12981|      0|#line 12982 "MachineIndependent/glslang_tab.cpp"
12982|      0|    break;
12983|       |
12984|      0|  case 674: /* for_rest_statement: conditionopt SEMICOLON expression  */
  ------------------
  |  Branch (12984:3): [True: 0, False: 2.95M]
  ------------------
12985|      0|#line 4386 "MachineIndependent/glslang.y"
12986|      0|                                         {
12987|      0|        (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
12988|      0|        (yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
12989|      0|    }
12990|      0|#line 12991 "MachineIndependent/glslang_tab.cpp"
12991|      0|    break;
12992|       |
12993|      0|  case 675: /* jump_statement: CONTINUE SEMICOLON  */
  ------------------
  |  Branch (12993:3): [True: 0, False: 2.95M]
  ------------------
12994|      0|#line 4393 "MachineIndependent/glslang.y"
12995|      0|                         {
12996|      0|        if (parseContext.loopNestingLevel <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (12996:13): [True: 0, False: 0]
  ------------------
12997|      0|            parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12998|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
12999|      0|    }
13000|      0|#line 13001 "MachineIndependent/glslang_tab.cpp"
13001|      0|    break;
13002|       |
13003|      0|  case 676: /* jump_statement: BREAK SEMICOLON  */
  ------------------
  |  Branch (13003:3): [True: 0, False: 2.95M]
  ------------------
13004|      0|#line 4398 "MachineIndependent/glslang.y"
13005|      0|                      {
13006|      0|        if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13006:13): [True: 0, False: 0]
  ------------------
13007|      0|            parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13008|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13009|      0|    }
13010|      0|#line 13011 "MachineIndependent/glslang_tab.cpp"
13011|      0|    break;
13012|       |
13013|      0|  case 677: /* jump_statement: RETURN SEMICOLON  */
  ------------------
  |  Branch (13013:3): [True: 0, False: 2.95M]
  ------------------
13014|      0|#line 4403 "MachineIndependent/glslang.y"
13015|      0|                       {
13016|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13017|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13017:13): [True: 0, False: 0]
  ------------------
13018|      0|            parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13019|      0|        if (parseContext.inMain)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13019:13): [True: 0, False: 0]
  ------------------
13020|      0|            parseContext.postEntryPointReturn = true;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13021|      0|    }
13022|      0|#line 13023 "MachineIndependent/glslang_tab.cpp"
13023|      0|    break;
13024|       |
13025|      0|  case 678: /* jump_statement: RETURN expression SEMICOLON  */
  ------------------
  |  Branch (13025:3): [True: 0, False: 2.95M]
  ------------------
13026|      0|#line 4410 "MachineIndependent/glslang.y"
13027|      0|                                  {
13028|      0|        (yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13029|      0|    }
13030|      0|#line 13031 "MachineIndependent/glslang_tab.cpp"
13031|      0|    break;
13032|       |
13033|      0|  case 679: /* jump_statement: DISCARD SEMICOLON  */
  ------------------
  |  Branch (13033:3): [True: 0, False: 2.95M]
  ------------------
13034|      0|#line 4413 "MachineIndependent/glslang.y"
13035|      0|                        {
13036|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13037|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13038|      0|    }
13039|      0|#line 13040 "MachineIndependent/glslang_tab.cpp"
13040|      0|    break;
13041|       |
13042|      0|  case 680: /* jump_statement: TERMINATE_INVOCATION SEMICOLON  */
  ------------------
  |  Branch (13042:3): [True: 0, False: 2.95M]
  ------------------
13043|      0|#line 4417 "MachineIndependent/glslang.y"
13044|      0|                                     {
13045|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13046|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13047|      0|    }
13048|      0|#line 13049 "MachineIndependent/glslang_tab.cpp"
13049|      0|    break;
13050|       |
13051|      0|  case 681: /* jump_statement: TERMINATE_RAY SEMICOLON  */
  ------------------
  |  Branch (13051:3): [True: 0, False: 2.95M]
  ------------------
13052|      0|#line 4421 "MachineIndependent/glslang.y"
13053|      0|                              {
13054|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13055|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13056|      0|    }
13057|      0|#line 13058 "MachineIndependent/glslang_tab.cpp"
13058|      0|    break;
13059|       |
13060|      0|  case 682: /* jump_statement: IGNORE_INTERSECTION SEMICOLON  */
  ------------------
  |  Branch (13060:3): [True: 0, False: 2.95M]
  ------------------
13061|      0|#line 4425 "MachineIndependent/glslang.y"
13062|      0|                                    {
13063|      0|        parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13064|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13065|      0|    }
13066|      0|#line 13067 "MachineIndependent/glslang_tab.cpp"
13067|      0|    break;
13068|       |
13069|    262|  case 683: /* translation_unit: external_declaration  */
  ------------------
  |  Branch (13069:3): [True: 262, False: 2.94M]
  ------------------
13070|    262|#line 4434 "MachineIndependent/glslang.y"
13071|    262|                           {
13072|    262|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13073|    262|        parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|    262|#define parseContext (*pParseContext)
  ------------------
13074|    262|    }
13075|    262|#line 13076 "MachineIndependent/glslang_tab.cpp"
13076|    262|    break;
13077|       |
13078|   103k|  case 684: /* translation_unit: translation_unit external_declaration  */
  ------------------
  |  Branch (13078:3): [True: 103k, False: 2.84M]
  ------------------
13079|   103k|#line 4438 "MachineIndependent/glslang.y"
13080|   103k|                                            {
13081|   103k|        if ((yyvsp[0].interm.intermNode) != nullptr) {
  ------------------
  |  Branch (13081:13): [True: 0, False: 103k]
  ------------------
13082|      0|            (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13083|      0|            parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13084|      0|        }
13085|   103k|    }
13086|   103k|#line 13087 "MachineIndependent/glslang_tab.cpp"
13087|   103k|    break;
13088|       |
13089|      0|  case 685: /* external_declaration: function_definition  */
  ------------------
  |  Branch (13089:3): [True: 0, False: 2.95M]
  ------------------
13090|      0|#line 4447 "MachineIndependent/glslang.y"
13091|      0|                          {
13092|      0|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13093|      0|    }
13094|      0|#line 13095 "MachineIndependent/glslang_tab.cpp"
13095|      0|    break;
13096|       |
13097|   103k|  case 686: /* external_declaration: declaration  */
  ------------------
  |  Branch (13097:3): [True: 103k, False: 2.84M]
  ------------------
13098|   103k|#line 4450 "MachineIndependent/glslang.y"
13099|   103k|                  {
13100|   103k|        (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
13101|   103k|    }
13102|   103k|#line 13103 "MachineIndependent/glslang_tab.cpp"
13103|   103k|    break;
13104|       |
13105|      4|  case 687: /* external_declaration: SEMICOLON  */
  ------------------
  |  Branch (13105:3): [True: 4, False: 2.95M]
  ------------------
13106|      4|#line 4453 "MachineIndependent/glslang.y"
13107|      4|                {
13108|      4|        parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
13109|      4|        parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
  ------------------
  |  |  783|      4|#define parseContext (*pParseContext)
  ------------------
13110|      4|        (yyval.interm.intermNode) = nullptr;
13111|      4|    }
13112|      4|#line 13113 "MachineIndependent/glslang_tab.cpp"
13113|      4|    break;
13114|       |
13115|      0|  case 688: /* $@14: %empty  */
  ------------------
  |  Branch (13115:3): [True: 0, False: 2.95M]
  ------------------
13116|      0|#line 4461 "MachineIndependent/glslang.y"
13117|      0|                         {
13118|      0|        (yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13119|      0|        (yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13120|       |
13121|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13122|       |        // body has a scope nested inside the function's definition.
13123|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13123:13): [True: 0, False: 0]
  |  Branch (13123:51): [True: 0, False: 0]
  ------------------
13124|      0|        {
13125|      0|            parseContext.symbolTable.push();
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13126|      0|            ++parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13127|      0|        }
13128|      0|    }
13129|      0|#line 13130 "MachineIndependent/glslang_tab.cpp"
13130|      0|    break;
13131|       |
13132|      0|  case 689: /* function_definition: function_prototype $@14 compound_statement_no_new_scope  */
  ------------------
  |  Branch (13132:3): [True: 0, False: 2.95M]
  ------------------
13133|      0|#line 4473 "MachineIndependent/glslang.y"
13134|      0|                                    {
13135|       |        //   May be best done as post process phase on intermediate code
13136|      0|        if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13136:13): [True: 0, False: 0]
  |  Branch (13136:76): [True: 0, False: 0]
  ------------------
13137|      0|            parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13138|      0|        parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13139|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13140|      0|        (yyval.interm.intermNode)->getAsAggregate()->setLinkType((yyvsp[-2].interm).function->getLinkType());
13141|      0|        (yyval.interm.intermNode)->getAsAggregate()->setFunctionControl((yyvsp[-2].interm).function->getFunctionControl());
13142|      0|        parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13143|      0|        (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
13144|       |
13145|       |        // store the pragma information for debug and optimize and other vendor specific
13146|       |        // information. This information can be queried from the parse tree
13147|      0|        (yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13148|      0|        (yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13149|      0|        (yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13150|       |
13151|       |        // Set currentFunctionType to empty pointer when goes outside of the function
13152|      0|        parseContext.currentFunctionType = nullptr;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13153|       |
13154|       |        // For ES 100 only, according to ES shading language 100 spec: A function
13155|       |        // body has a scope nested inside the function's definition.
13156|      0|        if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      if (parseContext.profile == EEsProfile && parseContext.version == 100)
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
  |  Branch (13156:13): [True: 0, False: 0]
  |  Branch (13156:51): [True: 0, False: 0]
  ------------------
13157|      0|        {
13158|      0|            parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                          parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13159|      0|            --parseContext.statementNestingLevel;
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13160|      0|        }
13161|      0|    }
13162|      0|#line 13163 "MachineIndependent/glslang_tab.cpp"
13163|      0|    break;
13164|       |
13165|      0|  case 690: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET  */
  ------------------
  |  Branch (13165:3): [True: 0, False: 2.95M]
  ------------------
13166|      0|#line 4504 "MachineIndependent/glslang.y"
13167|      0|                                                                           {
13168|      0|        (yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
13169|      0|    }
13170|      0|#line 13171 "MachineIndependent/glslang_tab.cpp"
13171|      0|    break;
13172|       |
13173|      0|  case 691: /* attribute_list: single_attribute  */
  ------------------
  |  Branch (13173:3): [True: 0, False: 2.95M]
  ------------------
13174|      0|#line 4509 "MachineIndependent/glslang.y"
13175|      0|                       {
13176|      0|        (yyval.interm.attributes) = (yyvsp[0].interm.attributes);
13177|      0|    }
13178|      0|#line 13179 "MachineIndependent/glslang_tab.cpp"
13179|      0|    break;
13180|       |
13181|      0|  case 692: /* attribute_list: attribute_list COMMA single_attribute  */
  ------------------
  |  Branch (13181:3): [True: 0, False: 2.95M]
  ------------------
13182|      0|#line 4512 "MachineIndependent/glslang.y"
13183|      0|                                            {
13184|      0|        (yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13185|      0|    }
13186|      0|#line 13187 "MachineIndependent/glslang_tab.cpp"
13187|      0|    break;
13188|       |
13189|      0|  case 693: /* single_attribute: IDENTIFIER  */
  ------------------
  |  Branch (13189:3): [True: 0, False: 2.95M]
  ------------------
13190|      0|#line 4517 "MachineIndependent/glslang.y"
13191|      0|                 {
13192|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13193|      0|    }
13194|      0|#line 13195 "MachineIndependent/glslang_tab.cpp"
13195|      0|    break;
13196|       |
13197|      0|  case 694: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN  */
  ------------------
  |  Branch (13197:3): [True: 0, False: 2.95M]
  ------------------
13198|      0|#line 4520 "MachineIndependent/glslang.y"
13199|      0|                                                            {
13200|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13201|      0|    }
13202|      0|#line 13203 "MachineIndependent/glslang_tab.cpp"
13203|      0|    break;
13204|       |
13205|      0|  case 695: /* single_attribute: INLINE  */
  ------------------
  |  Branch (13205:3): [True: 0, False: 2.95M]
  ------------------
13206|      0|#line 4523 "MachineIndependent/glslang.y"
13207|      0|             {
13208|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("inline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13209|      0|    }
13210|      0|#line 13211 "MachineIndependent/glslang_tab.cpp"
13211|      0|    break;
13212|       |
13213|      0|  case 696: /* single_attribute: NOINLINE  */
  ------------------
  |  Branch (13213:3): [True: 0, False: 2.95M]
  ------------------
13214|      0|#line 4526 "MachineIndependent/glslang.y"
13215|      0|               {
13216|      0|        (yyval.interm.attributes) = parseContext.makeAttributes(TString("noinline"));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13217|      0|    }
13218|      0|#line 13219 "MachineIndependent/glslang_tab.cpp"
13219|      0|    break;
13220|       |
13221|      0|  case 697: /* spirv_requirements_list: spirv_requirements_parameter  */
  ------------------
  |  Branch (13221:3): [True: 0, False: 2.95M]
  ------------------
13222|      0|#line 4531 "MachineIndependent/glslang.y"
13223|      0|                                   {
13224|      0|        (yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
13225|      0|    }
13226|      0|#line 13227 "MachineIndependent/glslang_tab.cpp"
13227|      0|    break;
13228|       |
13229|      0|  case 698: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter  */
  ------------------
  |  Branch (13229:3): [True: 0, False: 2.95M]
  ------------------
13230|      0|#line 4534 "MachineIndependent/glslang.y"
13231|      0|                                                                 {
13232|      0|        (yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13233|      0|    }
13234|      0|#line 13235 "MachineIndependent/glslang_tab.cpp"
13235|      0|    break;
13236|       |
13237|      0|  case 699: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13237:3): [True: 0, False: 2.95M]
  ------------------
13238|      0|#line 4539 "MachineIndependent/glslang.y"
13239|      0|                                                                       {
13240|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13241|      0|    }
13242|      0|#line 13243 "MachineIndependent/glslang_tab.cpp"
13243|      0|    break;
13244|       |
13245|      0|  case 700: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET  */
  ------------------
  |  Branch (13245:3): [True: 0, False: 2.95M]
  ------------------
13246|      0|#line 4542 "MachineIndependent/glslang.y"
13247|      0|                                                                        {
13248|      0|        (yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13249|      0|    }
13250|      0|#line 13251 "MachineIndependent/glslang_tab.cpp"
13251|      0|    break;
13252|       |
13253|      0|  case 701: /* spirv_extension_list: STRING_LITERAL  */
  ------------------
  |  Branch (13253:3): [True: 0, False: 2.95M]
  ------------------
13254|      0|#line 4547 "MachineIndependent/glslang.y"
13255|      0|                     {
13256|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13257|      0|    }
13258|      0|#line 13259 "MachineIndependent/glslang_tab.cpp"
13259|      0|    break;
13260|       |
13261|      0|  case 702: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13261:3): [True: 0, False: 2.95M]
  ------------------
13262|      0|#line 4550 "MachineIndependent/glslang.y"
13263|      0|                                                {
13264|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13265|      0|    }
13266|      0|#line 13267 "MachineIndependent/glslang_tab.cpp"
13267|      0|    break;
13268|       |
13269|      0|  case 703: /* spirv_capability_list: INTCONSTANT  */
  ------------------
  |  Branch (13269:3): [True: 0, False: 2.95M]
  ------------------
13270|      0|#line 4555 "MachineIndependent/glslang.y"
13271|      0|                  {
13272|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13273|      0|    }
13274|      0|#line 13275 "MachineIndependent/glslang_tab.cpp"
13275|      0|    break;
13276|       |
13277|      0|  case 704: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT  */
  ------------------
  |  Branch (13277:3): [True: 0, False: 2.95M]
  ------------------
13278|      0|#line 4558 "MachineIndependent/glslang.y"
13279|      0|                                              {
13280|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13281|      0|    }
13282|      0|#line 13283 "MachineIndependent/glslang_tab.cpp"
13283|      0|    break;
13284|       |
13285|      0|  case 705: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13285:3): [True: 0, False: 2.95M]
  ------------------
13286|      0|#line 4563 "MachineIndependent/glslang.y"
13287|      0|                                                              {
13288|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13289|      0|        (yyval.interm.intermNode) = 0;
13290|      0|    }
13291|      0|#line 13292 "MachineIndependent/glslang_tab.cpp"
13292|      0|    break;
13293|       |
13294|      0|  case 706: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13294:3): [True: 0, False: 2.95M]
  ------------------
13295|      0|#line 4567 "MachineIndependent/glslang.y"
13296|      0|                                                                                            {
13297|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13298|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13299|      0|        (yyval.interm.intermNode) = 0;
13300|      0|    }
13301|      0|#line 13302 "MachineIndependent/glslang_tab.cpp"
13302|      0|    break;
13303|       |
13304|      0|  case 707: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13304:3): [True: 0, False: 2.95M]
  ------------------
13305|      0|#line 4572 "MachineIndependent/glslang.y"
13306|      0|                                                                                                        {
13307|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13308|      0|        (yyval.interm.intermNode) = 0;
13309|      0|    }
13310|      0|#line 13311 "MachineIndependent/glslang_tab.cpp"
13311|      0|    break;
13312|       |
13313|      0|  case 708: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13313:3): [True: 0, False: 2.95M]
  ------------------
13314|      0|#line 4576 "MachineIndependent/glslang.y"
13315|      0|                                                                                                                                      {
13316|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13317|      0|        parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13318|      0|        (yyval.interm.intermNode) = 0;
13319|      0|    }
13320|      0|#line 13321 "MachineIndependent/glslang_tab.cpp"
13321|      0|    break;
13322|       |
13323|      0|  case 709: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13323:3): [True: 0, False: 2.95M]
  ------------------
13324|      0|#line 4581 "MachineIndependent/glslang.y"
13325|      0|                                                                                                              {
13326|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13327|      0|        (yyval.interm.intermNode) = 0;
13328|      0|    }
13329|      0|#line 13330 "MachineIndependent/glslang_tab.cpp"
13330|      0|    break;
13331|       |
13332|      0|  case 710: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13332:3): [True: 0, False: 2.95M]
  ------------------
13333|      0|#line 4585 "MachineIndependent/glslang.y"
13334|      0|                                                                                                                                            {
13335|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13336|      0|        parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13337|      0|        (yyval.interm.intermNode) = 0;
13338|      0|    }
13339|      0|#line 13340 "MachineIndependent/glslang_tab.cpp"
13340|      0|    break;
13341|       |
13342|      0|  case 711: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13342:3): [True: 0, False: 2.95M]
  ------------------
13343|      0|#line 4592 "MachineIndependent/glslang.y"
13344|      0|                                     {
13345|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13346|      0|    }
13347|      0|#line 13348 "MachineIndependent/glslang_tab.cpp"
13348|      0|    break;
13349|       |
13350|      0|  case 712: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter  */
  ------------------
  |  Branch (13350:3): [True: 0, False: 2.95M]
  ------------------
13351|      0|#line 4595 "MachineIndependent/glslang.y"
13352|      0|                                                                               {
13353|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13354|      0|    }
13355|      0|#line 13356 "MachineIndependent/glslang_tab.cpp"
13356|      0|    break;
13357|       |
13358|      0|  case 713: /* spirv_execution_mode_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13358:3): [True: 0, False: 2.95M]
  ------------------
13359|      0|#line 4600 "MachineIndependent/glslang.y"
13360|      0|                    {
13361|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13362|      0|    }
13363|      0|#line 13364 "MachineIndependent/glslang_tab.cpp"
13364|      0|    break;
13365|       |
13366|      0|  case 714: /* spirv_execution_mode_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13366:3): [True: 0, False: 2.95M]
  ------------------
13367|      0|#line 4603 "MachineIndependent/glslang.y"
13368|      0|                  {
13369|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13370|      0|    }
13371|      0|#line 13372 "MachineIndependent/glslang_tab.cpp"
13372|      0|    break;
13373|       |
13374|      0|  case 715: /* spirv_execution_mode_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13374:3): [True: 0, False: 2.95M]
  ------------------
13375|      0|#line 4606 "MachineIndependent/glslang.y"
13376|      0|                   {
13377|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13378|      0|    }
13379|      0|#line 13380 "MachineIndependent/glslang_tab.cpp"
13380|      0|    break;
13381|       |
13382|      0|  case 716: /* spirv_execution_mode_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13382:3): [True: 0, False: 2.95M]
  ------------------
13383|      0|#line 4609 "MachineIndependent/glslang.y"
13384|      0|                   {
13385|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13386|      0|    }
13387|      0|#line 13388 "MachineIndependent/glslang_tab.cpp"
13388|      0|    break;
13389|       |
13390|      0|  case 717: /* spirv_execution_mode_parameter: STRING_LITERAL  */
  ------------------
  |  Branch (13390:3): [True: 0, False: 2.95M]
  ------------------
13391|      0|#line 4612 "MachineIndependent/glslang.y"
13392|      0|                     {
13393|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13394|      0|    }
13395|      0|#line 13396 "MachineIndependent/glslang_tab.cpp"
13396|      0|    break;
13397|       |
13398|      0|  case 718: /* spirv_execution_mode_id_parameter_list: constant_expression  */
  ------------------
  |  Branch (13398:3): [True: 0, False: 2.95M]
  ------------------
13399|      0|#line 4617 "MachineIndependent/glslang.y"
13400|      0|                          {
13401|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13401:13): [True: 0, False: 0]
  ------------------
13402|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13402:13): [True: 0, False: 0]
  ------------------
13403|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13403:13): [True: 0, False: 0]
  ------------------
13404|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13404:13): [True: 0, False: 0]
  ------------------
13405|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13405:13): [True: 0, False: 0]
  ------------------
13406|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13407|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13408|      0|    }
13409|      0|#line 13410 "MachineIndependent/glslang_tab.cpp"
13410|      0|    break;
13411|       |
13412|      0|  case 719: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression  */
  ------------------
  |  Branch (13412:3): [True: 0, False: 2.95M]
  ------------------
13413|      0|#line 4626 "MachineIndependent/glslang.y"
13414|      0|                                                                       {
13415|      0|        if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
  ------------------
  |  Branch (13415:13): [True: 0, False: 0]
  ------------------
13416|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
  ------------------
  |  Branch (13416:13): [True: 0, False: 0]
  ------------------
13417|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
  ------------------
  |  Branch (13417:13): [True: 0, False: 0]
  ------------------
13418|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
  ------------------
  |  Branch (13418:13): [True: 0, False: 0]
  ------------------
13419|      0|            (yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
  ------------------
  |  Branch (13419:13): [True: 0, False: 0]
  ------------------
13420|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13421|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13422|      0|    }
13423|      0|#line 13424 "MachineIndependent/glslang_tab.cpp"
13424|      0|    break;
13425|       |
13426|      0|  case 720: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13426:3): [True: 0, False: 2.95M]
  ------------------
13427|      0|#line 4637 "MachineIndependent/glslang.y"
13428|      0|                                                             {
13429|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13430|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13431|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13432|      0|    }
13433|      0|#line 13434 "MachineIndependent/glslang_tab.cpp"
13434|      0|    break;
13435|       |
13436|      0|  case 721: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13436:3): [True: 0, False: 2.95M]
  ------------------
13437|      0|#line 4642 "MachineIndependent/glslang.y"
13438|      0|                                                                                           {
13439|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13440|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13441|      0|        (yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
13442|      0|        (yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
13443|      0|    }
13444|      0|#line 13445 "MachineIndependent/glslang_tab.cpp"
13445|      0|    break;
13446|       |
13447|      0|  case 722: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13447:3): [True: 0, False: 2.95M]
  ------------------
13448|      0|#line 4650 "MachineIndependent/glslang.y"
13449|      0|                                                       {
13450|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc);
13451|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13452|      0|    }
13453|      0|#line 13454 "MachineIndependent/glslang_tab.cpp"
13454|      0|    break;
13455|       |
13456|      0|  case 723: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN  */
  ------------------
  |  Branch (13456:3): [True: 0, False: 2.95M]
  ------------------
13457|      0|#line 4654 "MachineIndependent/glslang.y"
13458|      0|                                                                                     {
13459|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13460|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13461|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
13462|      0|    }
13463|      0|#line 13464 "MachineIndependent/glslang_tab.cpp"
13464|      0|    break;
13465|       |
13466|      0|  case 724: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13466:3): [True: 0, False: 2.95M]
  ------------------
13467|      0|#line 4659 "MachineIndependent/glslang.y"
13468|      0|                                                                                            {
13469|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13470|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13471|      0|    }
13472|      0|#line 13473 "MachineIndependent/glslang_tab.cpp"
13473|      0|    break;
13474|       |
13475|      0|  case 725: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13475:3): [True: 0, False: 2.95M]
  ------------------
13476|      0|#line 4663 "MachineIndependent/glslang.y"
13477|      0|                                                                                                                          {
13478|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13479|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13480|      0|        (yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13481|      0|    }
13482|      0|#line 13483 "MachineIndependent/glslang_tab.cpp"
13483|      0|    break;
13484|       |
13485|      0|  case 726: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13485:3): [True: 0, False: 2.95M]
  ------------------
13486|      0|#line 4668 "MachineIndependent/glslang.y"
13487|      0|                                                                                                  {
13488|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13489|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13490|      0|    }
13491|      0|#line 13492 "MachineIndependent/glslang_tab.cpp"
13492|      0|    break;
13493|       |
13494|      0|  case 727: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13494:3): [True: 0, False: 2.95M]
  ------------------
13495|      0|#line 4672 "MachineIndependent/glslang.y"
13496|      0|                                                                                                                                {
13497|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13498|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13499|      0|        (yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13500|      0|    }
13501|      0|#line 13502 "MachineIndependent/glslang_tab.cpp"
13502|      0|    break;
13503|       |
13504|      0|  case 728: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13504:3): [True: 0, False: 2.95M]
  ------------------
13505|      0|#line 4677 "MachineIndependent/glslang.y"
13506|      0|                                                                                                          {
13507|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc);
13508|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13509|      0|    }
13510|      0|#line 13511 "MachineIndependent/glslang_tab.cpp"
13511|      0|    break;
13512|       |
13513|      0|  case 729: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13513:3): [True: 0, False: 2.95M]
  ------------------
13514|      0|#line 4681 "MachineIndependent/glslang.y"
13515|      0|                                                                                                                                        {
13516|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc);
13517|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13518|      0|        (yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
13519|      0|    }
13520|      0|#line 13521 "MachineIndependent/glslang_tab.cpp"
13521|      0|    break;
13522|       |
13523|      0|  case 730: /* spirv_decorate_parameter_list: spirv_decorate_parameter  */
  ------------------
  |  Branch (13523:3): [True: 0, False: 2.95M]
  ------------------
13524|      0|#line 4688 "MachineIndependent/glslang.y"
13525|      0|                               {
13526|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13527|      0|    }
13528|      0|#line 13529 "MachineIndependent/glslang_tab.cpp"
13529|      0|    break;
13530|       |
13531|      0|  case 731: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter  */
  ------------------
  |  Branch (13531:3): [True: 0, False: 2.95M]
  ------------------
13532|      0|#line 4691 "MachineIndependent/glslang.y"
13533|      0|                                                                   {
13534|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13535|      0|    }
13536|      0|#line 13537 "MachineIndependent/glslang_tab.cpp"
13537|      0|    break;
13538|       |
13539|      0|  case 732: /* spirv_decorate_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13539:3): [True: 0, False: 2.95M]
  ------------------
13540|      0|#line 4696 "MachineIndependent/glslang.y"
13541|      0|                    {
13542|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13543|      0|    }
13544|      0|#line 13545 "MachineIndependent/glslang_tab.cpp"
13545|      0|    break;
13546|       |
13547|      0|  case 733: /* spirv_decorate_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13547:3): [True: 0, False: 2.95M]
  ------------------
13548|      0|#line 4699 "MachineIndependent/glslang.y"
13549|      0|                  {
13550|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13551|      0|    }
13552|      0|#line 13553 "MachineIndependent/glslang_tab.cpp"
13553|      0|    break;
13554|       |
13555|      0|  case 734: /* spirv_decorate_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13555:3): [True: 0, False: 2.95M]
  ------------------
13556|      0|#line 4702 "MachineIndependent/glslang.y"
13557|      0|                   {
13558|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13559|      0|    }
13560|      0|#line 13561 "MachineIndependent/glslang_tab.cpp"
13561|      0|    break;
13562|       |
13563|      0|  case 735: /* spirv_decorate_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13563:3): [True: 0, False: 2.95M]
  ------------------
13564|      0|#line 4705 "MachineIndependent/glslang.y"
13565|      0|                   {
13566|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13567|      0|    }
13568|      0|#line 13569 "MachineIndependent/glslang_tab.cpp"
13569|      0|    break;
13570|       |
13571|      0|  case 736: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13571:3): [True: 0, False: 2.95M]
  ------------------
13572|      0|#line 4710 "MachineIndependent/glslang.y"
13573|      0|                                  {
13574|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13575|      0|    }
13576|      0|#line 13577 "MachineIndependent/glslang_tab.cpp"
13577|      0|    break;
13578|       |
13579|      0|  case 737: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA spirv_decorate_id_parameter  */
  ------------------
  |  Branch (13579:3): [True: 0, False: 2.95M]
  ------------------
13580|      0|#line 4713 "MachineIndependent/glslang.y"
13581|      0|                                                                         {
13582|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13583|      0|    }
13584|      0|#line 13585 "MachineIndependent/glslang_tab.cpp"
13585|      0|    break;
13586|       |
13587|      0|  case 738: /* spirv_decorate_id_parameter: variable_identifier  */
  ------------------
  |  Branch (13587:3): [True: 0, False: 2.95M]
  ------------------
13588|      0|#line 4718 "MachineIndependent/glslang.y"
13589|      0|                          {
13590|      0|        if ((yyvsp[0].interm.intermTypedNode)->getAsConstantUnion() || (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode())
  ------------------
  |  Branch (13590:13): [True: 0, False: 0]
  |  Branch (13590:72): [True: 0, False: 0]
  ------------------
13591|      0|            (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode);
13592|      0|        else
13593|      0|            parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "only allow constants or variables which are not elements of a composite", "", "");
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13594|      0|    }
13595|      0|#line 13596 "MachineIndependent/glslang_tab.cpp"
13596|      0|    break;
13597|       |
13598|      0|  case 739: /* spirv_decorate_id_parameter: FLOATCONSTANT  */
  ------------------
  |  Branch (13598:3): [True: 0, False: 2.95M]
  ------------------
13599|      0|#line 4724 "MachineIndependent/glslang.y"
13600|      0|                    {
13601|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13602|      0|    }
13603|      0|#line 13604 "MachineIndependent/glslang_tab.cpp"
13604|      0|    break;
13605|       |
13606|      0|  case 740: /* spirv_decorate_id_parameter: INTCONSTANT  */
  ------------------
  |  Branch (13606:3): [True: 0, False: 2.95M]
  ------------------
13607|      0|#line 4727 "MachineIndependent/glslang.y"
13608|      0|                  {
13609|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13610|      0|    }
13611|      0|#line 13612 "MachineIndependent/glslang_tab.cpp"
13612|      0|    break;
13613|       |
13614|      0|  case 741: /* spirv_decorate_id_parameter: UINTCONSTANT  */
  ------------------
  |  Branch (13614:3): [True: 0, False: 2.95M]
  ------------------
13615|      0|#line 4730 "MachineIndependent/glslang.y"
13616|      0|                   {
13617|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13618|      0|    }
13619|      0|#line 13620 "MachineIndependent/glslang_tab.cpp"
13620|      0|    break;
13621|       |
13622|      0|  case 742: /* spirv_decorate_id_parameter: BOOLCONSTANT  */
  ------------------
  |  Branch (13622:3): [True: 0, False: 2.95M]
  ------------------
13623|      0|#line 4733 "MachineIndependent/glslang.y"
13624|      0|                   {
13625|      0|        (yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13626|      0|    }
13627|      0|#line 13628 "MachineIndependent/glslang_tab.cpp"
13628|      0|    break;
13629|       |
13630|      0|  case 743: /* spirv_decorate_string_parameter_list: STRING_LITERAL  */
  ------------------
  |  Branch (13630:3): [True: 0, False: 2.95M]
  ------------------
13631|      0|#line 4738 "MachineIndependent/glslang.y"
13632|      0|                     {
13633|      0|        (yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13634|      0|            parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13635|      0|    }
13636|      0|#line 13637 "MachineIndependent/glslang_tab.cpp"
13637|      0|    break;
13638|       |
13639|      0|  case 744: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL  */
  ------------------
  |  Branch (13639:3): [True: 0, False: 2.95M]
  ------------------
13640|      0|#line 4742 "MachineIndependent/glslang.y"
13641|      0|                                                                {
13642|      0|        (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
                      (yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13643|      0|    }
13644|      0|#line 13645 "MachineIndependent/glslang_tab.cpp"
13645|      0|    break;
13646|       |
13647|      0|  case 745: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13647:3): [True: 0, False: 2.95M]
  ------------------
13648|      0|#line 4747 "MachineIndependent/glslang.y"
13649|      0|                                                                                                         {
13650|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13651|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13652|      0|    }
13653|      0|#line 13654 "MachineIndependent/glslang_tab.cpp"
13654|      0|    break;
13655|       |
13656|      0|  case 746: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN  */
  ------------------
  |  Branch (13656:3): [True: 0, False: 2.95M]
  ------------------
13657|      0|#line 4751 "MachineIndependent/glslang.y"
13658|      0|                                                                                                                                       {
13659|      0|        (yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13660|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13661|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
13662|      0|    }
13663|      0|#line 13664 "MachineIndependent/glslang_tab.cpp"
13664|      0|    break;
13665|       |
13666|      0|  case 747: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13666:3): [True: 0, False: 2.95M]
  ------------------
13667|      0|#line 4756 "MachineIndependent/glslang.y"
13668|      0|                                                                         {
13669|      0|        (yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13670|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13671|      0|    }
13672|      0|#line 13673 "MachineIndependent/glslang_tab.cpp"
13673|      0|    break;
13674|       |
13675|      0|  case 748: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13675:3): [True: 0, False: 2.95M]
  ------------------
13676|      0|#line 4760 "MachineIndependent/glslang.y"
13677|      0|                                                                                                       {
13678|      0|        (yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13679|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13680|      0|        (yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
13681|      0|    }
13682|      0|#line 13683 "MachineIndependent/glslang_tab.cpp"
13683|      0|    break;
13684|       |
13685|      0|  case 749: /* spirv_type_parameter_list: spirv_type_parameter  */
  ------------------
  |  Branch (13685:3): [True: 0, False: 2.95M]
  ------------------
13686|      0|#line 4767 "MachineIndependent/glslang.y"
13687|      0|                           {
13688|      0|        (yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
13689|      0|    }
13690|      0|#line 13691 "MachineIndependent/glslang_tab.cpp"
13691|      0|    break;
13692|       |
13693|      0|  case 750: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter  */
  ------------------
  |  Branch (13693:3): [True: 0, False: 2.95M]
  ------------------
13694|      0|#line 4770 "MachineIndependent/glslang.y"
13695|      0|                                                           {
13696|      0|        (yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13697|      0|    }
13698|      0|#line 13699 "MachineIndependent/glslang_tab.cpp"
13699|      0|    break;
13700|       |
13701|      0|  case 751: /* spirv_type_parameter: constant_expression  */
  ------------------
  |  Branch (13701:3): [True: 0, False: 2.95M]
  ------------------
13702|      0|#line 4775 "MachineIndependent/glslang.y"
13703|      0|                          {
13704|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13705|      0|    }
13706|      0|#line 13707 "MachineIndependent/glslang_tab.cpp"
13707|      0|    break;
13708|       |
13709|      0|  case 752: /* spirv_type_parameter: type_specifier_nonarray  */
  ------------------
  |  Branch (13709:3): [True: 0, False: 2.95M]
  ------------------
13710|      0|#line 4778 "MachineIndependent/glslang.y"
13711|      0|                              {
13712|      0|        (yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13713|      0|    }
13714|      0|#line 13715 "MachineIndependent/glslang_tab.cpp"
13715|      0|    break;
13716|       |
13717|      0|  case 753: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13717:3): [True: 0, False: 2.95M]
  ------------------
13718|      0|#line 4783 "MachineIndependent/glslang.y"
13719|      0|                                                                                {
13720|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13721|      0|    }
13722|      0|#line 13723 "MachineIndependent/glslang_tab.cpp"
13723|      0|    break;
13724|       |
13725|      0|  case 754: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN  */
  ------------------
  |  Branch (13725:3): [True: 0, False: 2.95M]
  ------------------
13726|      0|#line 4786 "MachineIndependent/glslang.y"
13727|      0|                                                                                                              {
13728|      0|        parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13729|      0|        (yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
13730|      0|    }
13731|      0|#line 13732 "MachineIndependent/glslang_tab.cpp"
13732|      0|    break;
13733|       |
13734|      0|  case 755: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13734:3): [True: 0, False: 2.95M]
  ------------------
13735|      0|#line 4792 "MachineIndependent/glslang.y"
13736|      0|                                     {
13737|      0|        (yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
13738|      0|    }
13739|      0|#line 13740 "MachineIndependent/glslang_tab.cpp"
13740|      0|    break;
13741|       |
13742|      0|  case 756: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id  */
  ------------------
  |  Branch (13742:3): [True: 0, False: 2.95M]
  ------------------
13743|      0|#line 4795 "MachineIndependent/glslang.y"
13744|      0|                                                                            {
13745|      0|        (yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13746|      0|    }
13747|      0|#line 13748 "MachineIndependent/glslang_tab.cpp"
13748|      0|    break;
13749|       |
13750|      0|  case 757: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL  */
  ------------------
  |  Branch (13750:3): [True: 0, False: 2.95M]
  ------------------
13751|      0|#line 4800 "MachineIndependent/glslang.y"
13752|      0|                                      {
13753|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13754|      0|    }
13755|      0|#line 13756 "MachineIndependent/glslang_tab.cpp"
13756|      0|    break;
13757|       |
13758|      0|  case 758: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT  */
  ------------------
  |  Branch (13758:3): [True: 0, False: 2.95M]
  ------------------
13759|      0|#line 4803 "MachineIndependent/glslang.y"
13760|      0|                                   {
13761|      0|        (yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
  ------------------
  |  |  783|      0|#define parseContext (*pParseContext)
  ------------------
13762|      0|    }
13763|      0|#line 13764 "MachineIndependent/glslang_tab.cpp"
13764|      0|    break;
13765|       |
13766|       |
13767|      0|#line 13768 "MachineIndependent/glslang_tab.cpp"
13768|       |
13769|      0|      default: break;
  ------------------
  |  Branch (13769:7): [True: 0, False: 2.95M]
  ------------------
13770|  2.95M|    }
13771|       |  /* User semantic actions sometimes alter yychar, and that requires
13772|       |     that yytoken be updated with the new translation.  We take the
13773|       |     approach of translating immediately before every use of yytoken.
13774|       |     One alternative is translating here after every semantic action,
13775|       |     but that translation would be missed if the semantic action invokes
13776|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
13777|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
13778|       |     incorrect destructor might then be invoked immediately.  In the
13779|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
13780|       |     to an incorrect destructor call or verbose syntax error message
13781|       |     before the lookahead is translated.  */
13782|  2.95M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
  ------------------
  |  | 5208|  2.95M|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|  2.95M|do {                                                                      \
  |  | 5210|  2.95M|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 2.95M]
  |  |  ------------------
  |  | 5211|  2.95M|    {                                                                     \
  |  | 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.95M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 2.95M]
  |  |  ------------------
  ------------------
13783|       |
13784|  2.95M|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|  2.95M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13785|  2.95M|  yylen = 0;
13786|       |
13787|  2.95M|  *++yyvsp = yyval;
13788|       |
13789|       |  /* Now 'shift' the result of the reduction.  Determine what state
13790|       |     that goes to, based on the state we popped back to and the rule
13791|       |     number reduced by.  */
13792|  2.95M|  {
13793|  2.95M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1116|  2.95M|#define YYNTOKENS  515
  ------------------
13794|  2.95M|    const int yyi = yypgoto[yylhs] + *yyssp;
13795|  2.95M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1113|  4.47M|#define YYLAST   15602
  ------------------
  |  Branch (13795:16): [True: 1.52M, False: 1.42M]
  |  Branch (13795:28): [True: 1.52M, False: 0]
  |  Branch (13795:45): [True: 1.00M, False: 520k]
  ------------------
13796|  2.95M|               ? yytable[yyi]
13797|  2.95M|               : yydefgoto[yylhs]);
13798|  2.95M|  }
13799|       |
13800|  2.95M|  goto yynewstate;
13801|       |
13802|       |
13803|       |/*--------------------------------------.
13804|       || yyerrlab -- here on detecting error.  |
13805|       |`--------------------------------------*/
13806|    112|yyerrlab:
13807|       |  /* Make sure we have latest lookahead translation.  See comments at
13808|       |     user semantic actions for why this is necessary.  */
13809|    112|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1131|    224|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|    112|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 112, False: 0]
  |  |  |  Branch (1131:18): [True: 112, False: 0]
  |  |  ------------------
  |  | 1132|    224|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|    112|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|    224|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (13809:13): [True: 0, False: 112]
  ------------------
13810|       |  /* If not already recovering from an error, report this error.  */
13811|    112|  if (!yyerrstatus)
  ------------------
  |  Branch (13811:7): [True: 112, False: 0]
  ------------------
13812|    112|    {
13813|    112|      ++yynerrs;
13814|    112|      {
13815|    112|        yypcontext_t yyctx
13816|    112|          = {yyssp, yytoken};
13817|    112|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  915|    112|#  define YY_(Msgid) Msgid
  ------------------
13818|    112|        int yysyntax_error_status;
13819|    112|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13820|    112|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (13820:13): [True: 112, False: 0]
  ------------------
13821|    112|          yymsgp = yymsg;
13822|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (13822:18): [True: 0, False: 0]
  ------------------
13823|      0|          {
13824|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13824:17): [True: 0, False: 0]
  ------------------
13825|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13826|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  100|      0|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
13827|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
13828|      0|            if (yymsg)
  ------------------
  |  Branch (13828:17): [True: 0, False: 0]
  ------------------
13829|      0|              {
13830|      0|                yysyntax_error_status
13831|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
13832|      0|                yymsgp = yymsg;
13833|      0|              }
13834|      0|            else
13835|      0|              {
13836|      0|                yymsg = yymsgbuf;
13837|      0|                yymsg_alloc = sizeof yymsgbuf;
13838|      0|                yysyntax_error_status = YYENOMEM;
13839|      0|              }
13840|      0|          }
13841|    112|        yyerror (pParseContext, yymsgp);
  ------------------
  |  |  784|    112|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13842|    112|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (13842:13): [True: 0, False: 112]
  ------------------
13843|      0|          YYNOMEM;
  ------------------
  |  | 5164|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
13844|    112|      }
13845|    112|    }
13846|       |
13847|    112|  if (yyerrstatus == 3)
  ------------------
  |  Branch (13847:7): [True: 0, False: 112]
  ------------------
13848|      0|    {
13849|       |      /* If just tried and failed to reuse lookahead token after an
13850|       |         error, discard it.  */
13851|       |
13852|      0|      if (yychar <= YYEOF)
  ------------------
  |  Branch (13852:11): [True: 0, False: 0]
  ------------------
13853|      0|        {
13854|       |          /* Return failure if at end of input.  */
13855|      0|          if (yychar == YYEOF)
  ------------------
  |  Branch (13855:15): [True: 0, False: 0]
  ------------------
13856|      0|            YYABORT;
  ------------------
  |  | 5162|      0|#define YYABORT         goto yyabortlab
  ------------------
13857|      0|        }
13858|      0|      else
13859|      0|        {
13860|      0|          yydestruct ("Error: discarding",
13861|      0|                      yytoken, &yylval, pParseContext);
13862|      0|          yychar = YYEMPTY;
13863|      0|        }
13864|      0|    }
13865|       |
13866|       |  /* Else will try to reuse lookahead token after shifting the error
13867|       |     token.  */
13868|    112|  goto yyerrlab1;
13869|       |
13870|       |
13871|       |/*---------------------------------------------------.
13872|       || yyerrorlab -- error raised explicitly by YYERROR.  |
13873|       |`---------------------------------------------------*/
13874|    112|yyerrorlab:
13875|       |  /* Pacify compilers when the user code never invokes YYERROR and the
13876|       |     label yyerrorlab therefore never appears in user code.  */
13877|      0|  if (0)
  ------------------
  |  Branch (13877:7): [Folded, False: 0]
  ------------------
13878|      0|    YYERROR;
  ------------------
  |  | 5163|      0|#define YYERROR         goto yyerrorlab
  ------------------
13879|      0|  ++yynerrs;
13880|       |
13881|       |  /* Do not reclaim the symbols of the rule whose action triggered
13882|       |     this YYERROR.  */
13883|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13884|      0|  yylen = 0;
13885|      0|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|      0|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|      0|do {                                                            \
  |  | 5273|      0|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5274|      0|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13886|      0|  yystate = *yyssp;
13887|      0|  goto yyerrlab1;
13888|       |
13889|       |
13890|       |/*-------------------------------------------------------------.
13891|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
13892|       |`-------------------------------------------------------------*/
13893|    112|yyerrlab1:
13894|    112|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
13895|       |
13896|       |  /* Pop stack until we find a state that shifts the error token.  */
13897|    112|  for (;;)
13898|    331|    {
13899|    331|      yyn = yypact[yystate];
13900|    331|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|    331|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|    331|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (13900:11): [True: 331, False: 0]
  ------------------
13901|    331|        {
13902|    331|          yyn += YYSYMBOL_YYerror;
13903|    331|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1113|    552|#define YYLAST   15602
  ------------------
  |  Branch (13903:15): [True: 221, False: 110]
  |  Branch (13903:27): [True: 221, False: 0]
  |  Branch (13903:44): [True: 0, False: 221]
  ------------------
13904|      0|            {
13905|      0|              yyn = yytable[yyn];
13906|      0|              if (0 < yyn)
  ------------------
  |  Branch (13906:19): [True: 0, False: 0]
  ------------------
13907|      0|                break;
13908|      0|            }
13909|    331|        }
13910|       |
13911|       |      /* Pop the current state because it cannot handle the error token.  */
13912|    331|      if (yyssp == yyss)
  ------------------
  |  Branch (13912:11): [True: 112, False: 219]
  ------------------
13913|    112|        YYABORT;
  ------------------
  |  | 5162|    112|#define YYABORT         goto yyabortlab
  ------------------
13914|       |
13915|       |
13916|    219|      yydestruct ("Error: popping",
13917|    219|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
  ------------------
  |  | 1302|    219|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    219|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13918|    219|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    219|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13919|    219|      yystate = *yyssp;
13920|    219|      YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    219|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    219|do {                                                            \
  |  | 5273|    219|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 219]
  |  |  ------------------
  |  | 5274|    219|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    219|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 219]
  |  |  ------------------
  ------------------
13921|    219|    }
13922|       |
13923|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
13924|      0|  *++yyvsp = yylval;
13925|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
13926|       |
13927|       |
13928|       |  /* Shift the error token.  */
13929|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
  ------------------
  |  | 5208|      0|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|      0|do {                                                                      \
  |  | 5210|      0|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5211|      0|    {                                                                     \
  |  | 5212|      0|      YYFPRINTF (stderr, "%s ", Title);                                   \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5213|      0|      yy_symbol_print (stderr,                                            \
  |  | 5214|      0|                  Kind, Value, pParseContext); \
  |  | 5215|      0|      YYFPRINTF (stderr, "\n");                                           \
  |  |  ------------------
  |  |  |  | 5196|      0|#  define YYFPRINTF fprintf
  |  |  ------------------
  |  | 5216|      0|    }                                                                     \
  |  | 5217|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
13930|       |
13931|      0|  yystate = yyn;
13932|      0|  goto yynewstate;
13933|       |
13934|       |
13935|       |/*-------------------------------------.
13936|       || yyacceptlab -- YYACCEPT comes here.  |
13937|       |`-------------------------------------*/
13938|    153|yyacceptlab:
13939|    153|  yyresult = 0;
13940|    153|  goto yyreturnlab;
13941|       |
13942|       |
13943|       |/*-----------------------------------.
13944|       || yyabortlab -- YYABORT comes here.  |
13945|       |`-----------------------------------*/
13946|    112|yyabortlab:
13947|    112|  yyresult = 1;
13948|    112|  goto yyreturnlab;
13949|       |
13950|       |
13951|       |/*-----------------------------------------------------------.
13952|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
13953|       |`-----------------------------------------------------------*/
13954|      0|yyexhaustedlab:
13955|      0|  yyerror (pParseContext, YY_("memory exhausted"));
  ------------------
  |  |  784|      0|#define yyerror(context, msg) context->parserError(msg)
  ------------------
13956|      0|  yyresult = 2;
13957|      0|  goto yyreturnlab;
13958|       |
13959|       |
13960|       |/*----------------------------------------------------------.
13961|       || yyreturnlab -- parsing is finished, clean up and return.  |
13962|       |`----------------------------------------------------------*/
13963|    265|yyreturnlab:
13964|    265|  if (yychar != YYEMPTY)
  ------------------
  |  Branch (13964:7): [True: 112, False: 153]
  ------------------
13965|    112|    {
13966|       |      /* Make sure we have latest lookahead translation.  See comments at
13967|       |         user semantic actions for why this is necessary.  */
13968|    112|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1131|    112|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1125|    112|#define YYMAXUTOK   769
  |  |  ------------------
  |  |  |  Branch (1131:4): [True: 112, False: 0]
  |  |  |  Branch (1131:18): [True: 112, False: 0]
  |  |  ------------------
  |  | 1132|    112|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  100|    112|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  |  | 1133|    112|   : YYSYMBOL_YYUNDEF)
  ------------------
13969|    112|      yydestruct ("Cleanup: discarding lookahead",
13970|    112|                  yytoken, &yylval, pParseContext);
13971|    112|    }
13972|       |  /* Do not reclaim the symbols of the rule whose action triggered
13973|       |     this YYABORT or YYACCEPT.  */
13974|    265|  YYPOPSTACK (yylen);
  ------------------
  |  | 5685|    265|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13975|    265|  YY_STACK_PRINT (yyss, yyssp);
  ------------------
  |  | 5271|    265|# define YY_STACK_PRINT(Bottom, Top)                            \
  |  | 5272|    265|do {                                                            \
  |  | 5273|    265|  if (yydebug)                                                  \
  |  |  ------------------
  |  |  |  Branch (5273:7): [True: 0, False: 265]
  |  |  ------------------
  |  | 5274|    265|    yy_stack_print ((Bottom), (Top));                           \
  |  | 5275|    265|} while (0)
  |  |  ------------------
  |  |  |  Branch (5275:10): [Folded, False: 265]
  |  |  ------------------
  ------------------
13976|    571|  while (yyssp != yyss)
  ------------------
  |  Branch (13976:10): [True: 306, False: 265]
  ------------------
13977|    306|    {
13978|    306|      yydestruct ("Cleanup: popping",
13979|    306|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
  ------------------
  |  | 1302|    306|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  100|    306|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
13980|    306|      YYPOPSTACK (1);
  ------------------
  |  | 5685|    306|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
13981|    306|    }
13982|    265|#ifndef yyoverflow
13983|    265|  if (yyss != yyssa)
  ------------------
  |  Branch (13983:7): [True: 0, False: 265]
  ------------------
13984|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13985|    265|#endif
13986|    265|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (13986:7): [True: 0, False: 265]
  ------------------
13987|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  | 1023|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  | 1042|      0|#   define YYFREE free
  |  |  ------------------
  ------------------
13988|    265|  return yyresult;
13989|    112|}
glslang_tab.cpp:_ZL14yysyntax_errorPlPPcPK12yypcontext_t:
 5529|    112|{
 5530|    112|  enum { YYARGS_MAX = 5 };
 5531|       |  /* Internationalized format string. */
 5532|    112|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  110|    112|#    define YY_NULLPTR nullptr
  ------------------
 5533|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 5534|       |     one per "expected"). */
 5535|    112|  yysymbol_kind_t yyarg[YYARGS_MAX];
 5536|       |  /* Cumulated lengths of YYARG.  */
 5537|    112|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  865|    112|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5538|       |
 5539|       |  /* Actual size of YYARG. */
 5540|    112|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 5541|    112|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (5541:7): [True: 0, False: 112]
  ------------------
 5542|      0|    return YYENOMEM;
 5543|       |
 5544|    112|  switch (yycount)
 5545|    112|    {
 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: 112]
  ------------------
 5551|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 112]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5552|      2|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 5547|      2|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 2, False: 110]
  |  |  ------------------
  |  | 5548|      2|        yyformat = S;                       \
  |  | 5549|      2|        break
  ------------------
 5553|      0|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 5547|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 0, False: 112]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5554|    110|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 5547|    110|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (5547:7): [True: 110, False: 2]
  |  |  ------------------
  |  | 5548|    110|        yyformat = S;                       \
  |  | 5549|    110|        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: 112]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5556|    112|      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: 112]
  |  |  ------------------
  |  | 5548|      0|        yyformat = S;                       \
  |  | 5549|      0|        break
  ------------------
 5557|    112|#undef YYCASE_
 5558|    112|    }
 5559|       |
 5560|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 5561|       |     room for the terminator.  */
 5562|    112|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 5388|    112|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|    112|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5563|    112|  {
 5564|    112|    int yyi;
 5565|    444|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (5565:19): [True: 332, False: 112]
  ------------------
 5566|    332|      {
 5567|    332|        YYPTRDIFF_T yysize1
  ------------------
  |  |  865|    332|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5568|    332|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  110|    332|#    define YY_NULLPTR nullptr
  ------------------
 5569|    332|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  | 1025|    332|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  893|    332|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    664|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (100:50): [True: 332, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5569:13): [True: 332, False: 0]
  |  Branch (5569:34): [True: 332, False: 0]
  ------------------
 5570|    332|          yysize = yysize1;
 5571|      0|        else
 5572|      0|          return YYENOMEM;
 5573|    332|      }
 5574|    112|  }
 5575|       |
 5576|    112|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (5576:7): [True: 0, False: 112]
  ------------------
 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|    112|  {
 5589|    112|    char *yyp = *yymsg;
 5590|    112|    int yyi = 0;
 5591|  5.00k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (5591:12): [True: 4.89k, False: 112]
  ------------------
 5592|  4.89k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (5592:11): [True: 332, False: 4.56k]
  |  Branch (5592:26): [True: 332, False: 0]
  |  Branch (5592:48): [True: 332, False: 0]
  ------------------
 5593|    332|        {
 5594|    332|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 5595|    332|          yyformat += 2;
 5596|    332|        }
 5597|  4.56k|      else
 5598|  4.56k|        {
 5599|  4.56k|          ++yyp;
 5600|  4.56k|          ++yyformat;
 5601|  4.56k|        }
 5602|    112|  }
 5603|    112|  return 0;
 5604|    112|}
glslang_tab.cpp:_ZL25yy_syntax_error_argumentsPK12yypcontext_tP15yysymbol_kind_ti:
 5476|    112|{
 5477|       |  /* Actual size of YYARG. */
 5478|    112|  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|    112|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (5502:7): [True: 112, False: 0]
  ------------------
 5503|    112|    {
 5504|    112|      int yyn;
 5505|    112|      if (yyarg)
  ------------------
  |  Branch (5505:11): [True: 112, False: 0]
  ------------------
 5506|    112|        yyarg[yycount] = yyctx->yytoken;
 5507|    112|      ++yycount;
 5508|    112|      yyn = yypcontext_expected_tokens (yyctx,
 5509|    112|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (5509:41): [True: 112, False: 0]
  ------------------
 5510|    112|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (5510:11): [True: 0, False: 112]
  ------------------
 5511|      0|        return YYENOMEM;
 5512|    112|      else
 5513|    112|        yycount += yyn;
 5514|    112|    }
 5515|    112|  return yycount;
 5516|    112|}
glslang_tab.cpp:_ZL26yypcontext_expected_tokensPK12yypcontext_tP15yysymbol_kind_ti:
 5352|    112|{
 5353|       |  /* Actual size of YYARG. */
 5354|    112|  int yycount = 0;
 5355|    112|  int yyn = yypact[+*yyctx->yyssp];
 5356|    112|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1490|    112|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1487|    112|#define YYPACT_NINF (-901)
  |  |  ------------------
  ------------------
  |  Branch (5356:7): [True: 112, False: 0]
  ------------------
 5357|    112|    {
 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|    112|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (5361:22): [True: 110, False: 2]
  ------------------
 5362|       |      /* Stay within bounds of both yycheck and yytname.  */
 5363|    112|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  | 1113|    112|#define YYLAST   15602
  ------------------
 5364|    112|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|    112|#define YYNTOKENS  515
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  | 1116|    112|#define YYNTOKENS  515
  ------------------
  |  Branch (5364:20): [True: 0, False: 112]
  ------------------
 5365|    112|      int yyx;
 5366|  27.7k|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (5366:28): [True: 27.6k, False: 110]
  ------------------
 5367|  27.6k|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (5367:13): [True: 230, False: 27.3k]
  |  Branch (5367:42): [True: 230, False: 0]
  ------------------
 5368|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1495|      0|  0
  ------------------
  |  Branch (5368:16): [True: 0, Folded]
  ------------------
 5369|    230|          {
 5370|    230|            if (!yyarg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 230]
  ------------------
 5371|      0|              ++yycount;
 5372|    230|            else if (yycount == yyargn)
  ------------------
  |  Branch (5372:22): [True: 2, False: 228]
  ------------------
 5373|      2|              return 0;
 5374|    228|            else
 5375|    228|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  100|    228|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  ------------------
 5376|    230|          }
 5377|    112|    }
 5378|    110|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (5378:7): [True: 110, False: 0]
  |  Branch (5378:16): [True: 0, False: 110]
  |  Branch (5378:32): [True: 0, False: 0]
  ------------------
 5379|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 5380|    110|  return yycount;
 5381|    112|}
glslang_tab.cpp:_ZL9yytnamerrPcPKc:
 5432|    664|{
 5433|    664|  if (*yystr == '"')
  ------------------
  |  Branch (5433:7): [True: 4, False: 660]
  ------------------
 5434|      4|    {
 5435|      4|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  865|      4|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 5436|      4|      char const *yyp = yystr;
 5437|      4|      for (;;)
 5438|     48|        switch (*++yyp)
 5439|     48|          {
 5440|      0|          case '\'':
  ------------------
  |  Branch (5440:11): [True: 0, False: 48]
  ------------------
 5441|      0|          case ',':
  ------------------
  |  Branch (5441:11): [True: 0, False: 48]
  ------------------
 5442|      0|            goto do_not_strip_quotes;
 5443|       |
 5444|      0|          case '\\':
  ------------------
  |  Branch (5444:11): [True: 0, False: 48]
  ------------------
 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|     44|          default:
  ------------------
  |  Branch (5451:11): [True: 44, False: 4]
  ------------------
 5452|     44|            if (yyres)
  ------------------
  |  Branch (5452:17): [True: 22, False: 22]
  ------------------
 5453|     22|              yyres[yyn] = *yyp;
 5454|     44|            yyn++;
 5455|     44|            break;
 5456|       |
 5457|      4|          case '"':
  ------------------
  |  Branch (5457:11): [True: 4, False: 44]
  ------------------
 5458|      4|            if (yyres)
  ------------------
  |  Branch (5458:17): [True: 2, False: 2]
  ------------------
 5459|      2|              yyres[yyn] = '\0';
 5460|      4|            return yyn;
 5461|     48|          }
 5462|      0|    do_not_strip_quotes: ;
 5463|      0|    }
 5464|       |
 5465|    660|  if (yyres)
  ------------------
  |  Branch (5465:7): [True: 330, False: 330]
  ------------------
 5466|    330|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 5404|    330|#  define yystpcpy stpcpy
  ------------------
 5467|    330|  else
 5468|    330|    return yystrlen (yystr);
  ------------------
  |  | 5388|    330|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  100|    330|#   define YY_CAST(Type, Val) static_cast<Type> (Val)
  |  |  ------------------
  ------------------
 5469|    660|}
glslang_tab.cpp:_ZL10yydestructPKc15yysymbol_kind_tP7YYSTYPEPN7glslang13TParseContextE:
 5614|    637|{
 5615|    637|  YY_USE (yyvaluep);
  ------------------
  |  |  938|    637|# define YY_USE(E) ((void) (E))
  ------------------
 5616|    637|  YY_USE (pParseContext);
  ------------------
  |  |  938|    637|# define YY_USE(E) ((void) (E))
  ------------------
 5617|    637|  if (!yymsg)
  ------------------
  |  Branch (5617:7): [True: 0, False: 637]
  ------------------
 5618|      0|    yymsg = "Deleting";
 5619|    637|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  ------------------
  |  | 5208|    637|# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)                    \
  |  | 5209|    637|do {                                                                      \
  |  | 5210|    637|  if (yydebug)                                                            \
  |  |  ------------------
  |  |  |  Branch (5210:7): [True: 0, False: 637]
  |  |  ------------------
  |  | 5211|    637|    {                                                                     \
  |  | 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|    637|} while (0)
  |  |  ------------------
  |  |  |  Branch (5217:10): [Folded, False: 637]
  |  |  ------------------
  ------------------
 5620|       |
 5621|    637|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5622|    637|  YY_USE (yykind);
  ------------------
  |  |  938|    637|# define YY_USE(E) ((void) (E))
  ------------------
 5623|    637|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5624|    637|}

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

_ZN7glslang10TPpContext9CPPdefineEPNS_8TPpTokenE:
   96|  19.8k|{
   97|  19.8k|    MacroSymbol mac;
   98|       |
   99|       |    // get the macro name
  100|  19.8k|    int token = scanToken(ppToken);
  101|  19.8k|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (101:9): [True: 0, False: 19.8k]
  ------------------
  102|      0|        parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
  103|      0|        return token;
  104|      0|    }
  105|  19.8k|    if (ppToken->loc.string >= 0) {
  ------------------
  |  Branch (105:9): [True: 12, False: 19.8k]
  ------------------
  106|       |        // We are in user code; check for reserved name use:
  107|     12|        parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
  108|     12|    }
  109|       |
  110|       |    // save the macro name
  111|  19.8k|    const int defAtom = atomStrings.getAddAtom(ppToken->name);
  112|  19.8k|    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|  19.8k|    token = scanToken(ppToken);
  116|  19.8k|    if (token == '(' && !ppToken->space) {
  ------------------
  |  Branch (116:9): [True: 1, False: 19.8k]
  |  Branch (116:25): [True: 1, False: 0]
  ------------------
  117|      1|        mac.functionLike = 1;
  118|      1|        do {
  119|      1|            token = scanToken(ppToken);
  120|      1|            if (mac.args.size() == 0 && token == ')')
  ------------------
  |  Branch (120:17): [True: 1, False: 0]
  |  Branch (120:41): [True: 0, False: 1]
  ------------------
  121|      0|                break;
  122|      1|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (122:17): [True: 0, False: 1]
  ------------------
  123|      0|                parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
  124|       |
  125|      0|                return token;
  126|      0|            }
  127|      1|            const int argAtom = atomStrings.getAddAtom(ppToken->name);
  128|       |
  129|       |            // check for duplication of parameter name
  130|      1|            bool duplicate = false;
  131|      1|            for (size_t a = 0; a < mac.args.size(); ++a) {
  ------------------
  |  Branch (131:32): [True: 0, False: 1]
  ------------------
  132|      0|                if (mac.args[a] == argAtom) {
  ------------------
  |  Branch (132:21): [True: 0, False: 0]
  ------------------
  133|      0|                    parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
  134|      0|                    duplicate = true;
  135|      0|                    break;
  136|      0|                }
  137|      0|            }
  138|      1|            if (! duplicate)
  ------------------
  |  Branch (138:17): [True: 1, False: 0]
  ------------------
  139|      1|                mac.args.push_back(argAtom);
  140|      1|            token = scanToken(ppToken);
  141|      1|        } while (token == ',');
  ------------------
  |  Branch (141:18): [True: 0, False: 1]
  ------------------
  142|      1|        if (token != ')') {
  ------------------
  |  Branch (142:13): [True: 0, False: 1]
  ------------------
  143|      0|            parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
  144|       |
  145|      0|            return token;
  146|      0|        }
  147|       |
  148|      1|        token = scanToken(ppToken);
  149|  19.8k|    } else if (token != '\n' && token != EndOfInput && !ppToken->space) {
  ------------------
  |  Branch (149:16): [True: 19.8k, False: 0]
  |  Branch (149:33): [True: 19.8k, False: 0]
  |  Branch (149:56): [True: 0, False: 19.8k]
  ------------------
  150|      0|        parseContext.ppWarn(ppToken->loc, "missing space after macro name", "#define", "");
  151|       |
  152|      0|        return token;
  153|      0|    }
  154|       |
  155|  19.8k|    int pendingPoundSymbols = 0;
  156|  19.8k|    TPpToken savePound;
  157|       |    // record the definition of the macro
  158|  58.0k|    while (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (158:12): [True: 38.1k, False: 19.8k]
  |  Branch (158:29): [True: 38.1k, False: 0]
  ------------------
  159|  38.1k|        if (token == '#') {
  ------------------
  |  Branch (159:13): [True: 0, False: 38.1k]
  ------------------
  160|      0|            pendingPoundSymbols++;
  161|      0|            if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (161:17): [True: 0, False: 0]
  ------------------
  162|      0|                savePound = *ppToken;
  163|      0|            }
  164|  38.1k|        } else if (pendingPoundSymbols == 0) {
  ------------------
  |  Branch (164:20): [True: 38.1k, False: 0]
  ------------------
  165|  38.1k|            mac.body.putToken(token, ppToken);
  166|  38.1k|        } 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|  38.1k|        token = scanToken(ppToken);
  203|  38.1k|    }
  204|  19.8k|    if (pendingPoundSymbols != 0) {
  ------------------
  |  Branch (204:9): [True: 0, False: 19.8k]
  ------------------
  205|      0|        parseContext.ppError(ppToken->loc, "Macro ended with incomplete '#' paste/stringify operators", "#", "");
  206|      0|    }
  207|       |
  208|       |    // check for duplicate definition
  209|  19.8k|    MacroSymbol* existing = lookupMacroDef(defAtom);
  210|  19.8k|    if (existing != nullptr) {
  ------------------
  |  Branch (210:9): [True: 0, False: 19.8k]
  ------------------
  211|      0|        if (! existing->undef) {
  ------------------
  |  Branch (211:13): [True: 0, False: 0]
  ------------------
  212|       |            // Already defined -- need to make sure they are identical:
  213|       |            // "Two replacement lists are identical if and only if the
  214|       |            // preprocessing tokens in both have the same number,
  215|       |            // ordering, spelling, and white-space separation, where all
  216|       |            // white-space separations are considered identical."
  217|      0|            if (existing->functionLike != mac.functionLike) {
  ------------------
  |  Branch (217:17): [True: 0, False: 0]
  ------------------
  218|      0|                parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define",
  219|      0|                    atomStrings.getString(defAtom));
  220|      0|            } else if (existing->args.size() != mac.args.size()) {
  ------------------
  |  Branch (220:24): [True: 0, False: 0]
  ------------------
  221|      0|                parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define",
  222|      0|                    atomStrings.getString(defAtom));
  223|      0|            } else {
  224|      0|                if (existing->args != mac.args) {
  ------------------
  |  Branch (224:21): [True: 0, False: 0]
  ------------------
  225|      0|                    parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define",
  226|      0|                       atomStrings.getString(defAtom));
  227|      0|                }
  228|       |                // set up to compare the two
  229|      0|                existing->body.reset();
  230|      0|                mac.body.reset();
  231|      0|                int newToken;
  232|      0|                bool firstToken = true;
  233|      0|                do {
  234|      0|                    int oldToken;
  235|      0|                    TPpToken oldPpToken;
  236|      0|                    TPpToken newPpToken;
  237|      0|                    oldToken = existing->body.getToken(parseContext, &oldPpToken);
  238|      0|                    newToken = mac.body.getToken(parseContext, &newPpToken);
  239|       |                    // for the first token, preceding spaces don't matter
  240|      0|                    if (firstToken) {
  ------------------
  |  Branch (240:25): [True: 0, False: 0]
  ------------------
  241|      0|                        newPpToken.space = oldPpToken.space;
  242|      0|                        firstToken = false;
  243|      0|                    }
  244|      0|                    if (oldToken != newToken || oldPpToken != newPpToken) {
  ------------------
  |  Branch (244:25): [True: 0, False: 0]
  |  Branch (244:49): [True: 0, False: 0]
  ------------------
  245|      0|                        parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define",
  246|      0|                            atomStrings.getString(defAtom));
  247|      0|                        break;
  248|      0|                    }
  249|      0|                } while (newToken != EndOfInput);
  ------------------
  |  Branch (249:26): [True: 0, False: 0]
  ------------------
  250|      0|            }
  251|      0|        }
  252|      0|        *existing = mac;
  253|      0|    } else
  254|  19.8k|        addMacroDef(defAtom, mac);
  255|       |
  256|  19.8k|    return '\n';
  257|  19.8k|}
_ZN7glslang10TPpContext7CPPelseEiPNS_8TPpTokenE:
  287|     77|{
  288|     77|    inElseSkip = true;
  289|     77|    int depth = 0;
  290|     77|    int token = scanToken(ppToken);
  291|       |
  292|  1.10M|    while (token != EndOfInput) {
  ------------------
  |  Branch (292:12): [True: 1.10M, False: 8]
  ------------------
  293|  1.10M|        if (token != '#') {
  ------------------
  |  Branch (293:13): [True: 943k, False: 163k]
  ------------------
  294|  3.47M|            while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (294:20): [True: 2.52M, False: 943k]
  |  Branch (294:37): [True: 2.52M, False: 69]
  ------------------
  295|  2.52M|                token = scanToken(ppToken);
  296|       |
  297|   943k|            if (token == EndOfInput)
  ------------------
  |  Branch (297:17): [True: 69, False: 943k]
  ------------------
  298|     69|                return token;
  299|       |
  300|   943k|            token = scanToken(ppToken);
  301|   943k|            continue;
  302|   943k|        }
  303|       |
  304|   163k|        if ((token = scanToken(ppToken)) != PpAtomIdentifier)
  ------------------
  |  Branch (304:13): [True: 20.4k, False: 143k]
  ------------------
  305|  20.4k|            continue;
  306|       |
  307|   143k|        int nextAtom = atomStrings.getAtom(ppToken->name);
  308|   143k|        if (nextAtom == PpAtomIf || nextAtom == PpAtomIfdef || nextAtom == PpAtomIfndef) {
  ------------------
  |  Branch (308:13): [True: 458, False: 142k]
  |  Branch (308:37): [True: 42, False: 142k]
  |  Branch (308:64): [True: 6, False: 142k]
  ------------------
  309|    506|            depth++;
  310|    506|            if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (310:17): [True: 0, False: 506]
  |  Branch (310:44): [True: 0, False: 506]
  ------------------
  311|      0|                parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if/#ifdef/#ifndef", "");
  312|      0|                return EndOfInput;
  313|    506|            } else {
  314|    506|                ifdepth++;
  315|    506|                elsetracker++;
  316|    506|            }
  317|   142k|        } else if (nextAtom == PpAtomEndif) {
  ------------------
  |  Branch (317:20): [True: 110, False: 142k]
  ------------------
  318|    110|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  319|    110|            if (elsetracker >= 0)
  ------------------
  |  Branch (319:17): [True: 110, False: 0]
  ------------------
  320|    110|                elseSeen[elsetracker] = false;
  321|    110|            --elsetracker;
  322|    110|            if (depth == 0) {
  ------------------
  |  Branch (322:17): [True: 0, False: 110]
  ------------------
  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|    110|            --depth;
  329|    110|            if (ifdepth > 0)
  ------------------
  |  Branch (329:17): [True: 110, False: 0]
  ------------------
  330|    110|                --ifdepth;
  331|   142k|        } else if (matchelse && depth == 0) {
  ------------------
  |  Branch (331:20): [True: 142k, False: 0]
  |  Branch (331:33): [True: 33.2k, False: 109k]
  ------------------
  332|  33.2k|            if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (332:17): [True: 0, False: 33.2k]
  ------------------
  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|  33.2k|            } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (337:24): [True: 0, False: 33.2k]
  ------------------
  338|      0|                if (elseSeen[elsetracker])
  ------------------
  |  Branch (338:21): [True: 0, False: 0]
  ------------------
  339|      0|                    parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  340|       |                /* we decrement ifdepth here, because CPPif will increment
  341|       |                * it and we really want to leave it alone */
  342|      0|                if (ifdepth > 0) {
  ------------------
  |  Branch (342:21): [True: 0, False: 0]
  ------------------
  343|      0|                    --ifdepth;
  344|      0|                    elseSeen[elsetracker] = false;
  345|      0|                    --elsetracker;
  346|      0|                }
  347|      0|                inElseSkip = false;
  348|      0|                return CPPif(ppToken);
  349|      0|            }
  350|   109k|        } else if (nextAtom == PpAtomElse) {
  ------------------
  |  Branch (350:20): [True: 10, False: 109k]
  ------------------
  351|     10|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (351:17): [True: 0, False: 10]
  ------------------
  352|      0|                parseContext.ppError(ppToken->loc, "#else after #else", "#else", "");
  353|     10|            else
  354|     10|                elseSeen[elsetracker] = true;
  355|     10|            token = extraTokenCheck(nextAtom, ppToken, scanToken(ppToken));
  356|   109k|        } else if (nextAtom == PpAtomElif) {
  ------------------
  |  Branch (356:20): [True: 44, False: 109k]
  ------------------
  357|     44|            if (elseSeen[elsetracker])
  ------------------
  |  Branch (357:17): [True: 0, False: 44]
  ------------------
  358|      0|                parseContext.ppError(ppToken->loc, "#elif after #else", "#elif", "");
  359|     44|        }
  360|   143k|    }
  361|       |    
  362|      8|    inElseSkip = false;
  363|      8|    return token;
  364|     77|}
_ZN7glslang10TPpContext15extraTokenCheckEiPNS_8TPpTokenEi:
  368|    201|{
  369|    201|    if (token != '\n' && token != EndOfInput) {
  ------------------
  |  Branch (369:9): [True: 1, False: 200]
  |  Branch (369:26): [True: 1, False: 0]
  ------------------
  370|      1|        static const char* message = "unexpected tokens following directive";
  371|       |
  372|      1|        const char* label;
  373|      1|        if (contextAtom == PpAtomElse)
  ------------------
  |  Branch (373:13): [True: 0, False: 1]
  ------------------
  374|      0|            label = "#else";
  375|      1|        else if (contextAtom == PpAtomElif)
  ------------------
  |  Branch (375:18): [True: 0, False: 1]
  ------------------
  376|      0|            label = "#elif";
  377|      1|        else if (contextAtom == PpAtomEndif)
  ------------------
  |  Branch (377:18): [True: 0, False: 1]
  ------------------
  378|      0|            label = "#endif";
  379|      1|        else if (contextAtom == PpAtomIf)
  ------------------
  |  Branch (379:18): [True: 1, False: 0]
  ------------------
  380|      1|            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|      1|        if (parseContext.relaxedErrors())
  ------------------
  |  Branch (386:13): [True: 0, False: 1]
  ------------------
  387|      0|            parseContext.ppWarn(ppToken->loc, message, label, "");
  388|      1|        else
  389|      1|            parseContext.ppError(ppToken->loc, message, label, "");
  390|       |
  391|      3|        while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (391:16): [True: 2, False: 1]
  |  Branch (391:33): [True: 2, False: 0]
  ------------------
  392|      2|            token = scanToken(ppToken);
  393|      1|    }
  394|       |
  395|    201|    return token;
  396|    201|}
_ZN7glslang10TPpContext4evalEiibRiRbPNS_8TPpTokenE:
  470|  17.4k|{
  471|  17.4k|    TSourceLoc loc = ppToken->loc;  // because we sometimes read the newline before reporting the error
  472|  17.4k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (472:9): [True: 0, False: 17.4k]
  ------------------
  473|      0|        if (strcmp("defined", ppToken->name) == 0) {
  ------------------
  |  Branch (473:13): [True: 0, False: 0]
  ------------------
  474|      0|            if (! parseContext.isReadingHLSL() && isMacroInput()) {
  ------------------
  |  Branch (474:17): [True: 0, False: 0]
  |  Branch (474:51): [True: 0, False: 0]
  ------------------
  475|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (475:21): [True: 0, False: 0]
  ------------------
  476|      0|                    parseContext.ppWarn(ppToken->loc, "nonportable when expanded from macros for preprocessor expression",
  477|      0|                        "defined", "");
  478|      0|                else
  479|      0|                    parseContext.ppError(ppToken->loc, "cannot use in preprocessor expression when expanded from macros",
  480|      0|                        "defined", "");
  481|      0|            }
  482|      0|            bool needclose = 0;
  483|      0|            token = scanToken(ppToken);
  484|      0|            if (token == '(') {
  ------------------
  |  Branch (484:17): [True: 0, False: 0]
  ------------------
  485|      0|                needclose = true;
  486|      0|                token = scanToken(ppToken);
  487|      0|            }
  488|      0|            if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (488:17): [True: 0, False: 0]
  ------------------
  489|      0|                parseContext.ppError(loc, "incorrect directive, expected identifier", "preprocessor evaluation", "");
  490|      0|                err = true;
  491|      0|                res = 0;
  492|       |
  493|      0|                return token;
  494|      0|            }
  495|       |
  496|      0|            MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name));
  497|      0|            res = macro != nullptr ? !macro->undef : 0;
  ------------------
  |  Branch (497:19): [True: 0, False: 0]
  ------------------
  498|      0|            token = scanToken(ppToken);
  499|      0|            if (needclose) {
  ------------------
  |  Branch (499:17): [True: 0, False: 0]
  ------------------
  500|      0|                if (token != ')') {
  ------------------
  |  Branch (500:21): [True: 0, False: 0]
  ------------------
  501|      0|                    parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  502|      0|                    err = true;
  503|      0|                    res = 0;
  504|       |
  505|      0|                    return token;
  506|      0|                }
  507|      0|                token = scanToken(ppToken);
  508|      0|            }
  509|      0|        } else {
  510|      0|            token = tokenPaste(token, *ppToken);
  511|      0|            token = evalToToken(token, shortCircuit, res, err, ppToken);
  512|      0|            return eval(token, precedence, shortCircuit, res, err, ppToken);
  513|      0|        }
  514|  17.4k|    } else if (token == PpAtomConstInt) {
  ------------------
  |  Branch (514:16): [True: 79, False: 17.3k]
  ------------------
  515|     79|        res = ppToken->ival;
  516|     79|        token = scanToken(ppToken);
  517|  17.3k|    } else if (token == '(') {
  ------------------
  |  Branch (517:16): [True: 17.3k, False: 82]
  ------------------
  518|  17.3k|        token = scanToken(ppToken);
  519|  17.3k|        token = eval(token, MIN_PRECEDENCE, shortCircuit, res, err, ppToken);
  520|  17.3k|        if (! err) {
  ------------------
  |  Branch (520:13): [True: 0, False: 17.3k]
  ------------------
  521|      0|            if (token != ')') {
  ------------------
  |  Branch (521:17): [True: 0, False: 0]
  ------------------
  522|      0|                parseContext.ppError(loc, "expected ')'", "preprocessor evaluation", "");
  523|      0|                err = true;
  524|      0|                res = 0;
  525|       |
  526|      0|                return token;
  527|      0|            }
  528|      0|            token = scanToken(ppToken);
  529|      0|        }
  530|  17.3k|    } else {
  531|     82|        int op = NUM_ELEMENTS(unop) - 1;
  ------------------
  |  |  467|     82|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  532|    328|        for (; op >= 0; op--) {
  ------------------
  |  Branch (532:16): [True: 326, False: 2]
  ------------------
  533|    326|            if (unop[op].token == token)
  ------------------
  |  Branch (533:17): [True: 80, False: 246]
  ------------------
  534|     80|                break;
  535|    326|        }
  536|     82|        if (op >= 0) {
  ------------------
  |  Branch (536:13): [True: 80, False: 2]
  ------------------
  537|     80|            token = scanToken(ppToken);
  538|     80|            token = eval(token, UNARY, shortCircuit, res, err, ppToken);
  539|     80|            res = unop[op].op(res);
  540|     80|        } else {
  541|      2|            parseContext.ppError(loc, "bad expression", "preprocessor evaluation", "");
  542|      2|            err = true;
  543|      2|            res = 0;
  544|       |
  545|      2|            return token;
  546|      2|        }
  547|     82|    }
  548|       |
  549|  17.4k|    token = evalToToken(token, shortCircuit, res, err, ppToken);
  550|       |
  551|       |    // Perform evaluation of binary operation, if there is one, otherwise we are done.
  552|  17.4k|    while (! err) {
  ------------------
  |  Branch (552:12): [True: 158, False: 17.3k]
  ------------------
  553|    158|        if (token == ')' || token == '\n')
  ------------------
  |  Branch (553:13): [True: 0, False: 158]
  |  Branch (553:29): [True: 158, False: 0]
  ------------------
  554|    158|            break;
  555|      0|        int op;
  556|      0|        for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
  ------------------
  |  |  467|      0|#define NUM_ELEMENTS(A) (sizeof(A) / sizeof(A[0]))
  ------------------
  |  Branch (556:44): [True: 0, False: 0]
  ------------------
  557|      0|            if (binop[op].token == token)
  ------------------
  |  Branch (557:17): [True: 0, False: 0]
  ------------------
  558|      0|                break;
  559|      0|        }
  560|      0|        if (op < 0 || binop[op].precedence <= precedence)
  ------------------
  |  Branch (560:13): [True: 0, False: 0]
  |  Branch (560:23): [True: 0, False: 0]
  ------------------
  561|      0|            break;
  562|      0|        int leftSide = res;
  563|       |
  564|       |        // Setup short-circuiting, needed for ES, unless already in a short circuit.
  565|       |        // (Once in a short-circuit, can't turn off again, until that whole subexpression is done.
  566|      0|        if (! shortCircuit) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|      0|            if ((token == PpAtomOr  && leftSide == 1) ||
  ------------------
  |  Branch (567:18): [True: 0, False: 0]
  |  Branch (567:40): [True: 0, False: 0]
  ------------------
  568|      0|                (token == PpAtomAnd && leftSide == 0))
  ------------------
  |  Branch (568:18): [True: 0, False: 0]
  |  Branch (568:40): [True: 0, False: 0]
  ------------------
  569|      0|                shortCircuit = true;
  570|      0|        }
  571|       |
  572|      0|        token = scanToken(ppToken);
  573|      0|        token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
  574|       |
  575|      0|        if (binop[op].op == op_div || binop[op].op == op_mod) {
  ------------------
  |  Branch (575:13): [True: 0, False: 0]
  |  Branch (575:39): [True: 0, False: 0]
  ------------------
  576|      0|            if (res == 0) {
  ------------------
  |  Branch (576:17): [True: 0, False: 0]
  ------------------
  577|      0|                parseContext.ppError(loc, "division by 0", "preprocessor evaluation", "");
  578|      0|                res = 1;
  579|      0|            }
  580|      0|        }
  581|      0|        res = binop[op].op(leftSide, res);
  582|      0|    }
  583|       |
  584|  17.4k|    return token;
  585|  17.4k|}
_ZN7glslang10TPpContext11evalToTokenEibRiRbPNS_8TPpTokenE:
  589|  17.4k|{
  590|  17.4k|    while (token == PpAtomIdentifier && strcmp("defined", ppToken->name) != 0) {
  ------------------
  |  Branch (590:12): [True: 0, False: 17.4k]
  |  Branch (590:41): [True: 0, False: 0]
  ------------------
  591|      0|        switch (MacroExpand(ppToken, true, false)) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        case MacroExpandNotStarted:
  ------------------
  |  Branch (592:9): [True: 0, False: 0]
  ------------------
  593|      0|        case MacroExpandError:
  ------------------
  |  Branch (593:9): [True: 0, False: 0]
  ------------------
  594|      0|            parseContext.ppError(ppToken->loc, "can't evaluate expression", "preprocessor evaluation", "");
  595|      0|            err = true;
  596|      0|            res = 0;
  597|      0|            break;
  598|      0|        case MacroExpandStarted:
  ------------------
  |  Branch (598:9): [True: 0, False: 0]
  ------------------
  599|      0|            break;
  600|      0|        case MacroExpandUndef:
  ------------------
  |  Branch (600:9): [True: 0, False: 0]
  ------------------
  601|      0|            if (! shortCircuit && parseContext.isEsProfile()) {
  ------------------
  |  Branch (601:17): [True: 0, False: 0]
  |  Branch (601:35): [True: 0, False: 0]
  ------------------
  602|      0|                const char* message = "undefined macro in expression not allowed in es profile";
  603|      0|                if (parseContext.relaxedErrors())
  ------------------
  |  Branch (603:21): [True: 0, False: 0]
  ------------------
  604|      0|                    parseContext.ppWarn(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  605|      0|                else
  606|      0|                    parseContext.ppError(ppToken->loc, message, "preprocessor evaluation", ppToken->name);
  607|      0|            }
  608|      0|            break;
  609|      0|        }
  610|      0|        token = scanToken(ppToken);
  611|      0|        if (err)
  ------------------
  |  Branch (611:13): [True: 0, False: 0]
  ------------------
  612|      0|            break;
  613|      0|    }
  614|       |
  615|  17.4k|    return token;
  616|  17.4k|}
_ZN7glslang10TPpContext5CPPifEPNS_8TPpTokenE:
  620|     80|{
  621|     80|    int token = scanToken(ppToken);
  622|     80|    if (ifdepth >= maxIfNesting || elsetracker >= maxIfNesting) {
  ------------------
  |  Branch (622:9): [True: 0, False: 80]
  |  Branch (622:36): [True: 0, False: 80]
  ------------------
  623|      0|        parseContext.ppError(ppToken->loc, "maximum nesting depth exceeded", "#if", "");
  624|      0|        return EndOfInput;
  625|     80|    } else {
  626|     80|        elsetracker++;
  627|     80|        ifdepth++;
  628|     80|    }
  629|     80|    int res = 0;
  630|     80|    bool err = false;
  631|     80|    token = eval(token, MIN_PRECEDENCE, false, res, err, ppToken);
  632|     80|    token = extraTokenCheck(PpAtomIf, ppToken, token);
  633|     80|    if (!res && !err)
  ------------------
  |  Branch (633:9): [True: 79, False: 1]
  |  Branch (633:17): [True: 77, False: 2]
  ------------------
  634|     77|        token = CPPelse(1, ppToken);
  635|       |
  636|     80|    return token;
  637|     80|}
_ZN7glslang10TPpContext7CPPlineEPNS_8TPpTokenE:
  758|      1|{
  759|       |    // "#line must have, after macro substitution, one of the following forms:
  760|       |    // "#line line
  761|       |    // "#line line source-string-number"
  762|       |
  763|      1|    int token = scanToken(ppToken);
  764|      1|    const TSourceLoc directiveLoc = ppToken->loc;
  765|      1|    if (token == '\n') {
  ------------------
  |  Branch (765:9): [True: 0, False: 1]
  ------------------
  766|      0|        parseContext.ppError(ppToken->loc, "must by followed by an integral literal", "#line", "");
  767|      0|        return token;
  768|      0|    }
  769|       |
  770|      1|    int lineRes = 0; // Line number after macro expansion.
  771|      1|    int lineToken = 0;
  772|      1|    bool hasFile = false;
  773|      1|    int fileRes = 0; // Source file number after macro expansion.
  774|      1|    const char* sourceName = nullptr; // Optional source file name.
  775|      1|    bool lineErr = false;
  776|      1|    bool fileErr = false;
  777|      1|    disableEscapeSequences = true;
  778|      1|    token = eval(token, MIN_PRECEDENCE, false, lineRes, lineErr, ppToken);
  779|      1|    disableEscapeSequences = false;
  780|      1|    if (! lineErr) {
  ------------------
  |  Branch (780:9): [True: 1, False: 0]
  ------------------
  781|      1|        lineToken = lineRes;
  782|      1|        if (token == '\n')
  ------------------
  |  Branch (782:13): [True: 1, False: 0]
  ------------------
  783|      1|            ++lineRes;
  784|       |
  785|      1|        if (parseContext.lineDirectiveShouldSetNextLine())
  ------------------
  |  Branch (785:13): [True: 1, False: 0]
  ------------------
  786|      1|            --lineRes;
  787|      1|        parseContext.setCurrentLine(lineRes);
  788|       |
  789|      1|        if (token != '\n') {
  ------------------
  |  Branch (789:13): [True: 0, False: 1]
  ------------------
  790|      0|            if (token == PpAtomConstString) {
  ------------------
  |  Branch (790:17): [True: 0, False: 0]
  ------------------
  791|      0|                parseContext.ppRequireExtensions(directiveLoc, 1, &E_GL_GOOGLE_cpp_style_line_directive, "filename-based #line");
  792|       |                // We need to save a copy of the string instead of pointing
  793|       |                // to the name field of the token since the name field
  794|       |                // will likely be overwritten by the next token scan.
  795|      0|                sourceName = atomStrings.getString(atomStrings.getAddAtom(ppToken->name));
  796|      0|                parseContext.setCurrentSourceName(sourceName);
  797|      0|                hasFile = true;
  798|      0|                token = scanToken(ppToken);
  799|      0|            } else {
  800|      0|                token = eval(token, MIN_PRECEDENCE, false, fileRes, fileErr, ppToken);
  801|      0|                if (! fileErr) {
  ------------------
  |  Branch (801:21): [True: 0, False: 0]
  ------------------
  802|      0|                    parseContext.setCurrentString(fileRes);
  803|      0|                    hasFile = true;
  804|      0|                }
  805|      0|            }
  806|      0|        }
  807|      1|    }
  808|      1|    if (!fileErr && !lineErr) {
  ------------------
  |  Branch (808:9): [True: 1, False: 0]
  |  Branch (808:21): [True: 1, False: 0]
  ------------------
  809|      1|        parseContext.notifyLineDirective(directiveLoc.line, lineToken, hasFile, fileRes, sourceName);
  810|      1|    }
  811|      1|    token = extraTokenCheck(PpAtomLine, ppToken, token);
  812|       |
  813|      1|    return token;
  814|      1|}
_ZN7glslang10TPpContext10CPPversionEPNS_8TPpTokenE:
  897|     77|{
  898|     77|    int token = scanToken(ppToken);
  899|       |
  900|     77|    if (errorOnVersion || versionSeen) {
  ------------------
  |  Branch (900:9): [True: 77, False: 0]
  |  Branch (900:27): [True: 0, False: 0]
  ------------------
  901|     77|        if (parseContext.isReadingHLSL())
  ------------------
  |  Branch (901:13): [True: 77, False: 0]
  ------------------
  902|     77|            parseContext.ppError(ppToken->loc, "invalid preprocessor command", "#version", "");
  903|      0|        else
  904|      0|            parseContext.ppError(ppToken->loc, "must occur first in shader", "#version", "");
  905|     77|    }
  906|     77|    versionSeen = true;
  907|       |
  908|     77|    if (token == '\n') {
  ------------------
  |  Branch (908:9): [True: 35, False: 42]
  ------------------
  909|     35|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  910|       |
  911|     35|        return token;
  912|     35|    }
  913|       |
  914|     42|    if (token != PpAtomConstInt)
  ------------------
  |  Branch (914:9): [True: 42, False: 0]
  ------------------
  915|     42|        parseContext.ppError(ppToken->loc, "must be followed by version number", "#version", "");
  916|       |
  917|     42|    ppToken->ival = atoi(ppToken->name);
  918|     42|    int versionNumber = ppToken->ival;
  919|     42|    int line = ppToken->loc.line;
  920|     42|    token = scanToken(ppToken);
  921|       |
  922|     42|    if (token == '\n') {
  ------------------
  |  Branch (922:9): [True: 0, False: 42]
  ------------------
  923|      0|        parseContext.notifyVersion(line, versionNumber, nullptr);
  924|      0|        return token;
  925|     42|    } else {
  926|     42|        int profileAtom = atomStrings.getAtom(ppToken->name);
  927|     42|        if (profileAtom != PpAtomCore &&
  ------------------
  |  Branch (927:13): [True: 42, False: 0]
  ------------------
  928|     42|            profileAtom != PpAtomCompatibility &&
  ------------------
  |  Branch (928:13): [True: 42, False: 0]
  ------------------
  929|     42|            profileAtom != PpAtomEs)
  ------------------
  |  Branch (929:13): [True: 42, False: 0]
  ------------------
  930|     42|            parseContext.ppError(ppToken->loc, "bad profile name; use es, core, or compatibility", "#version", "");
  931|     42|        parseContext.notifyVersion(line, versionNumber, ppToken->name);
  932|     42|        token = scanToken(ppToken);
  933|       |
  934|     42|        if (token == '\n')
  ------------------
  |  Branch (934:13): [True: 34, False: 8]
  ------------------
  935|     34|            return token;
  936|      8|        else
  937|      8|            parseContext.ppError(ppToken->loc, "bad tokens following profile -- expected newline", "#version", "");
  938|     42|    }
  939|       |
  940|      8|    return token;
  941|     42|}
_ZN7glslang10TPpContext12CPPextensionEPNS_8TPpTokenE:
  945|      1|{
  946|      1|    int line = ppToken->loc.line;
  947|      1|    int token = scanToken(ppToken);
  948|      1|    char extensionName[MaxTokenLength + 1];
  949|       |
  950|      1|    if (token=='\n') {
  ------------------
  |  Branch (950:9): [True: 0, False: 1]
  ------------------
  951|      0|        parseContext.ppError(ppToken->loc, "extension name not specified", "#extension", "");
  952|      0|        return token;
  953|      0|    }
  954|       |
  955|      1|    if (token != PpAtomIdentifier)
  ------------------
  |  Branch (955:9): [True: 0, False: 1]
  ------------------
  956|      0|        parseContext.ppError(ppToken->loc, "extension name expected", "#extension", "");
  957|       |
  958|      1|    snprintf(extensionName, sizeof(extensionName), "%s", ppToken->name);
  959|       |
  960|      1|    token = scanToken(ppToken);
  961|      1|    if (token != ':') {
  ------------------
  |  Branch (961:9): [True: 0, False: 1]
  ------------------
  962|      0|        parseContext.ppError(ppToken->loc, "':' missing after extension name", "#extension", "");
  963|      0|        return token;
  964|      0|    }
  965|       |
  966|      1|    token = scanToken(ppToken);
  967|      1|    if (token != PpAtomIdentifier) {
  ------------------
  |  Branch (967:9): [True: 0, False: 1]
  ------------------
  968|      0|        parseContext.ppError(ppToken->loc, "behavior for extension not specified", "#extension", "");
  969|      0|        return token;
  970|      0|    }
  971|       |
  972|      1|    parseContext.updateExtensionBehavior(line, extensionName, ppToken->name);
  973|      1|    parseContext.notifyExtensionDirective(line, extensionName, ppToken->name);
  974|       |
  975|      1|    token = scanToken(ppToken);
  976|      1|    if (token == '\n')
  ------------------
  |  Branch (976:9): [True: 1, False: 0]
  ------------------
  977|      1|        return token;
  978|      0|    else
  979|      0|        parseContext.ppError(ppToken->loc,  "extra tokens -- expected newline", "#extension","");
  980|       |
  981|      0|    return token;
  982|      1|}
_ZN7glslang10TPpContext11readCPPlineEPNS_8TPpTokenE:
  985|  20.1k|{
  986|  20.1k|    int token = scanToken(ppToken);
  987|       |
  988|  20.1k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (988:9): [True: 20.1k, False: 10]
  ------------------
  989|  20.1k|        switch (atomStrings.getAtom(ppToken->name)) {
  990|  19.8k|        case PpAtomDefine:
  ------------------
  |  Branch (990:9): [True: 19.8k, False: 290]
  ------------------
  991|  19.8k|            token = CPPdefine(ppToken);
  992|  19.8k|            break;
  993|      0|        case PpAtomElse:
  ------------------
  |  Branch (993:9): [True: 0, False: 20.1k]
  ------------------
  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: 20.1k]
  ------------------
 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: 20.1k]
  ------------------
 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|     80|        case PpAtomIf:
  ------------------
  |  Branch (1024:9): [True: 80, False: 20.0k]
  ------------------
 1025|     80|            token = CPPif(ppToken);
 1026|     80|            break;
 1027|      0|        case PpAtomIfdef:
  ------------------
  |  Branch (1027:9): [True: 0, False: 20.1k]
  ------------------
 1028|      0|            token = CPPifdef(1, ppToken);
 1029|      0|            break;
 1030|      0|        case PpAtomIfndef:
  ------------------
  |  Branch (1030:9): [True: 0, False: 20.1k]
  ------------------
 1031|      0|            token = CPPifdef(0, ppToken);
 1032|      0|            break;
 1033|      1|        case PpAtomLine:
  ------------------
  |  Branch (1033:9): [True: 1, False: 20.1k]
  ------------------
 1034|      1|            token = CPPline(ppToken);
 1035|      1|            break;
 1036|      0|        case PpAtomInclude:
  ------------------
  |  Branch (1036:9): [True: 0, False: 20.1k]
  ------------------
 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: 20.1k]
  ------------------
 1044|      0|            token = CPPpragma(ppToken);
 1045|      0|            break;
 1046|      0|        case PpAtomUndef:
  ------------------
  |  Branch (1046:9): [True: 0, False: 20.1k]
  ------------------
 1047|      0|            token = CPPundef(ppToken);
 1048|      0|            break;
 1049|      0|        case PpAtomError:
  ------------------
  |  Branch (1049:9): [True: 0, False: 20.1k]
  ------------------
 1050|      0|            token = CPPerror(ppToken);
 1051|      0|            break;
 1052|     77|        case PpAtomVersion:
  ------------------
  |  Branch (1052:9): [True: 77, False: 20.0k]
  ------------------
 1053|     77|            token = CPPversion(ppToken);
 1054|     77|            break;
 1055|      1|        case PpAtomExtension:
  ------------------
  |  Branch (1055:9): [True: 1, False: 20.1k]
  ------------------
 1056|      1|            token = CPPextension(ppToken);
 1057|      1|            break;
 1058|    131|        default:
  ------------------
  |  Branch (1058:9): [True: 131, False: 20.0k]
  ------------------
 1059|    131|            parseContext.ppError(ppToken->loc, "invalid directive:", "#", ppToken->name);
 1060|    131|            break;
 1061|  20.1k|        }
 1062|  20.1k|    } else if (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1062:16): [True: 10, False: 0]
  |  Branch (1062:33): [True: 10, False: 0]
  ------------------
 1063|     10|        parseContext.ppError(ppToken->loc, "invalid directive", "#", "");
 1064|       |
 1065|  20.4k|    while (token != '\n' && token != EndOfInput)
  ------------------
  |  Branch (1065:12): [True: 396, False: 20.0k]
  |  Branch (1065:29): [True: 318, False: 78]
  ------------------
 1066|    318|        token = scanToken(ppToken);
 1067|       |
 1068|  20.1k|    return token;
 1069|  20.1k|}
_ZN7glslang10TPpContext11tMacroInput4scanEPNS_8TPpTokenE:
 1148|  3.52k|{
 1149|  3.52k|    int token;
 1150|  3.52k|    do {
 1151|  3.52k|        token = mac->body.getToken(pp->parseContext, ppToken);
 1152|  3.52k|    } while (token == ' ');  // handle white space in macro
  ------------------
  |  Branch (1152:14): [True: 0, False: 3.52k]
  ------------------
 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|  3.52k|    bool pasting = false;
 1168|  3.52k|    if (postpaste) {
  ------------------
  |  Branch (1168:9): [True: 0, False: 3.52k]
  ------------------
 1169|       |        // don't expand next token
 1170|      0|        pasting = true;
 1171|      0|        postpaste = false;
 1172|      0|    }
 1173|       |
 1174|  3.52k|    if (prepaste) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 3.52k]
  ------------------
 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|  3.52k|    if (mac->body.peekTokenizedPasting(false)) {
  ------------------
  |  Branch (1182:9): [True: 0, False: 3.52k]
  ------------------
 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|  3.52k|    if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1189:9): [True: 1.13k, False: 2.39k]
  ------------------
 1190|  1.13k|        int i;
 1191|  1.13k|        for (i = (int)mac->args.size() - 1; i >= 0; i--)
  ------------------
  |  Branch (1191:45): [True: 0, False: 1.13k]
  ------------------
 1192|      0|            if (strcmp(pp->atomStrings.getString(mac->args[i]), ppToken->name) == 0)
  ------------------
  |  Branch (1192:17): [True: 0, False: 0]
  ------------------
 1193|      0|                break;
 1194|  1.13k|        if (i >= 0) {
  ------------------
  |  Branch (1194:13): [True: 0, False: 1.13k]
  ------------------
 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|  1.13k|    }
 1206|       |
 1207|  3.52k|    if (token == EndOfInput)
  ------------------
  |  Branch (1207:9): [True: 0, False: 3.52k]
  ------------------
 1208|      0|        mac->busy = 0;
 1209|       |
 1210|  3.52k|    return token;
 1211|  3.52k|}
_ZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbb:
 1241|  2.71M|{
 1242|  2.71M|    ppToken->space = false;
 1243|  2.71M|    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.71M|    if (macroExpandDepth >= maxMacroExpandDepth) {
  ------------------
  |  Branch (1247:9): [True: 0, False: 2.71M]
  ------------------
 1248|      0|        parseContext.ppError(ppToken->loc, "macro expansion depth limit exceeded",
 1249|      0|                             "macro expansion", ppToken->name);
 1250|      0|        return MacroExpandNotStarted;
 1251|      0|    }
 1252|  2.71M|    struct DepthGuard {
 1253|  2.71M|        int& d;
 1254|  2.71M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
 1255|  2.71M|        ~DepthGuard() { --d; }
 1256|  2.71M|    } guard(macroExpandDepth);
 1257|       |
 1258|  2.71M|    if (ppToken->fullyExpanded)
  ------------------
  |  Branch (1258:9): [True: 0, False: 2.71M]
  ------------------
 1259|      0|        return MacroExpandNotStarted;
 1260|       |
 1261|  2.71M|    switch (macroAtom) {
 1262|      0|    case PpAtomLineMacro:
  ------------------
  |  Branch (1262:5): [True: 0, False: 2.71M]
  ------------------
 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.71M]
  ------------------
 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.71M]
  ------------------
 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.71M|    default:
  ------------------
  |  Branch (1285:5): [True: 2.71M, False: 0]
  ------------------
 1286|  2.71M|        break;
 1287|  2.71M|    }
 1288|       |
 1289|  2.71M|    MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom);
  ------------------
  |  Branch (1289:26): [True: 2.71M, False: 692]
  ------------------
 1290|       |
 1291|       |    // no recursive expansions
 1292|  2.71M|    if (macro != nullptr && macro->busy) {
  ------------------
  |  Branch (1292:9): [True: 692, False: 2.71M]
  |  Branch (1292:29): [True: 681, False: 11]
  ------------------
 1293|    681|        ppToken->fullyExpanded = true;
 1294|    681|        return MacroExpandNotStarted;
 1295|    681|    }
 1296|       |
 1297|       |    // not expanding undefined macros
 1298|  2.71M|    if ((macro == nullptr || macro->undef) && ! expandUndef)
  ------------------
  |  Branch (1298:10): [True: 2.71M, False: 11]
  |  Branch (1298:30): [True: 0, False: 11]
  |  Branch (1298:47): [True: 2.71M, False: 0]
  ------------------
 1299|  2.71M|        return MacroExpandNotStarted;
 1300|       |
 1301|       |    // 0 is the value of an undefined macro
 1302|     11|    if ((macro == nullptr || macro->undef) && expandUndef) {
  ------------------
  |  Branch (1302:10): [True: 0, False: 11]
  |  Branch (1302:30): [True: 0, False: 11]
  |  Branch (1302:47): [True: 0, False: 0]
  ------------------
 1303|      0|        pushInput(new tZeroInput(this));
 1304|      0|        return MacroExpandUndef;
 1305|      0|    }
 1306|       |
 1307|     11|    tMacroInput *in = new tMacroInput(this);
 1308|       |
 1309|     11|    TSourceLoc loc = ppToken->loc;  // in case we go to the next line before discovering the error
 1310|     11|    in->mac = macro;
 1311|     11|    if (macro->functionLike) {
  ------------------
  |  Branch (1311:9): [True: 1, False: 10]
  ------------------
 1312|       |        // We don't know yet if this will be a successful call of a
 1313|       |        // function-like macro; need to look for a '(', but without trashing
 1314|       |        // the passed in ppToken, until we know we are no longer speculative.
 1315|      1|        TPpToken parenToken;
 1316|      1|        int token = scanToken(&parenToken);
 1317|      1|        if (newLineOkay) {
  ------------------
  |  Branch (1317:13): [True: 1, False: 0]
  ------------------
 1318|      1|            while (token == '\n')
  ------------------
  |  Branch (1318:20): [True: 0, False: 1]
  ------------------
 1319|      0|                token = scanToken(&parenToken);
 1320|      1|        }
 1321|      1|        if (token != '(') {
  ------------------
  |  Branch (1321:13): [True: 0, False: 1]
  ------------------
 1322|       |            // Function-like macro called with object-like syntax: okay, don't expand.
 1323|       |            // (We ate exactly one token that might not be white space; put it back.
 1324|      0|            UngetToken(token, &parenToken);
 1325|      0|            delete in;
 1326|      0|            return MacroExpandNotStarted;
 1327|      0|        }
 1328|      1|        in->args.resize(in->mac->args.size());
 1329|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1329:28): [True: 1, False: 1]
  ------------------
 1330|      1|            in->args[i] = new TokenStream;
 1331|      1|        in->expandedArgs.resize(in->mac->args.size());
 1332|      2|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1332:28): [True: 1, False: 1]
  ------------------
 1333|      1|            in->expandedArgs[i] = nullptr;
 1334|      1|        size_t arg = 0;
 1335|      1|        bool tokenRecorded = false;
 1336|      1|        do {
 1337|      1|            TVector<char> nestStack;
 1338|     36|            while (true) {
  ------------------
  |  Branch (1338:20): [True: 36, Folded]
  ------------------
 1339|     36|                token = scanToken(ppToken);
 1340|     36|                if (token == EndOfInput || token == tMarkerInput::marker) {
  ------------------
  |  Branch (1340:21): [True: 0, False: 36]
  |  Branch (1340:44): [True: 0, False: 36]
  ------------------
 1341|      0|                    parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1342|      0|                    delete in;
 1343|      0|                    return MacroExpandError;
 1344|      0|                }
 1345|     36|                if (token == '\n') {
  ------------------
  |  Branch (1345:21): [True: 1, False: 35]
  ------------------
 1346|      1|                    if (! newLineOkay) {
  ------------------
  |  Branch (1346:25): [True: 0, False: 1]
  ------------------
 1347|      0|                        parseContext.ppError(loc, "End of line in macro substitution:", "macro expansion", atomStrings.getString(macroAtom));
 1348|      0|                        delete in;
 1349|      0|                        return MacroExpandError;
 1350|      0|                    }
 1351|      1|                    continue;
 1352|      1|                }
 1353|     35|                if (token == '#') {
  ------------------
  |  Branch (1353:21): [True: 1, False: 34]
  ------------------
 1354|      1|                    parseContext.ppError(ppToken->loc, "unexpected '#'", "macro expansion", atomStrings.getString(macroAtom));
 1355|      1|                    delete in;
 1356|      1|                    return MacroExpandError;
 1357|      1|                }
 1358|     34|                if (in->mac->args.size() == 0 && token != ')')
  ------------------
  |  Branch (1358:21): [True: 0, False: 34]
  |  Branch (1358:50): [True: 0, False: 0]
  ------------------
 1359|      0|                    break;
 1360|     34|                if (nestStack.size() == 0 && (token == ',' || token == ')'))
  ------------------
  |  Branch (1360:21): [True: 29, False: 5]
  |  Branch (1360:47): [True: 0, False: 29]
  |  Branch (1360:63): [True: 0, False: 29]
  ------------------
 1361|      0|                    break;
 1362|     34|                if (token == '(')
  ------------------
  |  Branch (1362:21): [True: 2, False: 32]
  ------------------
 1363|      2|                    nestStack.push_back(')');
 1364|     32|                else if (token == '{' && parseContext.isReadingHLSL())
  ------------------
  |  Branch (1364:26): [True: 0, False: 32]
  |  Branch (1364:42): [True: 0, False: 0]
  ------------------
 1365|      0|                    nestStack.push_back('}');
 1366|     32|                else if (nestStack.size() > 0 && token == nestStack.back())
  ------------------
  |  Branch (1366:26): [True: 4, False: 28]
  |  Branch (1366:50): [True: 2, False: 2]
  ------------------
 1367|      2|                    nestStack.pop_back();
 1368|       |
 1369|       |                //Macro replacement list is expanded in the last stage.
 1370|     34|                if (atomStrings.getAtom(ppToken->name) == PpAtomLineMacro)
  ------------------
  |  Branch (1370:21): [True: 0, False: 34]
  ------------------
 1371|      0|                    ppToken->ival = parseContext.getCurrentLoc().line;
 1372|       |
 1373|     34|                in->args[arg]->putToken(token, ppToken);
 1374|     34|                tokenRecorded = true;
 1375|     34|            }
 1376|       |            // end of single argument scan
 1377|       |
 1378|      0|            if (token == ')') {
  ------------------
  |  Branch (1378:17): [True: 0, False: 0]
  ------------------
 1379|       |                // closing paren of call
 1380|      0|                if (in->mac->args.size() == 1 && !tokenRecorded)
  ------------------
  |  Branch (1380:21): [True: 0, False: 0]
  |  Branch (1380:50): [True: 0, False: 0]
  ------------------
 1381|      0|                    break;
 1382|      0|                arg++;
 1383|      0|                break;
 1384|      0|            }
 1385|      0|            arg++;
 1386|      0|        } while (arg < in->mac->args.size());
  ------------------
  |  Branch (1386:18): [True: 0, False: 0]
  ------------------
 1387|       |        // end of all arguments scan
 1388|       |
 1389|      0|        if (arg < in->mac->args.size())
  ------------------
  |  Branch (1389:13): [True: 0, False: 0]
  ------------------
 1390|      0|            parseContext.ppError(loc, "Too few args in Macro", "macro expansion", atomStrings.getString(macroAtom));
 1391|      0|        else if (token != ')') {
  ------------------
  |  Branch (1391:18): [True: 0, False: 0]
  ------------------
 1392|       |            // Error recover code; find end of call, if possible
 1393|      0|            int depth = 0;
 1394|      0|            while (token != EndOfInput && (depth > 0 || token != ')')) {
  ------------------
  |  Branch (1394:20): [True: 0, False: 0]
  |  Branch (1394:44): [True: 0, False: 0]
  |  Branch (1394:57): [True: 0, False: 0]
  ------------------
 1395|      0|                if (token == ')' || token == '}')
  ------------------
  |  Branch (1395:21): [True: 0, False: 0]
  |  Branch (1395:37): [True: 0, False: 0]
  ------------------
 1396|      0|                    depth--;
 1397|      0|                token = scanToken(ppToken);
 1398|      0|                if (token == '(' || token == '{')
  ------------------
  |  Branch (1398:21): [True: 0, False: 0]
  |  Branch (1398:37): [True: 0, False: 0]
  ------------------
 1399|      0|                    depth++;
 1400|      0|            }
 1401|       |
 1402|      0|            if (token == EndOfInput) {
  ------------------
  |  Branch (1402:17): [True: 0, False: 0]
  ------------------
 1403|      0|                parseContext.ppError(loc, "End of input in macro", "macro expansion", atomStrings.getString(macroAtom));
 1404|      0|                delete in;
 1405|      0|                return MacroExpandError;
 1406|      0|            }
 1407|      0|            parseContext.ppError(loc, "Too many args in macro", "macro expansion", atomStrings.getString(macroAtom));
 1408|      0|        }
 1409|       |
 1410|       |        // We need both expanded and non-expanded forms of the argument, for whether or
 1411|       |        // not token pasting will be applied later when the argument is consumed next to ##.
 1412|      0|        for (size_t i = 0; i < in->mac->args.size(); i++)
  ------------------
  |  Branch (1412:28): [True: 0, False: 0]
  ------------------
 1413|      0|            in->expandedArgs[i] = PrescanMacroArg(*in->args[i], ppToken, newLineOkay);
 1414|      0|    }
 1415|       |
 1416|     10|    pushInput(in);
 1417|     10|    macro->busy = 1;
 1418|     10|    macro->body.reset();
 1419|       |
 1420|     10|    return MacroExpandStarted;
 1421|     11|}
Pp.cpp:_ZN7glslang12_GLOBAL__N_16op_posEi:
  428|     79|    int op_pos(int a) { return a; }
Pp.cpp:_ZN7glslang12_GLOBAL__N_17op_cmplEi:
  430|      1|    int op_cmpl(int a) { return ~a; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardC2ERi:
 1254|  2.71M|        explicit DepthGuard(int& d_) : d(d_) { ++d; }
Pp.cpp:_ZZN7glslang10TPpContext11MacroExpandEPNS_8TPpTokenEbbEN10DepthGuardD2Ev:
 1255|  2.71M|        ~DepthGuard() { --d; }

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

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

_ZN7glslang8TPpTokenC2Ev:
   93|  10.8M|    TPpToken() { clear(); }
_ZN7glslang8TPpToken5clearEv:
   95|  20.5M|    {
   96|  20.5M|        space = false;
   97|  20.5M|        i64val = 0;
   98|  20.5M|        loc.init();
   99|  20.5M|        name[0] = 0;
  100|  20.5M|        fullyExpanded = false;
  101|  20.5M|    }
_ZNK7glslang14TStringAtomMap7getAtomEPKc:
  141|  2.89M|    {
  142|  2.89M|        auto it = atomMap.find(s);
  143|  2.89M|        return it == atomMap.end() ? 0 : it->second;
  ------------------
  |  Branch (143:16): [True: 2.86M, False: 31.1k]
  ------------------
  144|  2.89M|    }
_ZN7glslang14TStringAtomMap10getAddAtomEPKc:
  148|  19.8k|    {
  149|  19.8k|        int atom = getAtom(s);
  150|  19.8k|        if (atom == 0) {
  ------------------
  |  Branch (150:13): [True: 19.8k, False: 1]
  ------------------
  151|  19.8k|            atom = nextAtom++;
  152|  19.8k|            addAtomFixed(s, atom);
  153|  19.8k|        }
  154|  19.8k|        return atom;
  155|  19.8k|    }
_ZNK7glslang14TStringAtomMap9getStringEi:
  158|  2.68M|    const char* getString(int atom) const { return stringMap[atom]->c_str(); }
_ZN7glslang14TStringAtomMap12addAtomFixedEPKci:
  176|   167k|    {
  177|   167k|        auto it = atomMap.insert(std::pair<TString, int>(s, atom)).first;
  178|   167k|        if (stringMap.size() < (size_t)atom + 1)
  ------------------
  |  Branch (178:13): [True: 2.39k, False: 164k]
  ------------------
  179|  2.39k|            stringMap.resize(atom + 100, &badToken);
  180|   167k|        stringMap[atom] = &it->first;
  181|   167k|    }
_ZN7glslang10TPpContext6tInputC2EPS0_:
  208|    500|        tInput(TPpContext* p) : done(false), pp(p) { }
_ZN7glslang10TPpContext6tInputD2Ev:
  209|    500|        virtual ~tInput() { }
_ZN7glslang10TPpContext6tInput11peekPastingEv:
  214|  5.94M|        virtual bool peekPasting() { return false; }             // true when about to see ##
_ZN7glslang10TPpContext6tInput13isStringInputEv:
  218|  3.52k|        virtual bool isStringInput() { return false; }
_ZN7glslang10TPpContext6tInput15notifyActivatedEv:
  221|    499|        virtual void notifyActivated() {}
_ZN7glslang10TPpContext6tInput13notifyDeletedEv:
  223|    499|        virtual void notifyDeleted() {}
_ZN7glslang10TPpContext9pushInputEPNS0_6tInputE:
  232|    499|    {
  233|    499|        inputStack.push_back(in);
  234|    499|        in->notifyActivated();
  235|    499|    }
_ZN7glslang10TPpContext8popInputEv:
  237|    499|    {
  238|    499|        inputStack.back()->notifyDeleted();
  239|    499|        delete inputStack.back();
  240|    499|        inputStack.pop_back();
  241|    499|    }
_ZN7glslang10TPpContext11TokenStream5TokenC2EiRKNS_8TPpTokenE:
  255|  38.2k|                atom(atom),
  256|  38.2k|                space(ppToken.space),
  257|  38.2k|                i64val(ppToken.i64val),
  258|  38.2k|                name(ppToken.name) { }
_ZN7glslang10TPpContext11TokenStream5Token3getERNS_8TPpTokenE:
  260|  3.52k|            {
  261|  3.52k|                ppToken.clear();
  262|  3.52k|                ppToken.space = space;
  263|  3.52k|                ppToken.i64val = i64val;
  264|  3.52k|                snprintf(ppToken.name, sizeof(ppToken.name), "%s", name.c_str());
  265|  3.52k|                return atom;
  266|  3.52k|            }
_ZNK7glslang10TPpContext11TokenStream5Token6isAtomEi:
  267|  7.04k|            bool isAtom(int a) const { return atom == a; }
_ZN7glslang10TPpContext11TokenStreamC2Ev:
  278|  39.7k|        TokenStream() : currentPos(0) { }
_ZN7glslang10TPpContext11TokenStream9peekTokenEi:
  281|  7.04k|        bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); }
  ------------------
  |  Branch (281:43): [True: 7.04k, False: 0]
  |  Branch (281:55): [True: 0, False: 7.04k]
  ------------------
_ZN7glslang10TPpContext11TokenStream5atEndEv:
  317|  10.5k|        bool atEnd() { return currentPos >= stream.size(); }
_ZN7glslang10TPpContext11TokenStream5resetEv:
  319|     10|        void reset() { currentPos = 0; }
_ZN7glslang10TPpContext11MacroSymbolC2Ev:
  331|  39.7k|        MacroSymbol() : functionLike(0), busy(0), undef(0) { }
_ZN7glslang10TPpContext14lookupMacroDefEi:
  342|  20.5k|    {
  343|  20.5k|        auto existingMacroIt = macroDefs.find(atom);
  344|  20.5k|        return (existingMacroIt == macroDefs.end()) ? nullptr : &(existingMacroIt->second);
  ------------------
  |  Branch (344:16): [True: 19.8k, False: 692]
  ------------------
  345|  20.5k|    }
_ZN7glslang10TPpContext11addMacroDefEiRNS0_11MacroSymbolE:
  346|  19.8k|    void addMacroDef(int atom, MacroSymbol& macroDef) { macroDefs[atom] = macroDef; }
_ZN7glslang10TPpContext9scanTokenEPNS_8TPpTokenE:
  369|  9.69M|    {
  370|  9.69M|        int token = EndOfInput;
  371|       |
  372|  9.69M|        while (! inputStack.empty()) {
  ------------------
  |  Branch (372:16): [True: 9.69M, False: 344]
  ------------------
  373|  9.69M|            token = inputStack.back()->scan(ppToken);
  374|  9.69M|            if (token != EndOfInput || inputStack.empty())
  ------------------
  |  Branch (374:17): [True: 9.69M, False: 344]
  |  Branch (374:40): [True: 0, False: 344]
  ------------------
  375|  9.69M|                break;
  376|    344|            popInput();
  377|    344|        }
  378|  9.69M|        if (!inputStack.empty() && inputStack.back()->isStringInput() && !inElseSkip) {
  ------------------
  |  Branch (378:13): [True: 9.69M, False: 344]
  |  Branch (378:36): [True: 9.69M, False: 3.52k]
  |  Branch (378:74): [True: 6.06M, False: 3.63M]
  ------------------
  379|  6.06M|            if (token == '\n') {
  ------------------
  |  Branch (379:17): [True: 551k, False: 5.50M]
  ------------------
  380|   551k|                lastLineTokens.clear();
  381|   551k|                lastLineTokenLocs.clear();
  382|  5.50M|            } else {
  383|  5.50M|                lastLineTokens.push_back(token);
  384|  5.50M|                lastLineTokenLocs.push_back(ppToken->loc);
  385|  5.50M|            }
  386|  6.06M|        }
  387|  9.69M|        return token;
  388|  9.69M|    }
_ZN7glslang10TPpContext7getCharEv:
  389|   930k|    int  getChar() { return inputStack.back()->getch(); }
_ZN7glslang10TPpContext9ungetCharEv:
  390|  11.1k|    void ungetChar() { inputStack.back()->ungetch(); }
_ZN7glslang10TPpContext11peekPastingEv:
  391|  5.94M|    bool peekPasting() { return !inputStack.empty() && inputStack.back()->peekPasting(); }
  ------------------
  |  Branch (391:33): [True: 5.94M, False: 266]
  |  Branch (391:56): [True: 0, False: 5.94M]
  ------------------
_ZN7glslang10TPpContext11tMacroInputC2EPS0_:
  407|     11|        tMacroInput(TPpContext* pp) : tInput(pp), prepaste(false), postpaste(false) { }
_ZN7glslang10TPpContext11tMacroInputD2Ev:
  409|     11|        {
  410|     12|            for (size_t i = 0; i < args.size(); ++i)
  ------------------
  |  Branch (410:32): [True: 1, False: 11]
  ------------------
  411|      1|                delete args[i];
  412|     12|            for (size_t i = 0; i < expandedArgs.size(); ++i)
  ------------------
  |  Branch (412:32): [True: 1, False: 11]
  ------------------
  413|      1|                delete expandedArgs[i];
  414|     11|        }
_ZN7glslang10TPpContext11tMacroInput11peekPastingEv:
  419|  3.52k|        bool peekPasting() override { return prepaste; }
_ZN7glslang10TPpContext12tStringInputC2EPS0_RNS_13TInputScannerE:
  550|    489|        tStringInput(TPpContext* pp, TInputScanner& i) : tInput(pp), input(&i) { }
_ZN7glslang10TPpContext12tStringInput13isStringInputEv:
  552|  9.69M|        bool isStringInput() override { return true; }
_ZN7glslang10TPpContext12tStringInput5getchEv:
  557|  38.3M|        {
  558|  38.3M|            int ch = input->get();
  559|       |
  560|  38.3M|            if (ch == '\\') {
  ------------------
  |  Branch (560:17): [True: 36.4k, False: 38.3M]
  ------------------
  561|       |                // Move past escaped newlines, as many as sequentially exist
  562|  36.6k|                do {
  563|  36.6k|                    if (input->peek() == '\r' || input->peek() == '\n') {
  ------------------
  |  Branch (563:25): [True: 19.8k, False: 16.8k]
  |  Branch (563:50): [True: 440, False: 16.3k]
  ------------------
  564|  20.2k|                        bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
  565|  20.2k|                        if (! allowed && pp->inComment)
  ------------------
  |  Branch (565:29): [True: 15, False: 20.2k]
  |  Branch (565:42): [True: 14, False: 1]
  ------------------
  566|     14|                            return '\\';
  567|       |
  568|       |                        // escape one newline now
  569|  20.2k|                        ch = input->get();
  570|  20.2k|                        int nextch = input->get();
  571|  20.2k|                        if (ch == '\r' && nextch == '\n')
  ------------------
  |  Branch (571:29): [True: 19.8k, False: 441]
  |  Branch (571:43): [True: 593, False: 19.2k]
  ------------------
  572|    593|                            ch = input->get();
  573|  19.6k|                        else
  574|  19.6k|                            ch = nextch;
  575|  20.2k|                    } else
  576|  16.3k|                        return '\\';
  577|  36.6k|                } while (ch == '\\');
  ------------------
  |  Branch (577:26): [True: 150, False: 20.1k]
  ------------------
  578|  36.4k|            }
  579|       |
  580|       |            // handle any non-escaped newline
  581|  38.3M|            if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (581:17): [True: 1.32M, False: 37.0M]
  |  Branch (581:31): [True: 1.05M, False: 35.9M]
  ------------------
  582|  2.38M|                if (ch == '\r' && input->peek() == '\n')
  ------------------
  |  Branch (582:21): [True: 1.32M, False: 1.05M]
  |  Branch (582:35): [True: 5.40k, False: 1.31M]
  ------------------
  583|  5.40k|                    input->get();
  584|  2.38M|                return '\n';
  585|  2.38M|            }
  586|       |
  587|  35.9M|            return ch;
  588|  38.3M|        }
_ZN7glslang10TPpContext12tStringInput7ungetchEv:
  595|  4.22M|        {
  596|  4.22M|            input->unget();
  597|       |
  598|  4.22M|            do {
  599|  4.22M|                int ch = input->peek();
  600|  4.22M|                if (ch == '\r' || ch == '\n') {
  ------------------
  |  Branch (600:21): [True: 586k, False: 3.63M]
  |  Branch (600:35): [True: 186k, False: 3.44M]
  ------------------
  601|   772k|                    if (ch == '\n') {
  ------------------
  |  Branch (601:25): [True: 186k, False: 586k]
  ------------------
  602|       |                        // correct for two-character newline
  603|   186k|                        input->unget();
  604|   186k|                        if (input->peek() != '\r')
  ------------------
  |  Branch (604:29): [True: 185k, False: 439]
  ------------------
  605|   185k|                            input->get();
  606|   186k|                    }
  607|       |                    // now in front of a complete newline, move past an escape character
  608|   772k|                    input->unget();
  609|   772k|                    if (input->peek() == '\\')
  ------------------
  |  Branch (609:25): [True: 0, False: 772k]
  ------------------
  610|      0|                        input->unget();
  611|   772k|                    else {
  612|   772k|                        input->get();
  613|   772k|                        break;
  614|   772k|                    }
  615|   772k|                } else
  616|  3.44M|                    break;
  617|  4.22M|            } while (true);
  ------------------
  |  Branch (617:22): [True: 0, Folded]
  ------------------
  618|  4.22M|        }

_ZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenE:
  113|  10.1k|{
  114|  10.1k|    const auto saveName = [&](int ch) {
  115|  10.1k|        if (len <= MaxTokenLength)
  116|  10.1k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  10.1k|    };
  118|       |
  119|       |    // find the range of non-zero digits before the decimal point
  120|  10.1k|    int startNonZero = 0;
  121|  24.2k|    while (startNonZero < len && ppToken->name[startNonZero] == '0')
  ------------------
  |  Branch (121:12): [True: 17.4k, False: 6.77k]
  |  Branch (121:34): [True: 14.0k, False: 3.38k]
  ------------------
  122|  14.0k|        ++startNonZero;
  123|  10.1k|    int endNonZero = len;
  124|  10.1k|    while (endNonZero > startNonZero && ppToken->name[endNonZero-1] == '0')
  ------------------
  |  Branch (124:12): [True: 3.41k, False: 6.77k]
  |  Branch (124:41): [True: 34, False: 3.38k]
  ------------------
  125|     34|        --endNonZero;
  126|  10.1k|    int numWholeNumberDigits = endNonZero - startNonZero;
  127|       |
  128|       |    // accumulate the range's value
  129|  10.1k|    bool fastPath = numWholeNumberDigits <= 15;  // when the number gets too complex, set to false
  130|  10.1k|    unsigned long long wholeNumber = 0;
  131|  10.1k|    if (fastPath) {
  ------------------
  |  Branch (131:9): [True: 9.72k, False: 441]
  ------------------
  132|  17.4k|        for (int i = startNonZero; i < endNonZero; ++i)
  ------------------
  |  Branch (132:36): [True: 7.74k, False: 9.72k]
  ------------------
  133|  7.74k|            wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  134|  9.72k|    }
  135|  10.1k|    int decimalShift = len - endNonZero;
  136|       |
  137|       |    // Decimal point:
  138|  10.1k|    bool hasDecimalOrExponent = false;
  139|  10.1k|    if (ch == '.') {
  ------------------
  |  Branch (139:9): [True: 5.13k, False: 5.03k]
  ------------------
  140|  5.13k|        hasDecimalOrExponent = true;
  141|  5.13k|        saveName(ch);
  142|  5.13k|        ch = getChar();
  143|  5.13k|        int firstDecimal = len;
  144|       |
  145|  5.13k|#ifdef ENABLE_HLSL
  146|       |        // 1.#INF or -1.#INF
  147|  5.13k|        if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) {
  ------------------
  |  Branch (147:13): [True: 0, False: 5.13k]
  |  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|  5.13k|#endif
  174|       |
  175|       |        // Consume leading-zero digits after the decimal point
  176|  8.69k|        while (ch == '0') {
  ------------------
  |  Branch (176:16): [True: 3.56k, False: 5.13k]
  ------------------
  177|  3.56k|            saveName(ch);
  178|  3.56k|            ch = getChar();
  179|  3.56k|        }
  180|  5.13k|        int startNonZeroDecimal = len;
  181|  5.13k|        int endNonZeroDecimal = len;
  182|       |
  183|       |        // Consume remaining digits, up to the exponent
  184|  7.88k|        while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (184:16): [True: 6.89k, False: 997]
  |  Branch (184:29): [True: 2.75k, False: 4.13k]
  ------------------
  185|  2.75k|            saveName(ch);
  186|  2.75k|            if (ch != '0')
  ------------------
  |  Branch (186:17): [True: 2.41k, False: 341]
  ------------------
  187|  2.41k|                endNonZeroDecimal = len;
  188|  2.75k|            ch = getChar();
  189|  2.75k|        }
  190|       |
  191|       |        // Compute accumulation up to the last non-zero digit
  192|  5.13k|        if (endNonZeroDecimal > startNonZeroDecimal) {
  ------------------
  |  Branch (192:13): [True: 1.52k, False: 3.60k]
  ------------------
  193|  1.52k|            numWholeNumberDigits += endNonZeroDecimal - endNonZero - 1; // don't include the "."
  194|  1.52k|            if (numWholeNumberDigits > 15)
  ------------------
  |  Branch (194:17): [True: 0, False: 1.52k]
  ------------------
  195|      0|                fastPath = false;
  196|  1.52k|            if (fastPath) {
  ------------------
  |  Branch (196:17): [True: 1.52k, False: 0]
  ------------------
  197|  5.52k|                for (int i = endNonZero; i < endNonZeroDecimal; ++i) {
  ------------------
  |  Branch (197:42): [True: 3.99k, False: 1.52k]
  ------------------
  198|  3.99k|                    if (ppToken->name[i] != '.')
  ------------------
  |  Branch (198:25): [True: 2.46k, False: 1.52k]
  ------------------
  199|  2.46k|                        wholeNumber = wholeNumber * 10 + (ppToken->name[i] - '0');
  200|  3.99k|                }
  201|  1.52k|            }
  202|  1.52k|            decimalShift = firstDecimal - endNonZeroDecimal;
  203|  1.52k|        }
  204|  5.13k|    }
  205|       |
  206|       |    // Exponent:
  207|  10.1k|    bool negativeExponent = false;
  208|  10.1k|    double exponentValue = 0.0;
  209|  10.1k|    int exponent = 0;
  210|  10.1k|    {
  211|  10.1k|        if (ch == 'e' || ch == 'E') {
  ------------------
  |  Branch (211:13): [True: 1.66k, False: 8.49k]
  |  Branch (211:26): [True: 589, False: 7.90k]
  ------------------
  212|  2.25k|            hasDecimalOrExponent = true;
  213|  2.25k|            saveName(ch);
  214|  2.25k|            ch = getChar();
  215|  2.25k|            if (ch == '+' || ch == '-') {
  ------------------
  |  Branch (215:17): [True: 0, False: 2.25k]
  |  Branch (215:30): [True: 83, False: 2.17k]
  ------------------
  216|     83|                negativeExponent = ch == '-';
  217|     83|                saveName(ch);
  218|     83|                ch = getChar();
  219|     83|            }
  220|  2.25k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (220:17): [True: 2.25k, False: 1]
  |  Branch (220:30): [True: 2.24k, False: 4]
  ------------------
  221|  11.0k|                while (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (221:24): [True: 10.3k, False: 648]
  |  Branch (221:37): [True: 8.78k, False: 1.60k]
  ------------------
  222|  8.78k|                    if (exponent < 500) {
  ------------------
  |  Branch (222:25): [True: 4.77k, False: 4.01k]
  ------------------
  223|  4.77k|                        exponent = exponent * 10 + (ch - '0');
  224|  4.77k|                    }
  225|  8.78k|                    saveName(ch);
  226|  8.78k|                    ch = getChar();
  227|  8.78k|                }
  228|  2.24k|            } else {
  229|      5|                parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
  230|      5|            }
  231|  2.25k|        }
  232|       |
  233|       |        // Compensate for location of decimal
  234|  10.1k|        if (negativeExponent)
  ------------------
  |  Branch (234:13): [True: 83, False: 10.0k]
  ------------------
  235|     83|            exponent -= decimalShift;
  236|  10.0k|        else {
  237|  10.0k|            exponent += decimalShift;
  238|  10.0k|            if (exponent < 0) {
  ------------------
  |  Branch (238:17): [True: 1.52k, False: 8.55k]
  ------------------
  239|  1.52k|                negativeExponent = true;
  240|  1.52k|                exponent = -exponent;
  241|  1.52k|            }
  242|  10.0k|        }
  243|  10.1k|        if (exponent > 22)
  ------------------
  |  Branch (243:13): [True: 1.69k, False: 8.47k]
  ------------------
  244|  1.69k|            fastPath = false;
  245|       |
  246|  10.1k|        if (fastPath) {
  ------------------
  |  Branch (246:13): [True: 8.03k, False: 2.13k]
  ------------------
  247|       |            // Compute the floating-point value of the exponent
  248|  8.03k|            exponentValue = 1.0;
  249|  8.03k|            if (exponent > 0) {
  ------------------
  |  Branch (249:17): [True: 2.01k, False: 6.01k]
  ------------------
  250|  2.01k|                double expFactor = 10;
  251|  5.51k|                while (exponent > 0) {
  ------------------
  |  Branch (251:24): [True: 3.49k, False: 2.01k]
  ------------------
  252|  3.49k|                    if (exponent & 0x1)
  ------------------
  |  Branch (252:25): [True: 2.42k, False: 1.06k]
  ------------------
  253|  2.42k|                        exponentValue *= expFactor;
  254|  3.49k|                    expFactor *= expFactor;
  255|  3.49k|                    exponent >>= 1;
  256|  3.49k|                }
  257|  2.01k|            }
  258|  8.03k|        }
  259|  10.1k|    }
  260|       |
  261|       |    // Suffix:
  262|  10.1k|    bool isDouble = false;
  263|  10.1k|    bool isFloat16 = false;
  264|  10.1k|    bool isFE2M1 = false;
  265|  10.1k|    bool isFE3M2 = false;
  266|  10.1k|    bool isFE2M3 = false;
  267|  10.1k|    bool isFUE8M0 = false;
  268|  10.1k|    bool isFMXINT8 = false;
  269|  10.1k|    if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (269:9): [True: 38, False: 10.1k]
  |  Branch (269:22): [True: 1.57k, False: 8.54k]
  ------------------
  270|  1.61k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (270:13): [True: 0, False: 1.61k]
  |  Branch (270:29): [True: 0, False: 0]
  ------------------
  271|      0|            parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
  272|  1.61k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (272:13): [True: 0, False: 1.61k]
  |  Branch (272:29): [True: 0, False: 0]
  ------------------
  273|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  274|  1.61k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (274:13): [True: 0, False: 1.61k]
  ------------------
  275|      0|            int ch2 = getChar();
  276|      0|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (276:17): [True: 0, False: 0]
  |  Branch (276:31): [True: 0, False: 0]
  ------------------
  277|      0|                ungetChar();
  278|      0|                ungetChar();
  279|      0|            } else {
  280|      0|                saveName(ch);
  281|      0|                saveName(ch2);
  282|      0|                isDouble = true;
  283|      0|            }
  284|  1.61k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (284:20): [True: 1.61k, False: 0]
  ------------------
  285|  1.61k|            saveName(ch);
  286|  1.61k|            isDouble = true;
  287|  1.61k|        }
  288|  8.54k|    } else if (ch == 'h' || ch == 'H') {
  ------------------
  |  Branch (288:16): [True: 1.06k, False: 7.48k]
  |  Branch (288:29): [True: 1.00k, False: 6.47k]
  ------------------
  289|  2.06k|        if (ifdepth == 0 && parseContext.intermediate.getSource() == EShSourceGlsl)
  ------------------
  |  Branch (289:13): [True: 0, False: 2.06k]
  |  Branch (289:29): [True: 0, False: 0]
  ------------------
  290|      0|            parseContext.float16Check(ppToken->loc, "half floating-point suffix");
  291|  2.06k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (291:13): [True: 0, False: 2.06k]
  |  Branch (291:29): [True: 0, False: 0]
  ------------------
  292|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  293|  2.06k|        if (parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (293:13): [True: 12, False: 2.05k]
  ------------------
  294|     12|            int ch2 = getChar();
  295|     12|            if (ch2 != 'f' && ch2 != 'F') {
  ------------------
  |  Branch (295:17): [True: 7, False: 5]
  |  Branch (295:31): [True: 7, False: 0]
  ------------------
  296|      7|                ungetChar();
  297|      7|                ungetChar();
  298|      7|            } else {
  299|      5|                saveName(ch);
  300|      5|                saveName(ch2);
  301|      5|                isFloat16 = true;
  302|      5|            }
  303|  2.05k|        } else if (parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (303:20): [True: 2.05k, False: 0]
  ------------------
  304|  2.05k|            saveName(ch);
  305|  2.05k|            isFloat16 = true;
  306|  2.05k|        }
  307|  2.06k|    } else
  308|  6.47k|    if (ch == 'f' || ch == 'F') {
  ------------------
  |  Branch (308:9): [True: 1.29k, False: 5.18k]
  |  Branch (308:22): [True: 537, False: 4.64k]
  ------------------
  309|  1.83k|        if (ifdepth == 0)
  ------------------
  |  Branch (309:13): [True: 0, False: 1.83k]
  ------------------
  310|      0|            parseContext.profileRequires(ppToken->loc,  EEsProfile, 300, nullptr, "floating-point suffix");
  311|  1.83k|        if (ifdepth == 0 && !parseContext.relaxedErrors())
  ------------------
  |  Branch (311:13): [True: 0, False: 1.83k]
  |  Branch (311:29): [True: 0, False: 0]
  ------------------
  312|      0|            parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix");
  313|  1.83k|        if (ifdepth == 0 && !hasDecimalOrExponent)
  ------------------
  |  Branch (313:13): [True: 0, False: 1.83k]
  |  Branch (313:29): [True: 0, False: 0]
  ------------------
  314|      0|            parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
  315|  1.83k|        saveName(ch);
  316|       |
  317|  1.83k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|  1.83k|            size_t counter = 0;
  319|  1.83k|            for (size_t i = 0; i < numChar; ++i) {
  320|  1.83k|                if (getChar() != str[i]) {
  321|  1.83k|                    break;
  322|  1.83k|                }
  323|  1.83k|                counter++;
  324|  1.83k|            }
  325|  1.83k|            if (counter == numChar) {
  326|  1.83k|                for (size_t i = 0; i < numChar; ++i) {
  327|  1.83k|                    saveName(str[i]);
  328|  1.83k|                }
  329|  1.83k|                return true;
  330|  1.83k|            } else {
  331|       |                // called getChar one more than counter times
  332|  1.83k|                counter++;
  333|  1.83k|                while (counter) {
  334|  1.83k|                    ungetChar();
  335|  1.83k|                    counter--;
  336|  1.83k|                }
  337|  1.83k|                return false;
  338|  1.83k|            }
  339|  1.83k|        };
  340|       |
  341|  1.83k|        if (ch == 'f') {
  ------------------
  |  Branch (341:13): [True: 1.29k, False: 537]
  ------------------
  342|  1.29k|            if (try_str("e2m1", 4)) {
  ------------------
  |  Branch (342:17): [True: 0, False: 1.29k]
  ------------------
  343|      0|                isFE2M1 = true;
  344|  1.29k|            } else if (try_str("e3m2", 4)) {
  ------------------
  |  Branch (344:24): [True: 0, False: 1.29k]
  ------------------
  345|      0|                isFE3M2 = true;
  346|  1.29k|            } else if (try_str("e2m3", 4)) {
  ------------------
  |  Branch (346:24): [True: 0, False: 1.29k]
  ------------------
  347|      0|                isFE2M3 = true;
  348|  1.29k|            } else if (try_str("ue8m0", 5)) {
  ------------------
  |  Branch (348:24): [True: 0, False: 1.29k]
  ------------------
  349|      0|                isFUE8M0 = true;
  350|  1.29k|            } else if (try_str("mxint8", 6)) {
  ------------------
  |  Branch (350:24): [True: 0, False: 1.29k]
  ------------------
  351|      0|                isFMXINT8 = true;
  352|      0|            }
  353|  1.29k|        }
  354|  1.83k|    } else
  355|  4.64k|        ungetChar();
  356|       |
  357|       |    // Patch up the name and length for overflow
  358|       |
  359|  10.1k|    if (len > MaxTokenLength) {
  ------------------
  |  Branch (359:9): [True: 1, False: 10.1k]
  ------------------
  360|      1|        len = MaxTokenLength;
  361|      1|        parseContext.ppError(ppToken->loc, "float literal too long", "", "");
  362|      1|    }
  363|  10.1k|    ppToken->name[len] = '\0';
  364|       |
  365|       |    // Compute the numerical value
  366|  10.1k|    if (fastPath) {
  ------------------
  |  Branch (366:9): [True: 8.03k, False: 2.13k]
  ------------------
  367|       |        // compute the floating-point value of the exponent
  368|  8.03k|        if (exponentValue == 0.0)
  ------------------
  |  Branch (368:13): [True: 0, False: 8.03k]
  ------------------
  369|      0|            ppToken->dval = (double)wholeNumber;
  370|  8.03k|        else if (negativeExponent)
  ------------------
  |  Branch (370:18): [True: 1.52k, False: 6.50k]
  ------------------
  371|  1.52k|            ppToken->dval = (double)wholeNumber / exponentValue;
  372|  6.50k|        else
  373|  6.50k|            ppToken->dval = (double)wholeNumber * exponentValue;
  374|  8.03k|    } else {
  375|       |        // slow path
  376|  2.13k|        ppToken->dval = 0.0;
  377|       |
  378|       |        // remove suffix
  379|  2.13k|        TString numstr(ppToken->name);
  380|  2.13k|        if (numstr.back() == 'f' || numstr.back() == 'F')
  ------------------
  |  Branch (380:13): [True: 383, False: 1.74k]
  |  Branch (380:37): [True: 192, False: 1.55k]
  ------------------
  381|    575|            numstr.pop_back();
  382|  2.13k|        if (numstr.back() == 'h' || numstr.back() == 'H')
  ------------------
  |  Branch (382:13): [True: 57, False: 2.07k]
  |  Branch (382:37): [True: 0, False: 2.07k]
  ------------------
  383|     57|            numstr.pop_back();
  384|  2.13k|        if (numstr.back() == 'l' || numstr.back() == 'L')
  ------------------
  |  Branch (384:13): [True: 0, False: 2.13k]
  |  Branch (384:37): [True: 4, False: 2.12k]
  ------------------
  385|      4|            numstr.pop_back();
  386|       |
  387|       |        // use platform library
  388|  2.13k|        strtodStream.clear();
  389|  2.13k|        strtodStream.str(numstr.c_str());
  390|  2.13k|        strtodStream >> ppToken->dval;
  391|  2.13k|        if (strtodStream.fail()) {
  ------------------
  |  Branch (391:13): [True: 407, False: 1.72k]
  ------------------
  392|       |            // Assume failure combined with a large exponent was overflow, in
  393|       |            // an attempt to set INF.
  394|    407|            if (!negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (394:17): [True: 407, False: 0]
  |  Branch (394:38): [True: 407, False: 0]
  ------------------
  395|    407|                ppToken->i64val = 0x7ff0000000000000; // +Infinity
  396|       |            // Assume failure combined with a small exponent was overflow.
  397|    407|            if (negativeExponent && exponent + numWholeNumberDigits > 300)
  ------------------
  |  Branch (397:17): [True: 0, False: 407]
  |  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|    407|        }
  403|  2.13k|    }
  404|       |
  405|       |    // Return the right token type
  406|  10.1k|    if (isDouble)
  ------------------
  |  Branch (406:9): [True: 1.61k, False: 8.54k]
  ------------------
  407|  1.61k|        return PpAtomConstDouble;
  408|  8.54k|    else if (isFloat16)
  ------------------
  |  Branch (408:14): [True: 2.06k, False: 6.48k]
  ------------------
  409|  2.06k|        return PpAtomConstFloat16;
  410|  6.48k|    else if (isFE2M1)
  ------------------
  |  Branch (410:14): [True: 0, False: 6.48k]
  ------------------
  411|      0|        return PpAtomConstFloatE2M1;
  412|  6.48k|    else if (isFE3M2)
  ------------------
  |  Branch (412:14): [True: 0, False: 6.48k]
  ------------------
  413|      0|        return PpAtomConstFloatE3M2;
  414|  6.48k|    else if (isFE2M3)
  ------------------
  |  Branch (414:14): [True: 0, False: 6.48k]
  ------------------
  415|      0|        return PpAtomConstFloatE2M3;
  416|  6.48k|    else if (isFUE8M0)
  ------------------
  |  Branch (416:14): [True: 0, False: 6.48k]
  ------------------
  417|      0|        return PpAtomConstFloatUE8M0;
  418|  6.48k|    else if (isFMXINT8)
  ------------------
  |  Branch (418:14): [True: 0, False: 6.48k]
  ------------------
  419|      0|        return PpAtomConstFloatMXINT8;
  420|  6.48k|    else
  421|  6.48k|        return PpAtomConstFloat;
  422|  10.1k|}
_ZN7glslang10TPpContext16characterLiteralEPNS_8TPpTokenE:
  431|      7|{
  432|      7|    ppToken->name[0] = 0;
  433|      7|    ppToken->ival = 0;
  434|       |
  435|      7|    if (parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (435:9): [True: 0, False: 7]
  ------------------
  436|       |        // illegal, except in macro definition, for which case we report the character
  437|      0|        return '\'';
  438|      0|    }
  439|       |
  440|      7|    int ch = getChar();
  441|      7|    switch (ch) {
  442|      0|    case '\'':
  ------------------
  |  Branch (442:5): [True: 0, False: 7]
  ------------------
  443|       |        // As empty sequence:  ''
  444|      0|        parseContext.ppError(ppToken->loc, "unexpected", "\'", "");
  445|      0|        return PpAtomConstInt;
  446|      0|    case '\\':
  ------------------
  |  Branch (446:5): [True: 0, False: 7]
  ------------------
  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|      7|    default:
  ------------------
  |  Branch (482:5): [True: 7, False: 0]
  ------------------
  483|      7|        ppToken->ival = ch;
  484|      7|        break;
  485|      7|    }
  486|      7|    ppToken->name[0] = (char)ppToken->ival;
  487|      7|    ppToken->name[1] = '\0';
  488|      7|    ch = getChar();
  489|      7|    if (ch != '\'') {
  ------------------
  |  Branch (489:9): [True: 7, False: 0]
  ------------------
  490|      7|        parseContext.ppError(ppToken->loc, "expected", "\'", "");
  491|       |        // Look ahead for a closing '
  492|   901k|        do {
  493|   901k|            ch = getChar();
  494|   901k|        } while (ch != '\'' && ch != EndOfInput && ch != '\n');
  ------------------
  |  Branch (494:18): [True: 901k, False: 0]
  |  Branch (494:32): [True: 901k, False: 0]
  |  Branch (494:52): [True: 901k, False: 7]
  ------------------
  495|      7|    }
  496|       |
  497|      7|    return PpAtomConstInt;
  498|      7|}
_ZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenE:
  512|  9.69M|{
  513|  9.69M|    int AlreadyComplained = 0;
  514|  9.69M|    int len = 0;
  515|  9.69M|    int ch = 0;
  516|  9.69M|    int ii = 0;
  517|  9.69M|    unsigned long long ival = 0;
  518|  9.69M|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  519|  9.69M|                                                                     ch == 'f' || ch == 'F' ||
  520|  9.69M|                                                                     ch == 'h' || ch == 'H'; };
  521|       |
  522|  9.69M|    static const char* const Int64_Extensions[] = {
  523|  9.69M|        E_GL_ARB_gpu_shader_int64,
  524|  9.69M|        E_GL_EXT_shader_explicit_arithmetic_types,
  525|  9.69M|        E_GL_NV_gpu_shader5,
  526|  9.69M|        E_GL_EXT_shader_explicit_arithmetic_types_int64 };
  527|  9.69M|    static const int Num_Int64_Extensions = sizeof(Int64_Extensions) / sizeof(Int64_Extensions[0]);
  528|       |
  529|  9.69M|    static const char* const Int16_Extensions[] = {
  530|  9.69M|        E_GL_AMD_gpu_shader_int16,
  531|  9.69M|        E_GL_EXT_shader_explicit_arithmetic_types,
  532|  9.69M|        E_GL_EXT_shader_explicit_arithmetic_types_int16 };
  533|  9.69M|    static const int Num_Int16_Extensions = sizeof(Int16_Extensions) / sizeof(Int16_Extensions[0]);
  534|       |
  535|  9.69M|    ppToken->clear();
  536|  9.69M|    ch = getch();
  537|  9.69M|    for (;;) {
  538|  11.5M|        while (ch == ' ' || ch == '\t') {
  ------------------
  |  Branch (538:16): [True: 1.82M, False: 9.71M]
  |  Branch (538:29): [True: 16.2k, False: 9.69M]
  ------------------
  539|  1.84M|            ppToken->space = true;
  540|  1.84M|            ch = getch();
  541|  1.84M|        }
  542|       |
  543|  9.69M|        ppToken->loc = pp->parseContext.getCurrentLoc();
  544|  9.69M|        len = 0;
  545|  9.69M|        switch (ch) {
  546|  5.36M|        default:
  ------------------
  |  Branch (546:9): [True: 5.36M, False: 4.32M]
  ------------------
  547|       |            // Single character token, including EndOfInput, '#' and '\' (escaped newlines are handled at a lower level, so this is just a '\' token)
  548|  5.36M|            if (ch > PpAtomMaxSingle)
  ------------------
  |  Branch (548:17): [True: 514k, False: 4.85M]
  ------------------
  549|   514k|                ch = PpAtomBadToken;
  550|  5.36M|            return ch;
  551|       |
  552|  18.6k|        case 'A': case 'B': case 'C': case 'D': case 'E':
  ------------------
  |  Branch (552:9): [True: 3.88k, False: 9.69M]
  |  Branch (552:19): [True: 918, False: 9.69M]
  |  Branch (552:29): [True: 1.38k, False: 9.69M]
  |  Branch (552:39): [True: 3.20k, False: 9.69M]
  |  Branch (552:49): [True: 9.22k, False: 9.68M]
  ------------------
  553|   122k|        case 'F': case 'G': case 'H': case 'I': case 'J':
  ------------------
  |  Branch (553:9): [True: 2.42k, False: 9.69M]
  |  Branch (553:19): [True: 24.9k, False: 9.67M]
  |  Branch (553:29): [True: 89, False: 9.69M]
  |  Branch (553:39): [True: 76.2k, False: 9.62M]
  |  Branch (553:49): [True: 628, False: 9.69M]
  ------------------
  554|   135k|        case 'K': case 'L': case 'M': case 'N': case 'O':
  ------------------
  |  Branch (554:9): [True: 4.17k, False: 9.69M]
  |  Branch (554:19): [True: 1.87k, False: 9.69M]
  |  Branch (554:29): [True: 5.12k, False: 9.69M]
  |  Branch (554:39): [True: 454, False: 9.69M]
  |  Branch (554:49): [True: 923, False: 9.69M]
  ------------------
  555|   269k|        case 'P': case 'Q': case 'R': case 'S': case 'T':
  ------------------
  |  Branch (555:9): [True: 3.35k, False: 9.69M]
  |  Branch (555:19): [True: 7.22k, False: 9.69M]
  |  Branch (555:29): [True: 6.56k, False: 9.69M]
  |  Branch (555:39): [True: 31.9k, False: 9.66M]
  |  Branch (555:49): [True: 84.5k, False: 9.61M]
  ------------------
  556|   302k|        case 'U': case 'V': case 'W': case 'X': case 'Y':
  ------------------
  |  Branch (556:9): [True: 7.61k, False: 9.69M]
  |  Branch (556:19): [True: 530, False: 9.69M]
  |  Branch (556:29): [True: 23.8k, False: 9.67M]
  |  Branch (556:39): [True: 632, False: 9.69M]
  |  Branch (556:49): [True: 293, False: 9.69M]
  ------------------
  557|   403k|        case 'Z': case '_':
  ------------------
  |  Branch (557:9): [True: 219, False: 9.69M]
  |  Branch (557:19): [True: 100k, False: 9.59M]
  ------------------
  558|   764k|        case 'a': case 'b': case 'c': case 'd': case 'e':
  ------------------
  |  Branch (558:9): [True: 70.3k, False: 9.62M]
  |  Branch (558:19): [True: 86.4k, False: 9.61M]
  |  Branch (558:29): [True: 80.8k, False: 9.61M]
  |  Branch (558:39): [True: 103k, False: 9.59M]
  |  Branch (558:49): [True: 19.6k, False: 9.67M]
  ------------------
  559|  2.01M|        case 'f': case 'g': case 'h': case 'i': case 'j':
  ------------------
  |  Branch (559:9): [True: 709k, False: 8.98M]
  |  Branch (559:19): [True: 19.6k, False: 9.67M]
  |  Branch (559:29): [True: 18.0k, False: 9.68M]
  |  Branch (559:39): [True: 504k, False: 9.19M]
  |  Branch (559:49): [True: 595, False: 9.69M]
  ------------------
  560|  2.26M|        case 'k': case 'l': case 'm': case 'n': case 'o':
  ------------------
  |  Branch (560:9): [True: 1.05k, False: 9.69M]
  |  Branch (560:19): [True: 39.4k, False: 9.65M]
  |  Branch (560:29): [True: 76.7k, False: 9.62M]
  |  Branch (560:39): [True: 18.8k, False: 9.67M]
  |  Branch (560:49): [True: 112k, False: 9.58M]
  ------------------
  561|  2.49M|        case 'p': case 'q': case 'r': case 's': case 't':
  ------------------
  |  Branch (561:9): [True: 5.03k, False: 9.69M]
  |  Branch (561:19): [True: 1.08k, False: 9.69M]
  |  Branch (561:29): [True: 33.0k, False: 9.66M]
  |  Branch (561:39): [True: 120k, False: 9.57M]
  |  Branch (561:49): [True: 70.2k, False: 9.62M]
  ------------------
  562|  3.21M|        case 'u': case 'v': case 'w': case 'x': case 'y':
  ------------------
  |  Branch (562:9): [True: 362k, False: 9.33M]
  |  Branch (562:19): [True: 347k, False: 9.35M]
  |  Branch (562:29): [True: 3.53k, False: 9.69M]
  |  Branch (562:39): [True: 2.25k, False: 9.69M]
  |  Branch (562:49): [True: 1.02k, False: 9.69M]
  ------------------
  563|  3.21M|        case 'z':
  ------------------
  |  Branch (563:9): [True: 125, False: 9.69M]
  ------------------
  564|  22.4M|            do {
  565|  22.4M|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (565:21): [True: 22.4M, False: 0]
  ------------------
  566|  22.4M|                    ppToken->name[len++] = (char)ch;
  567|  22.4M|                    ch = getch();
  568|  22.4M|                } else {
  569|      0|                    if (! AlreadyComplained) {
  ------------------
  |  Branch (569:25): [True: 0, False: 0]
  ------------------
  570|      0|                        pp->parseContext.ppError(ppToken->loc, "name too long", "", "");
  571|      0|                        AlreadyComplained = 1;
  572|      0|                    }
  573|      0|                    ch = getch();
  574|      0|                }
  575|  22.4M|            } while ((ch >= 'a' && ch <= 'z') ||
  ------------------
  |  Branch (575:23): [True: 14.9M, False: 7.48M]
  |  Branch (575:36): [True: 14.9M, False: 52.1k]
  ------------------
  576|  7.53M|                     (ch >= 'A' && ch <= 'Z') ||
  ------------------
  |  Branch (576:23): [True: 1.93M, False: 5.60M]
  |  Branch (576:36): [True: 1.51M, False: 426k]
  ------------------
  577|  6.02M|                     (ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (577:23): [True: 3.09M, False: 2.93M]
  |  Branch (577:36): [True: 2.45M, False: 635k]
  ------------------
  578|  3.56M|                     ch == '_');
  ------------------
  |  Branch (578:22): [True: 358k, False: 3.21M]
  ------------------
  579|       |
  580|       |            // line continuation with no token before or after makes len == 0, and need to start over skipping white space, etc.
  581|  3.21M|            if (len == 0)
  ------------------
  |  Branch (581:17): [True: 0, False: 3.21M]
  ------------------
  582|      0|                continue;
  583|       |
  584|  3.21M|            ppToken->name[len] = '\0';
  585|  3.21M|            ungetch();
  586|  3.21M|            return PpAtomIdentifier;
  587|  24.1k|        case '0':
  ------------------
  |  Branch (587:9): [True: 24.1k, False: 9.67M]
  ------------------
  588|  24.1k|            ppToken->name[len++] = (char)ch;
  589|  24.1k|            ch = getch();
  590|  24.1k|            if (ch == 'x' || ch == 'X') {
  ------------------
  |  Branch (590:17): [True: 1.52k, False: 22.6k]
  |  Branch (590:30): [True: 84, False: 22.5k]
  ------------------
  591|       |                // must be hexadecimal
  592|       |
  593|  1.61k|                bool isUnsigned = false;
  594|  1.61k|                bool isInt64 = false;
  595|  1.61k|                bool isInt16 = false;
  596|  1.61k|                ppToken->name[len++] = (char)ch;
  597|  1.61k|                ch = getch();
  598|  1.61k|                if ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (598:22): [True: 1.61k, False: 0]
  |  Branch (598:35): [True: 228, False: 1.38k]
  ------------------
  599|  1.38k|                    (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (599:22): [True: 1.38k, False: 0]
  |  Branch (599:35): [True: 1.38k, False: 0]
  ------------------
  600|  1.61k|                    (ch >= 'a' && ch <= 'f')) {
  ------------------
  |  Branch (600:22): [True: 0, False: 0]
  |  Branch (600:35): [True: 0, False: 0]
  ------------------
  601|       |
  602|  1.61k|                    ival = 0;
  603|  2.17k|                    do {
  604|  2.17k|                        if (len < MaxTokenLength && ival <= 0x7fffffffffffffffull) {
  ------------------
  |  Branch (604:29): [True: 2.17k, False: 0]
  |  Branch (604:53): [True: 2.17k, False: 0]
  ------------------
  605|  2.17k|                            ppToken->name[len++] = (char)ch;
  606|  2.17k|                            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (606:33): [True: 2.17k, False: 0]
  |  Branch (606:46): [True: 686, False: 1.48k]
  ------------------
  607|    686|                                ii = ch - '0';
  608|  1.48k|                            } else if (ch >= 'A' && ch <= 'F') {
  ------------------
  |  Branch (608:40): [True: 1.48k, False: 0]
  |  Branch (608:53): [True: 1.46k, False: 19]
  ------------------
  609|  1.46k|                                ii = ch - 'A' + 10;
  610|  1.46k|                            } else if (ch >= 'a' && ch <= 'f') {
  ------------------
  |  Branch (610:40): [True: 19, False: 0]
  |  Branch (610:53): [True: 19, False: 0]
  ------------------
  611|     19|                                ii = ch - 'a' + 10;
  612|     19|                            } else
  613|      0|                                pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  614|  2.17k|                            ival = (ival << 4) | ii;
  615|  2.17k|                        } 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|  2.17k|                        ch = getch();
  626|  2.17k|                    } while ((ch >= '0' && ch <= '9') ||
  ------------------
  |  Branch (626:31): [True: 2.13k, False: 44]
  |  Branch (626:44): [True: 458, False: 1.67k]
  ------------------
  627|  1.71k|                             (ch >= 'A' && ch <= 'F') ||
  ------------------
  |  Branch (627:31): [True: 1.48k, False: 227]
  |  Branch (627:44): [True: 85, False: 1.40k]
  ------------------
  628|  1.63k|                             (ch >= 'a' && ch <= 'f'));
  ------------------
  |  Branch (628:31): [True: 85, False: 1.54k]
  |  Branch (628:44): [True: 19, False: 66]
  ------------------
  629|  1.61k|                } else {
  630|      0|                    pp->parseContext.ppError(ppToken->loc, "bad digit in hexadecimal literal", "", "");
  631|      0|                }
  632|  1.61k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (632:21): [True: 0, False: 1.61k]
  |  Branch (632:34): [True: 19, False: 1.59k]
  ------------------
  633|     19|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (633:25): [True: 19, False: 0]
  ------------------
  634|     19|                        ppToken->name[len++] = (char)ch;
  635|     19|                    isUnsigned = true;
  636|       |
  637|     19|                    int nextCh = getch();
  638|     19|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (638:25): [True: 0, False: 19]
  |  Branch (638:42): [True: 0, False: 19]
  ------------------
  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|     19|                        ungetch();
  644|       |
  645|     19|                    nextCh = getch();
  646|     19|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (646:26): [True: 0, False: 19]
  |  Branch (646:43): [True: 0, False: 19]
  ------------------
  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|     19|                        ungetch();
  653|  1.59k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (653:28): [True: 8, False: 1.58k]
  |  Branch (653:41): [True: 0, False: 1.58k]
  ------------------
  654|      8|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (654:25): [True: 8, False: 0]
  ------------------
  655|      8|                        ppToken->name[len++] = (char)ch;
  656|      8|                    isInt64 = true;
  657|  1.58k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (657:29): [True: 0, False: 1.58k]
  |  Branch (657:42): [True: 1.02k, False: 558]
  ------------------
  658|  1.02k|                           pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (658:28): [True: 7, False: 1.02k]
  ------------------
  659|      7|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (659:25): [True: 7, False: 0]
  ------------------
  660|      7|                        ppToken->name[len++] = (char)ch;
  661|      7|                    isInt16 = true;
  662|      7|                } else
  663|  1.57k|                    ungetch();
  664|  1.61k|                ppToken->name[len] = '\0';
  665|       |
  666|  1.61k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (666:21): [True: 8, False: 1.60k]
  |  Branch (666:32): [True: 0, False: 8]
  ------------------
  667|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (667:25): [True: 0, False: 0]
  ------------------
  668|      0|                        pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  669|      0|                                                        "64-bit hexadecimal literal");
  670|      0|                        pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  671|      0|                            Num_Int64_Extensions, Int64_Extensions, "64-bit hexadecimal literal");
  672|      0|                    }
  673|      0|                    ppToken->i64val = ival;
  674|      0|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (674:28): [True: 0, False: 0]
  ------------------
  675|  1.61k|                } else if (isInt16) {
  ------------------
  |  Branch (675:28): [True: 7, False: 1.60k]
  ------------------
  676|      7|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (676:25): [True: 0, False: 7]
  ------------------
  677|      0|                        if (pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (677:29): [True: 0, False: 0]
  ------------------
  678|      0|                            pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile,
  679|      0|                                                             "16-bit hexadecimal literal");
  680|      0|                            pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0,
  681|      0|                                Num_Int16_Extensions, Int16_Extensions, "16-bit hexadecimal literal");
  682|      0|                        }
  683|      0|                    }
  684|      7|                    ppToken->ival = (int)ival;
  685|      7|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (685:28): [True: 0, False: 7]
  ------------------
  686|  1.60k|                } else {
  687|  1.60k|                    if (ival > 0xffffffffu && !AlreadyComplained)
  ------------------
  |  Branch (687:25): [True: 0, False: 1.60k]
  |  Branch (687:47): [True: 0, False: 0]
  ------------------
  688|      0|                        pp->parseContext.ppError(ppToken->loc, "hexadecimal literal too big", "", "");
  689|  1.60k|                    ppToken->ival = (int)ival;
  690|  1.60k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (690:28): [True: 19, False: 1.58k]
  ------------------
  691|  1.60k|                }
  692|  22.5k|            } else if ((ch == 'b' || ch == 'B') && pp->parseContext.intermediate.getSource() == EShSourceHlsl) {
  ------------------
  |  Branch (692:25): [True: 0, False: 22.5k]
  |  Branch (692:38): [True: 0, False: 22.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|  22.5k|            } else {
  795|       |                // could be octal integer or floating point, speculative pursue octal until it must be floating point
  796|       |
  797|  22.5k|                bool isUnsigned = false;
  798|  22.5k|                bool isInt64 = false;
  799|  22.5k|                bool isInt16 = false;
  800|  22.5k|                bool octalOverflow = false;
  801|  22.5k|                bool nonOctal = false;
  802|  22.5k|                ival = 0;
  803|       |
  804|       |                // see how much octal-like stuff we can read
  805|  39.7k|                while (ch >= '0' && ch <= '7') {
  ------------------
  |  Branch (805:24): [True: 27.6k, False: 12.1k]
  |  Branch (805:37): [True: 17.2k, False: 10.4k]
  ------------------
  806|  17.2k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (806:25): [True: 17.2k, False: 0]
  ------------------
  807|  17.2k|                        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|  17.2k|                    if (ival <= 0x1fffffffffffffffull) {
  ------------------
  |  Branch (812:25): [True: 17.2k, False: 0]
  ------------------
  813|  17.2k|                        ii = ch - '0';
  814|  17.2k|                        ival = (ival << 3) | ii;
  815|  17.2k|                    } else
  816|      0|                        octalOverflow = true;
  817|  17.2k|                    ch = getch();
  818|  17.2k|                }
  819|       |
  820|       |                // could be part of a float...
  821|  22.5k|                if (ch == '8' || ch == '9') {
  ------------------
  |  Branch (821:21): [True: 442, False: 22.0k]
  |  Branch (821:34): [True: 7, False: 22.0k]
  ------------------
  822|    449|                    nonOctal = true;
  823|  6.91k|                    do {
  824|  6.91k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (824:29): [True: 6.91k, False: 0]
  ------------------
  825|  6.91k|                            ppToken->name[len++] = (char)ch;
  826|      0|                        else if (! AlreadyComplained) {
  ------------------
  |  Branch (826:34): [True: 0, False: 0]
  ------------------
  827|      0|                            pp->parseContext.ppError(ppToken->loc, "numeric literal too long", "", "");
  828|      0|                            AlreadyComplained = 1;
  829|      0|                        }
  830|  6.91k|                        ch = getch();
  831|  6.91k|                    } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (831:30): [True: 6.91k, False: 0]
  |  Branch (831:43): [True: 6.46k, False: 449]
  ------------------
  832|    449|                }
  833|  22.5k|                if (floatingPointChar(ch))
  ------------------
  |  Branch (833:21): [True: 2.48k, False: 20.0k]
  ------------------
  834|  2.48k|                    return pp->lFloatConst(len, ch, ppToken);
  835|       |
  836|       |                // wasn't a float, so must be octal...
  837|  20.0k|                if (nonOctal)
  ------------------
  |  Branch (837:21): [True: 2, False: 20.0k]
  ------------------
  838|      2|                    pp->parseContext.ppError(ppToken->loc, "octal literal digit too large", "", "");
  839|       |
  840|  20.0k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (840:21): [True: 195, False: 19.8k]
  |  Branch (840:34): [True: 983, False: 18.8k]
  ------------------
  841|  1.17k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (841:25): [True: 1.17k, False: 0]
  ------------------
  842|  1.17k|                        ppToken->name[len++] = (char)ch;
  843|  1.17k|                    isUnsigned = true;
  844|       |
  845|  1.17k|                    int nextCh = getch();
  846|  1.17k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (846:25): [True: 0, False: 1.17k]
  |  Branch (846:42): [True: 16, False: 1.16k]
  ------------------
  847|     16|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (847:29): [True: 16, False: 0]
  ------------------
  848|     16|                            ppToken->name[len++] = (char)nextCh;
  849|     16|                        isInt64 = true;
  850|     16|                    } else
  851|  1.16k|                        ungetch();
  852|       |
  853|  1.17k|                    nextCh = getch();
  854|  1.17k|                    if ((nextCh == 's' || nextCh == 'S') && 
  ------------------
  |  Branch (854:26): [True: 24, False: 1.15k]
  |  Branch (854:43): [True: 107, False: 1.04k]
  ------------------
  855|    131|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (855:33): [True: 0, False: 131]
  ------------------
  856|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (856:29): [True: 0, False: 0]
  ------------------
  857|      0|                            ppToken->name[len++] = (char)nextCh;
  858|      0|                        isInt16 = true;
  859|      0|                    } else
  860|  1.17k|                        ungetch();
  861|  18.8k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (861:28): [True: 461, False: 18.4k]
  |  Branch (861:41): [True: 1.25k, False: 17.1k]
  ------------------
  862|  1.71k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (862:25): [True: 1.71k, False: 0]
  ------------------
  863|  1.71k|                        ppToken->name[len++] = (char)ch;
  864|  1.71k|                    isInt64 = true;
  865|  17.1k|                } else if ((ch == 's' || ch == 'S') && 
  ------------------
  |  Branch (865:29): [True: 66, False: 17.0k]
  |  Branch (865:42): [True: 2, False: 17.0k]
  ------------------
  866|     68|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (866:33): [True: 0, False: 68]
  ------------------
  867|      0|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (867:25): [True: 0, False: 0]
  ------------------
  868|      0|                        ppToken->name[len++] = (char)ch;
  869|      0|                    isInt16 = true;
  870|      0|                } else
  871|  17.1k|                    ungetch();
  872|  20.0k|                ppToken->name[len] = '\0';
  873|       |
  874|  20.0k|                if (!isInt64 && ival > 0xffffffffu)
  ------------------
  |  Branch (874:21): [True: 18.3k, False: 1.73k]
  |  Branch (874:33): [True: 0, False: 18.3k]
  ------------------
  875|      0|                    octalOverflow = true;
  876|       |
  877|  20.0k|                if (octalOverflow)
  ------------------
  |  Branch (877:21): [True: 0, False: 20.0k]
  ------------------
  878|      0|                    pp->parseContext.ppError(ppToken->loc, "octal literal too big", "", "");
  879|       |
  880|  20.0k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (880:21): [True: 1.73k, False: 18.3k]
  |  Branch (880:32): [True: 4, False: 1.72k]
  ------------------
  881|      4|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (881:25): [True: 0, False: 4]
  ------------------
  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|      4|                    ppToken->i64val = ival;
  888|      4|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (888:28): [True: 0, False: 4]
  ------------------
  889|  20.0k|                } else if (isInt16) {
  ------------------
  |  Branch (889:28): [True: 0, False: 20.0k]
  ------------------
  890|      0|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (890:25): [True: 0, False: 0]
  ------------------
  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|      0|                    ppToken->ival = (int)ival;
  899|      0|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (899:28): [True: 0, False: 0]
  ------------------
  900|  20.0k|                } else {
  901|  20.0k|                    ppToken->ival = (int)ival;
  902|  20.0k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (902:28): [True: 1.17k, False: 18.8k]
  ------------------
  903|  20.0k|                }
  904|  20.0k|            }
  905|      0|            break;
  906|  82.6k|        case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (906:9): [True: 51.3k, False: 9.64M]
  |  Branch (906:19): [True: 20.1k, False: 9.67M]
  |  Branch (906:29): [True: 6.10k, False: 9.69M]
  |  Branch (906:39): [True: 5.07k, False: 9.69M]
  ------------------
  907|  98.8k|        case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (907:9): [True: 3.69k, False: 9.69M]
  |  Branch (907:19): [True: 3.70k, False: 9.69M]
  |  Branch (907:29): [True: 3.38k, False: 9.69M]
  |  Branch (907:39): [True: 2.79k, False: 9.69M]
  |  Branch (907:49): [True: 2.63k, False: 9.69M]
  ------------------
  908|       |            // can't be hexadecimal or octal, is either decimal or floating point
  909|       |
  910|   146k|            do {
  911|   146k|                if (len < MaxTokenLength)
  ------------------
  |  Branch (911:21): [True: 146k, False: 0]
  ------------------
  912|   146k|                    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|   146k|                ch = getch();
  918|   146k|            } while (ch >= '0' && ch <= '9');
  ------------------
  |  Branch (918:22): [True: 105k, False: 41.3k]
  |  Branch (918:35): [True: 47.5k, False: 57.4k]
  ------------------
  919|  98.8k|            if (floatingPointChar(ch))
  ------------------
  |  Branch (919:17): [True: 2.66k, False: 96.1k]
  ------------------
  920|  2.66k|                return pp->lFloatConst(len, ch, ppToken);
  921|  96.1k|            else {
  922|       |                // Finish handling signed and unsigned integers
  923|  96.1k|                int numericLen = len;
  924|  96.1k|                bool isUnsigned = false;
  925|  96.1k|                bool isInt64 = false;
  926|  96.1k|                bool isInt16 = false;
  927|  96.1k|                if (ch == 'u' || ch == 'U') {
  ------------------
  |  Branch (927:21): [True: 1.98k, False: 94.2k]
  |  Branch (927:34): [True: 767, False: 93.4k]
  ------------------
  928|  2.74k|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (928:25): [True: 2.74k, False: 0]
  ------------------
  929|  2.74k|                        ppToken->name[len++] = (char)ch;
  930|  2.74k|                    isUnsigned = true;
  931|       |
  932|  2.74k|                    int nextCh = getch();
  933|  2.74k|                    if (nextCh == 'l' || nextCh == 'L') {
  ------------------
  |  Branch (933:25): [True: 859, False: 1.88k]
  |  Branch (933:42): [True: 463, False: 1.42k]
  ------------------
  934|  1.32k|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (934:29): [True: 1.32k, False: 0]
  ------------------
  935|  1.32k|                            ppToken->name[len++] = (char)nextCh;
  936|  1.32k|                        isInt64 = true;
  937|  1.32k|                    } else
  938|  1.42k|                        ungetch();
  939|       |
  940|  2.74k|                    nextCh = getch();
  941|  2.74k|                    if ((nextCh == 's' || nextCh == 'S') &&
  ------------------
  |  Branch (941:26): [True: 248, False: 2.49k]
  |  Branch (941:43): [True: 35, False: 2.46k]
  ------------------
  942|    283|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (942:33): [True: 0, False: 283]
  ------------------
  943|      0|                        if (len < MaxTokenLength)
  ------------------
  |  Branch (943:29): [True: 0, False: 0]
  ------------------
  944|      0|                            ppToken->name[len++] = (char)nextCh;
  945|      0|                        isInt16 = true;
  946|      0|                    } else
  947|  2.74k|                        ungetch();
  948|  93.4k|                } else if (ch == 'l' || ch == 'L') {
  ------------------
  |  Branch (948:28): [True: 6, False: 93.4k]
  |  Branch (948:41): [True: 287, False: 93.1k]
  ------------------
  949|    293|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (949:25): [True: 293, False: 0]
  ------------------
  950|    293|                        ppToken->name[len++] = (char)ch;
  951|    293|                    isInt64 = true;
  952|  93.1k|                } else if ((ch == 's' || ch == 'S') &&
  ------------------
  |  Branch (952:29): [True: 4.87k, False: 88.2k]
  |  Branch (952:42): [True: 748, False: 87.5k]
  ------------------
  953|  5.62k|                                pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (953:33): [True: 19, False: 5.60k]
  ------------------
  954|     19|                    if (len < MaxTokenLength)
  ------------------
  |  Branch (954:25): [True: 19, False: 0]
  ------------------
  955|     19|                        ppToken->name[len++] = (char)ch;
  956|     19|                    isInt16 = true;
  957|     19|                } else
  958|  93.1k|                    ungetch();
  959|       |
  960|  96.1k|                ppToken->name[len] = '\0';
  961|  96.1k|                ival = 0;
  962|  96.1k|                const unsigned oneTenthMaxInt  = 0xFFFFFFFFu / 10;
  963|  96.1k|                const unsigned remainderMaxInt = 0xFFFFFFFFu - 10 * oneTenthMaxInt;
  964|  96.1k|                const unsigned long long oneTenthMaxInt64  = 0xFFFFFFFFFFFFFFFFull / 10;
  965|  96.1k|                const unsigned long long remainderMaxInt64 = 0xFFFFFFFFFFFFFFFFull - 10 * oneTenthMaxInt64;
  966|  96.1k|                const unsigned short oneTenthMaxInt16  = 0xFFFFu / 10;
  967|  96.1k|                const unsigned short remainderMaxInt16 = 0xFFFFu - 10 * oneTenthMaxInt16;
  968|   233k|                for (int i = 0; i < numericLen; i++) {
  ------------------
  |  Branch (968:33): [True: 137k, False: 96.1k]
  ------------------
  969|   137k|                    ch = ppToken->name[i] - '0';
  970|   137k|                    bool overflow = false;
  971|   137k|                    if (isInt64)
  ------------------
  |  Branch (971:25): [True: 1.63k, False: 135k]
  ------------------
  972|  1.63k|                        overflow = (ival > oneTenthMaxInt64 || (ival == oneTenthMaxInt64 && (unsigned long long)ch > remainderMaxInt64));
  ------------------
  |  Branch (972:37): [True: 0, False: 1.63k]
  |  Branch (972:65): [True: 0, False: 1.63k]
  |  Branch (972:93): [True: 0, False: 0]
  ------------------
  973|   135k|                    else if (isInt16)
  ------------------
  |  Branch (973:30): [True: 58, False: 135k]
  ------------------
  974|     58|                        overflow = (ival > oneTenthMaxInt16 || (ival == oneTenthMaxInt16 && (unsigned short)ch > remainderMaxInt16));
  ------------------
  |  Branch (974:37): [True: 0, False: 58]
  |  Branch (974:65): [True: 0, False: 58]
  |  Branch (974:93): [True: 0, False: 0]
  ------------------
  975|   135k|                    else
  976|   135k|                        overflow = (ival > oneTenthMaxInt || (ival == oneTenthMaxInt && (unsigned)ch > remainderMaxInt));
  ------------------
  |  Branch (976:37): [True: 4, False: 135k]
  |  Branch (976:63): [True: 443, False: 134k]
  |  Branch (976:89): [True: 0, False: 443]
  ------------------
  977|   137k|                    if (overflow) {
  ------------------
  |  Branch (977:25): [True: 4, False: 137k]
  ------------------
  978|      4|                        pp->parseContext.ppError(ppToken->loc, "numeric literal too big", "", "");
  979|      4|                        ival = 0xFFFFFFFFFFFFFFFFull;
  980|      4|                        break;
  981|      4|                    } else
  982|   137k|                        ival = ival * 10 + ch;
  983|   137k|                }
  984|       |
  985|  96.1k|                if (isInt64 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (985:21): [True: 1.61k, False: 94.5k]
  |  Branch (985:32): [True: 3, False: 1.61k]
  ------------------
  986|      3|                    if (pp->ifdepth == 0) {
  ------------------
  |  Branch (986:25): [True: 0, False: 3]
  ------------------
  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|      3|                    ppToken->i64val = ival;
  993|      3|                    return isUnsigned ? PpAtomConstUint64 : PpAtomConstInt64;
  ------------------
  |  Branch (993:28): [True: 3, False: 0]
  ------------------
  994|  96.1k|                } else if (isInt16) {
  ------------------
  |  Branch (994:28): [True: 19, False: 96.1k]
  ------------------
  995|     19|                    if (pp->ifdepth == 0 && pp->parseContext.intermediate.getSource() == EShSourceGlsl) {
  ------------------
  |  Branch (995:25): [True: 0, False: 19]
  |  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|     19|                    ppToken->ival = (int)ival;
 1002|     19|                    return isUnsigned ? PpAtomConstUint16 : PpAtomConstInt16;
  ------------------
  |  Branch (1002:28): [True: 0, False: 19]
  ------------------
 1003|  96.1k|                } else {
 1004|  96.1k|                    ppToken->ival = (int)ival;
 1005|  96.1k|                    return isUnsigned ? PpAtomConstUint : PpAtomConstInt;
  ------------------
  |  Branch (1005:28): [True: 2.74k, False: 93.4k]
  ------------------
 1006|  96.1k|                }
 1007|  96.1k|            }
 1008|      0|            break;
 1009|  8.30k|        case '-':
  ------------------
  |  Branch (1009:9): [True: 8.30k, False: 9.69M]
  ------------------
 1010|  8.30k|            ch = getch();
 1011|  8.30k|            if (ch == '-') {
  ------------------
  |  Branch (1011:17): [True: 391, False: 7.91k]
  ------------------
 1012|    391|                return PpAtomDecrement;
 1013|  7.91k|            } else if (ch == '=') {
  ------------------
  |  Branch (1013:24): [True: 0, False: 7.91k]
  ------------------
 1014|      0|                return PPAtomSubAssign;
 1015|  7.91k|            } else {
 1016|  7.91k|                ungetch();
 1017|  7.91k|                return '-';
 1018|  7.91k|            }
 1019|  56.4k|        case '+':
  ------------------
  |  Branch (1019:9): [True: 56.4k, False: 9.64M]
  ------------------
 1020|  56.4k|            ch = getch();
 1021|  56.4k|            if (ch == '+') {
  ------------------
  |  Branch (1021:17): [True: 38.2k, False: 18.2k]
  ------------------
 1022|  38.2k|                return PpAtomIncrement;
 1023|  38.2k|            } else if (ch == '=') {
  ------------------
  |  Branch (1023:24): [True: 113, False: 18.1k]
  ------------------
 1024|    113|                return PPAtomAddAssign;
 1025|  18.1k|            } else {
 1026|  18.1k|                ungetch();
 1027|  18.1k|                return '+';
 1028|  18.1k|            }
 1029|  5.99k|        case '*':
  ------------------
  |  Branch (1029:9): [True: 5.99k, False: 9.69M]
  ------------------
 1030|  5.99k|            ch = getch();
 1031|  5.99k|            if (ch == '=') {
  ------------------
  |  Branch (1031:17): [True: 0, False: 5.99k]
  ------------------
 1032|      0|                return PPAtomMulAssign;
 1033|  5.99k|            } else {
 1034|  5.99k|                ungetch();
 1035|  5.99k|                return '*';
 1036|  5.99k|            }
 1037|  6.41k|        case '%':
  ------------------
  |  Branch (1037:9): [True: 6.41k, False: 9.69M]
  ------------------
 1038|  6.41k|            ch = getch();
 1039|  6.41k|            if (ch == '=') {
  ------------------
  |  Branch (1039:17): [True: 0, False: 6.41k]
  ------------------
 1040|      0|                return PPAtomModAssign;
 1041|  6.41k|            } else {
 1042|  6.41k|                ungetch();
 1043|  6.41k|                return '%';
 1044|  6.41k|            }
 1045|    708|        case '^':
  ------------------
  |  Branch (1045:9): [True: 708, False: 9.69M]
  ------------------
 1046|    708|            ch = getch();
 1047|    708|            if (ch == '^') {
  ------------------
  |  Branch (1047:17): [True: 385, False: 323]
  ------------------
 1048|    385|                return PpAtomXor;
 1049|    385|            } else {
 1050|    323|                if (ch == '=')
  ------------------
  |  Branch (1050:21): [True: 0, False: 323]
  ------------------
 1051|      0|                    return PpAtomXorAssign;
 1052|    323|                else{
 1053|    323|                    ungetch();
 1054|    323|                    return '^';
 1055|    323|                }
 1056|    323|            }
 1057|       |
 1058|  27.4k|        case '=':
  ------------------
  |  Branch (1058:9): [True: 27.4k, False: 9.67M]
  ------------------
 1059|  27.4k|            ch = getch();
 1060|  27.4k|            if (ch == '=') {
  ------------------
  |  Branch (1060:17): [True: 6.83k, False: 20.5k]
  ------------------
 1061|  6.83k|                return PpAtomEQ;
 1062|  20.5k|            } else {
 1063|  20.5k|                ungetch();
 1064|  20.5k|                return '=';
 1065|  20.5k|            }
 1066|  3.19k|        case '!':
  ------------------
  |  Branch (1066:9): [True: 3.19k, False: 9.69M]
  ------------------
 1067|  3.19k|            ch = getch();
 1068|  3.19k|            if (ch == '=') {
  ------------------
  |  Branch (1068:17): [True: 0, False: 3.19k]
  ------------------
 1069|      0|                return PpAtomNE;
 1070|  3.19k|            } else {
 1071|  3.19k|                ungetch();
 1072|  3.19k|                return '!';
 1073|  3.19k|            }
 1074|  2.57k|        case '|':
  ------------------
  |  Branch (1074:9): [True: 2.57k, False: 9.69M]
  ------------------
 1075|  2.57k|            ch = getch();
 1076|  2.57k|            if (ch == '|') {
  ------------------
  |  Branch (1076:17): [True: 1.07k, False: 1.49k]
  ------------------
 1077|  1.07k|                return PpAtomOr;
 1078|  1.49k|            } else if (ch == '=') {
  ------------------
  |  Branch (1078:24): [True: 0, False: 1.49k]
  ------------------
 1079|      0|                return PpAtomOrAssign;
 1080|  1.49k|            } else {
 1081|  1.49k|                ungetch();
 1082|  1.49k|                return '|';
 1083|  1.49k|            }
 1084|    274|        case '&':
  ------------------
  |  Branch (1084:9): [True: 274, False: 9.69M]
  ------------------
 1085|    274|            ch = getch();
 1086|    274|            if (ch == '&') {
  ------------------
  |  Branch (1086:17): [True: 16, False: 258]
  ------------------
 1087|     16|                return PpAtomAnd;
 1088|    258|            } else if (ch == '=') {
  ------------------
  |  Branch (1088:24): [True: 2, False: 256]
  ------------------
 1089|      2|                return PpAtomAndAssign;
 1090|    256|            } else {
 1091|    256|                ungetch();
 1092|    256|                return '&';
 1093|    256|            }
 1094|  95.1k|        case '<':
  ------------------
  |  Branch (1094:9): [True: 95.1k, False: 9.60M]
  ------------------
 1095|  95.1k|            ch = getch();
 1096|  95.1k|            if (ch == '<') {
  ------------------
  |  Branch (1096:17): [True: 440, False: 94.6k]
  ------------------
 1097|    440|                ch = getch();
 1098|    440|                if (ch == '=')
  ------------------
  |  Branch (1098:21): [True: 0, False: 440]
  ------------------
 1099|      0|                    return PpAtomLeftAssign;
 1100|    440|                else {
 1101|    440|                    ungetch();
 1102|    440|                    return PpAtomLeft;
 1103|    440|                }
 1104|  94.6k|            } else if (ch == '=') {
  ------------------
  |  Branch (1104:24): [True: 1, False: 94.6k]
  ------------------
 1105|      1|                return PpAtomLE;
 1106|  94.6k|            } else {
 1107|  94.6k|                ungetch();
 1108|  94.6k|                return '<';
 1109|  94.6k|            }
 1110|  92.2k|        case '>':
  ------------------
  |  Branch (1110:9): [True: 92.2k, False: 9.60M]
  ------------------
 1111|  92.2k|            ch = getch();
 1112|  92.2k|            if (ch == '>') {
  ------------------
  |  Branch (1112:17): [True: 73, False: 92.1k]
  ------------------
 1113|     73|                ch = getch();
 1114|     73|                if (ch == '=')
  ------------------
  |  Branch (1114:21): [True: 1, False: 72]
  ------------------
 1115|      1|                    return PpAtomRightAssign;
 1116|     72|                else {
 1117|     72|                    ungetch();
 1118|     72|                    return PpAtomRight;
 1119|     72|                }
 1120|  92.1k|            } else if (ch == '=') {
  ------------------
  |  Branch (1120:24): [True: 439, False: 91.7k]
  ------------------
 1121|    439|                return PpAtomGE;
 1122|  91.7k|            } else {
 1123|  91.7k|                ungetch();
 1124|  91.7k|                return '>';
 1125|  91.7k|            }
 1126|  25.9k|        case '.':
  ------------------
  |  Branch (1126:9): [True: 25.9k, False: 9.67M]
  ------------------
 1127|  25.9k|            ch = getch();
 1128|  25.9k|            if (ch >= '0' && ch <= '9') {
  ------------------
  |  Branch (1128:17): [True: 6.41k, False: 19.5k]
  |  Branch (1128:30): [True: 5.01k, False: 1.40k]
  ------------------
 1129|  5.01k|                ungetch();
 1130|  5.01k|                return pp->lFloatConst(0, '.', ppToken);
 1131|  20.9k|            } else {
 1132|  20.9k|                ungetch();
 1133|  20.9k|                return '.';
 1134|  20.9k|            }
 1135|   649k|        case '/':
  ------------------
  |  Branch (1135:9): [True: 649k, False: 9.04M]
  ------------------
 1136|   649k|            ch = getch();
 1137|   649k|            if (ch == '/') {
  ------------------
  |  Branch (1137:17): [True: 61.7k, False: 587k]
  ------------------
 1138|  61.7k|                pp->inComment = true;
 1139|  1.01M|                do {
 1140|  1.01M|                    ch = getch();
 1141|  1.01M|                } while (ch != '\n' && ch != EndOfInput);
  ------------------
  |  Branch (1141:26): [True: 954k, False: 61.7k]
  |  Branch (1141:40): [True: 954k, False: 2]
  ------------------
 1142|  61.7k|                ppToken->space = true;
 1143|  61.7k|                pp->inComment = false;
 1144|       |
 1145|  61.7k|                return ch;
 1146|   587k|            } else if (ch == '*') {
  ------------------
  |  Branch (1146:24): [True: 3.04k, False: 584k]
  ------------------
 1147|  3.04k|                ch = getch();
 1148|  6.69k|                do {
 1149|  1.21M|                    while (ch != '*') {
  ------------------
  |  Branch (1149:28): [True: 1.21M, False: 6.68k]
  ------------------
 1150|  1.21M|                        if (ch == EndOfInput) {
  ------------------
  |  Branch (1150:29): [True: 9, False: 1.21M]
  ------------------
 1151|      9|                            pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1152|      9|                            return ch;
 1153|      9|                        }
 1154|  1.21M|                        ch = getch();
 1155|  1.21M|                    }
 1156|  6.68k|                    ch = getch();
 1157|  6.68k|                    if (ch == EndOfInput) {
  ------------------
  |  Branch (1157:25): [True: 0, False: 6.68k]
  ------------------
 1158|      0|                        pp->parseContext.ppError(ppToken->loc, "End of input in comment", "comment", "");
 1159|      0|                        return ch;
 1160|      0|                    }
 1161|  6.68k|                } while (ch != '/');
  ------------------
  |  Branch (1161:26): [True: 3.65k, False: 3.03k]
  ------------------
 1162|  3.03k|                ppToken->space = true;
 1163|       |                // loop again to get the next token...
 1164|  3.03k|                break;
 1165|   584k|            } else if (ch == '=') {
  ------------------
  |  Branch (1165:24): [True: 4, False: 584k]
  ------------------
 1166|      4|                return PPAtomDivAssign;
 1167|   584k|            } else {
 1168|   584k|                ungetch();
 1169|   584k|                return '/';
 1170|   584k|            }
 1171|      0|            break;
 1172|      7|        case '\'':
  ------------------
  |  Branch (1172:9): [True: 7, False: 9.69M]
  ------------------
 1173|      7|            return pp->characterLiteral(ppToken);
 1174|     20|        case '"':
  ------------------
  |  Branch (1174:9): [True: 20, False: 9.69M]
  ------------------
 1175|       |            // #include uses scanHeaderName() to ignore these escape sequences.
 1176|     20|            ch = getch();
 1177|  1.18k|            while (ch != '"' && ch != '\n' && ch != EndOfInput) {
  ------------------
  |  Branch (1177:20): [True: 1.17k, False: 14]
  |  Branch (1177:33): [True: 1.16k, False: 5]
  |  Branch (1177:47): [True: 1.16k, False: 0]
  ------------------
 1178|  1.16k|                if (len < MaxTokenLength) {
  ------------------
  |  Branch (1178:21): [True: 1.16k, False: 1]
  ------------------
 1179|  1.16k|                    if (ch == '\\' && !pp->disableEscapeSequences) {
  ------------------
  |  Branch (1179:25): [True: 24, False: 1.14k]
  |  Branch (1179:39): [True: 24, False: 0]
  ------------------
 1180|     24|                        int nextCh = getch();
 1181|     24|                        switch (nextCh) {
 1182|      0|                        case '\'': ch = 0x27; break;
  ------------------
  |  Branch (1182:25): [True: 0, False: 24]
  ------------------
 1183|      0|                        case '"':  ch = 0x22; break;
  ------------------
  |  Branch (1183:25): [True: 0, False: 24]
  ------------------
 1184|      0|                        case '?':  ch = 0x3f; break;
  ------------------
  |  Branch (1184:25): [True: 0, False: 24]
  ------------------
 1185|      0|                        case '\\': ch = 0x5c; break;
  ------------------
  |  Branch (1185:25): [True: 0, False: 24]
  ------------------
 1186|      0|                        case 'a':  ch = 0x07; break;
  ------------------
  |  Branch (1186:25): [True: 0, False: 24]
  ------------------
 1187|      0|                        case 'b':  ch = 0x08; break;
  ------------------
  |  Branch (1187:25): [True: 0, False: 24]
  ------------------
 1188|      0|                        case 'f':  ch = 0x0c; break;
  ------------------
  |  Branch (1188:25): [True: 0, False: 24]
  ------------------
 1189|      1|                        case 'n':  ch = 0x0a; break;
  ------------------
  |  Branch (1189:25): [True: 1, False: 23]
  ------------------
 1190|      0|                        case 'r':  ch = 0x0d; break;
  ------------------
  |  Branch (1190:25): [True: 0, False: 24]
  ------------------
 1191|      0|                        case 't':  ch = 0x09; break;
  ------------------
  |  Branch (1191:25): [True: 0, False: 24]
  ------------------
 1192|      0|                        case 'v':  ch = 0x0b; break;
  ------------------
  |  Branch (1192:25): [True: 0, False: 24]
  ------------------
 1193|      0|                        case 'x': 
  ------------------
  |  Branch (1193:25): [True: 0, False: 24]
  ------------------
 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: 24]
  ------------------
 1220|      0|                        case '1':
  ------------------
  |  Branch (1220:25): [True: 0, False: 24]
  ------------------
 1221|      0|                        case '2':
  ------------------
  |  Branch (1221:25): [True: 0, False: 24]
  ------------------
 1222|      2|                        case '3':
  ------------------
  |  Branch (1222:25): [True: 2, False: 22]
  ------------------
 1223|      4|                        case '4':
  ------------------
  |  Branch (1223:25): [True: 2, False: 22]
  ------------------
 1224|      4|                        case '5':
  ------------------
  |  Branch (1224:25): [True: 0, False: 24]
  ------------------
 1225|      5|                        case '6':
  ------------------
  |  Branch (1225:25): [True: 1, False: 23]
  ------------------
 1226|      5|                        case '7':
  ------------------
  |  Branch (1226:25): [True: 0, False: 24]
  ------------------
 1227|       |                            // Octal value, up to three octal digits
 1228|      5|                            {
 1229|      5|                                int numDigits = 1;
 1230|      5|                                ch = nextCh - '0';
 1231|      6|                                while (numDigits < 3) {
  ------------------
  |  Branch (1231:40): [True: 6, False: 0]
  ------------------
 1232|      6|                                    nextCh = getch();
 1233|      6|                                    if (nextCh >= '0' && nextCh <= '7')
  ------------------
  |  Branch (1233:41): [True: 5, False: 1]
  |  Branch (1233:58): [True: 1, False: 4]
  ------------------
 1234|      1|                                        nextCh -= '0';
 1235|      5|                                    else {
 1236|      5|                                        ungetch();
 1237|      5|                                        break;
 1238|      5|                                    }
 1239|      1|                                    numDigits++;
 1240|      1|                                    ch = ch * 8 + nextCh;
 1241|      1|                                }
 1242|      5|                                break;
 1243|      5|                            }
 1244|     18|                        default:
  ------------------
  |  Branch (1244:25): [True: 18, False: 6]
  ------------------
 1245|     18|                            pp->parseContext.ppError(ppToken->loc, "Invalid escape sequence", "string", "");
 1246|     18|                            break;
 1247|     24|                        }
 1248|     24|                    }
 1249|  1.16k|                    ppToken->name[len] = (char)ch;
 1250|  1.16k|                    len++;
 1251|  1.16k|                    ch = getch();
 1252|  1.16k|                } else
 1253|      1|                    break;
 1254|  1.16k|            };
 1255|     20|            ppToken->name[len] = '\0';
 1256|     20|            if (ch != '"') {
  ------------------
  |  Branch (1256:17): [True: 6, False: 14]
  ------------------
 1257|      6|                ungetch();
 1258|      6|                pp->parseContext.ppError(ppToken->loc, "End of line in string", "string", "");
 1259|      6|            }
 1260|     20|            return PpAtomConstString;
 1261|  21.3k|        case ':':
  ------------------
  |  Branch (1261:9): [True: 21.3k, False: 9.67M]
  ------------------
 1262|  21.3k|            ch = getch();
 1263|  21.3k|            if (ch == ':')
  ------------------
  |  Branch (1263:17): [True: 342, False: 20.9k]
  ------------------
 1264|    342|                return PpAtomColonColon;
 1265|  20.9k|            ungetch();
 1266|  20.9k|            return ':';
 1267|  9.69M|        }
 1268|       |
 1269|  3.03k|        ch = getch();
 1270|  3.03k|    }
 1271|  9.69M|}
_ZN7glslang10TPpContext8tokenizeERNS_8TPpTokenE:
 1280|  5.39M|{
 1281|  5.39M|    int stringifyDepth = 0;
 1282|  5.39M|    TPpToken stringifiedToken; // Tokens are appended to this as they come in
 1283|  5.94M|    for (;;) {
 1284|  5.94M|        int token = scanToken(&ppToken);
 1285|       |
 1286|       |        // Handle token-pasting logic
 1287|  5.94M|        token = tokenPaste(token, ppToken);
 1288|       |
 1289|  5.94M|        if (token == EndOfInput) {
  ------------------
  |  Branch (1289:13): [True: 266, False: 5.94M]
  ------------------
 1290|    266|            missingEndifCheck();
 1291|    266|            return EndOfInput;
 1292|    266|        }
 1293|  5.94M|        if (token == '#') {
  ------------------
  |  Branch (1293:13): [True: 20.1k, False: 5.92M]
  ------------------
 1294|  20.1k|            if (previous_token == '\n') {
  ------------------
  |  Branch (1294:17): [True: 20.1k, False: 1]
  ------------------
 1295|  20.1k|                token = readCPPline(&ppToken);
 1296|  20.1k|                if (token == EndOfInput) {
  ------------------
  |  Branch (1296:21): [True: 78, False: 20.0k]
  ------------------
 1297|     78|                    missingEndifCheck();
 1298|     78|                    return EndOfInput;
 1299|     78|                }
 1300|  20.0k|                continue;
 1301|  20.1k|            } else {
 1302|      1|                parseContext.ppError(ppToken.loc, "preprocessor directive cannot be preceded by another token", "#", "");
 1303|      1|                return EndOfInput;
 1304|      1|            }
 1305|  20.1k|        }
 1306|  5.92M|        previous_token = token;
 1307|       |
 1308|  5.92M|        if (token == '\n')
  ------------------
  |  Branch (1308:13): [True: 531k, False: 5.39M]
  ------------------
 1309|   531k|            continue;
 1310|       |
 1311|  5.39M|        if (token == tStringifyLevelInput::PUSH) {
  ------------------
  |  Branch (1311:13): [True: 0, False: 5.39M]
  ------------------
 1312|      0|            stringifyDepth++;
 1313|      0|            continue;
 1314|      0|        }
 1315|  5.39M|        if (token == tStringifyLevelInput::POP) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 5.39M]
  ------------------
 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|  5.39M|        if (token == PpAtomIdentifier) {
  ------------------
  |  Branch (1326:13): [True: 2.71M, False: 2.68M]
  ------------------
 1327|  2.71M|            switch (MacroExpand(&ppToken, false, true)) {
  ------------------
  |  Branch (1327:21): [True: 2.71M, False: 0]
  ------------------
 1328|  2.71M|            case MacroExpandNotStarted:
  ------------------
  |  Branch (1328:13): [True: 2.71M, False: 11]
  ------------------
 1329|  2.71M|                break;
 1330|      1|            case MacroExpandError:
  ------------------
  |  Branch (1330:13): [True: 1, False: 2.71M]
  ------------------
 1331|      1|                return EndOfInput;
 1332|     10|            case MacroExpandStarted:
  ------------------
  |  Branch (1332:13): [True: 10, False: 2.71M]
  ------------------
 1333|     10|            case MacroExpandUndef:
  ------------------
  |  Branch (1333:13): [True: 0, False: 2.71M]
  ------------------
 1334|     10|                continue;
 1335|  2.71M|            }
 1336|  2.71M|        }
 1337|       |
 1338|  5.39M|        bool needStringSupport = ifdepth == 0 && (token == PpAtomConstString || stringifyDepth > 0);
  ------------------
  |  Branch (1338:34): [True: 5.39M, False: 3]
  |  Branch (1338:51): [True: 1, False: 5.39M]
  |  Branch (1338:81): [True: 0, False: 5.39M]
  ------------------
 1339|  5.39M|        if (needStringSupport && parseContext.intermediate.getSource() != EShSourceHlsl) {
  ------------------
  |  Branch (1339:13): [True: 1, False: 5.39M]
  |  Branch (1339:34): [True: 0, False: 1]
  ------------------
 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|  5.39M|        switch (token) {
 1352|      1|        case PpAtomConstString:
  ------------------
  |  Branch (1352:9): [True: 1, False: 5.39M]
  ------------------
 1353|      1|            break;
 1354|  2.71M|        case PpAtomIdentifier:
  ------------------
  |  Branch (1354:9): [True: 2.71M, False: 2.68M]
  ------------------
 1355|  2.71M|        case PpAtomConstInt:
  ------------------
  |  Branch (1355:9): [True: 2.29k, False: 5.39M]
  ------------------
 1356|  2.71M|        case PpAtomConstUint:
  ------------------
  |  Branch (1356:9): [True: 423, False: 5.39M]
  ------------------
 1357|  2.71M|        case PpAtomConstFloat:
  ------------------
  |  Branch (1357:9): [True: 1, False: 5.39M]
  ------------------
 1358|  2.71M|        case PpAtomConstInt64:
  ------------------
  |  Branch (1358:9): [True: 0, False: 5.39M]
  ------------------
 1359|  2.71M|        case PpAtomConstUint64:
  ------------------
  |  Branch (1359:9): [True: 0, False: 5.39M]
  ------------------
 1360|  2.71M|        case PpAtomConstInt16:
  ------------------
  |  Branch (1360:9): [True: 0, False: 5.39M]
  ------------------
 1361|  2.71M|        case PpAtomConstUint16:
  ------------------
  |  Branch (1361:9): [True: 0, False: 5.39M]
  ------------------
 1362|  2.71M|        case PpAtomConstDouble:
  ------------------
  |  Branch (1362:9): [True: 0, False: 5.39M]
  ------------------
 1363|  2.71M|        case PpAtomConstFloat16:
  ------------------
  |  Branch (1363:9): [True: 0, False: 5.39M]
  ------------------
 1364|  2.71M|        case PpAtomConstFloatE2M1:
  ------------------
  |  Branch (1364:9): [True: 0, False: 5.39M]
  ------------------
 1365|  2.71M|        case PpAtomConstFloatE3M2:
  ------------------
  |  Branch (1365:9): [True: 0, False: 5.39M]
  ------------------
 1366|  2.71M|        case PpAtomConstFloatE2M3:
  ------------------
  |  Branch (1366:9): [True: 0, False: 5.39M]
  ------------------
 1367|  2.71M|        case PpAtomConstFloatUE8M0:
  ------------------
  |  Branch (1367:9): [True: 0, False: 5.39M]
  ------------------
 1368|  2.71M|        case PpAtomConstFloatMXINT8:
  ------------------
  |  Branch (1368:9): [True: 0, False: 5.39M]
  ------------------
 1369|  2.71M|            if (ppToken.name[0] == '\0')
  ------------------
  |  Branch (1369:17): [True: 1, False: 2.71M]
  ------------------
 1370|      1|                continue;
 1371|  2.71M|            break;
 1372|  2.71M|        case '\'':
  ------------------
  |  Branch (1372:9): [True: 0, False: 5.39M]
  ------------------
 1373|      0|            parseContext.ppError(ppToken.loc, "character literals not supported", "\'", "");
 1374|      0|            continue;
 1375|  2.68M|        default:
  ------------------
  |  Branch (1375:9): [True: 2.68M, False: 2.71M]
  ------------------
 1376|  2.68M|            snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(token));
 1377|  2.68M|            break;
 1378|  5.39M|        }
 1379|  5.39M|        if (stringifyDepth > 0) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 5.39M]
  ------------------
 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|  5.39M|        return token;
 1392|  5.39M|    }
 1393|  5.39M|}
_ZN7glslang10TPpContext10tokenPasteEiRNS_8TPpTokenE:
 1401|  5.94M|{
 1402|       |    // starting with ## is illegal, skip to next token
 1403|  5.94M|    if (token == PpAtomPaste) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 5.94M]
  ------------------
 1404|      0|        parseContext.ppError(ppToken.loc, "unexpected location", "##", "");
 1405|      0|        return scanToken(&ppToken);
 1406|      0|    }
 1407|       |
 1408|  5.94M|    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|  5.94M|    while (peekPasting()) {
  ------------------
  |  Branch (1411:12): [True: 0, False: 5.94M]
  ------------------
 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|  5.94M|    return resultToken;
 1491|  5.94M|}
_ZN7glslang10TPpContext17missingEndifCheckEv:
 1495|    344|{
 1496|    344|    if (ifdepth > 0)
  ------------------
  |  Branch (1496:9): [True: 79, False: 265]
  ------------------
 1497|     79|        parseContext.ppError(parseContext.getCurrentLoc(), "missing #endif", "", "");
 1498|    344|}
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_0clEi:
  114|  28.0k|    const auto saveName = [&](int ch) {
  115|  28.0k|        if (len <= MaxTokenLength)
  ------------------
  |  Branch (115:13): [True: 28.0k, False: 4]
  ------------------
  116|  28.0k|            ppToken->name[len++] = static_cast<char>(ch);
  117|  28.0k|    };
PpScanner.cpp:_ZZN7glslang10TPpContext11lFloatConstEiiPNS_8TPpTokenEENK3$_1clEPKcm:
  317|  6.47k|        auto const &try_str = [&](const char *str, size_t numChar) {
  318|  6.47k|            size_t counter = 0;
  319|  6.47k|            for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (319:32): [True: 6.47k, False: 0]
  ------------------
  320|  6.47k|                if (getChar() != str[i]) {
  ------------------
  |  Branch (320:21): [True: 6.47k, False: 0]
  ------------------
  321|  6.47k|                    break;
  322|  6.47k|                }
  323|      0|                counter++;
  324|      0|            }
  325|  6.47k|            if (counter == numChar) {
  ------------------
  |  Branch (325:17): [True: 0, False: 6.47k]
  ------------------
  326|      0|                for (size_t i = 0; i < numChar; ++i) {
  ------------------
  |  Branch (326:36): [True: 0, False: 0]
  ------------------
  327|      0|                    saveName(str[i]);
  328|      0|                }
  329|      0|                return true;
  330|  6.47k|            } else {
  331|       |                // called getChar one more than counter times
  332|  6.47k|                counter++;
  333|  12.9k|                while (counter) {
  ------------------
  |  Branch (333:24): [True: 6.47k, False: 6.47k]
  ------------------
  334|  6.47k|                    ungetChar();
  335|  6.47k|                    counter--;
  336|  6.47k|                }
  337|  6.47k|                return false;
  338|  6.47k|            }
  339|  6.47k|        };
PpScanner.cpp:_ZZN7glslang10TPpContext12tStringInput4scanEPNS_8TPpTokenEENK3$_0clEi:
  518|   121k|    const auto floatingPointChar = [&](int ch) { return ch == '.' || ch == 'e' || ch == 'E' ||
  ------------------
  |  Branch (518:57): [True: 123, False: 121k]
  |  Branch (518:70): [True: 1.66k, False: 119k]
  |  Branch (518:83): [True: 589, False: 119k]
  ------------------
  519|   119k|                                                                     ch == 'f' || ch == 'F' ||
  ------------------
  |  Branch (519:70): [True: 1.29k, False: 117k]
  |  Branch (519:83): [True: 345, False: 117k]
  ------------------
  520|   117k|                                                                     ch == 'h' || ch == 'H'; };
  ------------------
  |  Branch (520:70): [True: 774, False: 116k]
  |  Branch (520:83): [True: 363, False: 116k]
  ------------------

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

_ZN7glslang22PropagateNoContractionERKNS_13TIntermediateE:
  792|      1|{
  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|      1|    auto mappings_and_precise_objects =
  797|      1|        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|      1|    NodeMapping& symbol_definition_mapping = std::get<0>(mappings_and_precise_objects);
  803|       |
  804|       |    // The mapping of object nodes to their access chains recorded.
  805|      1|    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|      1|    ObjectAccesschainSet& precise_object_accesschains = std::get<2>(mappings_and_precise_objects);
  810|       |
  811|       |    // The set of 'precise' return nodes.
  812|      1|    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|      1|    TNoContractionAssigneeCheckingTraverser checker(accesschain_mapping);
  825|      1|    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|      1|    while (!precise_return_nodes.empty()) {
  ------------------
  |  Branch (833:12): [True: 0, False: 1]
  ------------------
  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|      1|    while (!precise_object_accesschains.empty()) {
  ------------------
  |  Branch (839:12): [True: 0, False: 1]
  ------------------
  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|      1|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_147getSymbolToDefinitionMappingAndPreciseSymbolIDsERKN7glslang13TIntermediateE:
  422|      1|{
  423|      1|    auto result_tuple = std::make_tuple(NodeMapping(), AccessChainMapping(), ObjectAccesschainSet(),
  424|      1|                                        ReturnBranchNodeSet());
  425|       |
  426|      1|    TIntermNode* root = intermediate.getTreeRoot();
  427|      1|    if (root == nullptr)
  ------------------
  |  Branch (427:9): [True: 0, False: 1]
  ------------------
  428|      0|        return result_tuple;
  429|       |
  430|      1|    NodeMapping& symbol_definition_mapping = std::get<0>(result_tuple);
  431|      1|    AccessChainMapping& accesschain_mapping = std::get<1>(result_tuple);
  432|      1|    ObjectAccesschainSet& precise_objects = std::get<2>(result_tuple);
  433|      1|    ReturnBranchNodeSet& precise_return_nodes = std::get<3>(result_tuple);
  434|       |
  435|       |    // Traverses the AST and populate the results.
  436|      1|    TSymbolDefinitionCollectingTraverser collector(&symbol_definition_mapping, &accesschain_mapping,
  437|      1|                                                   &precise_objects, &precise_return_nodes);
  438|      1|    root->traverse(&collector);
  439|       |
  440|      1|    return result_tuple;
  441|      1|}
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|      1|    : TIntermTraverser(true, false, false), symbol_definition_mapping_(*symbol_definition_mapping),
  279|      1|      precise_objects_(*precise_objects), precise_return_nodes_(*precise_return_nodes),
  280|      1|      current_object_(), accesschain_mapping_(*accesschain_mapping),
  281|      1|      current_function_definition_node_(nullptr) {}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_136TSymbolDefinitionCollectingTraverser11visitSymbolEPN7glslang13TIntermSymbolE:
  288|     12|{
  289|     12|    current_object_ = generateSymbolLabel(node);
  290|     12|    accesschain_mapping_[node] = current_object_;
  291|     12|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_119generateSymbolLabelEPN7glslang13TIntermSymbolE:
  141|     12|{
  142|     12|    ObjectAccessChain symbol_id =
  143|     12|        std::to_string(node->getId()) + "(" + node->getName().c_str() + ")";
  144|     12|    return symbol_id;
  145|     12|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_136TSymbolDefinitionCollectingTraverser14visitAggregateEN7glslang6TVisitEPNS1_16TIntermAggregateE:
  296|      2|{
  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|      2|    StateSettingGuard<glslang::TIntermAggregate*> current_function_definition_node_setting_guard(
  301|      2|        &current_function_definition_node_);
  302|      2|    if (node->getOp() == glslang::EOpFunction) {
  ------------------
  |  Branch (302:9): [True: 0, False: 2]
  ------------------
  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|      2|    glslang::TIntermSequence& seq = node->getSequence();
  309|     15|    for (int i = 0; i < (int)seq.size(); ++i) {
  ------------------
  |  Branch (309:21): [True: 13, False: 2]
  ------------------
  310|     13|        current_object_.clear();
  311|     13|        seq[i]->traverse(this);
  312|     13|    }
  313|      2|    return false;
  314|      2|}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_117StateSettingGuardIPN7glslang16TIntermAggregateEEC2EPS3_:
  199|      2|    StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {}
propagateNoContraction.cpp:_ZN12_GLOBAL__N_117StateSettingGuardIPN7glslang16TIntermAggregateEED2Ev:
  201|      2|    ~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|      1|        : TIntermTraverser(true, false, false), accesschain_mapping_(accesschain_mapping),
  471|      1|          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|      1|        : TIntermTraverser(true, false, false),
  624|      1|          precise_objects_(*precise_objects), added_precise_object_ids_(),
  625|      1|          remained_accesschain_(), accesschain_mapping_(accesschain_mapping) {}

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

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

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

